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

Contents

Description

IPv6 only
Creates an egress-only Internet gateway for your VPC. An egress-only Internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the Internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.

Synopsis

Creating a Request

createEgressOnlyInternetGateway #

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

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

  • ceoigClientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency .
  • ceoigDryRun - 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 .
  • ceoigVPCId - The ID of the VPC for which to create the egress-only Internet gateway.

data CreateEgressOnlyInternetGateway #

See: createEgressOnlyInternetGateway smart constructor.

Instances

Eq CreateEgressOnlyInternetGateway # 
Data CreateEgressOnlyInternetGateway # 

Methods

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

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

toConstr :: CreateEgressOnlyInternetGateway -> Constr #

dataTypeOf :: CreateEgressOnlyInternetGateway -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateEgressOnlyInternetGateway # 
Show CreateEgressOnlyInternetGateway # 
Generic CreateEgressOnlyInternetGateway # 
Hashable CreateEgressOnlyInternetGateway # 
NFData CreateEgressOnlyInternetGateway # 
AWSRequest CreateEgressOnlyInternetGateway # 
ToQuery CreateEgressOnlyInternetGateway # 
ToPath CreateEgressOnlyInternetGateway # 
ToHeaders CreateEgressOnlyInternetGateway # 
type Rep CreateEgressOnlyInternetGateway # 
type Rep CreateEgressOnlyInternetGateway = D1 (MetaData "CreateEgressOnlyInternetGateway" "Network.AWS.EC2.CreateEgressOnlyInternetGateway" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "CreateEgressOnlyInternetGateway'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ceoigClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ceoigDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_ceoigVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateEgressOnlyInternetGateway # 

Request Lenses

ceoigClientToken :: Lens' CreateEgressOnlyInternetGateway (Maybe Text) #

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency .

ceoigDryRun :: Lens' CreateEgressOnlyInternetGateway (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 .

ceoigVPCId :: Lens' CreateEgressOnlyInternetGateway Text #

The ID of the VPC for which to create the egress-only Internet gateway.

Destructuring the Response

createEgressOnlyInternetGatewayResponse #

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

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

data CreateEgressOnlyInternetGatewayResponse #

Instances

Eq CreateEgressOnlyInternetGatewayResponse # 
Data CreateEgressOnlyInternetGatewayResponse # 

Methods

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

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

toConstr :: CreateEgressOnlyInternetGatewayResponse -> Constr #

dataTypeOf :: CreateEgressOnlyInternetGatewayResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateEgressOnlyInternetGatewayResponse # 
Show CreateEgressOnlyInternetGatewayResponse # 
Generic CreateEgressOnlyInternetGatewayResponse # 
NFData CreateEgressOnlyInternetGatewayResponse # 
type Rep CreateEgressOnlyInternetGatewayResponse # 
type Rep CreateEgressOnlyInternetGatewayResponse = D1 (MetaData "CreateEgressOnlyInternetGatewayResponse" "Network.AWS.EC2.CreateEgressOnlyInternetGateway" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "CreateEgressOnlyInternetGatewayResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ceoigrsClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ceoigrsEgressOnlyInternetGateway") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EgressOnlyInternetGateway))) (S1 (MetaSel (Just Symbol "_ceoigrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

ceoigrsClientToken :: Lens' CreateEgressOnlyInternetGatewayResponse (Maybe Text) #

Unique, case-sensitive identifier you provide to ensure the idempotency of the request.