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.ResolveCase

Description

Resolves a support case. This operation takes a caseId and returns the initial and final state of the case.

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

See: newResolveCase smart constructor.

Constructors

ResolveCase' 

Fields

  • caseId :: Maybe Text

    The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

Instances

Instances details
Eq ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Read ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Show ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Generic ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Associated Types

type Rep ResolveCase :: Type -> Type #

NFData ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Methods

rnf :: ResolveCase -> () #

Hashable ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

ToJSON ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

AWSRequest ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Associated Types

type AWSResponse ResolveCase #

ToHeaders ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Methods

toHeaders :: ResolveCase -> [Header] #

ToPath ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

ToQuery ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

type Rep ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

type Rep ResolveCase = D1 ('MetaData "ResolveCase" "Amazonka.Support.ResolveCase" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "ResolveCase'" 'PrefixI 'True) (S1 ('MetaSel ('Just "caseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ResolveCase Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

newResolveCase :: ResolveCase Source #

Create a value of ResolveCase 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:caseId:ResolveCase', resolveCase_caseId - The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

Request Lenses

resolveCase_caseId :: Lens' ResolveCase (Maybe Text) Source #

The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47

Destructuring the Response

data ResolveCaseResponse Source #

The status of the case returned by the ResolveCase operation.

See: newResolveCaseResponse smart constructor.

Constructors

ResolveCaseResponse' 

Fields

Instances

Instances details
Eq ResolveCaseResponse Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Read ResolveCaseResponse Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Show ResolveCaseResponse Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Generic ResolveCaseResponse Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Associated Types

type Rep ResolveCaseResponse :: Type -> Type #

NFData ResolveCaseResponse Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

Methods

rnf :: ResolveCaseResponse -> () #

type Rep ResolveCaseResponse Source # 
Instance details

Defined in Amazonka.Support.ResolveCase

type Rep ResolveCaseResponse = D1 ('MetaData "ResolveCaseResponse" "Amazonka.Support.ResolveCase" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "ResolveCaseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "initialCaseStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "finalCaseStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newResolveCaseResponse Source #

Create a value of ResolveCaseResponse 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:initialCaseStatus:ResolveCaseResponse', resolveCaseResponse_initialCaseStatus - The status of the case when the ResolveCase request was sent.

$sel:finalCaseStatus:ResolveCaseResponse', resolveCaseResponse_finalCaseStatus - The status of the case after the ResolveCase request was processed.

$sel:httpStatus:ResolveCaseResponse', resolveCaseResponse_httpStatus - The response's http status code.

Response Lenses

resolveCaseResponse_initialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) Source #

The status of the case when the ResolveCase request was sent.

resolveCaseResponse_finalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) Source #

The status of the case after the ResolveCase request was processed.