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 |
Creates 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 CreateSourceLocation = CreateSourceLocation' {}
- newCreateSourceLocation :: HttpConfiguration -> Text -> CreateSourceLocation
- createSourceLocation_accessConfiguration :: Lens' CreateSourceLocation (Maybe AccessConfiguration)
- createSourceLocation_defaultSegmentDeliveryConfiguration :: Lens' CreateSourceLocation (Maybe DefaultSegmentDeliveryConfiguration)
- createSourceLocation_segmentDeliveryConfigurations :: Lens' CreateSourceLocation (Maybe [SegmentDeliveryConfiguration])
- createSourceLocation_tags :: Lens' CreateSourceLocation (Maybe (HashMap Text Text))
- createSourceLocation_httpConfiguration :: Lens' CreateSourceLocation HttpConfiguration
- createSourceLocation_sourceLocationName :: Lens' CreateSourceLocation Text
- data CreateSourceLocationResponse = CreateSourceLocationResponse' {
- 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
- newCreateSourceLocationResponse :: Int -> CreateSourceLocationResponse
- createSourceLocationResponse_accessConfiguration :: Lens' CreateSourceLocationResponse (Maybe AccessConfiguration)
- createSourceLocationResponse_arn :: Lens' CreateSourceLocationResponse (Maybe Text)
- createSourceLocationResponse_creationTime :: Lens' CreateSourceLocationResponse (Maybe UTCTime)
- createSourceLocationResponse_defaultSegmentDeliveryConfiguration :: Lens' CreateSourceLocationResponse (Maybe DefaultSegmentDeliveryConfiguration)
- createSourceLocationResponse_httpConfiguration :: Lens' CreateSourceLocationResponse (Maybe HttpConfiguration)
- createSourceLocationResponse_lastModifiedTime :: Lens' CreateSourceLocationResponse (Maybe UTCTime)
- createSourceLocationResponse_segmentDeliveryConfigurations :: Lens' CreateSourceLocationResponse (Maybe [SegmentDeliveryConfiguration])
- createSourceLocationResponse_sourceLocationName :: Lens' CreateSourceLocationResponse (Maybe Text)
- createSourceLocationResponse_tags :: Lens' CreateSourceLocationResponse (Maybe (HashMap Text Text))
- createSourceLocationResponse_httpStatus :: Lens' CreateSourceLocationResponse Int
Creating a Request
data CreateSourceLocation Source #
See: newCreateSourceLocation
smart constructor.
CreateSourceLocation' | |
|
Instances
newCreateSourceLocation Source #
Create a value of CreateSourceLocation
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:
CreateSourceLocation
, createSourceLocation_accessConfiguration
- Access configuration parameters. Configures the type of authentication
used to access content from your source location.
CreateSourceLocation
, createSourceLocation_defaultSegmentDeliveryConfiguration
- The optional configuration for the server that serves segments.
CreateSourceLocation
, createSourceLocation_segmentDeliveryConfigurations
- A list of the segment delivery configurations associated with this
resource.
CreateSourceLocation
, createSourceLocation_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.
CreateSourceLocation
, createSourceLocation_httpConfiguration
- The source's HTTP package configurations.
CreateSourceLocation
, createSourceLocation_sourceLocationName
- The name associated with the source location.
Request Lenses
createSourceLocation_accessConfiguration :: Lens' CreateSourceLocation (Maybe AccessConfiguration) Source #
Access configuration parameters. Configures the type of authentication used to access content from your source location.
createSourceLocation_defaultSegmentDeliveryConfiguration :: Lens' CreateSourceLocation (Maybe DefaultSegmentDeliveryConfiguration) Source #
The optional configuration for the server that serves segments.
createSourceLocation_segmentDeliveryConfigurations :: Lens' CreateSourceLocation (Maybe [SegmentDeliveryConfiguration]) Source #
A list of the segment delivery configurations associated with this resource.
createSourceLocation_tags :: Lens' CreateSourceLocation (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.
createSourceLocation_httpConfiguration :: Lens' CreateSourceLocation HttpConfiguration Source #
The source's HTTP package configurations.
createSourceLocation_sourceLocationName :: Lens' CreateSourceLocation Text Source #
The name associated with the source location.
Destructuring the Response
data CreateSourceLocationResponse Source #
See: newCreateSourceLocationResponse
smart constructor.
CreateSourceLocationResponse' | |
|
Instances
newCreateSourceLocationResponse Source #
Create a value of CreateSourceLocationResponse
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:
CreateSourceLocation
, createSourceLocationResponse_accessConfiguration
- Access configuration parameters. Configures the type of authentication
used to access content from your source location.
CreateSourceLocationResponse
, createSourceLocationResponse_arn
- The ARN to assign to the source location.
CreateSourceLocationResponse
, createSourceLocationResponse_creationTime
- The time the source location was created.
CreateSourceLocation
, createSourceLocationResponse_defaultSegmentDeliveryConfiguration
- The optional configuration for the server that serves segments.
CreateSourceLocation
, createSourceLocationResponse_httpConfiguration
- The source's HTTP package configurations.
CreateSourceLocationResponse
, createSourceLocationResponse_lastModifiedTime
- The time the source location was last modified.
CreateSourceLocation
, createSourceLocationResponse_segmentDeliveryConfigurations
- The segment delivery configurations for the source location. For
information about MediaTailor configurations, see
Working with configurations in AWS Elemental MediaTailor.
CreateSourceLocation
, createSourceLocationResponse_sourceLocationName
- The name to assign to the source location.
CreateSourceLocation
, createSourceLocationResponse_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:CreateSourceLocationResponse'
, createSourceLocationResponse_httpStatus
- The response's http status code.
Response Lenses
createSourceLocationResponse_accessConfiguration :: Lens' CreateSourceLocationResponse (Maybe AccessConfiguration) Source #
Access configuration parameters. Configures the type of authentication used to access content from your source location.
createSourceLocationResponse_arn :: Lens' CreateSourceLocationResponse (Maybe Text) Source #
The ARN to assign to the source location.
createSourceLocationResponse_creationTime :: Lens' CreateSourceLocationResponse (Maybe UTCTime) Source #
The time the source location was created.
createSourceLocationResponse_defaultSegmentDeliveryConfiguration :: Lens' CreateSourceLocationResponse (Maybe DefaultSegmentDeliveryConfiguration) Source #
The optional configuration for the server that serves segments.
createSourceLocationResponse_httpConfiguration :: Lens' CreateSourceLocationResponse (Maybe HttpConfiguration) Source #
The source's HTTP package configurations.
createSourceLocationResponse_lastModifiedTime :: Lens' CreateSourceLocationResponse (Maybe UTCTime) Source #
The time the source location was last modified.
createSourceLocationResponse_segmentDeliveryConfigurations :: Lens' CreateSourceLocationResponse (Maybe [SegmentDeliveryConfiguration]) Source #
The segment delivery configurations for the source location. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
createSourceLocationResponse_sourceLocationName :: Lens' CreateSourceLocationResponse (Maybe Text) Source #
The name to assign to the source location.
createSourceLocationResponse_tags :: Lens' CreateSourceLocationResponse (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.
createSourceLocationResponse_httpStatus :: Lens' CreateSourceLocationResponse Int Source #
The response's http status code.