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

Description

Activates Shield Advanced for an account.

When you initally create a subscription, your subscription is set to be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription request.

Synopsis

Creating a Request

data CreateSubscription Source #

See: newCreateSubscription smart constructor.

Constructors

CreateSubscription' 

Instances

Instances details
Eq CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Read CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Show CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Generic CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Associated Types

type Rep CreateSubscription :: Type -> Type #

NFData CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Methods

rnf :: CreateSubscription -> () #

Hashable CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

ToJSON CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

AWSRequest CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Associated Types

type AWSResponse CreateSubscription #

ToHeaders CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

ToPath CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

ToQuery CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

type Rep CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

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

Defined in Amazonka.Shield.CreateSubscription

newCreateSubscription :: CreateSubscription Source #

Create a value of CreateSubscription with all optional fields omitted.

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

Destructuring the Response

data CreateSubscriptionResponse Source #

See: newCreateSubscriptionResponse smart constructor.

Constructors

CreateSubscriptionResponse' 

Fields

Instances

Instances details
Eq CreateSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Read CreateSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Show CreateSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Generic CreateSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Associated Types

type Rep CreateSubscriptionResponse :: Type -> Type #

NFData CreateSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

type Rep CreateSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

type Rep CreateSubscriptionResponse = D1 ('MetaData "CreateSubscriptionResponse" "Amazonka.Shield.CreateSubscription" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "CreateSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateSubscriptionResponse Source #

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

Response Lenses