Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves the subscription information for the specified subscription ID. You can get information about a specific subscriber.
Synopsis
- data GetSubscriber = GetSubscriber' {}
- newGetSubscriber :: Text -> GetSubscriber
- getSubscriber_id :: Lens' GetSubscriber Text
- data GetSubscriberResponse = GetSubscriberResponse' {}
- newGetSubscriberResponse :: Int -> GetSubscriberResponse
- getSubscriberResponse_subscriber :: Lens' GetSubscriberResponse (Maybe SubscriberResource)
- getSubscriberResponse_httpStatus :: Lens' GetSubscriberResponse Int
Creating a Request
data GetSubscriber Source #
See: newGetSubscriber
smart constructor.
Instances
Create a value of GetSubscriber
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:id:GetSubscriber'
, getSubscriber_id
- A value created by Amazon Security Lake that uniquely identifies your
GetSubscriber
API request.
Request Lenses
getSubscriber_id :: Lens' GetSubscriber Text Source #
A value created by Amazon Security Lake that uniquely identifies your
GetSubscriber
API request.
Destructuring the Response
data GetSubscriberResponse Source #
See: newGetSubscriberResponse
smart constructor.
GetSubscriberResponse' | |
|
Instances
newGetSubscriberResponse Source #
Create a value of GetSubscriberResponse
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:subscriber:GetSubscriberResponse'
, getSubscriberResponse_subscriber
- The subscription information for the specified subscription ID.
$sel:httpStatus:GetSubscriberResponse'
, getSubscriberResponse_httpStatus
- The response's http status code.
Response Lenses
getSubscriberResponse_subscriber :: Lens' GetSubscriberResponse (Maybe SubscriberResource) Source #
The subscription information for the specified subscription ID.
getSubscriberResponse_httpStatus :: Lens' GetSubscriberResponse Int Source #
The response's http status code.