amazonka-gamelift-1.6.0: 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 #

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 #

Represents the input for a request action.

See: deleteVPCPeeringConnection smart constructor.

Instances

Eq DeleteVPCPeeringConnection # 
Data 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 # 
Show DeleteVPCPeeringConnection # 
Generic DeleteVPCPeeringConnection # 
Hashable DeleteVPCPeeringConnection # 
ToJSON DeleteVPCPeeringConnection # 
NFData DeleteVPCPeeringConnection # 
AWSRequest DeleteVPCPeeringConnection # 
ToHeaders DeleteVPCPeeringConnection # 
ToPath DeleteVPCPeeringConnection # 
ToQuery DeleteVPCPeeringConnection # 
type Rep DeleteVPCPeeringConnection # 
type Rep DeleteVPCPeeringConnection = D1 * (MetaData "DeleteVPCPeeringConnection" "Network.AWS.GameLift.DeleteVPCPeeringConnection" "amazonka-gamelift-1.6.0-AFaGsb9wXmY9FImAlEHdkb" 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 # 

Request Lenses

dvpcFleetId :: Lens' DeleteVPCPeeringConnection Text #

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

dvpcVPCPeeringConnectionId :: Lens' DeleteVPCPeeringConnection Text #

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 #

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 #

See: deleteVPCPeeringConnectionResponse smart constructor.

Instances

Eq DeleteVPCPeeringConnectionResponse # 
Data DeleteVPCPeeringConnectionResponse # 

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

Response Lenses