| 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.CloudFront.GetStreamingDistributionConfig
Description
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_eTag :: Lens' GetStreamingDistributionConfigResponse (Maybe Text)
- getStreamingDistributionConfigResponse_streamingDistributionConfig :: Lens' GetStreamingDistributionConfigResponse (Maybe StreamingDistributionConfig)
- getStreamingDistributionConfigResponse_httpStatus :: Lens' GetStreamingDistributionConfigResponse Int
Creating a Request
data GetStreamingDistributionConfig Source #
To request to get a streaming distribution configuration.
See: newGetStreamingDistributionConfig smart constructor.
Constructors
| GetStreamingDistributionConfig' | |
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:
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.
Constructors
| GetStreamingDistributionConfigResponse' | |
Fields
| |
Instances
newGetStreamingDistributionConfigResponse Source #
Arguments
| :: Int | |
| -> GetStreamingDistributionConfigResponse |
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:eTag:GetStreamingDistributionConfigResponse', getStreamingDistributionConfigResponse_eTag - The current version of the configuration. For example: E2QWRUHAPOMQZL.
GetStreamingDistributionConfigResponse, getStreamingDistributionConfigResponse_streamingDistributionConfig - The streaming distribution's configuration information.
$sel:httpStatus:GetStreamingDistributionConfigResponse', getStreamingDistributionConfigResponse_httpStatus - The response's http status code.
Response Lenses
getStreamingDistributionConfigResponse_eTag :: Lens' GetStreamingDistributionConfigResponse (Maybe Text) Source #
The current version of the configuration. For example: E2QWRUHAPOMQZL.
getStreamingDistributionConfigResponse_streamingDistributionConfig :: Lens' GetStreamingDistributionConfigResponse (Maybe StreamingDistributionConfig) Source #
The streaming distribution's configuration information.
getStreamingDistributionConfigResponse_httpStatus :: Lens' GetStreamingDistributionConfigResponse Int Source #
The response's http status code.