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
.
- getSubscriptionState :: GetSubscriptionState
- data GetSubscriptionState
- getSubscriptionStateResponse :: Int -> SubscriptionState -> GetSubscriptionStateResponse
- data GetSubscriptionStateResponse
- gssrsResponseStatus :: Lens' GetSubscriptionStateResponse Int
- gssrsSubscriptionState :: Lens' GetSubscriptionStateResponse SubscriptionState
Creating a Request
getSubscriptionState :: GetSubscriptionState #
Creates a value of GetSubscriptionState
with the minimum fields required to make a request.
data GetSubscriptionState #
See: getSubscriptionState
smart constructor.
Instances
Destructuring the Response
getSubscriptionStateResponse #
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 #
See: getSubscriptionStateResponse
smart constructor.
Response Lenses
gssrsResponseStatus :: Lens' GetSubscriptionStateResponse Int #
- - | The response status code.
gssrsSubscriptionState :: Lens' GetSubscriptionStateResponse SubscriptionState #
The status of the subscription.