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 |
Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
Synopsis
- data CreateImagePipeline = CreateImagePipeline' {
- status :: Maybe PipelineStatus
- containerRecipeArn :: Maybe Text
- imageTestsConfiguration :: Maybe ImageTestsConfiguration
- schedule :: Maybe Schedule
- enhancedImageMetadataEnabled :: Maybe Bool
- distributionConfigurationArn :: Maybe Text
- imageRecipeArn :: Maybe Text
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- name :: Text
- infrastructureConfigurationArn :: Text
- clientToken :: Text
- newCreateImagePipeline :: Text -> Text -> Text -> CreateImagePipeline
- createImagePipeline_status :: Lens' CreateImagePipeline (Maybe PipelineStatus)
- createImagePipeline_containerRecipeArn :: Lens' CreateImagePipeline (Maybe Text)
- createImagePipeline_imageTestsConfiguration :: Lens' CreateImagePipeline (Maybe ImageTestsConfiguration)
- createImagePipeline_schedule :: Lens' CreateImagePipeline (Maybe Schedule)
- createImagePipeline_enhancedImageMetadataEnabled :: Lens' CreateImagePipeline (Maybe Bool)
- createImagePipeline_distributionConfigurationArn :: Lens' CreateImagePipeline (Maybe Text)
- createImagePipeline_imageRecipeArn :: Lens' CreateImagePipeline (Maybe Text)
- createImagePipeline_description :: Lens' CreateImagePipeline (Maybe Text)
- createImagePipeline_tags :: Lens' CreateImagePipeline (Maybe (HashMap Text Text))
- createImagePipeline_name :: Lens' CreateImagePipeline Text
- createImagePipeline_infrastructureConfigurationArn :: Lens' CreateImagePipeline Text
- createImagePipeline_clientToken :: Lens' CreateImagePipeline Text
- data CreateImagePipelineResponse = CreateImagePipelineResponse' {
- requestId :: Maybe Text
- clientToken :: Maybe Text
- imagePipelineArn :: Maybe Text
- httpStatus :: Int
- newCreateImagePipelineResponse :: Int -> CreateImagePipelineResponse
- createImagePipelineResponse_requestId :: Lens' CreateImagePipelineResponse (Maybe Text)
- createImagePipelineResponse_clientToken :: Lens' CreateImagePipelineResponse (Maybe Text)
- createImagePipelineResponse_imagePipelineArn :: Lens' CreateImagePipelineResponse (Maybe Text)
- createImagePipelineResponse_httpStatus :: Lens' CreateImagePipelineResponse Int
Creating a Request
data CreateImagePipeline Source #
See: newCreateImagePipeline
smart constructor.
CreateImagePipeline' | |
|
Instances
newCreateImagePipeline Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateImagePipeline |
Create a value of CreateImagePipeline
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:status:CreateImagePipeline'
, createImagePipeline_status
- The status of the image pipeline.
$sel:containerRecipeArn:CreateImagePipeline'
, createImagePipeline_containerRecipeArn
- The Amazon Resource Name (ARN) of the container recipe that is used to
configure images created by this container pipeline.
$sel:imageTestsConfiguration:CreateImagePipeline'
, createImagePipeline_imageTestsConfiguration
- The image test configuration of the image pipeline.
$sel:schedule:CreateImagePipeline'
, createImagePipeline_schedule
- The schedule of the image pipeline.
$sel:enhancedImageMetadataEnabled:CreateImagePipeline'
, createImagePipeline_enhancedImageMetadataEnabled
- Collects additional information about the image being created, including
the operating system (OS) version and package list. This information is
used to enhance the overall experience of using EC2 Image Builder.
Enabled by default.
$sel:distributionConfigurationArn:CreateImagePipeline'
, createImagePipeline_distributionConfigurationArn
- The Amazon Resource Name (ARN) of the distribution configuration that
will be used to configure and distribute images created by this image
pipeline.
$sel:imageRecipeArn:CreateImagePipeline'
, createImagePipeline_imageRecipeArn
- The Amazon Resource Name (ARN) of the image recipe that will be used to
configure images created by this image pipeline.
$sel:description:CreateImagePipeline'
, createImagePipeline_description
- The description of the image pipeline.
$sel:tags:CreateImagePipeline'
, createImagePipeline_tags
- The tags of the image pipeline.
$sel:name:CreateImagePipeline'
, createImagePipeline_name
- The name of the image pipeline.
$sel:infrastructureConfigurationArn:CreateImagePipeline'
, createImagePipeline_infrastructureConfigurationArn
- The Amazon Resource Name (ARN) of the infrastructure configuration that
will be used to build images created by this image pipeline.
$sel:clientToken:CreateImagePipeline'
, createImagePipeline_clientToken
- The idempotency token used to make this request idempotent.
Request Lenses
createImagePipeline_status :: Lens' CreateImagePipeline (Maybe PipelineStatus) Source #
The status of the image pipeline.
createImagePipeline_containerRecipeArn :: Lens' CreateImagePipeline (Maybe Text) Source #
The Amazon Resource Name (ARN) of the container recipe that is used to configure images created by this container pipeline.
createImagePipeline_imageTestsConfiguration :: Lens' CreateImagePipeline (Maybe ImageTestsConfiguration) Source #
The image test configuration of the image pipeline.
createImagePipeline_schedule :: Lens' CreateImagePipeline (Maybe Schedule) Source #
The schedule of the image pipeline.
createImagePipeline_enhancedImageMetadataEnabled :: Lens' CreateImagePipeline (Maybe Bool) Source #
Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
createImagePipeline_distributionConfigurationArn :: Lens' CreateImagePipeline (Maybe Text) Source #
The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images created by this image pipeline.
createImagePipeline_imageRecipeArn :: Lens' CreateImagePipeline (Maybe Text) Source #
The Amazon Resource Name (ARN) of the image recipe that will be used to configure images created by this image pipeline.
createImagePipeline_description :: Lens' CreateImagePipeline (Maybe Text) Source #
The description of the image pipeline.
createImagePipeline_tags :: Lens' CreateImagePipeline (Maybe (HashMap Text Text)) Source #
The tags of the image pipeline.
createImagePipeline_name :: Lens' CreateImagePipeline Text Source #
The name of the image pipeline.
createImagePipeline_infrastructureConfigurationArn :: Lens' CreateImagePipeline Text Source #
The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images created by this image pipeline.
createImagePipeline_clientToken :: Lens' CreateImagePipeline Text Source #
The idempotency token used to make this request idempotent.
Destructuring the Response
data CreateImagePipelineResponse Source #
See: newCreateImagePipelineResponse
smart constructor.
CreateImagePipelineResponse' | |
|
Instances
newCreateImagePipelineResponse Source #
Create a value of CreateImagePipelineResponse
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:requestId:CreateImagePipelineResponse'
, createImagePipelineResponse_requestId
- The request ID that uniquely identifies this request.
$sel:clientToken:CreateImagePipeline'
, createImagePipelineResponse_clientToken
- The idempotency token used to make this request idempotent.
$sel:imagePipelineArn:CreateImagePipelineResponse'
, createImagePipelineResponse_imagePipelineArn
- The Amazon Resource Name (ARN) of the image pipeline that was created by
this request.
$sel:httpStatus:CreateImagePipelineResponse'
, createImagePipelineResponse_httpStatus
- The response's http status code.
Response Lenses
createImagePipelineResponse_requestId :: Lens' CreateImagePipelineResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
createImagePipelineResponse_clientToken :: Lens' CreateImagePipelineResponse (Maybe Text) Source #
The idempotency token used to make this request idempotent.
createImagePipelineResponse_imagePipelineArn :: Lens' CreateImagePipelineResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the image pipeline that was created by this request.
createImagePipelineResponse_httpStatus :: Lens' CreateImagePipelineResponse Int Source #
The response's http status code.