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 |
Creates a source location on a specific channel.
Synopsis
- data CreateSourceLocation = CreateSourceLocation' {}
- newCreateSourceLocation :: Text -> HttpConfiguration -> CreateSourceLocation
- createSourceLocation_accessConfiguration :: Lens' CreateSourceLocation (Maybe AccessConfiguration)
- createSourceLocation_defaultSegmentDeliveryConfiguration :: Lens' CreateSourceLocation (Maybe DefaultSegmentDeliveryConfiguration)
- createSourceLocation_tags :: Lens' CreateSourceLocation (Maybe (HashMap Text Text))
- createSourceLocation_sourceLocationName :: Lens' CreateSourceLocation Text
- createSourceLocation_httpConfiguration :: Lens' CreateSourceLocation HttpConfiguration
- data CreateSourceLocationResponse = CreateSourceLocationResponse' {
- 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
- newCreateSourceLocationResponse :: Int -> CreateSourceLocationResponse
- createSourceLocationResponse_creationTime :: Lens' CreateSourceLocationResponse (Maybe UTCTime)
- createSourceLocationResponse_sourceLocationName :: Lens' CreateSourceLocationResponse (Maybe Text)
- createSourceLocationResponse_arn :: Lens' CreateSourceLocationResponse (Maybe Text)
- createSourceLocationResponse_httpConfiguration :: Lens' CreateSourceLocationResponse (Maybe HttpConfiguration)
- createSourceLocationResponse_lastModifiedTime :: Lens' CreateSourceLocationResponse (Maybe UTCTime)
- createSourceLocationResponse_accessConfiguration :: Lens' CreateSourceLocationResponse (Maybe AccessConfiguration)
- createSourceLocationResponse_defaultSegmentDeliveryConfiguration :: Lens' CreateSourceLocationResponse (Maybe DefaultSegmentDeliveryConfiguration)
- 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:
$sel:accessConfiguration:CreateSourceLocation'
, createSourceLocation_accessConfiguration
- Access configuration parameters. Configures the type of authentication
used to access content from your source location.
$sel:defaultSegmentDeliveryConfiguration:CreateSourceLocation'
, createSourceLocation_defaultSegmentDeliveryConfiguration
- The optional configuration for the server that serves segments.
$sel:tags:CreateSourceLocation'
, createSourceLocation_tags
- The tags to assign to the source location.
$sel:sourceLocationName:CreateSourceLocation'
, createSourceLocation_sourceLocationName
- The identifier for the source location you are working on.
$sel:httpConfiguration:CreateSourceLocation'
, createSourceLocation_httpConfiguration
- The source's HTTP package configurations.
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_tags :: Lens' CreateSourceLocation (Maybe (HashMap Text Text)) Source #
The tags to assign to the source location.
createSourceLocation_sourceLocationName :: Lens' CreateSourceLocation Text Source #
The identifier for the source location you are working on.
createSourceLocation_httpConfiguration :: Lens' CreateSourceLocation HttpConfiguration Source #
The source's HTTP package configurations.
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:
$sel:creationTime:CreateSourceLocationResponse'
, createSourceLocationResponse_creationTime
- The timestamp that indicates when the source location was created.
$sel:sourceLocationName:CreateSourceLocation'
, createSourceLocationResponse_sourceLocationName
- The name of the source location.
$sel:arn:CreateSourceLocationResponse'
, createSourceLocationResponse_arn
- The ARN of the source location.
$sel:httpConfiguration:CreateSourceLocation'
, createSourceLocationResponse_httpConfiguration
- The HTTP package configuration settings for the source location.
$sel:lastModifiedTime:CreateSourceLocationResponse'
, createSourceLocationResponse_lastModifiedTime
- The timestamp that indicates when the source location was last modified.
$sel:accessConfiguration:CreateSourceLocation'
, createSourceLocationResponse_accessConfiguration
- The access configuration for the source location.
$sel:defaultSegmentDeliveryConfiguration:CreateSourceLocation'
, createSourceLocationResponse_defaultSegmentDeliveryConfiguration
- The default segment delivery configuration settings.
$sel:tags:CreateSourceLocation'
, createSourceLocationResponse_tags
- The tags assigned to the source location.
$sel:httpStatus:CreateSourceLocationResponse'
, createSourceLocationResponse_httpStatus
- The response's http status code.
Response Lenses
createSourceLocationResponse_creationTime :: Lens' CreateSourceLocationResponse (Maybe UTCTime) Source #
The timestamp that indicates when the source location was created.
createSourceLocationResponse_sourceLocationName :: Lens' CreateSourceLocationResponse (Maybe Text) Source #
The name of the source location.
createSourceLocationResponse_arn :: Lens' CreateSourceLocationResponse (Maybe Text) Source #
The ARN of the source location.
createSourceLocationResponse_httpConfiguration :: Lens' CreateSourceLocationResponse (Maybe HttpConfiguration) Source #
The HTTP package configuration settings for the source location.
createSourceLocationResponse_lastModifiedTime :: Lens' CreateSourceLocationResponse (Maybe UTCTime) Source #
The timestamp that indicates when the source location was last modified.
createSourceLocationResponse_accessConfiguration :: Lens' CreateSourceLocationResponse (Maybe AccessConfiguration) Source #
The access configuration for the source location.
createSourceLocationResponse_defaultSegmentDeliveryConfiguration :: Lens' CreateSourceLocationResponse (Maybe DefaultSegmentDeliveryConfiguration) Source #
The default segment delivery configuration settings.
createSourceLocationResponse_tags :: Lens' CreateSourceLocationResponse (Maybe (HashMap Text Text)) Source #
The tags assigned to the source location.
createSourceLocationResponse_httpStatus :: Lens' CreateSourceLocationResponse Int Source #
The response's http status code.