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

Contents

Description

Requests authorization to create or delete a peer connection between the VPC for your Amazon GameLift fleet and a virtual private cloud (VPC) in your AWS account. VPC peering enables the game servers on your fleet to communicate directly with other AWS resources. Once you've received authorization, call CreateVpcPeeringConnection to establish the peering connection. For more information, see VPC Peering with Amazon GameLift Fleets .

You can peer with VPCs that are owned by any AWS account 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.

To request authorization to create a connection, call this operation from the AWS account with the VPC that you want to peer to your Amazon GameLift fleet. For example, to enable your game servers to retrieve data from a DynamoDB table, use the account that manages that DynamoDB resource. Identify the following values: (1) The ID of the VPC that you want to peer with, and (2) the ID of the AWS account that you use to manage Amazon GameLift. If successful, VPC peering is authorized for the specified VPC.

To request authorization to delete a connection, call this operation from the AWS account with the VPC that is peered with your Amazon GameLift fleet. Identify the following values: (1) VPC ID that you want to delete the peering connection for, and (2) ID of the AWS account that you use to manage Amazon GameLift.

The authorization remains valid for 24 hours unless it is canceled by a call to DeleteVpcPeeringAuthorization . You must create or delete the peering connection while the authorization is valid.

VPC peering connection operations include:

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

Creating a Request

createVPCPeeringAuthorization Source #

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

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

  • cvpaGameLiftAWSAccountId - Unique identifier for the AWS account that you use to manage your Amazon GameLift fleet. You can find your Account ID in the AWS Management Console under account settings.
  • cvpaPeerVPCId - 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 CreateVPCPeeringAuthorization Source #

Represents the input for a request action.

See: createVPCPeeringAuthorization smart constructor.

Instances
Eq CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

Data CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

Methods

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

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

toConstr :: CreateVPCPeeringAuthorization -> Constr #

dataTypeOf :: CreateVPCPeeringAuthorization -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

Show CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

Generic CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

Associated Types

type Rep CreateVPCPeeringAuthorization :: Type -> Type #

Hashable CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

ToJSON CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

AWSRequest CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

Associated Types

type Rs CreateVPCPeeringAuthorization :: Type #

ToHeaders CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

ToPath CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

ToQuery CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

NFData CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

type Rep CreateVPCPeeringAuthorization Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

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

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

Request Lenses

cvpaGameLiftAWSAccountId :: Lens' CreateVPCPeeringAuthorization Text Source #

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

cvpaPeerVPCId :: Lens' CreateVPCPeeringAuthorization 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

createVPCPeeringAuthorizationResponse Source #

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

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

data CreateVPCPeeringAuthorizationResponse Source #

Represents the returned data in response to a request action.

See: createVPCPeeringAuthorizationResponse smart constructor.

Instances
Eq CreateVPCPeeringAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

Data CreateVPCPeeringAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

Methods

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

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

toConstr :: CreateVPCPeeringAuthorizationResponse -> Constr #

dataTypeOf :: CreateVPCPeeringAuthorizationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateVPCPeeringAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

Show CreateVPCPeeringAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

Generic CreateVPCPeeringAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

NFData CreateVPCPeeringAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

type Rep CreateVPCPeeringAuthorizationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.CreateVPCPeeringAuthorization

type Rep CreateVPCPeeringAuthorizationResponse = D1 (MetaData "CreateVPCPeeringAuthorizationResponse" "Network.AWS.GameLift.CreateVPCPeeringAuthorization" "amazonka-gamelift-1.6.1-GajLKSxsevT2faX837q2Xl" False) (C1 (MetaCons "CreateVPCPeeringAuthorizationResponse'" PrefixI True) (S1 (MetaSel (Just "_cvparsVPCPeeringAuthorization") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VPCPeeringAuthorization)) :*: S1 (MetaSel (Just "_cvparsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

cvparsVPCPeeringAuthorization :: Lens' CreateVPCPeeringAuthorizationResponse (Maybe VPCPeeringAuthorization) Source #

Details on the requested VPC peering authorization, including expiration.