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 information about a specified RTMP distribution, including the distribution configuration.
Synopsis
- data GetStreamingDistribution = GetStreamingDistribution' {}
- newGetStreamingDistribution :: Text -> GetStreamingDistribution
- getStreamingDistribution_id :: Lens' GetStreamingDistribution Text
- data GetStreamingDistributionResponse = GetStreamingDistributionResponse' {}
- newGetStreamingDistributionResponse :: Int -> GetStreamingDistributionResponse
- getStreamingDistributionResponse_eTag :: Lens' GetStreamingDistributionResponse (Maybe Text)
- getStreamingDistributionResponse_streamingDistribution :: Lens' GetStreamingDistributionResponse (Maybe StreamingDistribution)
- getStreamingDistributionResponse_httpStatus :: Lens' GetStreamingDistributionResponse Int
Creating a Request
data GetStreamingDistribution Source #
The request to get a streaming distribution's information.
See: newGetStreamingDistribution
smart constructor.
Instances
newGetStreamingDistribution Source #
Create a value of GetStreamingDistribution
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:GetStreamingDistribution'
, getStreamingDistribution_id
- The streaming distribution's ID.
Request Lenses
getStreamingDistribution_id :: Lens' GetStreamingDistribution Text Source #
The streaming distribution's ID.
Destructuring the Response
data GetStreamingDistributionResponse Source #
The returned result of the corresponding request.
See: newGetStreamingDistributionResponse
smart constructor.
GetStreamingDistributionResponse' | |
|
Instances
newGetStreamingDistributionResponse Source #
Create a value of GetStreamingDistributionResponse
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:eTag:GetStreamingDistributionResponse'
, getStreamingDistributionResponse_eTag
- The current version of the streaming distribution's information. For
example: E2QWRUHAPOMQZL
.
$sel:streamingDistribution:GetStreamingDistributionResponse'
, getStreamingDistributionResponse_streamingDistribution
- The streaming distribution's information.
$sel:httpStatus:GetStreamingDistributionResponse'
, getStreamingDistributionResponse_httpStatus
- The response's http status code.
Response Lenses
getStreamingDistributionResponse_eTag :: Lens' GetStreamingDistributionResponse (Maybe Text) Source #
The current version of the streaming distribution's information. For
example: E2QWRUHAPOMQZL
.
getStreamingDistributionResponse_streamingDistribution :: Lens' GetStreamingDistributionResponse (Maybe StreamingDistribution) Source #
The streaming distribution's information.
getStreamingDistributionResponse_httpStatus :: Lens' GetStreamingDistributionResponse Int Source #
The response's http status code.