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 |
Update a streaming distribution.
Synopsis
- data UpdateStreamingDistribution = UpdateStreamingDistribution' {}
- newUpdateStreamingDistribution :: StreamingDistributionConfig -> Text -> UpdateStreamingDistribution
- updateStreamingDistribution_ifMatch :: Lens' UpdateStreamingDistribution (Maybe Text)
- updateStreamingDistribution_streamingDistributionConfig :: Lens' UpdateStreamingDistribution StreamingDistributionConfig
- updateStreamingDistribution_id :: Lens' UpdateStreamingDistribution Text
- data UpdateStreamingDistributionResponse = UpdateStreamingDistributionResponse' {}
- newUpdateStreamingDistributionResponse :: Int -> UpdateStreamingDistributionResponse
- updateStreamingDistributionResponse_eTag :: Lens' UpdateStreamingDistributionResponse (Maybe Text)
- updateStreamingDistributionResponse_streamingDistribution :: Lens' UpdateStreamingDistributionResponse (Maybe StreamingDistribution)
- updateStreamingDistributionResponse_httpStatus :: Lens' UpdateStreamingDistributionResponse Int
Creating a Request
data UpdateStreamingDistribution Source #
The request to update a streaming distribution.
See: newUpdateStreamingDistribution
smart constructor.
UpdateStreamingDistribution' | |
|
Instances
newUpdateStreamingDistribution Source #
:: StreamingDistributionConfig |
|
-> Text | |
-> UpdateStreamingDistribution |
Create a value of UpdateStreamingDistribution
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:ifMatch:UpdateStreamingDistribution'
, updateStreamingDistribution_ifMatch
- The value of the ETag
header that you received when retrieving the
streaming distribution's configuration. For example: E2QWRUHAPOMQZL
.
$sel:streamingDistributionConfig:UpdateStreamingDistribution'
, updateStreamingDistribution_streamingDistributionConfig
- The streaming distribution's configuration information.
$sel:id:UpdateStreamingDistribution'
, updateStreamingDistribution_id
- The streaming distribution's id.
Request Lenses
updateStreamingDistribution_ifMatch :: Lens' UpdateStreamingDistribution (Maybe Text) Source #
The value of the ETag
header that you received when retrieving the
streaming distribution's configuration. For example: E2QWRUHAPOMQZL
.
updateStreamingDistribution_streamingDistributionConfig :: Lens' UpdateStreamingDistribution StreamingDistributionConfig Source #
The streaming distribution's configuration information.
updateStreamingDistribution_id :: Lens' UpdateStreamingDistribution Text Source #
The streaming distribution's id.
Destructuring the Response
data UpdateStreamingDistributionResponse Source #
The returned result of the corresponding request.
See: newUpdateStreamingDistributionResponse
smart constructor.
UpdateStreamingDistributionResponse' | |
|
Instances
newUpdateStreamingDistributionResponse Source #
Create a value of UpdateStreamingDistributionResponse
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:UpdateStreamingDistributionResponse'
, updateStreamingDistributionResponse_eTag
- The current version of the configuration. For example: E2QWRUHAPOMQZL
.
$sel:streamingDistribution:UpdateStreamingDistributionResponse'
, updateStreamingDistributionResponse_streamingDistribution
- The streaming distribution's information.
$sel:httpStatus:UpdateStreamingDistributionResponse'
, updateStreamingDistributionResponse_httpStatus
- The response's http status code.
Response Lenses
updateStreamingDistributionResponse_eTag :: Lens' UpdateStreamingDistributionResponse (Maybe Text) Source #
The current version of the configuration. For example: E2QWRUHAPOMQZL
.
updateStreamingDistributionResponse_streamingDistribution :: Lens' UpdateStreamingDistributionResponse (Maybe StreamingDistribution) Source #
The streaming distribution's information.
updateStreamingDistributionResponse_httpStatus :: Lens' UpdateStreamingDistributionResponse Int Source #
The response's http status code.