| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.Shield.GetSubscriptionState
Description
Returns the SubscriptionState , either Active or Inactive .
Synopsis
- getSubscriptionState :: GetSubscriptionState
- data GetSubscriptionState
- getSubscriptionStateResponse :: Int -> SubscriptionState -> GetSubscriptionStateResponse
- data GetSubscriptionStateResponse
- gssrsResponseStatus :: Lens' GetSubscriptionStateResponse Int
- gssrsSubscriptionState :: Lens' GetSubscriptionStateResponse SubscriptionState
Creating a Request
getSubscriptionState :: GetSubscriptionState Source #
Creates a value of GetSubscriptionState with the minimum fields required to make a request.
data GetSubscriptionState Source #
See: getSubscriptionState smart constructor.
Instances
Destructuring the Response
getSubscriptionStateResponse Source #
Arguments
| :: Int | |
| -> SubscriptionState | |
| -> GetSubscriptionStateResponse |
Creates a value of GetSubscriptionStateResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gssrsResponseStatus- -- | The response status code.gssrsSubscriptionState- The status of the subscription.
data GetSubscriptionStateResponse Source #
See: getSubscriptionStateResponse smart constructor.
Instances
Response Lenses
gssrsResponseStatus :: Lens' GetSubscriptionStateResponse Int Source #
- - | The response status code.
gssrsSubscriptionState :: Lens' GetSubscriptionStateResponse SubscriptionState Source #
The status of the subscription.