amazonka-support-1.2.0.2: Amazon Support SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for DescribeServices.

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:

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:

Response Lenses

dsrsServices :: Lens' DescribeServicesResponse [SupportService] Source

A JSON-formatted list of AWS services.

dsrsStatus :: Lens' DescribeServicesResponse Int Source

The response status code.