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 |
Updates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
Synopsis
- data UpdateSourceLocation = UpdateSourceLocation' {}
- newUpdateSourceLocation :: HttpConfiguration -> Text -> UpdateSourceLocation
- updateSourceLocation_accessConfiguration :: Lens' UpdateSourceLocation (Maybe AccessConfiguration)
- updateSourceLocation_defaultSegmentDeliveryConfiguration :: Lens' UpdateSourceLocation (Maybe DefaultSegmentDeliveryConfiguration)
- updateSourceLocation_segmentDeliveryConfigurations :: Lens' UpdateSourceLocation (Maybe [SegmentDeliveryConfiguration])
- updateSourceLocation_httpConfiguration :: Lens' UpdateSourceLocation HttpConfiguration
- updateSourceLocation_sourceLocationName :: Lens' UpdateSourceLocation Text
- data UpdateSourceLocationResponse = UpdateSourceLocationResponse' {
- accessConfiguration :: Maybe AccessConfiguration
- arn :: Maybe Text
- creationTime :: Maybe POSIX
- defaultSegmentDeliveryConfiguration :: Maybe DefaultSegmentDeliveryConfiguration
- httpConfiguration :: Maybe HttpConfiguration
- lastModifiedTime :: Maybe POSIX
- segmentDeliveryConfigurations :: Maybe [SegmentDeliveryConfiguration]
- sourceLocationName :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newUpdateSourceLocationResponse :: Int -> UpdateSourceLocationResponse
- updateSourceLocationResponse_accessConfiguration :: Lens' UpdateSourceLocationResponse (Maybe AccessConfiguration)
- updateSourceLocationResponse_arn :: Lens' UpdateSourceLocationResponse (Maybe Text)
- updateSourceLocationResponse_creationTime :: Lens' UpdateSourceLocationResponse (Maybe UTCTime)
- updateSourceLocationResponse_defaultSegmentDeliveryConfiguration :: Lens' UpdateSourceLocationResponse (Maybe DefaultSegmentDeliveryConfiguration)
- updateSourceLocationResponse_httpConfiguration :: Lens' UpdateSourceLocationResponse (Maybe HttpConfiguration)
- updateSourceLocationResponse_lastModifiedTime :: Lens' UpdateSourceLocationResponse (Maybe UTCTime)
- updateSourceLocationResponse_segmentDeliveryConfigurations :: Lens' UpdateSourceLocationResponse (Maybe [SegmentDeliveryConfiguration])
- updateSourceLocationResponse_sourceLocationName :: Lens' UpdateSourceLocationResponse (Maybe Text)
- 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:
UpdateSourceLocation
, updateSourceLocation_accessConfiguration
- Access configuration parameters. Configures the type of authentication
used to access content from your source location.
UpdateSourceLocation
, updateSourceLocation_defaultSegmentDeliveryConfiguration
- The optional configuration for the host server that serves segments.
UpdateSourceLocation
, updateSourceLocation_segmentDeliveryConfigurations
- A list of the segment delivery configurations associated with this
resource.
UpdateSourceLocation
, updateSourceLocation_httpConfiguration
- The HTTP configuration for the source location.
UpdateSourceLocation
, updateSourceLocation_sourceLocationName
- The name of 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_segmentDeliveryConfigurations :: Lens' UpdateSourceLocation (Maybe [SegmentDeliveryConfiguration]) Source #
A list of the segment delivery configurations associated with this resource.
updateSourceLocation_httpConfiguration :: Lens' UpdateSourceLocation HttpConfiguration Source #
The HTTP configuration for the source location.
updateSourceLocation_sourceLocationName :: Lens' UpdateSourceLocation Text Source #
The name of 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:
UpdateSourceLocation
, updateSourceLocationResponse_accessConfiguration
- Access configuration parameters. Configures the type of authentication
used to access content from your source location.
UpdateSourceLocationResponse
, updateSourceLocationResponse_arn
- The Amazon Resource Name (ARN) associated with the source location.
UpdateSourceLocationResponse
, updateSourceLocationResponse_creationTime
- The timestamp that indicates when the source location was created.
UpdateSourceLocation
, updateSourceLocationResponse_defaultSegmentDeliveryConfiguration
- The optional configuration for the host server that serves segments.
UpdateSourceLocation
, updateSourceLocationResponse_httpConfiguration
- The HTTP configuration for the source location.
UpdateSourceLocationResponse
, updateSourceLocationResponse_lastModifiedTime
- The timestamp that indicates when the source location was last modified.
UpdateSourceLocation
, updateSourceLocationResponse_segmentDeliveryConfigurations
- The segment delivery configurations for the source location. For
information about MediaTailor configurations, see
Working with configurations in AWS Elemental MediaTailor.
UpdateSourceLocation
, updateSourceLocationResponse_sourceLocationName
- The name of the source location.
UpdateSourceLocationResponse
, updateSourceLocationResponse_tags
- The tags to assign to the source location. Tags are key-value pairs that
you can associate with Amazon resources to help with organization,
access control, and cost tracking. For more information, see
Tagging AWS Elemental MediaTailor Resources.
$sel:httpStatus:UpdateSourceLocationResponse'
, updateSourceLocationResponse_httpStatus
- The response's http status code.
Response Lenses
updateSourceLocationResponse_accessConfiguration :: Lens' UpdateSourceLocationResponse (Maybe AccessConfiguration) Source #
Access configuration parameters. Configures the type of authentication used to access content from your source location.
updateSourceLocationResponse_arn :: Lens' UpdateSourceLocationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) associated with the source location.
updateSourceLocationResponse_creationTime :: Lens' UpdateSourceLocationResponse (Maybe UTCTime) Source #
The timestamp that indicates when the source location was created.
updateSourceLocationResponse_defaultSegmentDeliveryConfiguration :: Lens' UpdateSourceLocationResponse (Maybe DefaultSegmentDeliveryConfiguration) Source #
The optional configuration for the host server that serves segments.
updateSourceLocationResponse_httpConfiguration :: Lens' UpdateSourceLocationResponse (Maybe HttpConfiguration) Source #
The HTTP configuration for the source location.
updateSourceLocationResponse_lastModifiedTime :: Lens' UpdateSourceLocationResponse (Maybe UTCTime) Source #
The timestamp that indicates when the source location was last modified.
updateSourceLocationResponse_segmentDeliveryConfigurations :: Lens' UpdateSourceLocationResponse (Maybe [SegmentDeliveryConfiguration]) Source #
The segment delivery configurations for the source location. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
updateSourceLocationResponse_sourceLocationName :: Lens' UpdateSourceLocationResponse (Maybe Text) Source #
The name of the source location.
updateSourceLocationResponse_tags :: Lens' UpdateSourceLocationResponse (Maybe (HashMap Text Text)) Source #
The tags to assign to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
updateSourceLocationResponse_httpStatus :: Lens' UpdateSourceLocationResponse Int Source #
The response's http status code.