| 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.UpdateVodSource
Description
Updates a VOD source's configuration.
Synopsis
- data UpdateVodSource = UpdateVodSource' {}
- newUpdateVodSource :: Text -> Text -> UpdateVodSource
- updateVodSource_httpPackageConfigurations :: Lens' UpdateVodSource [HttpPackageConfiguration]
- updateVodSource_sourceLocationName :: Lens' UpdateVodSource Text
- updateVodSource_vodSourceName :: Lens' UpdateVodSource Text
- data UpdateVodSourceResponse = UpdateVodSourceResponse' {}
- newUpdateVodSourceResponse :: Int -> UpdateVodSourceResponse
- updateVodSourceResponse_arn :: Lens' UpdateVodSourceResponse (Maybe Text)
- updateVodSourceResponse_creationTime :: Lens' UpdateVodSourceResponse (Maybe UTCTime)
- updateVodSourceResponse_httpPackageConfigurations :: Lens' UpdateVodSourceResponse (Maybe [HttpPackageConfiguration])
- updateVodSourceResponse_lastModifiedTime :: Lens' UpdateVodSourceResponse (Maybe UTCTime)
- updateVodSourceResponse_sourceLocationName :: Lens' UpdateVodSourceResponse (Maybe Text)
- updateVodSourceResponse_tags :: Lens' UpdateVodSourceResponse (Maybe (HashMap Text Text))
- updateVodSourceResponse_vodSourceName :: Lens' UpdateVodSourceResponse (Maybe Text)
- updateVodSourceResponse_httpStatus :: Lens' UpdateVodSourceResponse Int
Creating a Request
data UpdateVodSource Source #
See: newUpdateVodSource smart constructor.
Constructors
| UpdateVodSource' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateVodSource |
Create a value of UpdateVodSource 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:
UpdateVodSource, updateVodSource_httpPackageConfigurations - A list of HTTP package configurations for the VOD source on this
account.
UpdateVodSource, updateVodSource_sourceLocationName - The name of the source location associated with this VOD Source.
UpdateVodSource, updateVodSource_vodSourceName - The name of the VOD source.
Request Lenses
updateVodSource_httpPackageConfigurations :: Lens' UpdateVodSource [HttpPackageConfiguration] Source #
A list of HTTP package configurations for the VOD source on this account.
updateVodSource_sourceLocationName :: Lens' UpdateVodSource Text Source #
The name of the source location associated with this VOD Source.
updateVodSource_vodSourceName :: Lens' UpdateVodSource Text Source #
The name of the VOD source.
Destructuring the Response
data UpdateVodSourceResponse Source #
See: newUpdateVodSourceResponse smart constructor.
Constructors
| UpdateVodSourceResponse' | |
Fields
| |
Instances
newUpdateVodSourceResponse Source #
Create a value of UpdateVodSourceResponse 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:
UpdateVodSourceResponse, updateVodSourceResponse_arn - The Amazon Resource Name (ARN) associated with the VOD source.
UpdateVodSourceResponse, updateVodSourceResponse_creationTime - The timestamp that indicates when the VOD source was created.
UpdateVodSource, updateVodSourceResponse_httpPackageConfigurations - A list of HTTP package configurations for the VOD source on this
account.
UpdateVodSourceResponse, updateVodSourceResponse_lastModifiedTime - The timestamp that indicates when the VOD source was last modified.
UpdateVodSource, updateVodSourceResponse_sourceLocationName - The name of the source location associated with the VOD source.
UpdateVodSourceResponse, updateVodSourceResponse_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.
UpdateVodSource, updateVodSourceResponse_vodSourceName - The name of the VOD source.
$sel:httpStatus:UpdateVodSourceResponse', updateVodSourceResponse_httpStatus - The response's http status code.
Response Lenses
updateVodSourceResponse_arn :: Lens' UpdateVodSourceResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) associated with the VOD source.
updateVodSourceResponse_creationTime :: Lens' UpdateVodSourceResponse (Maybe UTCTime) Source #
The timestamp that indicates when the VOD source was created.
updateVodSourceResponse_httpPackageConfigurations :: Lens' UpdateVodSourceResponse (Maybe [HttpPackageConfiguration]) Source #
A list of HTTP package configurations for the VOD source on this account.
updateVodSourceResponse_lastModifiedTime :: Lens' UpdateVodSourceResponse (Maybe UTCTime) Source #
The timestamp that indicates when the VOD source was last modified.
updateVodSourceResponse_sourceLocationName :: Lens' UpdateVodSourceResponse (Maybe Text) Source #
The name of the source location associated with the VOD source.
updateVodSourceResponse_tags :: Lens' UpdateVodSourceResponse (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.
updateVodSourceResponse_vodSourceName :: Lens' UpdateVodSourceResponse (Maybe Text) Source #
The name of the VOD source.
updateVodSourceResponse_httpStatus :: Lens' UpdateVodSourceResponse Int Source #
The response's http status code.