amazonka-directconnect-1.4.2: Amazon Direct Connect SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DirectConnect.DeleteConnection

Contents

Description

Deletes the connection.

Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. You need to cancel separately with the providers any services or charges for cross-connects or network circuits that connect you to the AWS Direct Connect location.

Synopsis

Creating a Request

deleteConnection Source #

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

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

data DeleteConnection Source #

Container for the parameters to the DeleteConnection operation.

See: deleteConnection smart constructor.

Instances

Eq DeleteConnection Source # 
Data DeleteConnection Source # 

Methods

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

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

toConstr :: DeleteConnection -> Constr #

dataTypeOf :: DeleteConnection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteConnection Source # 
Show DeleteConnection Source # 
Generic DeleteConnection Source # 
Hashable DeleteConnection Source # 
ToJSON DeleteConnection Source # 
NFData DeleteConnection Source # 

Methods

rnf :: DeleteConnection -> () #

AWSRequest DeleteConnection Source # 
ToQuery DeleteConnection Source # 
ToPath DeleteConnection Source # 
ToHeaders DeleteConnection Source # 
type Rep DeleteConnection Source # 
type Rep DeleteConnection = D1 (MetaData "DeleteConnection" "Network.AWS.DirectConnect.DeleteConnection" "amazonka-directconnect-1.4.2-I0txNAUWTHoVUwpUXXFnH" True) (C1 (MetaCons "DeleteConnection'" PrefixI True) (S1 (MetaSel (Just Symbol "_dcConnectionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteConnection Source # 

Request Lenses

Destructuring the Response

connection :: Connection Source #

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

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

data Connection Source #

A connection represents the physical network connection between the AWS Direct Connect location and the customer.

See: connection smart constructor.

Instances

Eq Connection Source # 
Data Connection Source # 

Methods

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

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

toConstr :: Connection -> Constr #

dataTypeOf :: Connection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Connection Source # 
Show Connection Source # 
Generic Connection Source # 

Associated Types

type Rep Connection :: * -> * #

Hashable Connection Source # 
FromJSON Connection Source # 
NFData Connection Source # 

Methods

rnf :: Connection -> () #

type Rep Connection Source # 

Response Lenses

cVlan :: Lens' Connection (Maybe Int) Source #

Undocumented member.

cLocation :: Lens' Connection (Maybe Text) Source #

Undocumented member.

cConnectionId :: Lens' Connection (Maybe Text) Source #

Undocumented member.

cPartnerName :: Lens' Connection (Maybe Text) Source #

Undocumented member.

cConnectionName :: Lens' Connection (Maybe Text) Source #

Undocumented member.

cBandwidth :: Lens' Connection (Maybe Text) Source #

Bandwidth of the connection.

Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)

Default: None

cOwnerAccount :: Lens' Connection (Maybe Text) Source #

Undocumented member.

cRegion :: Lens' Connection (Maybe Text) Source #

Undocumented member.