Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.EC2.EnableVgwRoutePropagation
Description
Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.
Synopsis
- data EnableVgwRoutePropagation = EnableVgwRoutePropagation' {}
- newEnableVgwRoutePropagation :: Text -> Text -> EnableVgwRoutePropagation
- enableVgwRoutePropagation_dryRun :: Lens' EnableVgwRoutePropagation (Maybe Bool)
- enableVgwRoutePropagation_gatewayId :: Lens' EnableVgwRoutePropagation Text
- enableVgwRoutePropagation_routeTableId :: Lens' EnableVgwRoutePropagation Text
- data EnableVgwRoutePropagationResponse = EnableVgwRoutePropagationResponse' {
- newEnableVgwRoutePropagationResponse :: EnableVgwRoutePropagationResponse
Creating a Request
data EnableVgwRoutePropagation Source #
Contains the parameters for EnableVgwRoutePropagation.
See: newEnableVgwRoutePropagation
smart constructor.
Constructors
EnableVgwRoutePropagation' | |
Fields
|
Instances
newEnableVgwRoutePropagation Source #
Arguments
:: Text | |
-> Text | |
-> EnableVgwRoutePropagation |
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.
Constructors
EnableVgwRoutePropagationResponse' | |
Instances
Generic EnableVgwRoutePropagationResponse Source # | |
Defined in Amazonka.EC2.EnableVgwRoutePropagation Associated Types type Rep EnableVgwRoutePropagationResponse :: Type -> Type # | |
Read EnableVgwRoutePropagationResponse Source # | |
Show EnableVgwRoutePropagationResponse Source # | |
Defined in Amazonka.EC2.EnableVgwRoutePropagation Methods showsPrec :: Int -> EnableVgwRoutePropagationResponse -> ShowS # | |
NFData EnableVgwRoutePropagationResponse Source # | |
Defined in Amazonka.EC2.EnableVgwRoutePropagation Methods rnf :: EnableVgwRoutePropagationResponse -> () # | |
Eq EnableVgwRoutePropagationResponse Source # | |
type Rep EnableVgwRoutePropagationResponse Source # | |
Defined in Amazonka.EC2.EnableVgwRoutePropagation |
newEnableVgwRoutePropagationResponse :: EnableVgwRoutePropagationResponse Source #
Create a value of EnableVgwRoutePropagationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.