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

Contents

Description

Removes a VPC peering connection. To delete the connection, you must have a valid authorization for the VPC peering connection that you want to delete. You can check for an authorization by calling DescribeVpcPeeringAuthorizations or request a new one using CreateVpcPeeringAuthorization .

Once a valid authorization exists, call this operation from the AWS account that is used to manage the Amazon GameLift fleets. Identify the connection to delete by the connection ID and fleet ID. If successful, the connection is removed.

VPC peering connection operations include:

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

Creating a Request

deleteVPCPeeringConnection Source #

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

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

  • dvpcFleetId - Unique identifier for a fleet. This value must match the fleet ID referenced in the VPC peering connection record.
  • dvpcVPCPeeringConnectionId - Unique identifier for a VPC peering connection. This value is included in the VpcPeeringConnection object, which can be retrieved by calling DescribeVpcPeeringConnections .

data DeleteVPCPeeringConnection Source #

Represents the input for a request action.

See: deleteVPCPeeringConnection smart constructor.

Instances
Eq DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Data DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Methods

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

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

toConstr :: DeleteVPCPeeringConnection -> Constr #

dataTypeOf :: DeleteVPCPeeringConnection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Show DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Generic DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Associated Types

type Rep DeleteVPCPeeringConnection :: Type -> Type #

Hashable DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

ToJSON DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

AWSRequest DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Associated Types

type Rs DeleteVPCPeeringConnection :: Type #

ToHeaders DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

ToPath DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

ToQuery DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

NFData DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

type Rep DeleteVPCPeeringConnection Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

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

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Request Lenses

dvpcFleetId :: Lens' DeleteVPCPeeringConnection Text Source #

Unique identifier for a fleet. This value must match the fleet ID referenced in the VPC peering connection record.

dvpcVPCPeeringConnectionId :: Lens' DeleteVPCPeeringConnection Text Source #

Unique identifier for a VPC peering connection. This value is included in the VpcPeeringConnection object, which can be retrieved by calling DescribeVpcPeeringConnections .

Destructuring the Response

deleteVPCPeeringConnectionResponse Source #

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

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

data DeleteVPCPeeringConnectionResponse Source #

See: deleteVPCPeeringConnectionResponse smart constructor.

Instances
Eq DeleteVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Data DeleteVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Methods

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

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

toConstr :: DeleteVPCPeeringConnectionResponse -> Constr #

dataTypeOf :: DeleteVPCPeeringConnectionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Show DeleteVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Generic DeleteVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

Associated Types

type Rep DeleteVPCPeeringConnectionResponse :: Type -> Type #

NFData DeleteVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

type Rep DeleteVPCPeeringConnectionResponse Source # 
Instance details

Defined in Network.AWS.GameLift.DeleteVPCPeeringConnection

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

Response Lenses