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 Source #

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 Source #

See: createEgressOnlyInternetGateway smart constructor.

Instances

Eq CreateEgressOnlyInternetGateway Source # 
Data CreateEgressOnlyInternetGateway Source # 

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 Source # 
Show CreateEgressOnlyInternetGateway Source # 
Generic CreateEgressOnlyInternetGateway Source # 
Hashable CreateEgressOnlyInternetGateway Source # 
NFData CreateEgressOnlyInternetGateway Source # 
AWSRequest CreateEgressOnlyInternetGateway Source # 
ToPath CreateEgressOnlyInternetGateway Source # 
ToHeaders CreateEgressOnlyInternetGateway Source # 
ToQuery CreateEgressOnlyInternetGateway Source # 
type Rep CreateEgressOnlyInternetGateway Source # 
type Rep CreateEgressOnlyInternetGateway = D1 (MetaData "CreateEgressOnlyInternetGateway" "Network.AWS.EC2.CreateEgressOnlyInternetGateway" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" 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 Source # 

Request Lenses

ceoigClientToken :: Lens' CreateEgressOnlyInternetGateway (Maybe Text) Source #

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

ceoigVPCId :: Lens' CreateEgressOnlyInternetGateway Text Source #

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

Destructuring the Response

createEgressOnlyInternetGatewayResponse Source #

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 Source #

Instances

Eq CreateEgressOnlyInternetGatewayResponse Source # 
Data CreateEgressOnlyInternetGatewayResponse Source # 

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 Source # 
Show CreateEgressOnlyInternetGatewayResponse Source # 
Generic CreateEgressOnlyInternetGatewayResponse Source # 
NFData CreateEgressOnlyInternetGatewayResponse Source # 
type Rep CreateEgressOnlyInternetGatewayResponse Source # 
type Rep CreateEgressOnlyInternetGatewayResponse = D1 (MetaData "CreateEgressOnlyInternetGatewayResponse" "Network.AWS.EC2.CreateEgressOnlyInternetGateway" "amazonka-ec2-1.4.5-4J1X1aohvSR7xjHvMmTrf6" 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) Source #

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