amazonka-gamelift-1.5.0: Amazon GameLift SDK.

Copyright(c) 2013-2017 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 # 
Data DeleteVPCPeeringConnection Source # 

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 # 
Show DeleteVPCPeeringConnection Source # 
Generic DeleteVPCPeeringConnection Source # 
Hashable DeleteVPCPeeringConnection Source # 
ToJSON DeleteVPCPeeringConnection Source # 
NFData DeleteVPCPeeringConnection Source # 
AWSRequest DeleteVPCPeeringConnection Source # 
ToQuery DeleteVPCPeeringConnection Source # 
ToPath DeleteVPCPeeringConnection Source # 
ToHeaders DeleteVPCPeeringConnection Source # 
type Rep DeleteVPCPeeringConnection Source # 
type Rep DeleteVPCPeeringConnection = D1 (MetaData "DeleteVPCPeeringConnection" "Network.AWS.GameLift.DeleteVPCPeeringConnection" "amazonka-gamelift-1.5.0-LWFsf2alHztGD91U7ab8u0" False) (C1 (MetaCons "DeleteVPCPeeringConnection'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dvpcFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dvpcVPCPeeringConnectionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteVPCPeeringConnection Source # 

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

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 # 
Show DeleteVPCPeeringConnectionResponse Source # 
Generic DeleteVPCPeeringConnectionResponse Source # 
NFData DeleteVPCPeeringConnectionResponse Source # 
type Rep DeleteVPCPeeringConnectionResponse Source # 
type Rep DeleteVPCPeeringConnectionResponse = D1 (MetaData "DeleteVPCPeeringConnectionResponse" "Network.AWS.GameLift.DeleteVPCPeeringConnection" "amazonka-gamelift-1.5.0-LWFsf2alHztGD91U7ab8u0" True) (C1 (MetaCons "DeleteVPCPeeringConnectionResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_dvpcrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses