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 |
Updates a specific VOD source in a specific source location.
Synopsis
- data UpdateVodSource = UpdateVodSource' {}
- newUpdateVodSource :: Text -> Text -> UpdateVodSource
- updateVodSource_sourceLocationName :: Lens' UpdateVodSource Text
- updateVodSource_vodSourceName :: Lens' UpdateVodSource Text
- updateVodSource_httpPackageConfigurations :: Lens' UpdateVodSource [HttpPackageConfiguration]
- data UpdateVodSourceResponse = UpdateVodSourceResponse' {}
- newUpdateVodSourceResponse :: Int -> UpdateVodSourceResponse
- updateVodSourceResponse_creationTime :: Lens' UpdateVodSourceResponse (Maybe UTCTime)
- updateVodSourceResponse_sourceLocationName :: Lens' UpdateVodSourceResponse (Maybe Text)
- updateVodSourceResponse_arn :: Lens' UpdateVodSourceResponse (Maybe Text)
- updateVodSourceResponse_lastModifiedTime :: Lens' UpdateVodSourceResponse (Maybe UTCTime)
- updateVodSourceResponse_httpPackageConfigurations :: Lens' UpdateVodSourceResponse (Maybe [HttpPackageConfiguration])
- updateVodSourceResponse_vodSourceName :: Lens' UpdateVodSourceResponse (Maybe Text)
- updateVodSourceResponse_tags :: Lens' UpdateVodSourceResponse (Maybe (HashMap Text Text))
- updateVodSourceResponse_httpStatus :: Lens' UpdateVodSourceResponse Int
Creating a Request
data UpdateVodSource Source #
See: newUpdateVodSource
smart constructor.
UpdateVodSource' | |
|
Instances
:: 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:
$sel:sourceLocationName:UpdateVodSource'
, updateVodSource_sourceLocationName
- The identifier for the source location you are working on.
$sel:vodSourceName:UpdateVodSource'
, updateVodSource_vodSourceName
- The identifier for the VOD source you are working on.
$sel:httpPackageConfigurations:UpdateVodSource'
, updateVodSource_httpPackageConfigurations
- An array of HTTP package configurations for the VOD source on this
account.
Request Lenses
updateVodSource_sourceLocationName :: Lens' UpdateVodSource Text Source #
The identifier for the source location you are working on.
updateVodSource_vodSourceName :: Lens' UpdateVodSource Text Source #
The identifier for the VOD source you are working on.
updateVodSource_httpPackageConfigurations :: Lens' UpdateVodSource [HttpPackageConfiguration] Source #
An array of HTTP package configurations for the VOD source on this account.
Destructuring the Response
data UpdateVodSourceResponse Source #
See: newUpdateVodSourceResponse
smart constructor.
UpdateVodSourceResponse' | |
|
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:
$sel:creationTime:UpdateVodSourceResponse'
, updateVodSourceResponse_creationTime
- The timestamp that indicates when the VOD source was created.
$sel:sourceLocationName:UpdateVodSource'
, updateVodSourceResponse_sourceLocationName
- The name of the source location associated with the VOD source.
$sel:arn:UpdateVodSourceResponse'
, updateVodSourceResponse_arn
- The ARN of the VOD source.
$sel:lastModifiedTime:UpdateVodSourceResponse'
, updateVodSourceResponse_lastModifiedTime
- The ARN for the VOD source.
$sel:httpPackageConfigurations:UpdateVodSource'
, updateVodSourceResponse_httpPackageConfigurations
- The HTTP package configurations.
$sel:vodSourceName:UpdateVodSource'
, updateVodSourceResponse_vodSourceName
- The name of the VOD source.
$sel:tags:UpdateVodSourceResponse'
, updateVodSourceResponse_tags
- The tags assigned to the VOD source.
$sel:httpStatus:UpdateVodSourceResponse'
, updateVodSourceResponse_httpStatus
- The response's http status code.
Response Lenses
updateVodSourceResponse_creationTime :: Lens' UpdateVodSourceResponse (Maybe UTCTime) Source #
The timestamp that indicates when the VOD source was created.
updateVodSourceResponse_sourceLocationName :: Lens' UpdateVodSourceResponse (Maybe Text) Source #
The name of the source location associated with the VOD source.
updateVodSourceResponse_arn :: Lens' UpdateVodSourceResponse (Maybe Text) Source #
The ARN of the VOD source.
updateVodSourceResponse_lastModifiedTime :: Lens' UpdateVodSourceResponse (Maybe UTCTime) Source #
The ARN for the VOD source.
updateVodSourceResponse_httpPackageConfigurations :: Lens' UpdateVodSourceResponse (Maybe [HttpPackageConfiguration]) Source #
The HTTP package configurations.
updateVodSourceResponse_vodSourceName :: Lens' UpdateVodSourceResponse (Maybe Text) Source #
The name of the VOD source.
updateVodSourceResponse_tags :: Lens' UpdateVodSourceResponse (Maybe (HashMap Text Text)) Source #
The tags assigned to the VOD source.
updateVodSourceResponse_httpStatus :: Lens' UpdateVodSourceResponse Int Source #
The response's http status code.