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 |
Provides details about the Shield Advanced subscription for an account.
Synopsis
- data DescribeSubscription = DescribeSubscription' {
- newDescribeSubscription :: DescribeSubscription
- data DescribeSubscriptionResponse = DescribeSubscriptionResponse' {}
- newDescribeSubscriptionResponse :: Int -> DescribeSubscriptionResponse
- describeSubscriptionResponse_subscription :: Lens' DescribeSubscriptionResponse (Maybe Subscription)
- describeSubscriptionResponse_httpStatus :: Lens' DescribeSubscriptionResponse Int
Creating a Request
data DescribeSubscription Source #
See: newDescribeSubscription
smart constructor.
Instances
newDescribeSubscription :: DescribeSubscription Source #
Create a value of DescribeSubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeSubscriptionResponse Source #
See: newDescribeSubscriptionResponse
smart constructor.
DescribeSubscriptionResponse' | |
|
Instances
newDescribeSubscriptionResponse Source #
Create a value of DescribeSubscriptionResponse
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:subscription:DescribeSubscriptionResponse'
, describeSubscriptionResponse_subscription
- The Shield Advanced subscription details for an account.
$sel:httpStatus:DescribeSubscriptionResponse'
, describeSubscriptionResponse_httpStatus
- The response's http status code.
Response Lenses
describeSubscriptionResponse_subscription :: Lens' DescribeSubscriptionResponse (Maybe Subscription) Source #
The Shield Advanced subscription details for an account.
describeSubscriptionResponse_httpStatus :: Lens' DescribeSubscriptionResponse Int Source #
The response's http status code.