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 |
Gets stream-key information for a specified ARN.
Synopsis
- data GetStreamKey = GetStreamKey' {}
- newGetStreamKey :: Text -> GetStreamKey
- getStreamKey_arn :: Lens' GetStreamKey Text
- data GetStreamKeyResponse = GetStreamKeyResponse' {
- streamKey :: Maybe StreamKey
- httpStatus :: Int
- newGetStreamKeyResponse :: Int -> GetStreamKeyResponse
- getStreamKeyResponse_streamKey :: Lens' GetStreamKeyResponse (Maybe StreamKey)
- getStreamKeyResponse_httpStatus :: Lens' GetStreamKeyResponse Int
Creating a Request
data GetStreamKey Source #
See: newGetStreamKey
smart constructor.
Instances
Create a value of GetStreamKey
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:arn:GetStreamKey'
, getStreamKey_arn
- ARN for the stream key to be retrieved.
Request Lenses
getStreamKey_arn :: Lens' GetStreamKey Text Source #
ARN for the stream key to be retrieved.
Destructuring the Response
data GetStreamKeyResponse Source #
See: newGetStreamKeyResponse
smart constructor.
GetStreamKeyResponse' | |
|
Instances
newGetStreamKeyResponse Source #
Create a value of GetStreamKeyResponse
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:streamKey:GetStreamKeyResponse'
, getStreamKeyResponse_streamKey
-
$sel:httpStatus:GetStreamKeyResponse'
, getStreamKeyResponse_httpStatus
- The response's http status code.
Response Lenses
getStreamKeyResponse_httpStatus :: Lens' GetStreamKeyResponse Int Source #
The response's http status code.