import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetMembershipInput, GetMembershipOutput } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetMembershipCommand}. */ export interface GetMembershipCommandInput extends GetMembershipInput { } /** * @public * * The output of {@link GetMembershipCommand}. */ export interface GetMembershipCommandOutput extends GetMembershipOutput, __MetadataBearer { } declare const GetMembershipCommand_base: { new (input: GetMembershipCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetMembershipCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves a specified membership for an identifier.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CleanRoomsClient, GetMembershipCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import * // const { CleanRoomsClient, GetMembershipCommand } = 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 = { // GetMembershipInput * membershipIdentifier: "STRING_VALUE", // required * }; * const command = new GetMembershipCommand(input); * const response = await client.send(command); * // { // GetMembershipOutput * // membership: { // Membership * // 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", * // ], * // }, * // queryLogStatus: "ENABLED" || "DISABLED", // required * // jobLogStatus: "ENABLED" || "DISABLED", * // defaultResultConfiguration: { // MembershipProtectedQueryResultConfiguration * // outputConfiguration: { // MembershipProtectedQueryOutputConfiguration Union: only one key present * // s3: { // ProtectedQueryS3OutputConfiguration * // resultFormat: "CSV" || "PARQUET", // required * // bucket: "STRING_VALUE", // required * // keyPrefix: "STRING_VALUE", * // singleFileOutput: true || false, * // }, * // }, * // roleArn: "STRING_VALUE", * // }, * // defaultJobResultConfiguration: { // MembershipProtectedJobResultConfiguration * // outputConfiguration: { // MembershipProtectedJobOutputConfiguration Union: only one key present * // s3: { // ProtectedJobS3OutputConfigurationInput * // bucket: "STRING_VALUE", // required * // keyPrefix: "STRING_VALUE", * // }, * // }, * // roleArn: "STRING_VALUE", // required * // }, * // 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 * // }, * // }, * // isMetricsEnabled: true || false, * // }, * // }; * * ``` * * @param GetMembershipCommandInput - {@link GetMembershipCommandInput} * @returns {@link GetMembershipCommandOutput} * @see {@link GetMembershipCommandInput} for command's `input` shape. * @see {@link GetMembershipCommandOutput} 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 ResourceNotFoundException} (client fault) *

Request references a resource which does not exist.

* * @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 GetMembershipCommand extends GetMembershipCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetMembershipInput; output: GetMembershipOutput; }; sdk: { input: GetMembershipCommandInput; output: GetMembershipCommandOutput; }; }; }