Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- 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.