Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- describeServices :: DescribeServices
- data DescribeServices
- dsServiceCodeList :: Lens' DescribeServices [Text]
- dsLanguage :: Lens' DescribeServices (Maybe Text)
- describeServicesResponse :: Int -> DescribeServicesResponse
- data DescribeServicesResponse
- dsrsServices :: Lens' DescribeServicesResponse [SupportService]
- dsrsStatus :: Lens' DescribeServicesResponse Int
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:
data DescribeServices Source
See: describeServices
smart constructor.
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.
Response Lenses
dsrsServices :: Lens' DescribeServicesResponse [SupportService] Source
A JSON-formatted list of AWS services.
dsrsStatus :: Lens' DescribeServicesResponse Int Source
The response status code.