libZSservicesZSamazonka-supportZSamazonka-support
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Support.DescribeServices

Description

Returns the current list of AWS services and a list of service categories for each service. 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 appear in the Service and Category lists on the AWS Support Center Create Case page. The values in those fields don't necessarily match the service codes and categories returned by the DescribeServices operation. Always use the service codes and categories that the DescribeServices operation returns, so that you have the most recent set of service and category codes.

  • You must have a Business or Enterprise Support plan to use the AWS Support API.
  • If you call the AWS Support API from an account that does not have a Business or Enterprise Support plan, the SubscriptionRequiredException error message appears. For information about changing your support plan, see AWS Support.
Synopsis

Creating a Request

data DescribeServices Source #

See: newDescribeServices smart constructor.

Constructors

DescribeServices' 

Fields

  • serviceCodeList :: Maybe [Text]

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

  • language :: 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.

Instances

Instances details
Eq DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

Read DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

Show DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

Generic DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

Associated Types

type Rep DescribeServices :: Type -> Type #

NFData DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

Methods

rnf :: DescribeServices -> () #

Hashable DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

ToJSON DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

AWSRequest DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

Associated Types

type AWSResponse DescribeServices #

ToHeaders DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

ToPath DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

ToQuery DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

type Rep DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

type Rep DescribeServices = D1 ('MetaData "DescribeServices" "Amazonka.Support.DescribeServices" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "DescribeServices'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceCodeList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse DescribeServices Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

newDescribeServices :: DescribeServices Source #

Create a value of DescribeServices with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:serviceCodeList:DescribeServices', describeServices_serviceCodeList - A JSON-formatted list of service codes available for AWS services.

$sel:language:DescribeServices', describeServices_language - 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.

Request Lenses

describeServices_serviceCodeList :: Lens' DescribeServices (Maybe [Text]) Source #

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

describeServices_language :: 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

data DescribeServicesResponse Source #

The list of AWS services returned by the DescribeServices operation.

See: newDescribeServicesResponse smart constructor.

Constructors

DescribeServicesResponse' 

Fields

Instances

Instances details
Eq DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

Read DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

Show DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

Generic DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

Associated Types

type Rep DescribeServicesResponse :: Type -> Type #

NFData DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

type Rep DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeServices

type Rep DescribeServicesResponse = D1 ('MetaData "DescribeServicesResponse" "Amazonka.Support.DescribeServices" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "DescribeServicesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SupportService])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeServicesResponse Source #

Create a value of DescribeServicesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:services:DescribeServicesResponse', describeServicesResponse_services - A JSON-formatted list of AWS services.

$sel:httpStatus:DescribeServicesResponse', describeServicesResponse_httpStatus - The response's http status code.

Response Lenses