import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import type { AcceptTransitGatewayMulticastDomainAssociationsRequest, AcceptTransitGatewayMulticastDomainAssociationsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link AcceptTransitGatewayMulticastDomainAssociationsCommand}. */ export interface AcceptTransitGatewayMulticastDomainAssociationsCommandInput extends AcceptTransitGatewayMulticastDomainAssociationsRequest { } /** * @public * * The output of {@link AcceptTransitGatewayMulticastDomainAssociationsCommand}. */ export interface AcceptTransitGatewayMulticastDomainAssociationsCommandOutput extends AcceptTransitGatewayMulticastDomainAssociationsResult, __MetadataBearer { } declare const AcceptTransitGatewayMulticastDomainAssociationsCommand_base: { new (input: AcceptTransitGatewayMulticastDomainAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [AcceptTransitGatewayMulticastDomainAssociationsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Accepts a request to associate subnets with a transit gateway multicast domain.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, AcceptTransitGatewayMulticastDomainAssociationsCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, AcceptTransitGatewayMulticastDomainAssociationsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2"; * const config = {}; // type is EC2ClientConfig * const client = new EC2Client(config); * const input = { // AcceptTransitGatewayMulticastDomainAssociationsRequest * TransitGatewayMulticastDomainId: "STRING_VALUE", * TransitGatewayAttachmentId: "STRING_VALUE", * SubnetIds: [ // ValueStringList * "STRING_VALUE", * ], * DryRun: true || false, * }; * const command = new AcceptTransitGatewayMulticastDomainAssociationsCommand(input); * const response = await client.send(command); * // { // AcceptTransitGatewayMulticastDomainAssociationsResult * // Associations: { // TransitGatewayMulticastDomainAssociations * // TransitGatewayMulticastDomainId: "STRING_VALUE", * // TransitGatewayAttachmentId: "STRING_VALUE", * // ResourceId: "STRING_VALUE", * // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn", * // ResourceOwnerId: "STRING_VALUE", * // Subnets: [ // SubnetAssociationList * // { // SubnetAssociation * // SubnetId: "STRING_VALUE", * // State: "pendingAcceptance" || "associating" || "associated" || "disassociating" || "disassociated" || "rejected" || "failed", * // }, * // ], * // }, * // }; * * ``` * * @param AcceptTransitGatewayMulticastDomainAssociationsCommandInput - {@link AcceptTransitGatewayMulticastDomainAssociationsCommandInput} * @returns {@link AcceptTransitGatewayMulticastDomainAssociationsCommandOutput} * @see {@link AcceptTransitGatewayMulticastDomainAssociationsCommandInput} for command's `input` shape. * @see {@link AcceptTransitGatewayMulticastDomainAssociationsCommandOutput} for command's `response` shape. * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. * * @throws {@link EC2ServiceException} *

Base exception class for all service exceptions from EC2 service.

* * * @public */ export declare class AcceptTransitGatewayMulticastDomainAssociationsCommand extends AcceptTransitGatewayMulticastDomainAssociationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AcceptTransitGatewayMulticastDomainAssociationsRequest; output: AcceptTransitGatewayMulticastDomainAssociationsResult; }; sdk: { input: AcceptTransitGatewayMulticastDomainAssociationsCommandInput; output: AcceptTransitGatewayMulticastDomainAssociationsCommandOutput; }; }; }