| 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 |
Amazonka.MediaTailor.CreateVodSource
Description
The VOD source configuration parameters.
Synopsis
- data CreateVodSource = CreateVodSource' {}
- newCreateVodSource :: Text -> Text -> CreateVodSource
- createVodSource_tags :: Lens' CreateVodSource (Maybe (HashMap Text Text))
- createVodSource_httpPackageConfigurations :: Lens' CreateVodSource [HttpPackageConfiguration]
- createVodSource_sourceLocationName :: Lens' CreateVodSource Text
- createVodSource_vodSourceName :: Lens' CreateVodSource Text
- data CreateVodSourceResponse = CreateVodSourceResponse' {}
- newCreateVodSourceResponse :: Int -> CreateVodSourceResponse
- createVodSourceResponse_arn :: Lens' CreateVodSourceResponse (Maybe Text)
- createVodSourceResponse_creationTime :: Lens' CreateVodSourceResponse (Maybe UTCTime)
- createVodSourceResponse_httpPackageConfigurations :: Lens' CreateVodSourceResponse (Maybe [HttpPackageConfiguration])
- createVodSourceResponse_lastModifiedTime :: Lens' CreateVodSourceResponse (Maybe UTCTime)
- createVodSourceResponse_sourceLocationName :: Lens' CreateVodSourceResponse (Maybe Text)
- createVodSourceResponse_tags :: Lens' CreateVodSourceResponse (Maybe (HashMap Text Text))
- createVodSourceResponse_vodSourceName :: Lens' CreateVodSourceResponse (Maybe 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:
CreateVodSource, createVodSource_tags - The tags to assign to the VOD source. 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.
CreateVodSource, createVodSource_httpPackageConfigurations - A list of HTTP package configuration parameters for this VOD source.
CreateVodSource, createVodSource_sourceLocationName - The name of the source location for this VOD source.
CreateVodSource, createVodSource_vodSourceName - The name associated with the VOD source.>
Request Lenses
createVodSource_tags :: Lens' CreateVodSource (Maybe (HashMap Text Text)) Source #
The tags to assign to the VOD source. 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.
createVodSource_httpPackageConfigurations :: Lens' CreateVodSource [HttpPackageConfiguration] Source #
A list of HTTP package configuration parameters for this VOD source.
createVodSource_sourceLocationName :: Lens' CreateVodSource Text Source #
The name of the source location for this VOD source.
createVodSource_vodSourceName :: Lens' CreateVodSource Text Source #
The name associated with the 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:
CreateVodSourceResponse, createVodSourceResponse_arn - The ARN to assign to this VOD source.
CreateVodSourceResponse, createVodSourceResponse_creationTime - The time the VOD source was created.
CreateVodSource, createVodSourceResponse_httpPackageConfigurations - A list of HTTP package configuration parameters for this VOD source.
CreateVodSourceResponse, createVodSourceResponse_lastModifiedTime - The time the VOD source was last modified.
CreateVodSource, createVodSourceResponse_sourceLocationName - The name to assign to the source location for this VOD source.
CreateVodSource, createVodSourceResponse_tags - The tags to assign to the VOD source. 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.
CreateVodSource, createVodSourceResponse_vodSourceName - The name to assign to the VOD source.
$sel:httpStatus:CreateVodSourceResponse', createVodSourceResponse_httpStatus - The response's http status code.
Response Lenses
createVodSourceResponse_arn :: Lens' CreateVodSourceResponse (Maybe Text) Source #
The ARN to assign to this VOD source.
createVodSourceResponse_creationTime :: Lens' CreateVodSourceResponse (Maybe UTCTime) Source #
The time the VOD source was created.
createVodSourceResponse_httpPackageConfigurations :: Lens' CreateVodSourceResponse (Maybe [HttpPackageConfiguration]) Source #
A list of HTTP package configuration parameters for this VOD source.
createVodSourceResponse_lastModifiedTime :: Lens' CreateVodSourceResponse (Maybe UTCTime) Source #
The time the VOD source was last modified.
createVodSourceResponse_sourceLocationName :: Lens' CreateVodSourceResponse (Maybe Text) Source #
The name to assign to the source location for this VOD source.
createVodSourceResponse_tags :: Lens' CreateVodSourceResponse (Maybe (HashMap Text Text)) Source #
The tags to assign to the VOD source. 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.
createVodSourceResponse_vodSourceName :: Lens' CreateVodSourceResponse (Maybe Text) Source #
The name to assign to the VOD source.
createVodSourceResponse_httpStatus :: Lens' CreateVodSourceResponse Int Source #
The response's http status code.