import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { RejectInvitationInput, RejectInvitationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link RejectInvitationCommand}. */ export interface RejectInvitationCommandInput extends RejectInvitationInput { } /** * @public * * The output of {@link RejectInvitationCommand}. */ export interface RejectInvitationCommandOutput extends RejectInvitationOutput, __MetadataBearer { } declare const RejectInvitationCommand_base: { new (input: RejectInvitationCommandInput): import("@smithy/core/client").CommandImpl; new (input: RejectInvitationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Rejects an invitation to join a network. This action can be called by a principal in an Amazon Web Services account that has received an invitation to create a member and join a network.

*

Applies only to Hyperledger Fabric.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ManagedBlockchainClient, RejectInvitationCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import * // const { ManagedBlockchainClient, RejectInvitationCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import * // import type { ManagedBlockchainClientConfig } from "@aws-sdk/client-managedblockchain"; * const config = {}; // type is ManagedBlockchainClientConfig * const client = new ManagedBlockchainClient(config); * const input = { // RejectInvitationInput * InvitationId: "STRING_VALUE", // required * }; * const command = new RejectInvitationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param RejectInvitationCommandInput - {@link RejectInvitationCommandInput} * @returns {@link RejectInvitationCommandOutput} * @see {@link RejectInvitationCommandInput} for command's `input` shape. * @see {@link RejectInvitationCommandOutput} for command's `response` shape. * @see {@link ManagedBlockchainClientResolvedConfig | config} for ManagedBlockchainClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access to perform this action.

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

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

The request processing has failed because of an unknown error, exception or failure.

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

The action or operation requested is invalid. Verify that the action is typed correctly.

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

A requested resource doesn't exist. It may have been deleted or referenced incorrectly.

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

The request or operation couldn't be performed because a service is * throttling requests. The most common source of throttling errors is * creating resources that exceed your service limit for this resource type. * Request a limit increase or delete unused resources if possible.

* * @throws {@link ManagedBlockchainServiceException} *

Base exception class for all service exceptions from ManagedBlockchain service.

* * * @public */ export declare class RejectInvitationCommand extends RejectInvitationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RejectInvitationInput; output: {}; }; sdk: { input: RejectInvitationCommandInput; output: RejectInvitationCommandOutput; }; }; }