amazonka-shield-2.0: Amazon Shield SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Shield.CreateSubscription

Description

Activates Shield Advanced for an account.

For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account, regardless of whether the payer account itself is subscribed.

When you initially 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
ToJSON CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.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

AWSRequest CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Associated Types

type AWSResponse CreateSubscription #

Generic CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Associated Types

type Rep CreateSubscription :: Type -> Type #

Read CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Show CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

NFData CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Methods

rnf :: CreateSubscription -> () #

Eq CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Hashable CreateSubscription Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

type AWSResponse 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" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "CreateSubscription'" 'PrefixI 'False) (U1 :: Type -> Type))

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
Generic CreateSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Associated Types

type Rep CreateSubscriptionResponse :: Type -> Type #

Read CreateSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Show CreateSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

NFData CreateSubscriptionResponse Source # 
Instance details

Defined in Amazonka.Shield.CreateSubscription

Eq 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" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" '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