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.EnableVgwRoutePropagation

Description

Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.

Synopsis

Creating a Request

data EnableVgwRoutePropagation Source #

Contains the parameters for EnableVgwRoutePropagation.

See: newEnableVgwRoutePropagation smart constructor.

Constructors

EnableVgwRoutePropagation' 

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.

  • gatewayId :: Text

    The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.

  • routeTableId :: Text

    The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to.

Instances

Instances details
ToHeaders EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

ToPath EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

ToQuery EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

AWSRequest EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

Generic EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

Associated Types

type Rep EnableVgwRoutePropagation :: Type -> Type #

Read EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

Show EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

NFData EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

Eq EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

Hashable EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

type AWSResponse EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

type Rep EnableVgwRoutePropagation Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

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

newEnableVgwRoutePropagation Source #

Create a value of EnableVgwRoutePropagation 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:EnableVgwRoutePropagation', enableVgwRoutePropagation_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.

EnableVgwRoutePropagation, enableVgwRoutePropagation_gatewayId - The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.

EnableVgwRoutePropagation, enableVgwRoutePropagation_routeTableId - The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to.

Request Lenses

enableVgwRoutePropagation_dryRun :: Lens' EnableVgwRoutePropagation (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.

enableVgwRoutePropagation_gatewayId :: Lens' EnableVgwRoutePropagation Text Source #

The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.

enableVgwRoutePropagation_routeTableId :: Lens' EnableVgwRoutePropagation Text Source #

The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to.

Destructuring the Response

data EnableVgwRoutePropagationResponse Source #

See: newEnableVgwRoutePropagationResponse smart constructor.

Instances

Instances details
Generic EnableVgwRoutePropagationResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

Associated Types

type Rep EnableVgwRoutePropagationResponse :: Type -> Type #

Read EnableVgwRoutePropagationResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

Show EnableVgwRoutePropagationResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

NFData EnableVgwRoutePropagationResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

Eq EnableVgwRoutePropagationResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

type Rep EnableVgwRoutePropagationResponse Source # 
Instance details

Defined in Amazonka.EC2.EnableVgwRoutePropagation

type Rep EnableVgwRoutePropagationResponse = D1 ('MetaData "EnableVgwRoutePropagationResponse" "Amazonka.EC2.EnableVgwRoutePropagation" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "EnableVgwRoutePropagationResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newEnableVgwRoutePropagationResponse :: EnableVgwRoutePropagationResponse Source #

Create a value of EnableVgwRoutePropagationResponse with all optional fields omitted.

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