libZSservicesZSamazonka-shieldZSamazonka-shield
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.Shield.GetSubscriptionState

Description

Returns the SubscriptionState, either Active or Inactive.

Synopsis

Creating a Request

data GetSubscriptionState Source #

See: newGetSubscriptionState smart constructor.

Constructors

GetSubscriptionState' 

Instances

Instances details
Eq GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

Read GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

Show GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

Generic GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

Associated Types

type Rep GetSubscriptionState :: Type -> Type #

NFData GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

Methods

rnf :: GetSubscriptionState -> () #

Hashable GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

ToJSON GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

AWSRequest GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

Associated Types

type AWSResponse GetSubscriptionState #

ToHeaders GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

ToPath GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

ToQuery GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

type Rep GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

type Rep GetSubscriptionState = D1 ('MetaData "GetSubscriptionState" "Amazonka.Shield.GetSubscriptionState" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "GetSubscriptionState'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetSubscriptionState Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

newGetSubscriptionState :: GetSubscriptionState Source #

Create a value of GetSubscriptionState with all optional fields omitted.

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

Destructuring the Response

data GetSubscriptionStateResponse Source #

See: newGetSubscriptionStateResponse smart constructor.

Constructors

GetSubscriptionStateResponse' 

Fields

Instances

Instances details
Eq GetSubscriptionStateResponse Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

Read GetSubscriptionStateResponse Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

Show GetSubscriptionStateResponse Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

Generic GetSubscriptionStateResponse Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

Associated Types

type Rep GetSubscriptionStateResponse :: Type -> Type #

NFData GetSubscriptionStateResponse Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

type Rep GetSubscriptionStateResponse Source # 
Instance details

Defined in Amazonka.Shield.GetSubscriptionState

type Rep GetSubscriptionStateResponse = D1 ('MetaData "GetSubscriptionStateResponse" "Amazonka.Shield.GetSubscriptionState" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "GetSubscriptionStateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "subscriptionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SubscriptionState)))

newGetSubscriptionStateResponse Source #

Create a value of GetSubscriptionStateResponse 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:httpStatus:GetSubscriptionStateResponse', getSubscriptionStateResponse_httpStatus - The response's http status code.

$sel:subscriptionState:GetSubscriptionStateResponse', getSubscriptionStateResponse_subscriptionState - The status of the subscription.

Response Lenses