amazonka-support-1.6.1: Amazon Support 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.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 Source #

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 Source #

See: describeServices smart constructor.

Instances
Eq DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

Data DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.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 Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

Show DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

Generic DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

Associated Types

type Rep DescribeServices :: Type -> Type #

Hashable DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

ToJSON DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

AWSRequest DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

Associated Types

type Rs DescribeServices :: Type #

ToHeaders DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

ToPath DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

ToQuery DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

NFData DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

Methods

rnf :: DescribeServices -> () #

type Rep DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

type Rep DescribeServices = D1 (MetaData "DescribeServices" "Network.AWS.Support.DescribeServices" "amazonka-support-1.6.1-4xuMxu0WF4O4DAikataxy0" False) (C1 (MetaCons "DescribeServices'" PrefixI True) (S1 (MetaSel (Just "_dsServiceCodeList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_dsLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Rs DescribeServices Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

Request Lenses

dsServiceCodeList :: Lens' DescribeServices [Text] Source #

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

dsLanguage :: Lens' DescribeServices (Maybe Text) Source #

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 Source #

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 Source #

The list of AWS services returned by the DescribeServices operation.

See: describeServicesResponse smart constructor.

Instances
Eq DescribeServicesResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

Data DescribeServicesResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

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 Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

Show DescribeServicesResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

Generic DescribeServicesResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

Associated Types

type Rep DescribeServicesResponse :: Type -> Type #

NFData DescribeServicesResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

type Rep DescribeServicesResponse Source # 
Instance details

Defined in Network.AWS.Support.DescribeServices

type Rep DescribeServicesResponse = D1 (MetaData "DescribeServicesResponse" "Network.AWS.Support.DescribeServices" "amazonka-support-1.6.1-4xuMxu0WF4O4DAikataxy0" False) (C1 (MetaCons "DescribeServicesResponse'" PrefixI True) (S1 (MetaSel (Just "_dsrsServices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SupportService])) :*: S1 (MetaSel (Just "_dsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dsrsServices :: Lens' DescribeServicesResponse [SupportService] Source #

A JSON-formatted list of AWS services.