| 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 |
Amazonka.MediaTailor.CreateVodSource
Description
Creates name for a specific VOD source in a source location.
Synopsis
- data CreateVodSource = CreateVodSource' {}
- newCreateVodSource :: Text -> Text -> CreateVodSource
- createVodSource_tags :: Lens' CreateVodSource (Maybe (HashMap Text Text))
- createVodSource_sourceLocationName :: Lens' CreateVodSource Text
- createVodSource_vodSourceName :: Lens' CreateVodSource Text
- createVodSource_httpPackageConfigurations :: Lens' CreateVodSource [HttpPackageConfiguration]
- data CreateVodSourceResponse = CreateVodSourceResponse' {}
- newCreateVodSourceResponse :: Int -> CreateVodSourceResponse
- createVodSourceResponse_creationTime :: Lens' CreateVodSourceResponse (Maybe UTCTime)
- createVodSourceResponse_sourceLocationName :: Lens' CreateVodSourceResponse (Maybe Text)
- createVodSourceResponse_arn :: Lens' CreateVodSourceResponse (Maybe Text)
- createVodSourceResponse_lastModifiedTime :: Lens' CreateVodSourceResponse (Maybe UTCTime)
- createVodSourceResponse_httpPackageConfigurations :: Lens' CreateVodSourceResponse (Maybe [HttpPackageConfiguration])
- createVodSourceResponse_vodSourceName :: Lens' CreateVodSourceResponse (Maybe Text)
- createVodSourceResponse_tags :: Lens' CreateVodSourceResponse (Maybe (HashMap Text Text))
- createVodSourceResponse_httpStatus :: Lens' CreateVodSourceResponse Int
Creating a Request
data CreateVodSource Source #
See: newCreateVodSource smart constructor.
Constructors
| CreateVodSource' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> CreateVodSource |
Create a value of CreateVodSource 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:tags:CreateVodSource', createVodSource_tags - The tags to assign to the VOD source.
$sel:sourceLocationName:CreateVodSource', createVodSource_sourceLocationName - The identifier for the source location you are working on.
$sel:vodSourceName:CreateVodSource', createVodSource_vodSourceName - The identifier for the VOD source you are working on.
$sel:httpPackageConfigurations:CreateVodSource', createVodSource_httpPackageConfigurations - An array of HTTP package configuration parameters for this VOD source.
Request Lenses
createVodSource_tags :: Lens' CreateVodSource (Maybe (HashMap Text Text)) Source #
The tags to assign to the VOD source.
createVodSource_sourceLocationName :: Lens' CreateVodSource Text Source #
The identifier for the source location you are working on.
createVodSource_vodSourceName :: Lens' CreateVodSource Text Source #
The identifier for the VOD source you are working on.
createVodSource_httpPackageConfigurations :: Lens' CreateVodSource [HttpPackageConfiguration] Source #
An array of HTTP package configuration parameters for this VOD source.
Destructuring the Response
data CreateVodSourceResponse Source #
See: newCreateVodSourceResponse smart constructor.
Constructors
| CreateVodSourceResponse' | |
Fields
| |
Instances
newCreateVodSourceResponse Source #
Create a value of CreateVodSourceResponse 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:CreateVodSourceResponse', createVodSourceResponse_creationTime - The timestamp that indicates when the VOD source was created.
$sel:sourceLocationName:CreateVodSource', createVodSourceResponse_sourceLocationName - The name of the source location associated with the VOD source.
$sel:arn:CreateVodSourceResponse', createVodSourceResponse_arn - The ARN of the VOD source.
$sel:lastModifiedTime:CreateVodSourceResponse', createVodSourceResponse_lastModifiedTime - The ARN for the VOD source.
$sel:httpPackageConfigurations:CreateVodSource', createVodSourceResponse_httpPackageConfigurations - The HTTP package configurations.
$sel:vodSourceName:CreateVodSource', createVodSourceResponse_vodSourceName - The name of the VOD source.
$sel:tags:CreateVodSource', createVodSourceResponse_tags - The tags assigned to the VOD source.
$sel:httpStatus:CreateVodSourceResponse', createVodSourceResponse_httpStatus - The response's http status code.
Response Lenses
createVodSourceResponse_creationTime :: Lens' CreateVodSourceResponse (Maybe UTCTime) Source #
The timestamp that indicates when the VOD source was created.
createVodSourceResponse_sourceLocationName :: Lens' CreateVodSourceResponse (Maybe Text) Source #
The name of the source location associated with the VOD source.
createVodSourceResponse_arn :: Lens' CreateVodSourceResponse (Maybe Text) Source #
The ARN of the VOD source.
createVodSourceResponse_lastModifiedTime :: Lens' CreateVodSourceResponse (Maybe UTCTime) Source #
The ARN for the VOD source.
createVodSourceResponse_httpPackageConfigurations :: Lens' CreateVodSourceResponse (Maybe [HttpPackageConfiguration]) Source #
The HTTP package configurations.
createVodSourceResponse_vodSourceName :: Lens' CreateVodSourceResponse (Maybe Text) Source #
The name of the VOD source.
createVodSourceResponse_tags :: Lens' CreateVodSourceResponse (Maybe (HashMap Text Text)) Source #
The tags assigned to the VOD source.
createVodSourceResponse_httpStatus :: Lens' CreateVodSourceResponse Int Source #
The response's http status code.