Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data CreateSubscription = CreateSubscription' {
- newCreateSubscription :: CreateSubscription
- data CreateSubscriptionResponse = CreateSubscriptionResponse' {
- httpStatus :: Int
- newCreateSubscriptionResponse :: Int -> CreateSubscriptionResponse
- createSubscriptionResponse_httpStatus :: Lens' CreateSubscriptionResponse Int
Creating a Request
data CreateSubscription Source #
See: newCreateSubscription
smart constructor.
Instances
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.
CreateSubscriptionResponse' | |
|
Instances
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
createSubscriptionResponse_httpStatus :: Lens' CreateSubscriptionResponse Int Source #
The response's http status code.