amazonka-connect-1.6.1: Amazon Connect Service 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.Connect.StopContact

Contents

Description

Ends the contact initiated by the StartOutboundVoiceContact operation.

If you are using an IAM account, it must have permissions to the connect:StopContact operation.

Synopsis

Creating a Request

stopContact Source #

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

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

  • scContactId - The unique identifier of the contact to end. This is the ContactId value returned from the StartOutboundVoiceContact operation.
  • scInstanceId - The identifier of the Amazon Connect instance in which the contact is active.

data StopContact Source #

See: stopContact smart constructor.

Instances
Eq StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Data StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Methods

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

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

toConstr :: StopContact -> Constr #

dataTypeOf :: StopContact -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Show StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Generic StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Associated Types

type Rep StopContact :: Type -> Type #

Hashable StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

ToJSON StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

AWSRequest StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Associated Types

type Rs StopContact :: Type #

ToHeaders StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Methods

toHeaders :: StopContact -> [Header] #

ToPath StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

ToQuery StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

NFData StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Methods

rnf :: StopContact -> () #

type Rep StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

type Rep StopContact = D1 (MetaData "StopContact" "Network.AWS.Connect.StopContact" "amazonka-connect-1.6.1-1g14oMMNJWXJR0NXsX8PLH" False) (C1 (MetaCons "StopContact'" PrefixI True) (S1 (MetaSel (Just "_scContactId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_scInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs StopContact Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Request Lenses

scContactId :: Lens' StopContact Text Source #

The unique identifier of the contact to end. This is the ContactId value returned from the StartOutboundVoiceContact operation.

scInstanceId :: Lens' StopContact Text Source #

The identifier of the Amazon Connect instance in which the contact is active.

Destructuring the Response

stopContactResponse Source #

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

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

data StopContactResponse Source #

See: stopContactResponse smart constructor.

Instances
Eq StopContactResponse Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Data StopContactResponse Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Methods

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

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

toConstr :: StopContactResponse -> Constr #

dataTypeOf :: StopContactResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopContactResponse Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Show StopContactResponse Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Generic StopContactResponse Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Associated Types

type Rep StopContactResponse :: Type -> Type #

NFData StopContactResponse Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

Methods

rnf :: StopContactResponse -> () #

type Rep StopContactResponse Source # 
Instance details

Defined in Network.AWS.Connect.StopContact

type Rep StopContactResponse = D1 (MetaData "StopContactResponse" "Network.AWS.Connect.StopContact" "amazonka-connect-1.6.1-1g14oMMNJWXJR0NXsX8PLH" True) (C1 (MetaCons "StopContactResponse'" PrefixI True) (S1 (MetaSel (Just "_scrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

scrsResponseStatus :: Lens' StopContactResponse Int Source #

  • - | The response status code.