| 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.CreateLiveSource
Description
The live source configuration.
Synopsis
- data CreateLiveSource = CreateLiveSource' {}
- newCreateLiveSource :: Text -> Text -> CreateLiveSource
- createLiveSource_tags :: Lens' CreateLiveSource (Maybe (HashMap Text Text))
- createLiveSource_httpPackageConfigurations :: Lens' CreateLiveSource [HttpPackageConfiguration]
- createLiveSource_liveSourceName :: Lens' CreateLiveSource Text
- createLiveSource_sourceLocationName :: Lens' CreateLiveSource Text
- data CreateLiveSourceResponse = CreateLiveSourceResponse' {}
- newCreateLiveSourceResponse :: Int -> CreateLiveSourceResponse
- createLiveSourceResponse_arn :: Lens' CreateLiveSourceResponse (Maybe Text)
- createLiveSourceResponse_creationTime :: Lens' CreateLiveSourceResponse (Maybe UTCTime)
- createLiveSourceResponse_httpPackageConfigurations :: Lens' CreateLiveSourceResponse (Maybe [HttpPackageConfiguration])
- createLiveSourceResponse_lastModifiedTime :: Lens' CreateLiveSourceResponse (Maybe UTCTime)
- createLiveSourceResponse_liveSourceName :: Lens' CreateLiveSourceResponse (Maybe Text)
- createLiveSourceResponse_sourceLocationName :: Lens' CreateLiveSourceResponse (Maybe Text)
- createLiveSourceResponse_tags :: Lens' CreateLiveSourceResponse (Maybe (HashMap Text Text))
- createLiveSourceResponse_httpStatus :: Lens' CreateLiveSourceResponse Int
Creating a Request
data CreateLiveSource Source #
See: newCreateLiveSource smart constructor.
Constructors
| CreateLiveSource' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> CreateLiveSource |
Create a value of CreateLiveSource 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:
CreateLiveSource, createLiveSource_tags - The tags to assign to the live 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.
CreateLiveSource, createLiveSource_httpPackageConfigurations - A list of HTTP package configuration parameters for this live source.
CreateLiveSource, createLiveSource_liveSourceName - The name of the live source.
CreateLiveSource, createLiveSource_sourceLocationName - The name of the source location.
Request Lenses
createLiveSource_tags :: Lens' CreateLiveSource (Maybe (HashMap Text Text)) Source #
The tags to assign to the live 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.
createLiveSource_httpPackageConfigurations :: Lens' CreateLiveSource [HttpPackageConfiguration] Source #
A list of HTTP package configuration parameters for this live source.
createLiveSource_liveSourceName :: Lens' CreateLiveSource Text Source #
The name of the live source.
createLiveSource_sourceLocationName :: Lens' CreateLiveSource Text Source #
The name of the source location.
Destructuring the Response
data CreateLiveSourceResponse Source #
See: newCreateLiveSourceResponse smart constructor.
Constructors
| CreateLiveSourceResponse' | |
Fields
| |
Instances
newCreateLiveSourceResponse Source #
Create a value of CreateLiveSourceResponse 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:
CreateLiveSourceResponse, createLiveSourceResponse_arn - The ARN to assign to the live source.
CreateLiveSourceResponse, createLiveSourceResponse_creationTime - The time the live source was created.
CreateLiveSource, createLiveSourceResponse_httpPackageConfigurations - A list of HTTP package configuration parameters for this live source.
CreateLiveSourceResponse, createLiveSourceResponse_lastModifiedTime - The time the live source was last modified.
CreateLiveSource, createLiveSourceResponse_liveSourceName - The name to assign to the live source.
CreateLiveSource, createLiveSourceResponse_sourceLocationName - The name to assign to the source location of the live source.
CreateLiveSource, createLiveSourceResponse_tags - The tags to assign to the live 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.
$sel:httpStatus:CreateLiveSourceResponse', createLiveSourceResponse_httpStatus - The response's http status code.
Response Lenses
createLiveSourceResponse_arn :: Lens' CreateLiveSourceResponse (Maybe Text) Source #
The ARN to assign to the live source.
createLiveSourceResponse_creationTime :: Lens' CreateLiveSourceResponse (Maybe UTCTime) Source #
The time the live source was created.
createLiveSourceResponse_httpPackageConfigurations :: Lens' CreateLiveSourceResponse (Maybe [HttpPackageConfiguration]) Source #
A list of HTTP package configuration parameters for this live source.
createLiveSourceResponse_lastModifiedTime :: Lens' CreateLiveSourceResponse (Maybe UTCTime) Source #
The time the live source was last modified.
createLiveSourceResponse_liveSourceName :: Lens' CreateLiveSourceResponse (Maybe Text) Source #
The name to assign to the live source.
createLiveSourceResponse_sourceLocationName :: Lens' CreateLiveSourceResponse (Maybe Text) Source #
The name to assign to the source location of the live source.
createLiveSourceResponse_tags :: Lens' CreateLiveSourceResponse (Maybe (HashMap Text Text)) Source #
The tags to assign to the live 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.
createLiveSourceResponse_httpStatus :: Lens' CreateLiveSourceResponse Int Source #
The response's http status code.