Copyright | (c) 2013-2016 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.
- describeServices :: DescribeServices
- data DescribeServices
- dsServiceCodeList :: Lens' DescribeServices [Text]
- dsLanguage :: Lens' DescribeServices (Maybe Text)
- describeServicesResponse :: Int -> DescribeServicesResponse
- data DescribeServicesResponse
- dsrsServices :: Lens' DescribeServicesResponse [SupportService]
- dsrsResponseStatus :: 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:
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.
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:
dsrsServices
- A JSON-formatted list of AWS services.dsrsResponseStatus
- -- | The response status code.
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.
dsrsResponseStatus :: Lens' DescribeServicesResponse Int Source #
- - | The response status code.