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 |
Returns the SubscriptionState
, either Active
or Inactive
.
Synopsis
- data GetSubscriptionState = GetSubscriptionState' {
- newGetSubscriptionState :: GetSubscriptionState
- data GetSubscriptionStateResponse = GetSubscriptionStateResponse' {}
- newGetSubscriptionStateResponse :: Int -> SubscriptionState -> GetSubscriptionStateResponse
- getSubscriptionStateResponse_httpStatus :: Lens' GetSubscriptionStateResponse Int
- getSubscriptionStateResponse_subscriptionState :: Lens' GetSubscriptionStateResponse SubscriptionState
Creating a Request
data GetSubscriptionState Source #
See: newGetSubscriptionState
smart constructor.
Instances
newGetSubscriptionState :: GetSubscriptionState Source #
Create a value of GetSubscriptionState
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetSubscriptionStateResponse Source #
See: newGetSubscriptionStateResponse
smart constructor.
GetSubscriptionStateResponse' | |
|
Instances
newGetSubscriptionStateResponse Source #
Create a value of GetSubscriptionStateResponse
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:GetSubscriptionStateResponse'
, getSubscriptionStateResponse_httpStatus
- The response's http status code.
$sel:subscriptionState:GetSubscriptionStateResponse'
, getSubscriptionStateResponse_subscriptionState
- The status of the subscription.
Response Lenses
getSubscriptionStateResponse_httpStatus :: Lens' GetSubscriptionStateResponse Int Source #
The response's http status code.
getSubscriptionStateResponse_subscriptionState :: Lens' GetSubscriptionStateResponse SubscriptionState Source #
The status of the subscription.