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 |
Updates a source location on a specific channel.
Synopsis
- data UpdateSourceLocation = UpdateSourceLocation' {}
- newUpdateSourceLocation :: Text -> HttpConfiguration -> UpdateSourceLocation
- updateSourceLocation_accessConfiguration :: Lens' UpdateSourceLocation (Maybe AccessConfiguration)
- updateSourceLocation_defaultSegmentDeliveryConfiguration :: Lens' UpdateSourceLocation (Maybe DefaultSegmentDeliveryConfiguration)
- updateSourceLocation_sourceLocationName :: Lens' UpdateSourceLocation Text
- updateSourceLocation_httpConfiguration :: Lens' UpdateSourceLocation HttpConfiguration
- data UpdateSourceLocationResponse = UpdateSourceLocationResponse' {
- creationTime :: Maybe POSIX
- sourceLocationName :: Maybe Text
- arn :: Maybe Text
- httpConfiguration :: Maybe HttpConfiguration
- lastModifiedTime :: Maybe POSIX
- accessConfiguration :: Maybe AccessConfiguration
- defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfiguration
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newUpdateSourceLocationResponse :: Int -> UpdateSourceLocationResponse
- updateSourceLocationResponse_creationTime :: Lens' UpdateSourceLocationResponse (Maybe UTCTime)
- updateSourceLocationResponse_sourceLocationName :: Lens' UpdateSourceLocationResponse (Maybe Text)
- updateSourceLocationResponse_arn :: Lens' UpdateSourceLocationResponse (Maybe Text)
- updateSourceLocationResponse_httpConfiguration :: Lens' UpdateSourceLocationResponse (Maybe HttpConfiguration)
- updateSourceLocationResponse_lastModifiedTime :: Lens' UpdateSourceLocationResponse (Maybe UTCTime)
- updateSourceLocationResponse_accessConfiguration :: Lens' UpdateSourceLocationResponse (Maybe AccessConfiguration)
- updateSourceLocationResponse_defaultSegmentDeliveryConfiguration :: Lens' UpdateSourceLocationResponse (Maybe DefaultSegmentDeliveryConfiguration)
- updateSourceLocationResponse_tags :: Lens' UpdateSourceLocationResponse (Maybe (HashMap Text Text))
- updateSourceLocationResponse_httpStatus :: Lens' UpdateSourceLocationResponse Int
Creating a Request
data UpdateSourceLocation Source #
See: newUpdateSourceLocation
smart constructor.
UpdateSourceLocation' | |
|
Instances
newUpdateSourceLocation Source #
Create a value of UpdateSourceLocation
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:accessConfiguration:UpdateSourceLocation'
, updateSourceLocation_accessConfiguration
- Access configuration parameters. Configures the type of authentication
used to access content from your source location.
$sel:defaultSegmentDeliveryConfiguration:UpdateSourceLocation'
, updateSourceLocation_defaultSegmentDeliveryConfiguration
- The optional configuration for the host server that serves segments.
$sel:sourceLocationName:UpdateSourceLocation'
, updateSourceLocation_sourceLocationName
- The identifier for the source location you are working on.
$sel:httpConfiguration:UpdateSourceLocation'
, updateSourceLocation_httpConfiguration
- The HTTP configuration for the source location.
Request Lenses
updateSourceLocation_accessConfiguration :: Lens' UpdateSourceLocation (Maybe AccessConfiguration) Source #
Access configuration parameters. Configures the type of authentication used to access content from your source location.
updateSourceLocation_defaultSegmentDeliveryConfiguration :: Lens' UpdateSourceLocation (Maybe DefaultSegmentDeliveryConfiguration) Source #
The optional configuration for the host server that serves segments.
updateSourceLocation_sourceLocationName :: Lens' UpdateSourceLocation Text Source #
The identifier for the source location you are working on.
updateSourceLocation_httpConfiguration :: Lens' UpdateSourceLocation HttpConfiguration Source #
The HTTP configuration for the source location.
Destructuring the Response
data UpdateSourceLocationResponse Source #
See: newUpdateSourceLocationResponse
smart constructor.
UpdateSourceLocationResponse' | |
|
Instances
newUpdateSourceLocationResponse Source #
Create a value of UpdateSourceLocationResponse
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:creationTime:UpdateSourceLocationResponse'
, updateSourceLocationResponse_creationTime
- The timestamp that indicates when the source location was created.
$sel:sourceLocationName:UpdateSourceLocation'
, updateSourceLocationResponse_sourceLocationName
- The name of the source location.
$sel:arn:UpdateSourceLocationResponse'
, updateSourceLocationResponse_arn
- The ARN of the source location.
$sel:httpConfiguration:UpdateSourceLocation'
, updateSourceLocationResponse_httpConfiguration
- The HTTP package configuration settings for the source location.
$sel:lastModifiedTime:UpdateSourceLocationResponse'
, updateSourceLocationResponse_lastModifiedTime
- The timestamp that indicates when the source location was last modified.
$sel:accessConfiguration:UpdateSourceLocation'
, updateSourceLocationResponse_accessConfiguration
- The access configuration for the source location.
$sel:defaultSegmentDeliveryConfiguration:UpdateSourceLocation'
, updateSourceLocationResponse_defaultSegmentDeliveryConfiguration
- The default segment delivery configuration settings.
$sel:tags:UpdateSourceLocationResponse'
, updateSourceLocationResponse_tags
- The tags assigned to the source location.
$sel:httpStatus:UpdateSourceLocationResponse'
, updateSourceLocationResponse_httpStatus
- The response's http status code.
Response Lenses
updateSourceLocationResponse_creationTime :: Lens' UpdateSourceLocationResponse (Maybe UTCTime) Source #
The timestamp that indicates when the source location was created.
updateSourceLocationResponse_sourceLocationName :: Lens' UpdateSourceLocationResponse (Maybe Text) Source #
The name of the source location.
updateSourceLocationResponse_arn :: Lens' UpdateSourceLocationResponse (Maybe Text) Source #
The ARN of the source location.
updateSourceLocationResponse_httpConfiguration :: Lens' UpdateSourceLocationResponse (Maybe HttpConfiguration) Source #
The HTTP package configuration settings for the source location.
updateSourceLocationResponse_lastModifiedTime :: Lens' UpdateSourceLocationResponse (Maybe UTCTime) Source #
The timestamp that indicates when the source location was last modified.
updateSourceLocationResponse_accessConfiguration :: Lens' UpdateSourceLocationResponse (Maybe AccessConfiguration) Source #
The access configuration for the source location.
updateSourceLocationResponse_defaultSegmentDeliveryConfiguration :: Lens' UpdateSourceLocationResponse (Maybe DefaultSegmentDeliveryConfiguration) Source #
The default segment delivery configuration settings.
updateSourceLocationResponse_tags :: Lens' UpdateSourceLocationResponse (Maybe (HashMap Text Text)) Source #
The tags assigned to the source location.
updateSourceLocationResponse_httpStatus :: Lens' UpdateSourceLocationResponse Int Source #
The response's http status code.