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 |
Get the configuration information about a streaming distribution.
Synopsis
- data GetStreamingDistributionConfig = GetStreamingDistributionConfig' {}
- newGetStreamingDistributionConfig :: Text -> GetStreamingDistributionConfig
- getStreamingDistributionConfig_id :: Lens' GetStreamingDistributionConfig Text
- data GetStreamingDistributionConfigResponse = GetStreamingDistributionConfigResponse' {}
- newGetStreamingDistributionConfigResponse :: Int -> GetStreamingDistributionConfigResponse
- getStreamingDistributionConfigResponse_streamingDistributionConfig :: Lens' GetStreamingDistributionConfigResponse (Maybe StreamingDistributionConfig)
- getStreamingDistributionConfigResponse_eTag :: Lens' GetStreamingDistributionConfigResponse (Maybe Text)
- getStreamingDistributionConfigResponse_httpStatus :: Lens' GetStreamingDistributionConfigResponse Int
Creating a Request
data GetStreamingDistributionConfig Source #
To request to get a streaming distribution configuration.
See: newGetStreamingDistributionConfig
smart constructor.
Instances
newGetStreamingDistributionConfig Source #
Create a value of GetStreamingDistributionConfig
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:GetStreamingDistributionConfig'
, getStreamingDistributionConfig_id
- The streaming distribution's ID.
Request Lenses
getStreamingDistributionConfig_id :: Lens' GetStreamingDistributionConfig Text Source #
The streaming distribution's ID.
Destructuring the Response
data GetStreamingDistributionConfigResponse Source #
The returned result of the corresponding request.
See: newGetStreamingDistributionConfigResponse
smart constructor.
GetStreamingDistributionConfigResponse' | |
|
Instances
newGetStreamingDistributionConfigResponse Source #
Create a value of GetStreamingDistributionConfigResponse
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:streamingDistributionConfig:GetStreamingDistributionConfigResponse'
, getStreamingDistributionConfigResponse_streamingDistributionConfig
- The streaming distribution's configuration information.
$sel:eTag:GetStreamingDistributionConfigResponse'
, getStreamingDistributionConfigResponse_eTag
- The current version of the configuration. For example: E2QWRUHAPOMQZL
.
$sel:httpStatus:GetStreamingDistributionConfigResponse'
, getStreamingDistributionConfigResponse_httpStatus
- The response's http status code.
Response Lenses
getStreamingDistributionConfigResponse_streamingDistributionConfig :: Lens' GetStreamingDistributionConfigResponse (Maybe StreamingDistributionConfig) Source #
The streaming distribution's configuration information.
getStreamingDistributionConfigResponse_eTag :: Lens' GetStreamingDistributionConfigResponse (Maybe Text) Source #
The current version of the configuration. For example: E2QWRUHAPOMQZL
.
getStreamingDistributionConfigResponse_httpStatus :: Lens' GetStreamingDistributionConfigResponse Int Source #
The response's http status code.