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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 #

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 #

Contains the parameters for CreateRouteTable.

See: createRouteTable smart constructor.

Instances

Eq CreateRouteTable # 
Data CreateRouteTable # 

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 # 
Show CreateRouteTable # 
Generic CreateRouteTable # 
Hashable CreateRouteTable # 
NFData CreateRouteTable # 

Methods

rnf :: CreateRouteTable -> () #

AWSRequest CreateRouteTable # 
ToQuery CreateRouteTable # 
ToPath CreateRouteTable # 
ToHeaders CreateRouteTable # 
type Rep CreateRouteTable # 
type Rep CreateRouteTable = D1 (MetaData "CreateRouteTable" "Network.AWS.EC2.CreateRouteTable" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" 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 # 

Request Lenses

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

crtVPCId :: Lens' CreateRouteTable Text #

The ID of the VPC.

Destructuring the Response

createRouteTableResponse #

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 #

Contains the output of CreateRouteTable.

See: createRouteTableResponse smart constructor.

Instances

Eq CreateRouteTableResponse # 
Data CreateRouteTableResponse # 

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 # 
Show CreateRouteTableResponse # 
Generic CreateRouteTableResponse # 
NFData CreateRouteTableResponse # 
type Rep CreateRouteTableResponse # 
type Rep CreateRouteTableResponse = D1 (MetaData "CreateRouteTableResponse" "Network.AWS.EC2.CreateRouteTable" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "CreateRouteTableResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crtrsRouteTable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RouteTable))) (S1 (MetaSel (Just Symbol "_crtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

crtrsRouteTable :: Lens' CreateRouteTableResponse (Maybe RouteTable) #

Information about the route table.

crtrsResponseStatus :: Lens' CreateRouteTableResponse Int #

  • - | The response status code.