amazonka-gamelift-1.6.1: Amazon GameLift SDK.

Copyright(c) 2013-2018 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.GameLift.CreateVPCPeeringConnection

Contents

Description

Establishes a VPC peering connection between a virtual private cloud (VPC) in an AWS account with the VPC for your Amazon GameLift fleet. VPC peering enables the game servers on your fleet to communicate directly with other AWS resources. You can peer with VPCs in any AWS account that you have access to, including the account that you use to manage your Amazon GameLift fleets. You cannot peer with VPCs that are in different regions. For more information, see VPC Peering with Amazon GameLift Fleets .

Before calling this operation to establish the peering connection, you first need to call CreateVpcPeeringAuthorization and identify the VPC you want to peer with. Once the authorization for the specified VPC is issued, you have 24 hours to establish the connection. These two operations handle all tasks necessary to peer the two VPCs, including acceptance, updating routing tables, etc.

To establish the connection, call this operation from the AWS account that is used to manage the Amazon GameLift fleets. Identify the following values: (1) The ID of the fleet you want to be enable a VPC peering connection for; (2) The AWS account with the VPC that you want to peer with; and (3) The ID of the VPC you want to peer with. This operation is asynchronous. If successful, a VpcPeeringConnection request is created. You can use continuous polling to track the request's status using DescribeVpcPeeringConnections , or by monitoring fleet events for success or failure using DescribeFleetEvents .

VPC peering connection operations include:

  • CreateVpcPeeringAuthorization
  • DescribeVpcPeeringAuthorizations
  • DeleteVpcPeeringAuthorization
  • CreateVpcPeeringConnection
  • DescribeVpcPeeringConnections
  • DeleteVpcPeeringConnection
Synopsis

Creating a Request

createVPCPeeringConnection Source #

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

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

  • cvpcFleetId - Unique identifier for a fleet. This tells Amazon GameLift which GameLift VPC to peer with.
  • cvpcPeerVPCAWSAccountId - Unique identifier for the AWS account with the VPC that you want to peer your Amazon GameLift fleet with. You can find your Account ID in the AWS Management Console under account settings.
  • cvpcPeerVPCId - Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The VPC must be in the same region where your fleet is deployed. To get VPC information, including IDs, use the Virtual Private Cloud service tools, including the VPC Dashboard in the AWS Management Console.

data CreateVPCPeeringConnection Source #

Represents the input for a request action.

See: createVPCPeeringConnection smart constructor.

Instances
Eq CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Data CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Methods

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

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

toConstr :: CreateVPCPeeringConnection -> Constr #

dataTypeOf :: CreateVPCPeeringConnection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Show CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Generic CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Associated Types

type Rep CreateVPCPeeringConnection :: Type -> Type #

Hashable CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

ToJSON CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

AWSRequest CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Associated Types

type Rs CreateVPCPeeringConnection :: Type #

ToHeaders CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

ToPath CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

ToQuery CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

NFData CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

type Rep CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

type Rep CreateVPCPeeringConnection = D1 (MetaData "CreateVPCPeeringConnection" "Network.AWS.GameLift.CreateVPCPeeringConnection" "amazonka-gamelift-1.6.1-GajLKSxsevT2faX837q2Xl" False) (C1 (MetaCons "CreateVPCPeeringConnection'" PrefixI True) (S1 (MetaSel (Just "_cvpcFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cvpcPeerVPCAWSAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cvpcPeerVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Request Lenses

cvpcFleetId :: Lens' CreateVPCPeeringConnection Text Source #

Unique identifier for a fleet. This tells Amazon GameLift which GameLift VPC to peer with.

cvpcPeerVPCAWSAccountId :: Lens' CreateVPCPeeringConnection Text Source #

Unique identifier for the AWS account with the VPC that you want to peer your Amazon GameLift fleet with. You can find your Account ID in the AWS Management Console under account settings.

cvpcPeerVPCId :: Lens' CreateVPCPeeringConnection Text Source #

Unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The VPC must be in the same region where your fleet is deployed. To get VPC information, including IDs, use the Virtual Private Cloud service tools, including the VPC Dashboard in the AWS Management Console.

Destructuring the Response

createVPCPeeringConnectionResponse Source #

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

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

data CreateVPCPeeringConnectionResponse Source #

See: createVPCPeeringConnectionResponse smart constructor.

Instances
Eq CreateVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Data CreateVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Methods

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

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

toConstr :: CreateVPCPeeringConnectionResponse -> Constr #

dataTypeOf :: CreateVPCPeeringConnectionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Show CreateVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Generic CreateVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

Associated Types

type Rep CreateVPCPeeringConnectionResponse :: Type -> Type #

NFData CreateVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

type Rep CreateVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringConnection

type Rep CreateVPCPeeringConnectionResponse = D1 (MetaData "CreateVPCPeeringConnectionResponse" "Network.AWS.GameLift.CreateVPCPeeringConnection" "amazonka-gamelift-1.6.1-GajLKSxsevT2faX837q2Xl" True) (C1 (MetaCons "CreateVPCPeeringConnectionResponse'" PrefixI True) (S1 (MetaSel (Just "_cvpcrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses