| 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 |
Amazonka.IVS.GetStreamKey
Description
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.
Constructors
| GetStreamKey' | |
Instances
Arguments
| :: Text | |
| -> GetStreamKey |
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:
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.
Constructors
| GetStreamKeyResponse' | |
Fields
| |
Instances
newGetStreamKeyResponse Source #
Arguments
| :: Int | |
| -> GetStreamKeyResponse |
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.