amazonka-support-1.4.5: Amazon Support 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.Support.ResolveCase

Contents

Description

Takes a caseId and returns the initial state of the case along with the state of the case after the call to ResolveCase completed.

Synopsis

Creating a Request

resolveCase :: ResolveCase Source #

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

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

  • rcCaseId - The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

data ResolveCase Source #

See: resolveCase smart constructor.

Instances

Eq ResolveCase Source # 
Data ResolveCase Source # 

Methods

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

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

toConstr :: ResolveCase -> Constr #

dataTypeOf :: ResolveCase -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ResolveCase Source # 
Show ResolveCase Source # 
Generic ResolveCase Source # 

Associated Types

type Rep ResolveCase :: * -> * #

Hashable ResolveCase Source # 
ToJSON ResolveCase Source # 
NFData ResolveCase Source # 

Methods

rnf :: ResolveCase -> () #

AWSRequest ResolveCase Source # 
ToPath ResolveCase Source # 
ToHeaders ResolveCase Source # 

Methods

toHeaders :: ResolveCase -> [Header] #

ToQuery ResolveCase Source # 
type Rep ResolveCase Source # 
type Rep ResolveCase = D1 (MetaData "ResolveCase" "Network.AWS.Support.ResolveCase" "amazonka-support-1.4.5-1rRJJQvCx2KFEHmU5CZ1We" True) (C1 (MetaCons "ResolveCase'" PrefixI True) (S1 (MetaSel (Just Symbol "_rcCaseId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs ResolveCase Source # 

Request Lenses

rcCaseId :: Lens' ResolveCase (Maybe Text) Source #

The AWS Support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

Destructuring the Response

resolveCaseResponse Source #

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

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

data ResolveCaseResponse Source #

The status of the case returned by the ResolveCase operation.

See: resolveCaseResponse smart constructor.

Instances

Eq ResolveCaseResponse Source # 
Data ResolveCaseResponse Source # 

Methods

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

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

toConstr :: ResolveCaseResponse -> Constr #

dataTypeOf :: ResolveCaseResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ResolveCaseResponse Source # 
Show ResolveCaseResponse Source # 
Generic ResolveCaseResponse Source # 
NFData ResolveCaseResponse Source # 

Methods

rnf :: ResolveCaseResponse -> () #

type Rep ResolveCaseResponse Source # 
type Rep ResolveCaseResponse = D1 (MetaData "ResolveCaseResponse" "Network.AWS.Support.ResolveCase" "amazonka-support-1.4.5-1rRJJQvCx2KFEHmU5CZ1We" False) (C1 (MetaCons "ResolveCaseResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rcrsInitialCaseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rcrsFinalCaseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

rcrsInitialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) Source #

The status of the case when the ResolveCase request was sent.

rcrsFinalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) Source #

The status of the case after the ResolveCase request was processed.

rcrsResponseStatus :: Lens' ResolveCaseResponse Int Source #

  • - | The response status code.