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.DescribeServices

Contents

Description

Returns the current list of AWS services and a list of service categories that applies to each one. You then use service names and categories in your CreateCase requests. Each AWS service has its own set of categories.

The service codes and category codes correspond to the values that are displayed in the Service and Category drop-down lists on the AWS Support Center Create Case page. The values in those fields, however, do not necessarily match the service codes and categories returned by the DescribeServices request. Always use the service codes and categories obtained programmatically. This practice ensures that you always have the most recent set of service and category codes.

Synopsis

Creating a Request

describeServices :: DescribeServices #

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

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

  • dsServiceCodeList - A JSON-formatted list of service codes available for AWS services.
  • dsLanguage - The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.

data DescribeServices #

See: describeServices smart constructor.

Instances

Eq DescribeServices # 
Data DescribeServices # 

Methods

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

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

toConstr :: DescribeServices -> Constr #

dataTypeOf :: DescribeServices -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeServices # 
Show DescribeServices # 
Generic DescribeServices # 
Hashable DescribeServices # 
ToJSON DescribeServices # 
NFData DescribeServices # 

Methods

rnf :: DescribeServices -> () #

AWSRequest DescribeServices # 
ToQuery DescribeServices # 
ToPath DescribeServices # 
ToHeaders DescribeServices # 
type Rep DescribeServices # 
type Rep DescribeServices = D1 (MetaData "DescribeServices" "Network.AWS.Support.DescribeServices" "amazonka-support-1.4.5-LmQIPNTI7OzCplN8wzzWV7" False) (C1 (MetaCons "DescribeServices'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsServiceCodeList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_dsLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs DescribeServices # 

Request Lenses

dsServiceCodeList :: Lens' DescribeServices [Text] #

A JSON-formatted list of service codes available for AWS services.

dsLanguage :: Lens' DescribeServices (Maybe Text) #

The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.

Destructuring the Response

describeServicesResponse #

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

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

data DescribeServicesResponse #

The list of AWS services returned by the DescribeServices operation.

See: describeServicesResponse smart constructor.

Instances

Eq DescribeServicesResponse # 
Data DescribeServicesResponse # 

Methods

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

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

toConstr :: DescribeServicesResponse -> Constr #

dataTypeOf :: DescribeServicesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeServicesResponse # 
Show DescribeServicesResponse # 
Generic DescribeServicesResponse # 
NFData DescribeServicesResponse # 
type Rep DescribeServicesResponse # 
type Rep DescribeServicesResponse = D1 (MetaData "DescribeServicesResponse" "Network.AWS.Support.DescribeServices" "amazonka-support-1.4.5-LmQIPNTI7OzCplN8wzzWV7" False) (C1 (MetaCons "DescribeServicesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsrsServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SupportService]))) (S1 (MetaSel (Just Symbol "_dsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dsrsServices :: Lens' DescribeServicesResponse [SupportService] #

A JSON-formatted list of AWS services.

dsrsResponseStatus :: Lens' DescribeServicesResponse Int #

  • - | The response status code.