amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.AssociateTransitGatewayMulticastDomain

Description

Associates the specified subnets and transit gateway attachments with the specified transit gateway multicast domain.

The transit gateway attachment must be in the available state before you can add a resource. Use DescribeTransitGatewayAttachments to see the state of the attachment.

Synopsis

Creating a Request

data AssociateTransitGatewayMulticastDomain Source #

Constructors

AssociateTransitGatewayMulticastDomain' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • subnetIds :: Maybe [Text]

    The IDs of the subnets to associate with the transit gateway multicast domain.

  • transitGatewayAttachmentId :: Maybe Text

    The ID of the transit gateway attachment to associate with the transit gateway multicast domain.

  • transitGatewayMulticastDomainId :: Maybe Text

    The ID of the transit gateway multicast domain.

Instances

Instances details
ToHeaders AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

ToPath AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

ToQuery AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

AWSRequest AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

Generic AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

Read AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

Show AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

NFData AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

Eq AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

Hashable AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

type AWSResponse AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

type Rep AssociateTransitGatewayMulticastDomain Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

type Rep AssociateTransitGatewayMulticastDomain = D1 ('MetaData "AssociateTransitGatewayMulticastDomain" "Amazonka.EC2.AssociateTransitGatewayMulticastDomain" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "AssociateTransitGatewayMulticastDomain'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "transitGatewayAttachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "transitGatewayMulticastDomainId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAssociateTransitGatewayMulticastDomain :: AssociateTransitGatewayMulticastDomain Source #

Create a value of AssociateTransitGatewayMulticastDomain with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dryRun:AssociateTransitGatewayMulticastDomain', associateTransitGatewayMulticastDomain_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

AssociateTransitGatewayMulticastDomain, associateTransitGatewayMulticastDomain_subnetIds - The IDs of the subnets to associate with the transit gateway multicast domain.

AssociateTransitGatewayMulticastDomain, associateTransitGatewayMulticastDomain_transitGatewayAttachmentId - The ID of the transit gateway attachment to associate with the transit gateway multicast domain.

AssociateTransitGatewayMulticastDomain, associateTransitGatewayMulticastDomain_transitGatewayMulticastDomainId - The ID of the transit gateway multicast domain.

Request Lenses

associateTransitGatewayMulticastDomain_dryRun :: Lens' AssociateTransitGatewayMulticastDomain (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

associateTransitGatewayMulticastDomain_subnetIds :: Lens' AssociateTransitGatewayMulticastDomain (Maybe [Text]) Source #

The IDs of the subnets to associate with the transit gateway multicast domain.

associateTransitGatewayMulticastDomain_transitGatewayAttachmentId :: Lens' AssociateTransitGatewayMulticastDomain (Maybe Text) Source #

The ID of the transit gateway attachment to associate with the transit gateway multicast domain.

Destructuring the Response

data AssociateTransitGatewayMulticastDomainResponse Source #

Constructors

AssociateTransitGatewayMulticastDomainResponse' 

Fields

Instances

Instances details
Generic AssociateTransitGatewayMulticastDomainResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

Read AssociateTransitGatewayMulticastDomainResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

Show AssociateTransitGatewayMulticastDomainResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

NFData AssociateTransitGatewayMulticastDomainResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

Eq AssociateTransitGatewayMulticastDomainResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

type Rep AssociateTransitGatewayMulticastDomainResponse Source # 
Instance details

Defined in Amazonka.EC2.AssociateTransitGatewayMulticastDomain

type Rep AssociateTransitGatewayMulticastDomainResponse = D1 ('MetaData "AssociateTransitGatewayMulticastDomainResponse" "Amazonka.EC2.AssociateTransitGatewayMulticastDomain" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "AssociateTransitGatewayMulticastDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "associations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransitGatewayMulticastDomainAssociations)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateTransitGatewayMulticastDomainResponse Source #

Create a value of AssociateTransitGatewayMulticastDomainResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

AssociateTransitGatewayMulticastDomainResponse, associateTransitGatewayMulticastDomainResponse_associations - Information about the transit gateway multicast domain associations.

$sel:httpStatus:AssociateTransitGatewayMulticastDomainResponse', associateTransitGatewayMulticastDomainResponse_httpStatus - The response's http status code.

Response Lenses