amazonka-ec2-1.5.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.CreateRouteTable

Contents

Description

Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.

For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide .

Synopsis

Creating a Request

createRouteTable Source #

Creates a value of CreateRouteTable with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • crtDryRun - 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 .
  • crtVPCId - The ID of the VPC.

data CreateRouteTable Source #

Contains the parameters for CreateRouteTable.

See: createRouteTable smart constructor.

Instances

Eq CreateRouteTable Source # 
Data CreateRouteTable Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateRouteTable -> c CreateRouteTable #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateRouteTable #

toConstr :: CreateRouteTable -> Constr #

dataTypeOf :: CreateRouteTable -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateRouteTable) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateRouteTable) #

gmapT :: (forall b. Data b => b -> b) -> CreateRouteTable -> CreateRouteTable #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateRouteTable -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateRouteTable -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateRouteTable -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateRouteTable -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateRouteTable -> m CreateRouteTable #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateRouteTable -> m CreateRouteTable #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateRouteTable -> m CreateRouteTable #

Read CreateRouteTable Source # 
Show CreateRouteTable Source # 
Generic CreateRouteTable Source # 
Hashable CreateRouteTable Source # 
NFData CreateRouteTable Source # 

Methods

rnf :: CreateRouteTable -> () #

AWSRequest CreateRouteTable Source # 
ToQuery CreateRouteTable Source # 
ToPath CreateRouteTable Source # 
ToHeaders CreateRouteTable Source # 
type Rep CreateRouteTable Source # 
type Rep CreateRouteTable = D1 (MetaData "CreateRouteTable" "Network.AWS.EC2.CreateRouteTable" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "CreateRouteTable'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crtDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_crtVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateRouteTable Source # 

Request Lenses

crtDryRun :: Lens' CreateRouteTable (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 .

Destructuring the Response

createRouteTableResponse Source #

Creates a value of CreateRouteTableResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateRouteTableResponse Source #

Contains the output of CreateRouteTable.

See: createRouteTableResponse smart constructor.

Instances

Eq CreateRouteTableResponse Source # 
Data CreateRouteTableResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateRouteTableResponse -> c CreateRouteTableResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateRouteTableResponse #

toConstr :: CreateRouteTableResponse -> Constr #

dataTypeOf :: CreateRouteTableResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateRouteTableResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateRouteTableResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateRouteTableResponse -> CreateRouteTableResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateRouteTableResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateRouteTableResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateRouteTableResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateRouteTableResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateRouteTableResponse -> m CreateRouteTableResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateRouteTableResponse -> m CreateRouteTableResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateRouteTableResponse -> m CreateRouteTableResponse #

Read CreateRouteTableResponse Source # 
Show CreateRouteTableResponse Source # 
Generic CreateRouteTableResponse Source # 
NFData CreateRouteTableResponse Source # 
type Rep CreateRouteTableResponse Source # 
type Rep CreateRouteTableResponse = D1 (MetaData "CreateRouteTableResponse" "Network.AWS.EC2.CreateRouteTable" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "CreateRouteTableResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crtrsRouteTable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RouteTable))) (S1 (MetaSel (Just Symbol "_crtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

crtrsRouteTable :: Lens' CreateRouteTableResponse (Maybe RouteTable) Source #

Information about the route table.