-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon EC2 Image Builder SDK.
--
-- Derived from API version 2019-12-02 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- It is recommended to use generic lenses or optics from packages such
-- as generic-lens or optics to modify optional fields and
-- deconstruct responses.
--
-- Generated lenses can be found in Amazonka.ImageBuilder.Lens and
-- are suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.ImageBuilder and the AWS documentation to
-- get started.
@package amazonka-imagebuilder
@version 2.0
module Amazonka.ImageBuilder.Types.BuildType
newtype BuildType
BuildType' :: Text -> BuildType
[fromBuildType] :: BuildType -> Text
pattern BuildType_IMPORT :: BuildType
pattern BuildType_SCHEDULED :: BuildType
pattern BuildType_USER_INITIATED :: BuildType
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.BuildType.BuildType
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.BuildType.BuildType
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.BuildType.BuildType
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.BuildType.BuildType
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.BuildType.BuildType
instance GHC.Read.Read Amazonka.ImageBuilder.Types.BuildType.BuildType
instance GHC.Show.Show Amazonka.ImageBuilder.Types.BuildType.BuildType
module Amazonka.ImageBuilder.Types.ComponentFormat
newtype ComponentFormat
ComponentFormat' :: Text -> ComponentFormat
[fromComponentFormat] :: ComponentFormat -> Text
pattern ComponentFormat_SHELL :: ComponentFormat
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ComponentFormat.ComponentFormat
module Amazonka.ImageBuilder.Types.ComponentParameter
-- | Contains a key/value pair that sets the named component parameter.
--
-- See: newComponentParameter smart constructor.
data ComponentParameter
ComponentParameter' :: Text -> [Text] -> ComponentParameter
-- | The name of the component parameter to set.
[$sel:name:ComponentParameter'] :: ComponentParameter -> Text
-- | Sets the value for the named component parameter.
[$sel:value:ComponentParameter'] :: ComponentParameter -> [Text]
-- | Create a value of ComponentParameter 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:name:ComponentParameter', componentParameter_name -
-- The name of the component parameter to set.
--
-- $sel:value:ComponentParameter', componentParameter_value
-- - Sets the value for the named component parameter.
newComponentParameter :: Text -> ComponentParameter
-- | The name of the component parameter to set.
componentParameter_name :: Lens' ComponentParameter Text
-- | Sets the value for the named component parameter.
componentParameter_value :: Lens' ComponentParameter [Text]
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ComponentParameter.ComponentParameter
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ComponentParameter.ComponentParameter
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ComponentParameter.ComponentParameter
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ComponentParameter.ComponentParameter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ComponentParameter.ComponentParameter
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ComponentParameter.ComponentParameter
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ComponentParameter.ComponentParameter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.ComponentParameter.ComponentParameter
module Amazonka.ImageBuilder.Types.ComponentConfiguration
-- | Configuration details of the component.
--
-- See: newComponentConfiguration smart constructor.
data ComponentConfiguration
ComponentConfiguration' :: Maybe (NonEmpty ComponentParameter) -> Text -> ComponentConfiguration
-- | A group of parameter settings that are used to configure the component
-- for a specific recipe.
[$sel:parameters:ComponentConfiguration'] :: ComponentConfiguration -> Maybe (NonEmpty ComponentParameter)
-- | The Amazon Resource Name (ARN) of the component.
[$sel:componentArn:ComponentConfiguration'] :: ComponentConfiguration -> Text
-- | Create a value of ComponentConfiguration 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:parameters:ComponentConfiguration',
-- componentConfiguration_parameters - A group of parameter
-- settings that are used to configure the component for a specific
-- recipe.
--
-- $sel:componentArn:ComponentConfiguration',
-- componentConfiguration_componentArn - The Amazon Resource Name
-- (ARN) of the component.
newComponentConfiguration :: Text -> ComponentConfiguration
-- | A group of parameter settings that are used to configure the component
-- for a specific recipe.
componentConfiguration_parameters :: Lens' ComponentConfiguration (Maybe (NonEmpty ComponentParameter))
-- | The Amazon Resource Name (ARN) of the component.
componentConfiguration_componentArn :: Lens' ComponentConfiguration Text
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ComponentConfiguration.ComponentConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ComponentConfiguration.ComponentConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ComponentConfiguration.ComponentConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ComponentConfiguration.ComponentConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ComponentConfiguration.ComponentConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ComponentConfiguration.ComponentConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ComponentConfiguration.ComponentConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.ComponentConfiguration.ComponentConfiguration
module Amazonka.ImageBuilder.Types.ComponentParameterDetail
-- | Defines a parameter that is used to provide configuration details for
-- the component.
--
-- See: newComponentParameterDetail smart constructor.
data ComponentParameterDetail
ComponentParameterDetail' :: Maybe [Text] -> Maybe Text -> Text -> Text -> ComponentParameterDetail
-- | The default value of this parameter if no input is provided.
[$sel:defaultValue:ComponentParameterDetail'] :: ComponentParameterDetail -> Maybe [Text]
-- | Describes this parameter.
[$sel:description:ComponentParameterDetail'] :: ComponentParameterDetail -> Maybe Text
-- | The name of this input parameter.
[$sel:name:ComponentParameterDetail'] :: ComponentParameterDetail -> Text
-- | The type of input this parameter provides. The currently supported
-- value is "string".
[$sel:type':ComponentParameterDetail'] :: ComponentParameterDetail -> Text
-- | Create a value of ComponentParameterDetail 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:defaultValue:ComponentParameterDetail',
-- componentParameterDetail_defaultValue - The default value of
-- this parameter if no input is provided.
--
-- $sel:description:ComponentParameterDetail',
-- componentParameterDetail_description - Describes this
-- parameter.
--
-- $sel:name:ComponentParameterDetail',
-- componentParameterDetail_name - The name of this input
-- parameter.
--
-- $sel:type':ComponentParameterDetail',
-- componentParameterDetail_type - The type of input this
-- parameter provides. The currently supported value is "string".
newComponentParameterDetail :: Text -> Text -> ComponentParameterDetail
-- | The default value of this parameter if no input is provided.
componentParameterDetail_defaultValue :: Lens' ComponentParameterDetail (Maybe [Text])
-- | Describes this parameter.
componentParameterDetail_description :: Lens' ComponentParameterDetail (Maybe Text)
-- | The name of this input parameter.
componentParameterDetail_name :: Lens' ComponentParameterDetail Text
-- | The type of input this parameter provides. The currently supported
-- value is "string".
componentParameterDetail_type :: Lens' ComponentParameterDetail Text
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ComponentParameterDetail.ComponentParameterDetail
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ComponentParameterDetail.ComponentParameterDetail
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ComponentParameterDetail.ComponentParameterDetail
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ComponentParameterDetail.ComponentParameterDetail
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ComponentParameterDetail.ComponentParameterDetail
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ComponentParameterDetail.ComponentParameterDetail
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ComponentParameterDetail.ComponentParameterDetail
module Amazonka.ImageBuilder.Types.ComponentStatus
newtype ComponentStatus
ComponentStatus' :: Text -> ComponentStatus
[fromComponentStatus] :: ComponentStatus -> Text
pattern ComponentStatus_DEPRECATED :: ComponentStatus
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ComponentStatus.ComponentStatus
module Amazonka.ImageBuilder.Types.ComponentState
-- | A group of fields that describe the current status of components that
-- are no longer active.
--
-- See: newComponentState smart constructor.
data ComponentState
ComponentState' :: Maybe Text -> Maybe ComponentStatus -> ComponentState
-- | Describes how or why the component changed state.
[$sel:reason:ComponentState'] :: ComponentState -> Maybe Text
-- | The current state of the component.
[$sel:status:ComponentState'] :: ComponentState -> Maybe ComponentStatus
-- | Create a value of ComponentState 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:reason:ComponentState', componentState_reason -
-- Describes how or why the component changed state.
--
-- $sel:status:ComponentState', componentState_status - The
-- current state of the component.
newComponentState :: ComponentState
-- | Describes how or why the component changed state.
componentState_reason :: Lens' ComponentState (Maybe Text)
-- | The current state of the component.
componentState_status :: Lens' ComponentState (Maybe ComponentStatus)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ComponentState.ComponentState
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ComponentState.ComponentState
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ComponentState.ComponentState
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ComponentState.ComponentState
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ComponentState.ComponentState
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ComponentState.ComponentState
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ComponentState.ComponentState
module Amazonka.ImageBuilder.Types.ComponentType
newtype ComponentType
ComponentType' :: Text -> ComponentType
[fromComponentType] :: ComponentType -> Text
pattern ComponentType_BUILD :: ComponentType
pattern ComponentType_TEST :: ComponentType
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ComponentType.ComponentType
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ComponentType.ComponentType
module Amazonka.ImageBuilder.Types.Container
-- | A container encapsulates the runtime environment for an application.
--
-- See: newContainer smart constructor.
data Container
Container' :: Maybe [Text] -> Maybe Text -> Container
-- | A list of URIs for containers created in the context Region.
[$sel:imageUris:Container'] :: Container -> Maybe [Text]
-- | Containers and container images are Region-specific. This is the
-- Region context for the container.
[$sel:region:Container'] :: Container -> Maybe Text
-- | Create a value of Container 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:imageUris:Container', container_imageUris - A list
-- of URIs for containers created in the context Region.
--
-- $sel:region:Container', container_region - Containers
-- and container images are Region-specific. This is the Region context
-- for the container.
newContainer :: Container
-- | A list of URIs for containers created in the context Region.
container_imageUris :: Lens' Container (Maybe [Text])
-- | Containers and container images are Region-specific. This is the
-- Region context for the container.
container_region :: Lens' Container (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.Container.Container
instance GHC.Show.Show Amazonka.ImageBuilder.Types.Container.Container
instance GHC.Read.Read Amazonka.ImageBuilder.Types.Container.Container
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.Container.Container
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.Container.Container
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.Container.Container
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.Container.Container
module Amazonka.ImageBuilder.Types.ContainerRepositoryService
newtype ContainerRepositoryService
ContainerRepositoryService' :: Text -> ContainerRepositoryService
[fromContainerRepositoryService] :: ContainerRepositoryService -> Text
pattern ContainerRepositoryService_ECR :: ContainerRepositoryService
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ContainerRepositoryService.ContainerRepositoryService
module Amazonka.ImageBuilder.Types.ContainerType
newtype ContainerType
ContainerType' :: Text -> ContainerType
[fromContainerType] :: ContainerType -> Text
pattern ContainerType_DOCKER :: ContainerType
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ContainerType.ContainerType
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ContainerType.ContainerType
module Amazonka.ImageBuilder.Types.DiskImageFormat
newtype DiskImageFormat
DiskImageFormat' :: Text -> DiskImageFormat
[fromDiskImageFormat] :: DiskImageFormat -> Text
pattern DiskImageFormat_RAW :: DiskImageFormat
pattern DiskImageFormat_VHD :: DiskImageFormat
pattern DiskImageFormat_VMDK :: DiskImageFormat
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance GHC.Read.Read Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
instance GHC.Show.Show Amazonka.ImageBuilder.Types.DiskImageFormat.DiskImageFormat
module Amazonka.ImageBuilder.Types.DistributionConfigurationSummary
-- | A high-level overview of a distribution configuration.
--
-- See: newDistributionConfigurationSummary smart
-- constructor.
data DistributionConfigurationSummary
DistributionConfigurationSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe (HashMap Text Text) -> DistributionConfigurationSummary
-- | The Amazon Resource Name (ARN) of the distribution configuration.
[$sel:arn:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe Text
-- | The date on which the distribution configuration was created.
[$sel:dateCreated:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe Text
-- | The date on which the distribution configuration was updated.
[$sel:dateUpdated:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe Text
-- | The description of the distribution configuration.
[$sel:description:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe Text
-- | The name of the distribution configuration.
[$sel:name:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe Text
-- | A list of Regions where the container image is distributed to.
[$sel:regions:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe [Text]
-- | The tags associated with the distribution configuration.
[$sel:tags:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe (HashMap Text Text)
-- | Create a value of DistributionConfigurationSummary 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:arn:DistributionConfigurationSummary',
-- distributionConfigurationSummary_arn - The Amazon Resource Name
-- (ARN) of the distribution configuration.
--
-- $sel:dateCreated:DistributionConfigurationSummary',
-- distributionConfigurationSummary_dateCreated - The date on
-- which the distribution configuration was created.
--
-- $sel:dateUpdated:DistributionConfigurationSummary',
-- distributionConfigurationSummary_dateUpdated - The date on
-- which the distribution configuration was updated.
--
-- $sel:description:DistributionConfigurationSummary',
-- distributionConfigurationSummary_description - The description
-- of the distribution configuration.
--
-- $sel:name:DistributionConfigurationSummary',
-- distributionConfigurationSummary_name - The name of the
-- distribution configuration.
--
-- $sel:regions:DistributionConfigurationSummary',
-- distributionConfigurationSummary_regions - A list of Regions
-- where the container image is distributed to.
--
-- $sel:tags:DistributionConfigurationSummary',
-- distributionConfigurationSummary_tags - The tags associated
-- with the distribution configuration.
newDistributionConfigurationSummary :: DistributionConfigurationSummary
-- | The Amazon Resource Name (ARN) of the distribution configuration.
distributionConfigurationSummary_arn :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The date on which the distribution configuration was created.
distributionConfigurationSummary_dateCreated :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The date on which the distribution configuration was updated.
distributionConfigurationSummary_dateUpdated :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The description of the distribution configuration.
distributionConfigurationSummary_description :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The name of the distribution configuration.
distributionConfigurationSummary_name :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | A list of Regions where the container image is distributed to.
distributionConfigurationSummary_regions :: Lens' DistributionConfigurationSummary (Maybe [Text])
-- | The tags associated with the distribution configuration.
distributionConfigurationSummary_tags :: Lens' DistributionConfigurationSummary (Maybe (HashMap Text Text))
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.DistributionConfigurationSummary.DistributionConfigurationSummary
instance GHC.Show.Show Amazonka.ImageBuilder.Types.DistributionConfigurationSummary.DistributionConfigurationSummary
instance GHC.Read.Read Amazonka.ImageBuilder.Types.DistributionConfigurationSummary.DistributionConfigurationSummary
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.DistributionConfigurationSummary.DistributionConfigurationSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.DistributionConfigurationSummary.DistributionConfigurationSummary
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.DistributionConfigurationSummary.DistributionConfigurationSummary
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.DistributionConfigurationSummary.DistributionConfigurationSummary
module Amazonka.ImageBuilder.Types.EbsVolumeType
newtype EbsVolumeType
EbsVolumeType' :: Text -> EbsVolumeType
[fromEbsVolumeType] :: EbsVolumeType -> Text
pattern EbsVolumeType_Gp2 :: EbsVolumeType
pattern EbsVolumeType_Gp3 :: EbsVolumeType
pattern EbsVolumeType_Io1 :: EbsVolumeType
pattern EbsVolumeType_Io2 :: EbsVolumeType
pattern EbsVolumeType_Sc1 :: EbsVolumeType
pattern EbsVolumeType_St1 :: EbsVolumeType
pattern EbsVolumeType_Standard :: EbsVolumeType
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance GHC.Read.Read Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
instance GHC.Show.Show Amazonka.ImageBuilder.Types.EbsVolumeType.EbsVolumeType
module Amazonka.ImageBuilder.Types.EbsInstanceBlockDeviceSpecification
-- | Amazon EBS-specific block device mapping specifications.
--
-- See: newEbsInstanceBlockDeviceSpecification smart
-- constructor.
data EbsInstanceBlockDeviceSpecification
EbsInstanceBlockDeviceSpecification' :: Maybe Bool -> Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Natural -> Maybe EbsVolumeType -> EbsInstanceBlockDeviceSpecification
-- | Use to configure delete on termination of the associated device.
[$sel:deleteOnTermination:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Bool
-- | Use to configure device encryption.
[$sel:encrypted:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Bool
-- | Use to configure device IOPS.
[$sel:iops:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Natural
-- | Use to configure the KMS key to use when encrypting the device.
[$sel:kmsKeyId:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Text
-- | The snapshot that defines the device contents.
[$sel:snapshotId:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Text
-- | For GP3 volumes only – The throughput in MiB/s that the volume
-- supports.
[$sel:throughput:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Natural
-- | Use to override the device's volume size.
[$sel:volumeSize:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Natural
-- | Use to override the device's volume type.
[$sel:volumeType:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe EbsVolumeType
-- | Create a value of EbsInstanceBlockDeviceSpecification 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:deleteOnTermination:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_deleteOnTermination - Use
-- to configure delete on termination of the associated device.
--
-- $sel:encrypted:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_encrypted - Use to
-- configure device encryption.
--
-- $sel:iops:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_iops - Use to configure
-- device IOPS.
--
-- $sel:kmsKeyId:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_kmsKeyId - Use to configure
-- the KMS key to use when encrypting the device.
--
-- $sel:snapshotId:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_snapshotId - The snapshot
-- that defines the device contents.
--
-- $sel:throughput:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_throughput - For GP3
-- volumes only – The throughput in MiB/s that the volume supports.
--
-- $sel:volumeSize:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_volumeSize - Use to
-- override the device's volume size.
--
-- $sel:volumeType:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_volumeType - Use to
-- override the device's volume type.
newEbsInstanceBlockDeviceSpecification :: EbsInstanceBlockDeviceSpecification
-- | Use to configure delete on termination of the associated device.
ebsInstanceBlockDeviceSpecification_deleteOnTermination :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Bool)
-- | Use to configure device encryption.
ebsInstanceBlockDeviceSpecification_encrypted :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Bool)
-- | Use to configure device IOPS.
ebsInstanceBlockDeviceSpecification_iops :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Natural)
-- | Use to configure the KMS key to use when encrypting the device.
ebsInstanceBlockDeviceSpecification_kmsKeyId :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Text)
-- | The snapshot that defines the device contents.
ebsInstanceBlockDeviceSpecification_snapshotId :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Text)
-- | For GP3 volumes only – The throughput in MiB/s that the volume
-- supports.
ebsInstanceBlockDeviceSpecification_throughput :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Natural)
-- | Use to override the device's volume size.
ebsInstanceBlockDeviceSpecification_volumeSize :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Natural)
-- | Use to override the device's volume type.
ebsInstanceBlockDeviceSpecification_volumeType :: Lens' EbsInstanceBlockDeviceSpecification (Maybe EbsVolumeType)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.EbsInstanceBlockDeviceSpecification.EbsInstanceBlockDeviceSpecification
instance GHC.Show.Show Amazonka.ImageBuilder.Types.EbsInstanceBlockDeviceSpecification.EbsInstanceBlockDeviceSpecification
instance GHC.Read.Read Amazonka.ImageBuilder.Types.EbsInstanceBlockDeviceSpecification.EbsInstanceBlockDeviceSpecification
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.EbsInstanceBlockDeviceSpecification.EbsInstanceBlockDeviceSpecification
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.EbsInstanceBlockDeviceSpecification.EbsInstanceBlockDeviceSpecification
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.EbsInstanceBlockDeviceSpecification.EbsInstanceBlockDeviceSpecification
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.EbsInstanceBlockDeviceSpecification.EbsInstanceBlockDeviceSpecification
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.EbsInstanceBlockDeviceSpecification.EbsInstanceBlockDeviceSpecification
module Amazonka.ImageBuilder.Types.FastLaunchLaunchTemplateSpecification
-- | Identifies the launch template that the associated Windows AMI uses
-- for launching an instance when faster launching is enabled.
--
-- You can specify either the launchTemplateName or the
-- launchTemplateId, but not both.
--
-- See: newFastLaunchLaunchTemplateSpecification smart
-- constructor.
data FastLaunchLaunchTemplateSpecification
FastLaunchLaunchTemplateSpecification' :: Maybe Text -> Maybe Text -> Maybe Text -> FastLaunchLaunchTemplateSpecification
-- | The ID of the launch template to use for faster launching for a
-- Windows AMI.
[$sel:launchTemplateId:FastLaunchLaunchTemplateSpecification'] :: FastLaunchLaunchTemplateSpecification -> Maybe Text
-- | The name of the launch template to use for faster launching for a
-- Windows AMI.
[$sel:launchTemplateName:FastLaunchLaunchTemplateSpecification'] :: FastLaunchLaunchTemplateSpecification -> Maybe Text
-- | The version of the launch template to use for faster launching for a
-- Windows AMI.
[$sel:launchTemplateVersion:FastLaunchLaunchTemplateSpecification'] :: FastLaunchLaunchTemplateSpecification -> Maybe Text
-- | Create a value of FastLaunchLaunchTemplateSpecification 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:launchTemplateId:FastLaunchLaunchTemplateSpecification',
-- fastLaunchLaunchTemplateSpecification_launchTemplateId - The ID
-- of the launch template to use for faster launching for a Windows AMI.
--
-- $sel:launchTemplateName:FastLaunchLaunchTemplateSpecification',
-- fastLaunchLaunchTemplateSpecification_launchTemplateName - The
-- name of the launch template to use for faster launching for a Windows
-- AMI.
--
--
-- $sel:launchTemplateVersion:FastLaunchLaunchTemplateSpecification',
-- fastLaunchLaunchTemplateSpecification_launchTemplateVersion -
-- The version of the launch template to use for faster launching for a
-- Windows AMI.
newFastLaunchLaunchTemplateSpecification :: FastLaunchLaunchTemplateSpecification
-- | The ID of the launch template to use for faster launching for a
-- Windows AMI.
fastLaunchLaunchTemplateSpecification_launchTemplateId :: Lens' FastLaunchLaunchTemplateSpecification (Maybe Text)
-- | The name of the launch template to use for faster launching for a
-- Windows AMI.
fastLaunchLaunchTemplateSpecification_launchTemplateName :: Lens' FastLaunchLaunchTemplateSpecification (Maybe Text)
-- | The version of the launch template to use for faster launching for a
-- Windows AMI.
fastLaunchLaunchTemplateSpecification_launchTemplateVersion :: Lens' FastLaunchLaunchTemplateSpecification (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.FastLaunchLaunchTemplateSpecification.FastLaunchLaunchTemplateSpecification
instance GHC.Show.Show Amazonka.ImageBuilder.Types.FastLaunchLaunchTemplateSpecification.FastLaunchLaunchTemplateSpecification
instance GHC.Read.Read Amazonka.ImageBuilder.Types.FastLaunchLaunchTemplateSpecification.FastLaunchLaunchTemplateSpecification
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.FastLaunchLaunchTemplateSpecification.FastLaunchLaunchTemplateSpecification
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.FastLaunchLaunchTemplateSpecification.FastLaunchLaunchTemplateSpecification
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.FastLaunchLaunchTemplateSpecification.FastLaunchLaunchTemplateSpecification
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.FastLaunchLaunchTemplateSpecification.FastLaunchLaunchTemplateSpecification
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.FastLaunchLaunchTemplateSpecification.FastLaunchLaunchTemplateSpecification
module Amazonka.ImageBuilder.Types.FastLaunchSnapshotConfiguration
-- | Configuration settings for creating and managing pre-provisioned
-- snapshots for a fast-launch enabled Windows AMI.
--
-- See: newFastLaunchSnapshotConfiguration smart
-- constructor.
data FastLaunchSnapshotConfiguration
FastLaunchSnapshotConfiguration' :: Maybe Natural -> FastLaunchSnapshotConfiguration
-- | The number of pre-provisioned snapshots to keep on hand for a
-- fast-launch enabled Windows AMI.
[$sel:targetResourceCount:FastLaunchSnapshotConfiguration'] :: FastLaunchSnapshotConfiguration -> Maybe Natural
-- | Create a value of FastLaunchSnapshotConfiguration 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:targetResourceCount:FastLaunchSnapshotConfiguration',
-- fastLaunchSnapshotConfiguration_targetResourceCount - The
-- number of pre-provisioned snapshots to keep on hand for a fast-launch
-- enabled Windows AMI.
newFastLaunchSnapshotConfiguration :: FastLaunchSnapshotConfiguration
-- | The number of pre-provisioned snapshots to keep on hand for a
-- fast-launch enabled Windows AMI.
fastLaunchSnapshotConfiguration_targetResourceCount :: Lens' FastLaunchSnapshotConfiguration (Maybe Natural)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.FastLaunchSnapshotConfiguration.FastLaunchSnapshotConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.FastLaunchSnapshotConfiguration.FastLaunchSnapshotConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.FastLaunchSnapshotConfiguration.FastLaunchSnapshotConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.FastLaunchSnapshotConfiguration.FastLaunchSnapshotConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.FastLaunchSnapshotConfiguration.FastLaunchSnapshotConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.FastLaunchSnapshotConfiguration.FastLaunchSnapshotConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.FastLaunchSnapshotConfiguration.FastLaunchSnapshotConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.FastLaunchSnapshotConfiguration.FastLaunchSnapshotConfiguration
module Amazonka.ImageBuilder.Types.FastLaunchConfiguration
-- | Define and configure faster launching for output Windows AMIs.
--
-- See: newFastLaunchConfiguration smart constructor.
data FastLaunchConfiguration
FastLaunchConfiguration' :: Maybe Text -> Maybe FastLaunchLaunchTemplateSpecification -> Maybe Natural -> Maybe FastLaunchSnapshotConfiguration -> Bool -> FastLaunchConfiguration
-- | The owner account ID for the fast-launch enabled Windows AMI.
[$sel:accountId:FastLaunchConfiguration'] :: FastLaunchConfiguration -> Maybe Text
-- | The launch template that the fast-launch enabled Windows AMI uses when
-- it launches Windows instances to create pre-provisioned snapshots.
[$sel:launchTemplate:FastLaunchConfiguration'] :: FastLaunchConfiguration -> Maybe FastLaunchLaunchTemplateSpecification
-- | The maximum number of parallel instances that are launched for
-- creating resources.
[$sel:maxParallelLaunches:FastLaunchConfiguration'] :: FastLaunchConfiguration -> Maybe Natural
-- | Configuration settings for managing the number of snapshots that are
-- created from pre-provisioned instances for the Windows AMI when faster
-- launching is enabled.
[$sel:snapshotConfiguration:FastLaunchConfiguration'] :: FastLaunchConfiguration -> Maybe FastLaunchSnapshotConfiguration
-- | A Boolean that represents the current state of faster launching for
-- the Windows AMI. Set to true to start using Windows faster
-- launching, or false to stop using it.
[$sel:enabled:FastLaunchConfiguration'] :: FastLaunchConfiguration -> Bool
-- | Create a value of FastLaunchConfiguration 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:accountId:FastLaunchConfiguration',
-- fastLaunchConfiguration_accountId - The owner account ID for
-- the fast-launch enabled Windows AMI.
--
-- $sel:launchTemplate:FastLaunchConfiguration',
-- fastLaunchConfiguration_launchTemplate - The launch template
-- that the fast-launch enabled Windows AMI uses when it launches Windows
-- instances to create pre-provisioned snapshots.
--
-- $sel:maxParallelLaunches:FastLaunchConfiguration',
-- fastLaunchConfiguration_maxParallelLaunches - The maximum
-- number of parallel instances that are launched for creating resources.
--
-- $sel:snapshotConfiguration:FastLaunchConfiguration',
-- fastLaunchConfiguration_snapshotConfiguration - Configuration
-- settings for managing the number of snapshots that are created from
-- pre-provisioned instances for the Windows AMI when faster launching is
-- enabled.
--
-- $sel:enabled:FastLaunchConfiguration',
-- fastLaunchConfiguration_enabled - A Boolean that represents the
-- current state of faster launching for the Windows AMI. Set to
-- true to start using Windows faster launching, or
-- false to stop using it.
newFastLaunchConfiguration :: Bool -> FastLaunchConfiguration
-- | The owner account ID for the fast-launch enabled Windows AMI.
fastLaunchConfiguration_accountId :: Lens' FastLaunchConfiguration (Maybe Text)
-- | The launch template that the fast-launch enabled Windows AMI uses when
-- it launches Windows instances to create pre-provisioned snapshots.
fastLaunchConfiguration_launchTemplate :: Lens' FastLaunchConfiguration (Maybe FastLaunchLaunchTemplateSpecification)
-- | The maximum number of parallel instances that are launched for
-- creating resources.
fastLaunchConfiguration_maxParallelLaunches :: Lens' FastLaunchConfiguration (Maybe Natural)
-- | Configuration settings for managing the number of snapshots that are
-- created from pre-provisioned instances for the Windows AMI when faster
-- launching is enabled.
fastLaunchConfiguration_snapshotConfiguration :: Lens' FastLaunchConfiguration (Maybe FastLaunchSnapshotConfiguration)
-- | A Boolean that represents the current state of faster launching for
-- the Windows AMI. Set to true to start using Windows faster
-- launching, or false to stop using it.
fastLaunchConfiguration_enabled :: Lens' FastLaunchConfiguration Bool
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.FastLaunchConfiguration.FastLaunchConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.FastLaunchConfiguration.FastLaunchConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.FastLaunchConfiguration.FastLaunchConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.FastLaunchConfiguration.FastLaunchConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.FastLaunchConfiguration.FastLaunchConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.FastLaunchConfiguration.FastLaunchConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.FastLaunchConfiguration.FastLaunchConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.FastLaunchConfiguration.FastLaunchConfiguration
module Amazonka.ImageBuilder.Types.Filter
-- | A filter name and value pair that is used to return a more specific
-- list of results from a list operation. Filters can be used to match a
-- set of resources by specific criteria, such as tags, attributes, or
-- IDs.
--
-- See: newFilter smart constructor.
data Filter
Filter' :: Maybe Text -> Maybe (NonEmpty Text) -> Filter
-- | The name of the filter. Filter names are case-sensitive.
[$sel:name:Filter'] :: Filter -> Maybe Text
-- | The filter values. Filter values are case-sensitive.
[$sel:values:Filter'] :: Filter -> Maybe (NonEmpty Text)
-- | Create a value of Filter 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:name:Filter', filter_name - The name of the filter.
-- Filter names are case-sensitive.
--
-- $sel:values:Filter', filter_values - The filter values.
-- Filter values are case-sensitive.
newFilter :: Filter
-- | The name of the filter. Filter names are case-sensitive.
filter_name :: Lens' Filter (Maybe Text)
-- | The filter values. Filter values are case-sensitive.
filter_values :: Lens' Filter (Maybe (NonEmpty Text))
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.Filter.Filter
instance GHC.Show.Show Amazonka.ImageBuilder.Types.Filter.Filter
instance GHC.Read.Read Amazonka.ImageBuilder.Types.Filter.Filter
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.Filter.Filter
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.Filter.Filter
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.Filter.Filter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.Filter.Filter
module Amazonka.ImageBuilder.Types.ImagePackage
-- | Represents a package installed on an Image Builder image.
--
-- See: newImagePackage smart constructor.
data ImagePackage
ImagePackage' :: Maybe Text -> Maybe Text -> ImagePackage
-- | The name of the package as reported to the operating system package
-- manager.
[$sel:packageName:ImagePackage'] :: ImagePackage -> Maybe Text
-- | The version of the package as reported to the operating system package
-- manager.
[$sel:packageVersion:ImagePackage'] :: ImagePackage -> Maybe Text
-- | Create a value of ImagePackage 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:packageName:ImagePackage', imagePackage_packageName
-- - The name of the package as reported to the operating system package
-- manager.
--
-- $sel:packageVersion:ImagePackage',
-- imagePackage_packageVersion - The version of the package as
-- reported to the operating system package manager.
newImagePackage :: ImagePackage
-- | The name of the package as reported to the operating system package
-- manager.
imagePackage_packageName :: Lens' ImagePackage (Maybe Text)
-- | The version of the package as reported to the operating system package
-- manager.
imagePackage_packageVersion :: Lens' ImagePackage (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ImagePackage.ImagePackage
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ImagePackage.ImagePackage
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ImagePackage.ImagePackage
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ImagePackage.ImagePackage
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ImagePackage.ImagePackage
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ImagePackage.ImagePackage
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ImagePackage.ImagePackage
module Amazonka.ImageBuilder.Types.ImageStatus
newtype ImageStatus
ImageStatus' :: Text -> ImageStatus
[fromImageStatus] :: ImageStatus -> Text
pattern ImageStatus_AVAILABLE :: ImageStatus
pattern ImageStatus_BUILDING :: ImageStatus
pattern ImageStatus_CANCELLED :: ImageStatus
pattern ImageStatus_CREATING :: ImageStatus
pattern ImageStatus_DELETED :: ImageStatus
pattern ImageStatus_DEPRECATED :: ImageStatus
pattern ImageStatus_DISTRIBUTING :: ImageStatus
pattern ImageStatus_FAILED :: ImageStatus
pattern ImageStatus_INTEGRATING :: ImageStatus
pattern ImageStatus_PENDING :: ImageStatus
pattern ImageStatus_TESTING :: ImageStatus
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ImageStatus.ImageStatus
module Amazonka.ImageBuilder.Types.ImageState
-- | Image state shows the image status and the reason for that status.
--
-- See: newImageState smart constructor.
data ImageState
ImageState' :: Maybe Text -> Maybe ImageStatus -> ImageState
-- | The reason for the image's status.
[$sel:reason:ImageState'] :: ImageState -> Maybe Text
-- | The status of the image.
[$sel:status:ImageState'] :: ImageState -> Maybe ImageStatus
-- | Create a value of ImageState 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:reason:ImageState', imageState_reason - The reason
-- for the image's status.
--
-- $sel:status:ImageState', imageState_status - The status
-- of the image.
newImageState :: ImageState
-- | The reason for the image's status.
imageState_reason :: Lens' ImageState (Maybe Text)
-- | The status of the image.
imageState_status :: Lens' ImageState (Maybe ImageStatus)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ImageState.ImageState
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ImageState.ImageState
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ImageState.ImageState
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ImageState.ImageState
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ImageState.ImageState
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ImageState.ImageState
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ImageState.ImageState
module Amazonka.ImageBuilder.Types.Ami
-- | Details of an Amazon EC2 AMI.
--
-- See: newAmi smart constructor.
data Ami
Ami' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageState -> Ami
-- | The account ID of the owner of the AMI.
[$sel:accountId:Ami'] :: Ami -> Maybe Text
-- | The description of the Amazon EC2 AMI. Minimum and maximum length are
-- in characters.
[$sel:description:Ami'] :: Ami -> Maybe Text
-- | The AMI ID of the Amazon EC2 AMI.
[$sel:image:Ami'] :: Ami -> Maybe Text
-- | The name of the Amazon EC2 AMI.
[$sel:name:Ami'] :: Ami -> Maybe Text
-- | The Amazon Web Services Region of the Amazon EC2 AMI.
[$sel:region:Ami'] :: Ami -> Maybe Text
[$sel:state:Ami'] :: Ami -> Maybe ImageState
-- | Create a value of Ami 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:accountId:Ami', ami_accountId - The account ID of
-- the owner of the AMI.
--
-- $sel:description:Ami', ami_description - The description
-- of the Amazon EC2 AMI. Minimum and maximum length are in characters.
--
-- $sel:image:Ami', ami_image - The AMI ID of the Amazon
-- EC2 AMI.
--
-- $sel:name:Ami', ami_name - The name of the Amazon EC2
-- AMI.
--
-- $sel:region:Ami', ami_region - The Amazon Web Services
-- Region of the Amazon EC2 AMI.
--
-- $sel:state:Ami', ami_state - Undocumented member.
newAmi :: Ami
-- | The account ID of the owner of the AMI.
ami_accountId :: Lens' Ami (Maybe Text)
-- | The description of the Amazon EC2 AMI. Minimum and maximum length are
-- in characters.
ami_description :: Lens' Ami (Maybe Text)
-- | The AMI ID of the Amazon EC2 AMI.
ami_image :: Lens' Ami (Maybe Text)
-- | The name of the Amazon EC2 AMI.
ami_name :: Lens' Ami (Maybe Text)
-- | The Amazon Web Services Region of the Amazon EC2 AMI.
ami_region :: Lens' Ami (Maybe Text)
-- | Undocumented member.
ami_state :: Lens' Ami (Maybe ImageState)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.Ami.Ami
instance GHC.Show.Show Amazonka.ImageBuilder.Types.Ami.Ami
instance GHC.Read.Read Amazonka.ImageBuilder.Types.Ami.Ami
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.Ami.Ami
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.Ami.Ami
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.Ami.Ami
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.Ami.Ami
module Amazonka.ImageBuilder.Types.ImageTestsConfiguration
-- | Configure image tests for your pipeline build. Tests run after
-- building the image, to verify that the AMI or container image is valid
-- before distributing it.
--
-- See: newImageTestsConfiguration smart constructor.
data ImageTestsConfiguration
ImageTestsConfiguration' :: Maybe Bool -> Maybe Natural -> ImageTestsConfiguration
-- | Determines if tests should run after building the image. Image Builder
-- defaults to enable tests to run following the image build, before
-- image distribution.
[$sel:imageTestsEnabled:ImageTestsConfiguration'] :: ImageTestsConfiguration -> Maybe Bool
-- | The maximum time in minutes that tests are permitted to run.
[$sel:timeoutMinutes:ImageTestsConfiguration'] :: ImageTestsConfiguration -> Maybe Natural
-- | Create a value of ImageTestsConfiguration 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:imageTestsEnabled:ImageTestsConfiguration',
-- imageTestsConfiguration_imageTestsEnabled - Determines if tests
-- should run after building the image. Image Builder defaults to enable
-- tests to run following the image build, before image distribution.
--
-- $sel:timeoutMinutes:ImageTestsConfiguration',
-- imageTestsConfiguration_timeoutMinutes - The maximum time in
-- minutes that tests are permitted to run.
newImageTestsConfiguration :: ImageTestsConfiguration
-- | Determines if tests should run after building the image. Image Builder
-- defaults to enable tests to run following the image build, before
-- image distribution.
imageTestsConfiguration_imageTestsEnabled :: Lens' ImageTestsConfiguration (Maybe Bool)
-- | The maximum time in minutes that tests are permitted to run.
imageTestsConfiguration_timeoutMinutes :: Lens' ImageTestsConfiguration (Maybe Natural)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ImageTestsConfiguration.ImageTestsConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ImageTestsConfiguration.ImageTestsConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ImageTestsConfiguration.ImageTestsConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ImageTestsConfiguration.ImageTestsConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ImageTestsConfiguration.ImageTestsConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ImageTestsConfiguration.ImageTestsConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ImageTestsConfiguration.ImageTestsConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.ImageTestsConfiguration.ImageTestsConfiguration
module Amazonka.ImageBuilder.Types.ImageType
newtype ImageType
ImageType' :: Text -> ImageType
[fromImageType] :: ImageType -> Text
pattern ImageType_AMI :: ImageType
pattern ImageType_DOCKER :: ImageType
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ImageType.ImageType
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ImageType.ImageType
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ImageType.ImageType
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.ImageType.ImageType
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ImageType.ImageType
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ImageType.ImageType
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ImageType.ImageType
module Amazonka.ImageBuilder.Types.InfrastructureConfigurationSummary
-- | The infrastructure used when building Amazon EC2 AMIs.
--
-- See: newInfrastructureConfigurationSummary smart
-- constructor.
data InfrastructureConfigurationSummary
InfrastructureConfigurationSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> InfrastructureConfigurationSummary
-- | The Amazon Resource Name (ARN) of the infrastructure configuration.
[$sel:arn:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The date on which the infrastructure configuration was created.
[$sel:dateCreated:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The date on which the infrastructure configuration was last updated.
[$sel:dateUpdated:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The description of the infrastructure configuration.
[$sel:description:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The instance profile of the infrastructure configuration.
[$sel:instanceProfileName:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The instance types of the infrastructure configuration.
[$sel:instanceTypes:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe [Text]
-- | The name of the infrastructure configuration.
[$sel:name:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The tags attached to the image created by Image Builder.
[$sel:resourceTags:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe (HashMap Text Text)
-- | The tags of the infrastructure configuration.
[$sel:tags:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe (HashMap Text Text)
-- | Create a value of InfrastructureConfigurationSummary 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:arn:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_arn - The Amazon Resource
-- Name (ARN) of the infrastructure configuration.
--
-- $sel:dateCreated:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_dateCreated - The date on
-- which the infrastructure configuration was created.
--
-- $sel:dateUpdated:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_dateUpdated - The date on
-- which the infrastructure configuration was last updated.
--
-- $sel:description:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_description - The
-- description of the infrastructure configuration.
--
-- $sel:instanceProfileName:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_instanceProfileName - The
-- instance profile of the infrastructure configuration.
--
-- $sel:instanceTypes:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_instanceTypes - The instance
-- types of the infrastructure configuration.
--
-- $sel:name:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_name - The name of the
-- infrastructure configuration.
--
-- $sel:resourceTags:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_resourceTags - The tags
-- attached to the image created by Image Builder.
--
-- $sel:tags:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_tags - The tags of the
-- infrastructure configuration.
newInfrastructureConfigurationSummary :: InfrastructureConfigurationSummary
-- | The Amazon Resource Name (ARN) of the infrastructure configuration.
infrastructureConfigurationSummary_arn :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The date on which the infrastructure configuration was created.
infrastructureConfigurationSummary_dateCreated :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The date on which the infrastructure configuration was last updated.
infrastructureConfigurationSummary_dateUpdated :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The description of the infrastructure configuration.
infrastructureConfigurationSummary_description :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The instance profile of the infrastructure configuration.
infrastructureConfigurationSummary_instanceProfileName :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The instance types of the infrastructure configuration.
infrastructureConfigurationSummary_instanceTypes :: Lens' InfrastructureConfigurationSummary (Maybe [Text])
-- | The name of the infrastructure configuration.
infrastructureConfigurationSummary_name :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The tags attached to the image created by Image Builder.
infrastructureConfigurationSummary_resourceTags :: Lens' InfrastructureConfigurationSummary (Maybe (HashMap Text Text))
-- | The tags of the infrastructure configuration.
infrastructureConfigurationSummary_tags :: Lens' InfrastructureConfigurationSummary (Maybe (HashMap Text Text))
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.InfrastructureConfigurationSummary.InfrastructureConfigurationSummary
instance GHC.Show.Show Amazonka.ImageBuilder.Types.InfrastructureConfigurationSummary.InfrastructureConfigurationSummary
instance GHC.Read.Read Amazonka.ImageBuilder.Types.InfrastructureConfigurationSummary.InfrastructureConfigurationSummary
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.InfrastructureConfigurationSummary.InfrastructureConfigurationSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.InfrastructureConfigurationSummary.InfrastructureConfigurationSummary
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.InfrastructureConfigurationSummary.InfrastructureConfigurationSummary
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.InfrastructureConfigurationSummary.InfrastructureConfigurationSummary
module Amazonka.ImageBuilder.Types.InstanceBlockDeviceMapping
-- | Defines block device mappings for the instance used to configure your
-- image.
--
-- See: newInstanceBlockDeviceMapping smart constructor.
data InstanceBlockDeviceMapping
InstanceBlockDeviceMapping' :: Maybe Text -> Maybe EbsInstanceBlockDeviceSpecification -> Maybe Text -> Maybe Text -> InstanceBlockDeviceMapping
-- | The device to which these mappings apply.
[$sel:deviceName:InstanceBlockDeviceMapping'] :: InstanceBlockDeviceMapping -> Maybe Text
-- | Use to manage Amazon EBS-specific configuration for this mapping.
[$sel:ebs:InstanceBlockDeviceMapping'] :: InstanceBlockDeviceMapping -> Maybe EbsInstanceBlockDeviceSpecification
-- | Use to remove a mapping from the base image.
[$sel:noDevice:InstanceBlockDeviceMapping'] :: InstanceBlockDeviceMapping -> Maybe Text
-- | Use to manage instance ephemeral devices.
[$sel:virtualName:InstanceBlockDeviceMapping'] :: InstanceBlockDeviceMapping -> Maybe Text
-- | Create a value of InstanceBlockDeviceMapping 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:deviceName:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_deviceName - The device to which
-- these mappings apply.
--
-- $sel:ebs:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_ebs - Use to manage Amazon
-- EBS-specific configuration for this mapping.
--
-- $sel:noDevice:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_noDevice - Use to remove a mapping
-- from the base image.
--
-- $sel:virtualName:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_virtualName - Use to manage instance
-- ephemeral devices.
newInstanceBlockDeviceMapping :: InstanceBlockDeviceMapping
-- | The device to which these mappings apply.
instanceBlockDeviceMapping_deviceName :: Lens' InstanceBlockDeviceMapping (Maybe Text)
-- | Use to manage Amazon EBS-specific configuration for this mapping.
instanceBlockDeviceMapping_ebs :: Lens' InstanceBlockDeviceMapping (Maybe EbsInstanceBlockDeviceSpecification)
-- | Use to remove a mapping from the base image.
instanceBlockDeviceMapping_noDevice :: Lens' InstanceBlockDeviceMapping (Maybe Text)
-- | Use to manage instance ephemeral devices.
instanceBlockDeviceMapping_virtualName :: Lens' InstanceBlockDeviceMapping (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.InstanceBlockDeviceMapping.InstanceBlockDeviceMapping
instance GHC.Show.Show Amazonka.ImageBuilder.Types.InstanceBlockDeviceMapping.InstanceBlockDeviceMapping
instance GHC.Read.Read Amazonka.ImageBuilder.Types.InstanceBlockDeviceMapping.InstanceBlockDeviceMapping
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.InstanceBlockDeviceMapping.InstanceBlockDeviceMapping
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.InstanceBlockDeviceMapping.InstanceBlockDeviceMapping
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.InstanceBlockDeviceMapping.InstanceBlockDeviceMapping
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.InstanceBlockDeviceMapping.InstanceBlockDeviceMapping
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.InstanceBlockDeviceMapping.InstanceBlockDeviceMapping
module Amazonka.ImageBuilder.Types.InstanceConfiguration
-- | Defines a custom base AMI and block device mapping configurations of
-- an instance used for building and testing container images.
--
-- See: newInstanceConfiguration smart constructor.
data InstanceConfiguration
InstanceConfiguration' :: Maybe [InstanceBlockDeviceMapping] -> Maybe Text -> InstanceConfiguration
-- | Defines the block devices to attach for building an instance from this
-- Image Builder AMI.
[$sel:blockDeviceMappings:InstanceConfiguration'] :: InstanceConfiguration -> Maybe [InstanceBlockDeviceMapping]
-- | The AMI ID to use as the base image for a container build and test
-- instance. If not specified, Image Builder will use the appropriate
-- ECS-optimized AMI as a base image.
[$sel:image:InstanceConfiguration'] :: InstanceConfiguration -> Maybe Text
-- | Create a value of InstanceConfiguration 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:blockDeviceMappings:InstanceConfiguration',
-- instanceConfiguration_blockDeviceMappings - Defines the block
-- devices to attach for building an instance from this Image Builder
-- AMI.
--
-- $sel:image:InstanceConfiguration',
-- instanceConfiguration_image - The AMI ID to use as the base
-- image for a container build and test instance. If not specified, Image
-- Builder will use the appropriate ECS-optimized AMI as a base image.
newInstanceConfiguration :: InstanceConfiguration
-- | Defines the block devices to attach for building an instance from this
-- Image Builder AMI.
instanceConfiguration_blockDeviceMappings :: Lens' InstanceConfiguration (Maybe [InstanceBlockDeviceMapping])
-- | The AMI ID to use as the base image for a container build and test
-- instance. If not specified, Image Builder will use the appropriate
-- ECS-optimized AMI as a base image.
instanceConfiguration_image :: Lens' InstanceConfiguration (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.InstanceConfiguration.InstanceConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.InstanceConfiguration.InstanceConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.InstanceConfiguration.InstanceConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.InstanceConfiguration.InstanceConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.InstanceConfiguration.InstanceConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.InstanceConfiguration.InstanceConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.InstanceConfiguration.InstanceConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.InstanceConfiguration.InstanceConfiguration
module Amazonka.ImageBuilder.Types.InstanceMetadataOptions
-- | The instance metadata options that apply to the HTTP requests that
-- pipeline builds use to launch EC2 build and test instances. For more
-- information about instance metadata options, see Configure the
-- instance metadata options in the /Amazon EC2 User Guide/
-- for Linux instances, or Configure the instance metadata options
-- in the /Amazon EC2 Windows Guide/ for Windows instances.
--
-- See: newInstanceMetadataOptions smart constructor.
data InstanceMetadataOptions
InstanceMetadataOptions' :: Maybe Natural -> Maybe Text -> InstanceMetadataOptions
-- | Limit the number of hops that an instance metadata request can
-- traverse to reach its destination.
[$sel:httpPutResponseHopLimit:InstanceMetadataOptions'] :: InstanceMetadataOptions -> Maybe Natural
-- | Indicates whether a signed token header is required for instance
-- metadata retrieval requests. The values affect the response as
-- follows:
--
--
-- - required – When you retrieve the IAM role credentials,
-- version 2.0 credentials are returned in all cases.
-- - optional – You can include a signed token header in your
-- request to retrieve instance metadata, or you can leave it out. If you
-- include it, version 2.0 credentials are returned for the IAM role.
-- Otherwise, version 1.0 credentials are returned.
--
--
-- The default setting is optional.
[$sel:httpTokens:InstanceMetadataOptions'] :: InstanceMetadataOptions -> Maybe Text
-- | Create a value of InstanceMetadataOptions 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:httpPutResponseHopLimit:InstanceMetadataOptions',
-- instanceMetadataOptions_httpPutResponseHopLimit - Limit the
-- number of hops that an instance metadata request can traverse to reach
-- its destination.
--
-- $sel:httpTokens:InstanceMetadataOptions',
-- instanceMetadataOptions_httpTokens - Indicates whether a signed
-- token header is required for instance metadata retrieval requests. The
-- values affect the response as follows:
--
--
-- - required – When you retrieve the IAM role credentials,
-- version 2.0 credentials are returned in all cases.
-- - optional – You can include a signed token header in your
-- request to retrieve instance metadata, or you can leave it out. If you
-- include it, version 2.0 credentials are returned for the IAM role.
-- Otherwise, version 1.0 credentials are returned.
--
--
-- The default setting is optional.
newInstanceMetadataOptions :: InstanceMetadataOptions
-- | Limit the number of hops that an instance metadata request can
-- traverse to reach its destination.
instanceMetadataOptions_httpPutResponseHopLimit :: Lens' InstanceMetadataOptions (Maybe Natural)
-- | Indicates whether a signed token header is required for instance
-- metadata retrieval requests. The values affect the response as
-- follows:
--
--
-- - required – When you retrieve the IAM role credentials,
-- version 2.0 credentials are returned in all cases.
-- - optional – You can include a signed token header in your
-- request to retrieve instance metadata, or you can leave it out. If you
-- include it, version 2.0 credentials are returned for the IAM role.
-- Otherwise, version 1.0 credentials are returned.
--
--
-- The default setting is optional.
instanceMetadataOptions_httpTokens :: Lens' InstanceMetadataOptions (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.InstanceMetadataOptions.InstanceMetadataOptions
instance GHC.Show.Show Amazonka.ImageBuilder.Types.InstanceMetadataOptions.InstanceMetadataOptions
instance GHC.Read.Read Amazonka.ImageBuilder.Types.InstanceMetadataOptions.InstanceMetadataOptions
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.InstanceMetadataOptions.InstanceMetadataOptions
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.InstanceMetadataOptions.InstanceMetadataOptions
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.InstanceMetadataOptions.InstanceMetadataOptions
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.InstanceMetadataOptions.InstanceMetadataOptions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.InstanceMetadataOptions.InstanceMetadataOptions
module Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration
-- | Describes the configuration for a launch permission. The launch
-- permission modification request is sent to the Amazon EC2
-- ModifyImageAttribute API on behalf of the user for each Region
-- they have selected to distribute the AMI. To make an AMI public, set
-- the launch permission authorized accounts to all. See the
-- examples for making an AMI public at Amazon EC2
-- ModifyImageAttribute.
--
-- See: newLaunchPermissionConfiguration smart constructor.
data LaunchPermissionConfiguration
LaunchPermissionConfiguration' :: Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe [Text] -> Maybe (NonEmpty Text) -> LaunchPermissionConfiguration
-- | The ARN for an Amazon Web Services Organization that you want to share
-- your AMI with. For more information, see What is
-- Organizations?.
[$sel:organizationArns:LaunchPermissionConfiguration'] :: LaunchPermissionConfiguration -> Maybe (NonEmpty Text)
-- | The ARN for an Organizations organizational unit (OU) that you want to
-- share your AMI with. For more information about key concepts for
-- Organizations, see Organizations terminology and concepts.
[$sel:organizationalUnitArns:LaunchPermissionConfiguration'] :: LaunchPermissionConfiguration -> Maybe (NonEmpty Text)
-- | The name of the group.
[$sel:userGroups:LaunchPermissionConfiguration'] :: LaunchPermissionConfiguration -> Maybe [Text]
-- | The Amazon Web Services account ID.
[$sel:userIds:LaunchPermissionConfiguration'] :: LaunchPermissionConfiguration -> Maybe (NonEmpty Text)
-- | Create a value of LaunchPermissionConfiguration 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:organizationArns:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_organizationArns - The ARN for an
-- Amazon Web Services Organization that you want to share your AMI with.
-- For more information, see What is Organizations?.
--
-- $sel:organizationalUnitArns:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_organizationalUnitArns - The ARN
-- for an Organizations organizational unit (OU) that you want to share
-- your AMI with. For more information about key concepts for
-- Organizations, see Organizations terminology and concepts.
--
-- $sel:userGroups:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_userGroups - The name of the
-- group.
--
-- $sel:userIds:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_userIds - The Amazon Web Services
-- account ID.
newLaunchPermissionConfiguration :: LaunchPermissionConfiguration
-- | The ARN for an Amazon Web Services Organization that you want to share
-- your AMI with. For more information, see What is
-- Organizations?.
launchPermissionConfiguration_organizationArns :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text))
-- | The ARN for an Organizations organizational unit (OU) that you want to
-- share your AMI with. For more information about key concepts for
-- Organizations, see Organizations terminology and concepts.
launchPermissionConfiguration_organizationalUnitArns :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text))
-- | The name of the group.
launchPermissionConfiguration_userGroups :: Lens' LaunchPermissionConfiguration (Maybe [Text])
-- | The Amazon Web Services account ID.
launchPermissionConfiguration_userIds :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text))
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration.LaunchPermissionConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration.LaunchPermissionConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration.LaunchPermissionConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration.LaunchPermissionConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration.LaunchPermissionConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration.LaunchPermissionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration.LaunchPermissionConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration.LaunchPermissionConfiguration
module Amazonka.ImageBuilder.Types.AmiDistributionConfiguration
-- | Define and configure the output AMIs of the pipeline.
--
-- See: newAmiDistributionConfiguration smart constructor.
data AmiDistributionConfiguration
AmiDistributionConfiguration' :: Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> Maybe LaunchPermissionConfiguration -> Maybe Text -> Maybe (NonEmpty Text) -> AmiDistributionConfiguration
-- | The tags to apply to AMIs distributed to this Region.
[$sel:amiTags:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe (HashMap Text Text)
-- | The description of the AMI distribution configuration. Minimum and
-- maximum length are in characters.
[$sel:description:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe Text
-- | The KMS key identifier used to encrypt the distributed image.
[$sel:kmsKeyId:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe Text
-- | Launch permissions can be used to configure which Amazon Web Services
-- accounts can use the AMI to launch instances.
[$sel:launchPermission:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe LaunchPermissionConfiguration
-- | The name of the output AMI.
[$sel:name:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe Text
-- | The ID of an account to which you want to distribute an image.
[$sel:targetAccountIds:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe (NonEmpty Text)
-- | Create a value of AmiDistributionConfiguration 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:amiTags:AmiDistributionConfiguration',
-- amiDistributionConfiguration_amiTags - The tags to apply to
-- AMIs distributed to this Region.
--
-- $sel:description:AmiDistributionConfiguration',
-- amiDistributionConfiguration_description - The description of
-- the AMI distribution configuration. Minimum and maximum length are in
-- characters.
--
-- $sel:kmsKeyId:AmiDistributionConfiguration',
-- amiDistributionConfiguration_kmsKeyId - The KMS key identifier
-- used to encrypt the distributed image.
--
-- $sel:launchPermission:AmiDistributionConfiguration',
-- amiDistributionConfiguration_launchPermission - Launch
-- permissions can be used to configure which Amazon Web Services
-- accounts can use the AMI to launch instances.
--
-- $sel:name:AmiDistributionConfiguration',
-- amiDistributionConfiguration_name - The name of the output AMI.
--
-- $sel:targetAccountIds:AmiDistributionConfiguration',
-- amiDistributionConfiguration_targetAccountIds - The ID of an
-- account to which you want to distribute an image.
newAmiDistributionConfiguration :: AmiDistributionConfiguration
-- | The tags to apply to AMIs distributed to this Region.
amiDistributionConfiguration_amiTags :: Lens' AmiDistributionConfiguration (Maybe (HashMap Text Text))
-- | The description of the AMI distribution configuration. Minimum and
-- maximum length are in characters.
amiDistributionConfiguration_description :: Lens' AmiDistributionConfiguration (Maybe Text)
-- | The KMS key identifier used to encrypt the distributed image.
amiDistributionConfiguration_kmsKeyId :: Lens' AmiDistributionConfiguration (Maybe Text)
-- | Launch permissions can be used to configure which Amazon Web Services
-- accounts can use the AMI to launch instances.
amiDistributionConfiguration_launchPermission :: Lens' AmiDistributionConfiguration (Maybe LaunchPermissionConfiguration)
-- | The name of the output AMI.
amiDistributionConfiguration_name :: Lens' AmiDistributionConfiguration (Maybe Text)
-- | The ID of an account to which you want to distribute an image.
amiDistributionConfiguration_targetAccountIds :: Lens' AmiDistributionConfiguration (Maybe (NonEmpty Text))
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.AmiDistributionConfiguration.AmiDistributionConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.AmiDistributionConfiguration.AmiDistributionConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.AmiDistributionConfiguration.AmiDistributionConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.AmiDistributionConfiguration.AmiDistributionConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.AmiDistributionConfiguration.AmiDistributionConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.AmiDistributionConfiguration.AmiDistributionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.AmiDistributionConfiguration.AmiDistributionConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.AmiDistributionConfiguration.AmiDistributionConfiguration
module Amazonka.ImageBuilder.Types.LaunchTemplateConfiguration
-- | Identifies an Amazon EC2 launch template to use for a specific
-- account.
--
-- See: newLaunchTemplateConfiguration smart constructor.
data LaunchTemplateConfiguration
LaunchTemplateConfiguration' :: Maybe Text -> Maybe Bool -> Text -> LaunchTemplateConfiguration
-- | The account ID that this configuration applies to.
[$sel:accountId:LaunchTemplateConfiguration'] :: LaunchTemplateConfiguration -> Maybe Text
-- | Set the specified Amazon EC2 launch template as the default launch
-- template for the specified account.
[$sel:setDefaultVersion:LaunchTemplateConfiguration'] :: LaunchTemplateConfiguration -> Maybe Bool
-- | Identifies the Amazon EC2 launch template to use.
[$sel:launchTemplateId:LaunchTemplateConfiguration'] :: LaunchTemplateConfiguration -> Text
-- | Create a value of LaunchTemplateConfiguration 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:accountId:LaunchTemplateConfiguration',
-- launchTemplateConfiguration_accountId - The account ID that
-- this configuration applies to.
--
-- $sel:setDefaultVersion:LaunchTemplateConfiguration',
-- launchTemplateConfiguration_setDefaultVersion - Set the
-- specified Amazon EC2 launch template as the default launch template
-- for the specified account.
--
-- $sel:launchTemplateId:LaunchTemplateConfiguration',
-- launchTemplateConfiguration_launchTemplateId - Identifies the
-- Amazon EC2 launch template to use.
newLaunchTemplateConfiguration :: Text -> LaunchTemplateConfiguration
-- | The account ID that this configuration applies to.
launchTemplateConfiguration_accountId :: Lens' LaunchTemplateConfiguration (Maybe Text)
-- | Set the specified Amazon EC2 launch template as the default launch
-- template for the specified account.
launchTemplateConfiguration_setDefaultVersion :: Lens' LaunchTemplateConfiguration (Maybe Bool)
-- | Identifies the Amazon EC2 launch template to use.
launchTemplateConfiguration_launchTemplateId :: Lens' LaunchTemplateConfiguration Text
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.LaunchTemplateConfiguration.LaunchTemplateConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.LaunchTemplateConfiguration.LaunchTemplateConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.LaunchTemplateConfiguration.LaunchTemplateConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.LaunchTemplateConfiguration.LaunchTemplateConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.LaunchTemplateConfiguration.LaunchTemplateConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.LaunchTemplateConfiguration.LaunchTemplateConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.LaunchTemplateConfiguration.LaunchTemplateConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.LaunchTemplateConfiguration.LaunchTemplateConfiguration
module Amazonka.ImageBuilder.Types.OutputResources
-- | The resources produced by this image.
--
-- See: newOutputResources smart constructor.
data OutputResources
OutputResources' :: Maybe [Ami] -> Maybe [Container] -> OutputResources
-- | The Amazon EC2 AMIs created by this image.
[$sel:amis:OutputResources'] :: OutputResources -> Maybe [Ami]
-- | Container images that the pipeline has generated and stored in the
-- output repository.
[$sel:containers:OutputResources'] :: OutputResources -> Maybe [Container]
-- | Create a value of OutputResources 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:amis:OutputResources', outputResources_amis - The
-- Amazon EC2 AMIs created by this image.
--
-- $sel:containers:OutputResources',
-- outputResources_containers - Container images that the pipeline
-- has generated and stored in the output repository.
newOutputResources :: OutputResources
-- | The Amazon EC2 AMIs created by this image.
outputResources_amis :: Lens' OutputResources (Maybe [Ami])
-- | Container images that the pipeline has generated and stored in the
-- output repository.
outputResources_containers :: Lens' OutputResources (Maybe [Container])
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.OutputResources.OutputResources
instance GHC.Show.Show Amazonka.ImageBuilder.Types.OutputResources.OutputResources
instance GHC.Read.Read Amazonka.ImageBuilder.Types.OutputResources.OutputResources
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.OutputResources.OutputResources
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.OutputResources.OutputResources
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.OutputResources.OutputResources
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.OutputResources.OutputResources
module Amazonka.ImageBuilder.Types.Ownership
newtype Ownership
Ownership' :: Text -> Ownership
[fromOwnership] :: Ownership -> Text
pattern Ownership_Amazon :: Ownership
pattern Ownership_Self :: Ownership
pattern Ownership_Shared :: Ownership
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.Ownership.Ownership
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.Ownership.Ownership
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.Ownership.Ownership
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.Ownership.Ownership
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.Ownership.Ownership
instance GHC.Read.Read Amazonka.ImageBuilder.Types.Ownership.Ownership
instance GHC.Show.Show Amazonka.ImageBuilder.Types.Ownership.Ownership
module Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition
newtype PipelineExecutionStartCondition
PipelineExecutionStartCondition' :: Text -> PipelineExecutionStartCondition
[fromPipelineExecutionStartCondition] :: PipelineExecutionStartCondition -> Text
pattern PipelineExecutionStartCondition_EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE :: PipelineExecutionStartCondition
pattern PipelineExecutionStartCondition_EXPRESSION_MATCH_ONLY :: PipelineExecutionStartCondition
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance GHC.Read.Read Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
instance GHC.Show.Show Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition.PipelineExecutionStartCondition
module Amazonka.ImageBuilder.Types.PipelineStatus
newtype PipelineStatus
PipelineStatus' :: Text -> PipelineStatus
[fromPipelineStatus] :: PipelineStatus -> Text
pattern PipelineStatus_DISABLED :: PipelineStatus
pattern PipelineStatus_ENABLED :: PipelineStatus
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance GHC.Read.Read Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
instance GHC.Show.Show Amazonka.ImageBuilder.Types.PipelineStatus.PipelineStatus
module Amazonka.ImageBuilder.Types.Platform
newtype Platform
Platform' :: Text -> Platform
[fromPlatform] :: Platform -> Text
pattern Platform_Linux :: Platform
pattern Platform_Windows :: Platform
instance Amazonka.Data.XML.ToXML Amazonka.ImageBuilder.Types.Platform.Platform
instance Amazonka.Data.XML.FromXML Amazonka.ImageBuilder.Types.Platform.Platform
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImageBuilder.Types.Platform.Platform
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.Platform.Platform
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImageBuilder.Types.Platform.Platform
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.Platform.Platform
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.Types.Platform.Platform
instance Amazonka.Data.Headers.ToHeader Amazonka.ImageBuilder.Types.Platform.Platform
instance Amazonka.Data.Log.ToLog Amazonka.ImageBuilder.Types.Platform.Platform
instance Amazonka.Data.ByteString.ToByteString Amazonka.ImageBuilder.Types.Platform.Platform
instance Amazonka.Data.Text.ToText Amazonka.ImageBuilder.Types.Platform.Platform
instance Amazonka.Data.Text.FromText Amazonka.ImageBuilder.Types.Platform.Platform
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.Platform.Platform
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.Platform.Platform
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.Platform.Platform
instance GHC.Classes.Ord Amazonka.ImageBuilder.Types.Platform.Platform
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.Platform.Platform
instance GHC.Read.Read Amazonka.ImageBuilder.Types.Platform.Platform
instance GHC.Show.Show Amazonka.ImageBuilder.Types.Platform.Platform
module Amazonka.ImageBuilder.Types.ImageVersion
-- | The defining characteristics of a specific version of an Image Builder
-- image.
--
-- See: newImageVersion smart constructor.
data ImageVersion
ImageVersion' :: Maybe Text -> Maybe BuildType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe ImageType -> Maybe Text -> ImageVersion
-- | The Amazon Resource Name (ARN) of a specific version of an Image
-- Builder image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
[$sel:arn:ImageVersion'] :: ImageVersion -> Maybe Text
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
[$sel:buildType:ImageVersion'] :: ImageVersion -> Maybe BuildType
-- | The date on which this specific version of the Image Builder image was
-- created.
[$sel:dateCreated:ImageVersion'] :: ImageVersion -> Maybe Text
-- | The name of this specific version of an Image Builder image.
[$sel:name:ImageVersion'] :: ImageVersion -> Maybe Text
-- | The operating system version of the Amazon EC2 build instance. For
-- example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
[$sel:osVersion:ImageVersion'] :: ImageVersion -> Maybe Text
-- | The owner of the image version.
[$sel:owner:ImageVersion'] :: ImageVersion -> Maybe Text
-- | The platform of the image version, for example "Windows" or "Linux".
[$sel:platform:ImageVersion'] :: ImageVersion -> Maybe Platform
-- | Specifies whether this image is an AMI or a container image.
[$sel:type':ImageVersion'] :: ImageVersion -> Maybe ImageType
-- | Details for a specific version of an Image Builder image. This version
-- follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
[$sel:version:ImageVersion'] :: ImageVersion -> Maybe Text
-- | Create a value of ImageVersion 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:arn:ImageVersion', imageVersion_arn - The Amazon
-- Resource Name (ARN) of a specific version of an Image Builder image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:buildType:ImageVersion', imageVersion_buildType -
-- Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
--
-- $sel:dateCreated:ImageVersion', imageVersion_dateCreated
-- - The date on which this specific version of the Image Builder image
-- was created.
--
-- $sel:name:ImageVersion', imageVersion_name - The name of
-- this specific version of an Image Builder image.
--
-- $sel:osVersion:ImageVersion', imageVersion_osVersion -
-- The operating system version of the Amazon EC2 build instance. For
-- example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
--
-- $sel:owner:ImageVersion', imageVersion_owner - The owner
-- of the image version.
--
-- $sel:platform:ImageVersion', imageVersion_platform - The
-- platform of the image version, for example "Windows" or "Linux".
--
-- $sel:type':ImageVersion', imageVersion_type - Specifies
-- whether this image is an AMI or a container image.
--
-- $sel:version:ImageVersion', imageVersion_version -
-- Details for a specific version of an Image Builder image. This version
-- follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
newImageVersion :: ImageVersion
-- | The Amazon Resource Name (ARN) of a specific version of an Image
-- Builder image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
imageVersion_arn :: Lens' ImageVersion (Maybe Text)
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
imageVersion_buildType :: Lens' ImageVersion (Maybe BuildType)
-- | The date on which this specific version of the Image Builder image was
-- created.
imageVersion_dateCreated :: Lens' ImageVersion (Maybe Text)
-- | The name of this specific version of an Image Builder image.
imageVersion_name :: Lens' ImageVersion (Maybe Text)
-- | The operating system version of the Amazon EC2 build instance. For
-- example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
imageVersion_osVersion :: Lens' ImageVersion (Maybe Text)
-- | The owner of the image version.
imageVersion_owner :: Lens' ImageVersion (Maybe Text)
-- | The platform of the image version, for example "Windows" or "Linux".
imageVersion_platform :: Lens' ImageVersion (Maybe Platform)
-- | Specifies whether this image is an AMI or a container image.
imageVersion_type :: Lens' ImageVersion (Maybe ImageType)
-- | Details for a specific version of an Image Builder image. This version
-- follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
imageVersion_version :: Lens' ImageVersion (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ImageVersion.ImageVersion
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ImageVersion.ImageVersion
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ImageVersion.ImageVersion
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ImageVersion.ImageVersion
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ImageVersion.ImageVersion
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ImageVersion.ImageVersion
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ImageVersion.ImageVersion
module Amazonka.ImageBuilder.Types.ImageSummary
-- | An image summary.
--
-- See: newImageSummary smart constructor.
data ImageSummary
ImageSummary' :: Maybe Text -> Maybe BuildType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe OutputResources -> Maybe Text -> Maybe Platform -> Maybe ImageState -> Maybe (HashMap Text Text) -> Maybe ImageType -> Maybe Text -> ImageSummary
-- | The Amazon Resource Name (ARN) of the image.
[$sel:arn:ImageSummary'] :: ImageSummary -> Maybe Text
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
[$sel:buildType:ImageSummary'] :: ImageSummary -> Maybe BuildType
-- | The date on which this image was created.
[$sel:dateCreated:ImageSummary'] :: ImageSummary -> Maybe Text
-- | The name of the image.
[$sel:name:ImageSummary'] :: ImageSummary -> Maybe Text
-- | The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
[$sel:osVersion:ImageSummary'] :: ImageSummary -> Maybe Text
-- | The output resources produced when creating this image.
[$sel:outputResources:ImageSummary'] :: ImageSummary -> Maybe OutputResources
-- | The owner of the image.
[$sel:owner:ImageSummary'] :: ImageSummary -> Maybe Text
-- | The platform of the image.
[$sel:platform:ImageSummary'] :: ImageSummary -> Maybe Platform
-- | The state of the image.
[$sel:state:ImageSummary'] :: ImageSummary -> Maybe ImageState
-- | The tags of the image.
[$sel:tags:ImageSummary'] :: ImageSummary -> Maybe (HashMap Text Text)
-- | Specifies whether this is an AMI or container image.
[$sel:type':ImageSummary'] :: ImageSummary -> Maybe ImageType
-- | The version of the image.
[$sel:version:ImageSummary'] :: ImageSummary -> Maybe Text
-- | Create a value of ImageSummary 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:arn:ImageSummary', imageSummary_arn - The Amazon
-- Resource Name (ARN) of the image.
--
-- $sel:buildType:ImageSummary', imageSummary_buildType -
-- Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
--
-- $sel:dateCreated:ImageSummary', imageSummary_dateCreated
-- - The date on which this image was created.
--
-- $sel:name:ImageSummary', imageSummary_name - The name of
-- the image.
--
-- $sel:osVersion:ImageSummary', imageSummary_osVersion -
-- The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
--
-- $sel:outputResources:ImageSummary',
-- imageSummary_outputResources - The output resources produced
-- when creating this image.
--
-- $sel:owner:ImageSummary', imageSummary_owner - The owner
-- of the image.
--
-- $sel:platform:ImageSummary', imageSummary_platform - The
-- platform of the image.
--
-- $sel:state:ImageSummary', imageSummary_state - The state
-- of the image.
--
-- $sel:tags:ImageSummary', imageSummary_tags - The tags of
-- the image.
--
-- $sel:type':ImageSummary', imageSummary_type - Specifies
-- whether this is an AMI or container image.
--
-- $sel:version:ImageSummary', imageSummary_version - The
-- version of the image.
newImageSummary :: ImageSummary
-- | The Amazon Resource Name (ARN) of the image.
imageSummary_arn :: Lens' ImageSummary (Maybe Text)
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
imageSummary_buildType :: Lens' ImageSummary (Maybe BuildType)
-- | The date on which this image was created.
imageSummary_dateCreated :: Lens' ImageSummary (Maybe Text)
-- | The name of the image.
imageSummary_name :: Lens' ImageSummary (Maybe Text)
-- | The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
imageSummary_osVersion :: Lens' ImageSummary (Maybe Text)
-- | The output resources produced when creating this image.
imageSummary_outputResources :: Lens' ImageSummary (Maybe OutputResources)
-- | The owner of the image.
imageSummary_owner :: Lens' ImageSummary (Maybe Text)
-- | The platform of the image.
imageSummary_platform :: Lens' ImageSummary (Maybe Platform)
-- | The state of the image.
imageSummary_state :: Lens' ImageSummary (Maybe ImageState)
-- | The tags of the image.
imageSummary_tags :: Lens' ImageSummary (Maybe (HashMap Text Text))
-- | Specifies whether this is an AMI or container image.
imageSummary_type :: Lens' ImageSummary (Maybe ImageType)
-- | The version of the image.
imageSummary_version :: Lens' ImageSummary (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ImageSummary.ImageSummary
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ImageSummary.ImageSummary
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ImageSummary.ImageSummary
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ImageSummary.ImageSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ImageSummary.ImageSummary
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ImageSummary.ImageSummary
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ImageSummary.ImageSummary
module Amazonka.ImageBuilder.Types.ImageRecipeSummary
-- | A summary of an image recipe.
--
-- See: newImageRecipeSummary smart constructor.
data ImageRecipeSummary
ImageRecipeSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> ImageRecipeSummary
-- | The Amazon Resource Name (ARN) of the image recipe.
[$sel:arn:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Text
-- | The date on which this image recipe was created.
[$sel:dateCreated:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Text
-- | The name of the image recipe.
[$sel:name:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Text
-- | The owner of the image recipe.
[$sel:owner:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Text
-- | The base image of the image recipe.
[$sel:parentImage:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Text
-- | The platform of the image recipe.
[$sel:platform:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Platform
-- | The tags of the image recipe.
[$sel:tags:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe (HashMap Text Text)
-- | Create a value of ImageRecipeSummary 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:arn:ImageRecipeSummary', imageRecipeSummary_arn -
-- The Amazon Resource Name (ARN) of the image recipe.
--
-- $sel:dateCreated:ImageRecipeSummary',
-- imageRecipeSummary_dateCreated - The date on which this image
-- recipe was created.
--
-- $sel:name:ImageRecipeSummary', imageRecipeSummary_name -
-- The name of the image recipe.
--
-- $sel:owner:ImageRecipeSummary', imageRecipeSummary_owner
-- - The owner of the image recipe.
--
-- $sel:parentImage:ImageRecipeSummary',
-- imageRecipeSummary_parentImage - The base image of the image
-- recipe.
--
-- $sel:platform:ImageRecipeSummary',
-- imageRecipeSummary_platform - The platform of the image recipe.
--
-- $sel:tags:ImageRecipeSummary', imageRecipeSummary_tags -
-- The tags of the image recipe.
newImageRecipeSummary :: ImageRecipeSummary
-- | The Amazon Resource Name (ARN) of the image recipe.
imageRecipeSummary_arn :: Lens' ImageRecipeSummary (Maybe Text)
-- | The date on which this image recipe was created.
imageRecipeSummary_dateCreated :: Lens' ImageRecipeSummary (Maybe Text)
-- | The name of the image recipe.
imageRecipeSummary_name :: Lens' ImageRecipeSummary (Maybe Text)
-- | The owner of the image recipe.
imageRecipeSummary_owner :: Lens' ImageRecipeSummary (Maybe Text)
-- | The base image of the image recipe.
imageRecipeSummary_parentImage :: Lens' ImageRecipeSummary (Maybe Text)
-- | The platform of the image recipe.
imageRecipeSummary_platform :: Lens' ImageRecipeSummary (Maybe Platform)
-- | The tags of the image recipe.
imageRecipeSummary_tags :: Lens' ImageRecipeSummary (Maybe (HashMap Text Text))
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ImageRecipeSummary.ImageRecipeSummary
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ImageRecipeSummary.ImageRecipeSummary
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ImageRecipeSummary.ImageRecipeSummary
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ImageRecipeSummary.ImageRecipeSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ImageRecipeSummary.ImageRecipeSummary
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ImageRecipeSummary.ImageRecipeSummary
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ImageRecipeSummary.ImageRecipeSummary
module Amazonka.ImageBuilder.Types.ContainerRecipeSummary
-- | A summary of a container recipe
--
-- See: newContainerRecipeSummary smart constructor.
data ContainerRecipeSummary
ContainerRecipeSummary' :: Maybe Text -> Maybe ContainerType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> ContainerRecipeSummary
-- | The Amazon Resource Name (ARN) of the container recipe.
[$sel:arn:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Text
-- | Specifies the type of container, such as "Docker".
[$sel:containerType:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe ContainerType
-- | The date when this container recipe was created.
[$sel:dateCreated:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Text
-- | The name of the container recipe.
[$sel:name:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Text
-- | The owner of the container recipe.
[$sel:owner:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Text
-- | The base image for the container recipe.
[$sel:parentImage:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Text
-- | The system platform for the container, such as Windows or Linux.
[$sel:platform:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Platform
-- | Tags that are attached to the container recipe.
[$sel:tags:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe (HashMap Text Text)
-- | Create a value of ContainerRecipeSummary 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:arn:ContainerRecipeSummary',
-- containerRecipeSummary_arn - The Amazon Resource Name (ARN) of
-- the container recipe.
--
-- $sel:containerType:ContainerRecipeSummary',
-- containerRecipeSummary_containerType - Specifies the type of
-- container, such as "Docker".
--
-- $sel:dateCreated:ContainerRecipeSummary',
-- containerRecipeSummary_dateCreated - The date when this
-- container recipe was created.
--
-- $sel:name:ContainerRecipeSummary',
-- containerRecipeSummary_name - The name of the container recipe.
--
-- $sel:owner:ContainerRecipeSummary',
-- containerRecipeSummary_owner - The owner of the container
-- recipe.
--
-- $sel:parentImage:ContainerRecipeSummary',
-- containerRecipeSummary_parentImage - The base image for the
-- container recipe.
--
-- $sel:platform:ContainerRecipeSummary',
-- containerRecipeSummary_platform - The system platform for the
-- container, such as Windows or Linux.
--
-- $sel:tags:ContainerRecipeSummary',
-- containerRecipeSummary_tags - Tags that are attached to the
-- container recipe.
newContainerRecipeSummary :: ContainerRecipeSummary
-- | The Amazon Resource Name (ARN) of the container recipe.
containerRecipeSummary_arn :: Lens' ContainerRecipeSummary (Maybe Text)
-- | Specifies the type of container, such as "Docker".
containerRecipeSummary_containerType :: Lens' ContainerRecipeSummary (Maybe ContainerType)
-- | The date when this container recipe was created.
containerRecipeSummary_dateCreated :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The name of the container recipe.
containerRecipeSummary_name :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The owner of the container recipe.
containerRecipeSummary_owner :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The base image for the container recipe.
containerRecipeSummary_parentImage :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The system platform for the container, such as Windows or Linux.
containerRecipeSummary_platform :: Lens' ContainerRecipeSummary (Maybe Platform)
-- | Tags that are attached to the container recipe.
containerRecipeSummary_tags :: Lens' ContainerRecipeSummary (Maybe (HashMap Text Text))
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ContainerRecipeSummary.ContainerRecipeSummary
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ContainerRecipeSummary.ContainerRecipeSummary
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ContainerRecipeSummary.ContainerRecipeSummary
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ContainerRecipeSummary.ContainerRecipeSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ContainerRecipeSummary.ContainerRecipeSummary
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ContainerRecipeSummary.ContainerRecipeSummary
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ContainerRecipeSummary.ContainerRecipeSummary
module Amazonka.ImageBuilder.Types.ComponentVersion
-- | The defining characteristics of a specific version of an Amazon Web
-- Services TOE component.
--
-- See: newComponentVersion smart constructor.
data ComponentVersion
ComponentVersion' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (NonEmpty Text) -> Maybe ComponentType -> Maybe Text -> ComponentVersion
-- | The Amazon Resource Name (ARN) of the component.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
[$sel:arn:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | The date that the component was created.
[$sel:dateCreated:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | The description of the component.
[$sel:description:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | The name of the component.
[$sel:name:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | The owner of the component.
[$sel:owner:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | The platform of the component.
[$sel:platform:ComponentVersion'] :: ComponentVersion -> Maybe Platform
-- | he operating system (OS) version supported by the component. If the OS
-- information is available, a prefix match is performed against the base
-- image OS version during image recipe creation.
[$sel:supportedOsVersions:ComponentVersion'] :: ComponentVersion -> Maybe (NonEmpty Text)
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
[$sel:type':ComponentVersion'] :: ComponentVersion -> Maybe ComponentType
-- | The semantic version of the component.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
[$sel:version:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | Create a value of ComponentVersion 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:arn:ComponentVersion', componentVersion_arn - The
-- Amazon Resource Name (ARN) of the component.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:dateCreated:ComponentVersion',
-- componentVersion_dateCreated - The date that the component was
-- created.
--
-- $sel:description:ComponentVersion',
-- componentVersion_description - The description of the
-- component.
--
-- $sel:name:ComponentVersion', componentVersion_name - The
-- name of the component.
--
-- $sel:owner:ComponentVersion', componentVersion_owner -
-- The owner of the component.
--
-- $sel:platform:ComponentVersion',
-- componentVersion_platform - The platform of the component.
--
-- $sel:supportedOsVersions:ComponentVersion',
-- componentVersion_supportedOsVersions - he operating system (OS)
-- version supported by the component. If the OS information is
-- available, a prefix match is performed against the base image OS
-- version during image recipe creation.
--
-- $sel:type':ComponentVersion', componentVersion_type -
-- The type of the component denotes whether the component is used to
-- build the image or only to test it.
--
-- $sel:version:ComponentVersion', componentVersion_version
-- - The semantic version of the component.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
newComponentVersion :: ComponentVersion
-- | The Amazon Resource Name (ARN) of the component.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
componentVersion_arn :: Lens' ComponentVersion (Maybe Text)
-- | The date that the component was created.
componentVersion_dateCreated :: Lens' ComponentVersion (Maybe Text)
-- | The description of the component.
componentVersion_description :: Lens' ComponentVersion (Maybe Text)
-- | The name of the component.
componentVersion_name :: Lens' ComponentVersion (Maybe Text)
-- | The owner of the component.
componentVersion_owner :: Lens' ComponentVersion (Maybe Text)
-- | The platform of the component.
componentVersion_platform :: Lens' ComponentVersion (Maybe Platform)
-- | he operating system (OS) version supported by the component. If the OS
-- information is available, a prefix match is performed against the base
-- image OS version during image recipe creation.
componentVersion_supportedOsVersions :: Lens' ComponentVersion (Maybe (NonEmpty Text))
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
componentVersion_type :: Lens' ComponentVersion (Maybe ComponentType)
-- | The semantic version of the component.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
componentVersion_version :: Lens' ComponentVersion (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ComponentVersion.ComponentVersion
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ComponentVersion.ComponentVersion
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ComponentVersion.ComponentVersion
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ComponentVersion.ComponentVersion
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ComponentVersion.ComponentVersion
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ComponentVersion.ComponentVersion
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ComponentVersion.ComponentVersion
module Amazonka.ImageBuilder.Types.ComponentSummary
-- | A high-level summary of a component.
--
-- See: newComponentSummary smart constructor.
data ComponentSummary
ComponentSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe ComponentState -> Maybe (NonEmpty Text) -> Maybe (HashMap Text Text) -> Maybe ComponentType -> Maybe Text -> ComponentSummary
-- | The Amazon Resource Name (ARN) of the component.
[$sel:arn:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The change description of the component.
[$sel:changeDescription:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The date that the component was created.
[$sel:dateCreated:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The description of the component.
[$sel:description:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The name of the component.
[$sel:name:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The owner of the component.
[$sel:owner:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The platform of the component.
[$sel:platform:ComponentSummary'] :: ComponentSummary -> Maybe Platform
-- | Describes the current status of the component.
[$sel:state:ComponentSummary'] :: ComponentSummary -> Maybe ComponentState
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
[$sel:supportedOsVersions:ComponentSummary'] :: ComponentSummary -> Maybe (NonEmpty Text)
-- | The tags associated with the component.
[$sel:tags:ComponentSummary'] :: ComponentSummary -> Maybe (HashMap Text Text)
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
[$sel:type':ComponentSummary'] :: ComponentSummary -> Maybe ComponentType
-- | The version of the component.
[$sel:version:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | Create a value of ComponentSummary 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:arn:ComponentSummary', componentSummary_arn - The
-- Amazon Resource Name (ARN) of the component.
--
-- $sel:changeDescription:ComponentSummary',
-- componentSummary_changeDescription - The change description of
-- the component.
--
-- $sel:dateCreated:ComponentSummary',
-- componentSummary_dateCreated - The date that the component was
-- created.
--
-- $sel:description:ComponentSummary',
-- componentSummary_description - The description of the
-- component.
--
-- $sel:name:ComponentSummary', componentSummary_name - The
-- name of the component.
--
-- $sel:owner:ComponentSummary', componentSummary_owner -
-- The owner of the component.
--
-- $sel:platform:ComponentSummary',
-- componentSummary_platform - The platform of the component.
--
-- $sel:state:ComponentSummary', componentSummary_state -
-- Describes the current status of the component.
--
-- $sel:supportedOsVersions:ComponentSummary',
-- componentSummary_supportedOsVersions - The operating system
-- (OS) version supported by the component. If the OS information is
-- available, a prefix match is performed against the base image OS
-- version during image recipe creation.
--
-- $sel:tags:ComponentSummary', componentSummary_tags - The
-- tags associated with the component.
--
-- $sel:type':ComponentSummary', componentSummary_type -
-- The type of the component denotes whether the component is used to
-- build the image or only to test it.
--
-- $sel:version:ComponentSummary', componentSummary_version
-- - The version of the component.
newComponentSummary :: ComponentSummary
-- | The Amazon Resource Name (ARN) of the component.
componentSummary_arn :: Lens' ComponentSummary (Maybe Text)
-- | The change description of the component.
componentSummary_changeDescription :: Lens' ComponentSummary (Maybe Text)
-- | The date that the component was created.
componentSummary_dateCreated :: Lens' ComponentSummary (Maybe Text)
-- | The description of the component.
componentSummary_description :: Lens' ComponentSummary (Maybe Text)
-- | The name of the component.
componentSummary_name :: Lens' ComponentSummary (Maybe Text)
-- | The owner of the component.
componentSummary_owner :: Lens' ComponentSummary (Maybe Text)
-- | The platform of the component.
componentSummary_platform :: Lens' ComponentSummary (Maybe Platform)
-- | Describes the current status of the component.
componentSummary_state :: Lens' ComponentSummary (Maybe ComponentState)
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
componentSummary_supportedOsVersions :: Lens' ComponentSummary (Maybe (NonEmpty Text))
-- | The tags associated with the component.
componentSummary_tags :: Lens' ComponentSummary (Maybe (HashMap Text Text))
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
componentSummary_type :: Lens' ComponentSummary (Maybe ComponentType)
-- | The version of the component.
componentSummary_version :: Lens' ComponentSummary (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ComponentSummary.ComponentSummary
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ComponentSummary.ComponentSummary
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ComponentSummary.ComponentSummary
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ComponentSummary.ComponentSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ComponentSummary.ComponentSummary
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ComponentSummary.ComponentSummary
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ComponentSummary.ComponentSummary
module Amazonka.ImageBuilder.Types.Component
-- | A detailed view of a component.
--
-- See: newComponent smart constructor.
data Component
Component' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [ComponentParameterDetail] -> Maybe Platform -> Maybe ComponentState -> Maybe (NonEmpty Text) -> Maybe (HashMap Text Text) -> Maybe ComponentType -> Maybe Text -> Component
-- | The Amazon Resource Name (ARN) of the component.
[$sel:arn:Component'] :: Component -> Maybe Text
-- | The change description of the component.
[$sel:changeDescription:Component'] :: Component -> Maybe Text
-- | Component data contains the YAML document content for the component.
[$sel:data':Component'] :: Component -> Maybe Text
-- | The date that the component was created.
[$sel:dateCreated:Component'] :: Component -> Maybe Text
-- | The description of the component.
[$sel:description:Component'] :: Component -> Maybe Text
-- | The encryption status of the component.
[$sel:encrypted:Component'] :: Component -> Maybe Bool
-- | The KMS key identifier used to encrypt the component.
[$sel:kmsKeyId:Component'] :: Component -> Maybe Text
-- | The name of the component.
[$sel:name:Component'] :: Component -> Maybe Text
-- | The owner of the component.
[$sel:owner:Component'] :: Component -> Maybe Text
-- | Contains parameter details for each of the parameters that are defined
-- for the component.
[$sel:parameters:Component'] :: Component -> Maybe [ComponentParameterDetail]
-- | The platform of the component.
[$sel:platform:Component'] :: Component -> Maybe Platform
-- | Describes the current status of the component. This is used for
-- components that are no longer active.
[$sel:state:Component'] :: Component -> Maybe ComponentState
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
[$sel:supportedOsVersions:Component'] :: Component -> Maybe (NonEmpty Text)
-- | The tags associated with the component.
[$sel:tags:Component'] :: Component -> Maybe (HashMap Text Text)
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
[$sel:type':Component'] :: Component -> Maybe ComponentType
-- | The version of the component.
[$sel:version:Component'] :: Component -> Maybe Text
-- | Create a value of Component 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:arn:Component', component_arn - The Amazon Resource
-- Name (ARN) of the component.
--
-- $sel:changeDescription:Component',
-- component_changeDescription - The change description of the
-- component.
--
-- $sel:data':Component', component_data - Component data
-- contains the YAML document content for the component.
--
-- $sel:dateCreated:Component', component_dateCreated - The
-- date that the component was created.
--
-- Component, component_description - The description of
-- the component.
--
-- $sel:encrypted:Component', component_encrypted - The
-- encryption status of the component.
--
-- $sel:kmsKeyId:Component', component_kmsKeyId - The KMS
-- key identifier used to encrypt the component.
--
-- Component, component_name - The name of the component.
--
-- $sel:owner:Component', component_owner - The owner of
-- the component.
--
-- $sel:parameters:Component', component_parameters -
-- Contains parameter details for each of the parameters that are defined
-- for the component.
--
-- $sel:platform:Component', component_platform - The
-- platform of the component.
--
-- $sel:state:Component', component_state - Describes the
-- current status of the component. This is used for components that are
-- no longer active.
--
-- $sel:supportedOsVersions:Component',
-- component_supportedOsVersions - The operating system (OS)
-- version supported by the component. If the OS information is
-- available, a prefix match is performed against the base image OS
-- version during image recipe creation.
--
-- $sel:tags:Component', component_tags - The tags
-- associated with the component.
--
-- Component, component_type - The type of the component
-- denotes whether the component is used to build the image or only to
-- test it.
--
-- $sel:version:Component', component_version - The version
-- of the component.
newComponent :: Component
-- | The Amazon Resource Name (ARN) of the component.
component_arn :: Lens' Component (Maybe Text)
-- | The change description of the component.
component_changeDescription :: Lens' Component (Maybe Text)
-- | Component data contains the YAML document content for the component.
component_data :: Lens' Component (Maybe Text)
-- | The date that the component was created.
component_dateCreated :: Lens' Component (Maybe Text)
-- | The description of the component.
component_description :: Lens' Component (Maybe Text)
-- | The encryption status of the component.
component_encrypted :: Lens' Component (Maybe Bool)
-- | The KMS key identifier used to encrypt the component.
component_kmsKeyId :: Lens' Component (Maybe Text)
-- | The name of the component.
component_name :: Lens' Component (Maybe Text)
-- | The owner of the component.
component_owner :: Lens' Component (Maybe Text)
-- | Contains parameter details for each of the parameters that are defined
-- for the component.
component_parameters :: Lens' Component (Maybe [ComponentParameterDetail])
-- | The platform of the component.
component_platform :: Lens' Component (Maybe Platform)
-- | Describes the current status of the component. This is used for
-- components that are no longer active.
component_state :: Lens' Component (Maybe ComponentState)
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
component_supportedOsVersions :: Lens' Component (Maybe (NonEmpty Text))
-- | The tags associated with the component.
component_tags :: Lens' Component (Maybe (HashMap Text Text))
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
component_type :: Lens' Component (Maybe ComponentType)
-- | The version of the component.
component_version :: Lens' Component (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.Component.Component
instance GHC.Show.Show Amazonka.ImageBuilder.Types.Component.Component
instance GHC.Read.Read Amazonka.ImageBuilder.Types.Component.Component
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.Component.Component
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.Component.Component
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.Component.Component
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.Component.Component
module Amazonka.ImageBuilder.Types.S3ExportConfiguration
-- | Properties that configure export from your build instance to a
-- compatible file format for your VM.
--
-- See: newS3ExportConfiguration smart constructor.
data S3ExportConfiguration
S3ExportConfiguration' :: Maybe Text -> Text -> DiskImageFormat -> Text -> S3ExportConfiguration
-- | The Amazon S3 path for the bucket where the output disk images for
-- your VM are stored.
[$sel:s3Prefix:S3ExportConfiguration'] :: S3ExportConfiguration -> Maybe Text
-- | The name of the role that grants VM Import/Export permission to export
-- images to your S3 bucket.
[$sel:roleName:S3ExportConfiguration'] :: S3ExportConfiguration -> Text
-- | Export the updated image to one of the following supported disk image
-- formats:
--
--
-- - Virtual Hard Disk (VHD) – Compatible with Citrix Xen and
-- Microsoft Hyper-V virtualization products.
-- - Stream-optimized ESX Virtual Machine Disk (VMDK) –
-- Compatible with VMware ESX and VMware vSphere versions 4, 5, and
-- 6.
-- - Raw – Raw format.
--
[$sel:diskImageFormat:S3ExportConfiguration'] :: S3ExportConfiguration -> DiskImageFormat
-- | The S3 bucket in which to store the output disk images for your VM.
[$sel:s3Bucket:S3ExportConfiguration'] :: S3ExportConfiguration -> Text
-- | Create a value of S3ExportConfiguration 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:s3Prefix:S3ExportConfiguration',
-- s3ExportConfiguration_s3Prefix - The Amazon S3 path for the
-- bucket where the output disk images for your VM are stored.
--
-- $sel:roleName:S3ExportConfiguration',
-- s3ExportConfiguration_roleName - The name of the role that
-- grants VM Import/Export permission to export images to your S3 bucket.
--
-- $sel:diskImageFormat:S3ExportConfiguration',
-- s3ExportConfiguration_diskImageFormat - Export the updated
-- image to one of the following supported disk image formats:
--
--
-- - Virtual Hard Disk (VHD) – Compatible with Citrix Xen and
-- Microsoft Hyper-V virtualization products.
-- - Stream-optimized ESX Virtual Machine Disk (VMDK) –
-- Compatible with VMware ESX and VMware vSphere versions 4, 5, and
-- 6.
-- - Raw – Raw format.
--
--
-- $sel:s3Bucket:S3ExportConfiguration',
-- s3ExportConfiguration_s3Bucket - The S3 bucket in which to
-- store the output disk images for your VM.
newS3ExportConfiguration :: Text -> DiskImageFormat -> Text -> S3ExportConfiguration
-- | The Amazon S3 path for the bucket where the output disk images for
-- your VM are stored.
s3ExportConfiguration_s3Prefix :: Lens' S3ExportConfiguration (Maybe Text)
-- | The name of the role that grants VM Import/Export permission to export
-- images to your S3 bucket.
s3ExportConfiguration_roleName :: Lens' S3ExportConfiguration Text
-- | Export the updated image to one of the following supported disk image
-- formats:
--
--
-- - Virtual Hard Disk (VHD) – Compatible with Citrix Xen and
-- Microsoft Hyper-V virtualization products.
-- - Stream-optimized ESX Virtual Machine Disk (VMDK) –
-- Compatible with VMware ESX and VMware vSphere versions 4, 5, and
-- 6.
-- - Raw – Raw format.
--
s3ExportConfiguration_diskImageFormat :: Lens' S3ExportConfiguration DiskImageFormat
-- | The S3 bucket in which to store the output disk images for your VM.
s3ExportConfiguration_s3Bucket :: Lens' S3ExportConfiguration Text
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.S3ExportConfiguration.S3ExportConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.S3ExportConfiguration.S3ExportConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.S3ExportConfiguration.S3ExportConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.S3ExportConfiguration.S3ExportConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.S3ExportConfiguration.S3ExportConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.S3ExportConfiguration.S3ExportConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.S3ExportConfiguration.S3ExportConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.S3ExportConfiguration.S3ExportConfiguration
module Amazonka.ImageBuilder.Types.S3Logs
-- | Amazon S3 logging configuration.
--
-- See: newS3Logs smart constructor.
data S3Logs
S3Logs' :: Maybe Text -> Maybe Text -> S3Logs
-- | The S3 bucket in which to store the logs.
[$sel:s3BucketName:S3Logs'] :: S3Logs -> Maybe Text
-- | The Amazon S3 path to the bucket where the logs are stored.
[$sel:s3KeyPrefix:S3Logs'] :: S3Logs -> Maybe Text
-- | Create a value of S3Logs 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:s3BucketName:S3Logs', s3Logs_s3BucketName - The S3
-- bucket in which to store the logs.
--
-- $sel:s3KeyPrefix:S3Logs', s3Logs_s3KeyPrefix - The
-- Amazon S3 path to the bucket where the logs are stored.
newS3Logs :: S3Logs
-- | The S3 bucket in which to store the logs.
s3Logs_s3BucketName :: Lens' S3Logs (Maybe Text)
-- | The Amazon S3 path to the bucket where the logs are stored.
s3Logs_s3KeyPrefix :: Lens' S3Logs (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.S3Logs.S3Logs
instance GHC.Show.Show Amazonka.ImageBuilder.Types.S3Logs.S3Logs
instance GHC.Read.Read Amazonka.ImageBuilder.Types.S3Logs.S3Logs
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.S3Logs.S3Logs
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.S3Logs.S3Logs
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.S3Logs.S3Logs
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.S3Logs.S3Logs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.S3Logs.S3Logs
module Amazonka.ImageBuilder.Types.Logging
-- | Logging configuration defines where Image Builder uploads your logs.
--
-- See: newLogging smart constructor.
data Logging
Logging' :: Maybe S3Logs -> Logging
-- | The Amazon S3 logging configuration.
[$sel:s3Logs:Logging'] :: Logging -> Maybe S3Logs
-- | Create a value of Logging 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:s3Logs:Logging', logging_s3Logs - The Amazon S3
-- logging configuration.
newLogging :: Logging
-- | The Amazon S3 logging configuration.
logging_s3Logs :: Lens' Logging (Maybe S3Logs)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.Logging.Logging
instance GHC.Show.Show Amazonka.ImageBuilder.Types.Logging.Logging
instance GHC.Read.Read Amazonka.ImageBuilder.Types.Logging.Logging
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.Logging.Logging
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.Logging.Logging
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.Logging.Logging
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.Logging.Logging
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.Logging.Logging
module Amazonka.ImageBuilder.Types.InfrastructureConfiguration
-- | Details of the infrastructure configuration.
--
-- See: newInfrastructureConfiguration smart constructor.
data InfrastructureConfiguration
InfrastructureConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InstanceMetadataOptions -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Logging -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Bool -> InfrastructureConfiguration
-- | The Amazon Resource Name (ARN) of the infrastructure configuration.
[$sel:arn:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The date on which the infrastructure configuration was created.
[$sel:dateCreated:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The date on which the infrastructure configuration was last updated.
[$sel:dateUpdated:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The description of the infrastructure configuration.
[$sel:description:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The instance metadata option settings for the infrastructure
-- configuration.
[$sel:instanceMetadataOptions:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe InstanceMetadataOptions
-- | The instance profile of the infrastructure configuration.
[$sel:instanceProfileName:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The instance types of the infrastructure configuration.
[$sel:instanceTypes:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe [Text]
-- | The Amazon EC2 key pair of the infrastructure configuration.
[$sel:keyPair:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The logging configuration of the infrastructure configuration.
[$sel:logging:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Logging
-- | The name of the infrastructure configuration.
[$sel:name:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The tags attached to the resource created by Image Builder.
[$sel:resourceTags:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe (HashMap Text Text)
-- | The security group IDs of the infrastructure configuration.
[$sel:securityGroupIds:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe [Text]
-- | The Amazon Resource Name (ARN) for the SNS topic to which we send
-- image build event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
[$sel:snsTopicArn:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The subnet ID of the infrastructure configuration.
[$sel:subnetId:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The tags of the infrastructure configuration.
[$sel:tags:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe (HashMap Text Text)
-- | The terminate instance on failure configuration of the infrastructure
-- configuration.
[$sel:terminateInstanceOnFailure:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Bool
-- | Create a value of InfrastructureConfiguration 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:arn:InfrastructureConfiguration',
-- infrastructureConfiguration_arn - The Amazon Resource Name
-- (ARN) of the infrastructure configuration.
--
-- $sel:dateCreated:InfrastructureConfiguration',
-- infrastructureConfiguration_dateCreated - The date on which the
-- infrastructure configuration was created.
--
-- $sel:dateUpdated:InfrastructureConfiguration',
-- infrastructureConfiguration_dateUpdated - The date on which the
-- infrastructure configuration was last updated.
--
-- $sel:description:InfrastructureConfiguration',
-- infrastructureConfiguration_description - The description of
-- the infrastructure configuration.
--
-- $sel:instanceMetadataOptions:InfrastructureConfiguration',
-- infrastructureConfiguration_instanceMetadataOptions - The
-- instance metadata option settings for the infrastructure
-- configuration.
--
-- $sel:instanceProfileName:InfrastructureConfiguration',
-- infrastructureConfiguration_instanceProfileName - The instance
-- profile of the infrastructure configuration.
--
-- $sel:instanceTypes:InfrastructureConfiguration',
-- infrastructureConfiguration_instanceTypes - The instance types
-- of the infrastructure configuration.
--
-- $sel:keyPair:InfrastructureConfiguration',
-- infrastructureConfiguration_keyPair - The Amazon EC2 key pair
-- of the infrastructure configuration.
--
-- $sel:logging:InfrastructureConfiguration',
-- infrastructureConfiguration_logging - The logging configuration
-- of the infrastructure configuration.
--
-- $sel:name:InfrastructureConfiguration',
-- infrastructureConfiguration_name - The name of the
-- infrastructure configuration.
--
-- $sel:resourceTags:InfrastructureConfiguration',
-- infrastructureConfiguration_resourceTags - The tags attached to
-- the resource created by Image Builder.
--
-- $sel:securityGroupIds:InfrastructureConfiguration',
-- infrastructureConfiguration_securityGroupIds - The security
-- group IDs of the infrastructure configuration.
--
-- $sel:snsTopicArn:InfrastructureConfiguration',
-- infrastructureConfiguration_snsTopicArn - The Amazon Resource
-- Name (ARN) for the SNS topic to which we send image build event
-- notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
--
-- $sel:subnetId:InfrastructureConfiguration',
-- infrastructureConfiguration_subnetId - The subnet ID of the
-- infrastructure configuration.
--
-- $sel:tags:InfrastructureConfiguration',
-- infrastructureConfiguration_tags - The tags of the
-- infrastructure configuration.
--
-- $sel:terminateInstanceOnFailure:InfrastructureConfiguration',
-- infrastructureConfiguration_terminateInstanceOnFailure - The
-- terminate instance on failure configuration of the infrastructure
-- configuration.
newInfrastructureConfiguration :: InfrastructureConfiguration
-- | The Amazon Resource Name (ARN) of the infrastructure configuration.
infrastructureConfiguration_arn :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The date on which the infrastructure configuration was created.
infrastructureConfiguration_dateCreated :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The date on which the infrastructure configuration was last updated.
infrastructureConfiguration_dateUpdated :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The description of the infrastructure configuration.
infrastructureConfiguration_description :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The instance metadata option settings for the infrastructure
-- configuration.
infrastructureConfiguration_instanceMetadataOptions :: Lens' InfrastructureConfiguration (Maybe InstanceMetadataOptions)
-- | The instance profile of the infrastructure configuration.
infrastructureConfiguration_instanceProfileName :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The instance types of the infrastructure configuration.
infrastructureConfiguration_instanceTypes :: Lens' InfrastructureConfiguration (Maybe [Text])
-- | The Amazon EC2 key pair of the infrastructure configuration.
infrastructureConfiguration_keyPair :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The logging configuration of the infrastructure configuration.
infrastructureConfiguration_logging :: Lens' InfrastructureConfiguration (Maybe Logging)
-- | The name of the infrastructure configuration.
infrastructureConfiguration_name :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The tags attached to the resource created by Image Builder.
infrastructureConfiguration_resourceTags :: Lens' InfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The security group IDs of the infrastructure configuration.
infrastructureConfiguration_securityGroupIds :: Lens' InfrastructureConfiguration (Maybe [Text])
-- | The Amazon Resource Name (ARN) for the SNS topic to which we send
-- image build event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
infrastructureConfiguration_snsTopicArn :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The subnet ID of the infrastructure configuration.
infrastructureConfiguration_subnetId :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The tags of the infrastructure configuration.
infrastructureConfiguration_tags :: Lens' InfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The terminate instance on failure configuration of the infrastructure
-- configuration.
infrastructureConfiguration_terminateInstanceOnFailure :: Lens' InfrastructureConfiguration (Maybe Bool)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.InfrastructureConfiguration.InfrastructureConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.InfrastructureConfiguration.InfrastructureConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.InfrastructureConfiguration.InfrastructureConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.InfrastructureConfiguration.InfrastructureConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.InfrastructureConfiguration.InfrastructureConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.InfrastructureConfiguration.InfrastructureConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.InfrastructureConfiguration.InfrastructureConfiguration
module Amazonka.ImageBuilder.Types.Schedule
-- | A schedule configures how often and when a pipeline will automatically
-- create a new image.
--
-- See: newSchedule smart constructor.
data Schedule
Schedule' :: Maybe PipelineExecutionStartCondition -> Maybe Text -> Maybe Text -> Schedule
-- | The condition configures when the pipeline should trigger a new image
-- build. When the pipelineExecutionStartCondition is set to
-- EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you
-- use semantic version filters on the base image or components in your
-- image recipe, EC2 Image Builder will build a new image only when there
-- are new versions of the image or components in your recipe that match
-- the semantic version filter. When it is set to
-- EXPRESSION_MATCH_ONLY, it will build a new image every time
-- the CRON expression matches the current time. For semantic version
-- syntax, see CreateComponent in the EC2 Image Builder API
-- Reference.
[$sel:pipelineExecutionStartCondition:Schedule'] :: Schedule -> Maybe PipelineExecutionStartCondition
-- | The cron expression determines how often EC2 Image Builder evaluates
-- your pipelineExecutionStartCondition.
--
-- For information on how to format a cron expression in Image Builder,
-- see Use cron expressions in EC2 Image Builder.
[$sel:scheduleExpression:Schedule'] :: Schedule -> Maybe Text
-- | The timezone that applies to the scheduling expression. For example,
-- "Etc/UTC", "America/Los_Angeles" in the IANA timezone format.
-- If not specified this defaults to UTC.
[$sel:timezone:Schedule'] :: Schedule -> Maybe Text
-- | Create a value of Schedule 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:pipelineExecutionStartCondition:Schedule',
-- schedule_pipelineExecutionStartCondition - The condition
-- configures when the pipeline should trigger a new image build. When
-- the pipelineExecutionStartCondition is set to
-- EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you
-- use semantic version filters on the base image or components in your
-- image recipe, EC2 Image Builder will build a new image only when there
-- are new versions of the image or components in your recipe that match
-- the semantic version filter. When it is set to
-- EXPRESSION_MATCH_ONLY, it will build a new image every time
-- the CRON expression matches the current time. For semantic version
-- syntax, see CreateComponent in the EC2 Image Builder API
-- Reference.
--
-- $sel:scheduleExpression:Schedule',
-- schedule_scheduleExpression - The cron expression determines
-- how often EC2 Image Builder evaluates your
-- pipelineExecutionStartCondition.
--
-- For information on how to format a cron expression in Image Builder,
-- see Use cron expressions in EC2 Image Builder.
--
-- $sel:timezone:Schedule', schedule_timezone - The
-- timezone that applies to the scheduling expression. For example,
-- "Etc/UTC", "America/Los_Angeles" in the IANA timezone format.
-- If not specified this defaults to UTC.
newSchedule :: Schedule
-- | The condition configures when the pipeline should trigger a new image
-- build. When the pipelineExecutionStartCondition is set to
-- EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you
-- use semantic version filters on the base image or components in your
-- image recipe, EC2 Image Builder will build a new image only when there
-- are new versions of the image or components in your recipe that match
-- the semantic version filter. When it is set to
-- EXPRESSION_MATCH_ONLY, it will build a new image every time
-- the CRON expression matches the current time. For semantic version
-- syntax, see CreateComponent in the EC2 Image Builder API
-- Reference.
schedule_pipelineExecutionStartCondition :: Lens' Schedule (Maybe PipelineExecutionStartCondition)
-- | The cron expression determines how often EC2 Image Builder evaluates
-- your pipelineExecutionStartCondition.
--
-- For information on how to format a cron expression in Image Builder,
-- see Use cron expressions in EC2 Image Builder.
schedule_scheduleExpression :: Lens' Schedule (Maybe Text)
-- | The timezone that applies to the scheduling expression. For example,
-- "Etc/UTC", "America/Los_Angeles" in the IANA timezone format.
-- If not specified this defaults to UTC.
schedule_timezone :: Lens' Schedule (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.Schedule.Schedule
instance GHC.Show.Show Amazonka.ImageBuilder.Types.Schedule.Schedule
instance GHC.Read.Read Amazonka.ImageBuilder.Types.Schedule.Schedule
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.Schedule.Schedule
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.Schedule.Schedule
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.Schedule.Schedule
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.Schedule.Schedule
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.Schedule.Schedule
module Amazonka.ImageBuilder.Types.ImagePipeline
-- | Details of an image pipeline.
--
-- See: newImagePipeline smart constructor.
data ImagePipeline
ImagePipeline' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ImageTestsConfiguration -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe Schedule -> Maybe PipelineStatus -> Maybe (HashMap Text Text) -> ImagePipeline
-- | The Amazon Resource Name (ARN) of the image pipeline.
[$sel:arn:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The Amazon Resource Name (ARN) of the container recipe that is used
-- for this pipeline.
[$sel:containerRecipeArn:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The date on which this image pipeline was created.
[$sel:dateCreated:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The date on which this image pipeline was last run.
[$sel:dateLastRun:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The date on which this image pipeline will next be run.
[$sel:dateNextRun:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The date on which this image pipeline was last updated.
[$sel:dateUpdated:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The description of the image pipeline.
[$sel:description:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The Amazon Resource Name (ARN) of the distribution configuration
-- associated with this image pipeline.
[$sel:distributionConfigurationArn:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | 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:enhancedImageMetadataEnabled:ImagePipeline'] :: ImagePipeline -> Maybe Bool
-- | The Amazon Resource Name (ARN) of the image recipe associated with
-- this image pipeline.
[$sel:imageRecipeArn:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The image tests configuration of the image pipeline.
[$sel:imageTestsConfiguration:ImagePipeline'] :: ImagePipeline -> Maybe ImageTestsConfiguration
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- associated with this image pipeline.
[$sel:infrastructureConfigurationArn:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The name of the image pipeline.
[$sel:name:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The platform of the image pipeline.
[$sel:platform:ImagePipeline'] :: ImagePipeline -> Maybe Platform
-- | The schedule of the image pipeline.
[$sel:schedule:ImagePipeline'] :: ImagePipeline -> Maybe Schedule
-- | The status of the image pipeline.
[$sel:status:ImagePipeline'] :: ImagePipeline -> Maybe PipelineStatus
-- | The tags of this image pipeline.
[$sel:tags:ImagePipeline'] :: ImagePipeline -> Maybe (HashMap Text Text)
-- | Create a value of ImagePipeline 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:arn:ImagePipeline', imagePipeline_arn - The Amazon
-- Resource Name (ARN) of the image pipeline.
--
-- $sel:containerRecipeArn:ImagePipeline',
-- imagePipeline_containerRecipeArn - The Amazon Resource Name
-- (ARN) of the container recipe that is used for this pipeline.
--
-- $sel:dateCreated:ImagePipeline',
-- imagePipeline_dateCreated - The date on which this image
-- pipeline was created.
--
-- $sel:dateLastRun:ImagePipeline',
-- imagePipeline_dateLastRun - The date on which this image
-- pipeline was last run.
--
-- $sel:dateNextRun:ImagePipeline',
-- imagePipeline_dateNextRun - The date on which this image
-- pipeline will next be run.
--
-- $sel:dateUpdated:ImagePipeline',
-- imagePipeline_dateUpdated - The date on which this image
-- pipeline was last updated.
--
-- $sel:description:ImagePipeline',
-- imagePipeline_description - The description of the image
-- pipeline.
--
-- $sel:distributionConfigurationArn:ImagePipeline',
-- imagePipeline_distributionConfigurationArn - The Amazon
-- Resource Name (ARN) of the distribution configuration associated with
-- this image pipeline.
--
-- $sel:enhancedImageMetadataEnabled:ImagePipeline',
-- imagePipeline_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:imageRecipeArn:ImagePipeline',
-- imagePipeline_imageRecipeArn - The Amazon Resource Name (ARN)
-- of the image recipe associated with this image pipeline.
--
-- $sel:imageTestsConfiguration:ImagePipeline',
-- imagePipeline_imageTestsConfiguration - The image tests
-- configuration of the image pipeline.
--
-- $sel:infrastructureConfigurationArn:ImagePipeline',
-- imagePipeline_infrastructureConfigurationArn - The Amazon
-- Resource Name (ARN) of the infrastructure configuration associated
-- with this image pipeline.
--
-- $sel:name:ImagePipeline', imagePipeline_name - The name
-- of the image pipeline.
--
-- $sel:platform:ImagePipeline', imagePipeline_platform -
-- The platform of the image pipeline.
--
-- $sel:schedule:ImagePipeline', imagePipeline_schedule -
-- The schedule of the image pipeline.
--
-- $sel:status:ImagePipeline', imagePipeline_status - The
-- status of the image pipeline.
--
-- $sel:tags:ImagePipeline', imagePipeline_tags - The tags
-- of this image pipeline.
newImagePipeline :: ImagePipeline
-- | The Amazon Resource Name (ARN) of the image pipeline.
imagePipeline_arn :: Lens' ImagePipeline (Maybe Text)
-- | The Amazon Resource Name (ARN) of the container recipe that is used
-- for this pipeline.
imagePipeline_containerRecipeArn :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline was created.
imagePipeline_dateCreated :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline was last run.
imagePipeline_dateLastRun :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline will next be run.
imagePipeline_dateNextRun :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline was last updated.
imagePipeline_dateUpdated :: Lens' ImagePipeline (Maybe Text)
-- | The description of the image pipeline.
imagePipeline_description :: Lens' ImagePipeline (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration
-- associated with this image pipeline.
imagePipeline_distributionConfigurationArn :: Lens' ImagePipeline (Maybe Text)
-- | 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.
imagePipeline_enhancedImageMetadataEnabled :: Lens' ImagePipeline (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the image recipe associated with
-- this image pipeline.
imagePipeline_imageRecipeArn :: Lens' ImagePipeline (Maybe Text)
-- | The image tests configuration of the image pipeline.
imagePipeline_imageTestsConfiguration :: Lens' ImagePipeline (Maybe ImageTestsConfiguration)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- associated with this image pipeline.
imagePipeline_infrastructureConfigurationArn :: Lens' ImagePipeline (Maybe Text)
-- | The name of the image pipeline.
imagePipeline_name :: Lens' ImagePipeline (Maybe Text)
-- | The platform of the image pipeline.
imagePipeline_platform :: Lens' ImagePipeline (Maybe Platform)
-- | The schedule of the image pipeline.
imagePipeline_schedule :: Lens' ImagePipeline (Maybe Schedule)
-- | The status of the image pipeline.
imagePipeline_status :: Lens' ImagePipeline (Maybe PipelineStatus)
-- | The tags of this image pipeline.
imagePipeline_tags :: Lens' ImagePipeline (Maybe (HashMap Text Text))
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ImagePipeline.ImagePipeline
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ImagePipeline.ImagePipeline
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ImagePipeline.ImagePipeline
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ImagePipeline.ImagePipeline
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ImagePipeline.ImagePipeline
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ImagePipeline.ImagePipeline
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ImagePipeline.ImagePipeline
module Amazonka.ImageBuilder.Types.SystemsManagerAgent
-- | Contains settings for the Systems Manager agent on your build
-- instance.
--
-- See: newSystemsManagerAgent smart constructor.
data SystemsManagerAgent
SystemsManagerAgent' :: Maybe Bool -> SystemsManagerAgent
-- | Controls whether the Systems Manager agent is removed from your final
-- build image, prior to creating the new AMI. If this is set to true,
-- then the agent is removed from the final image. If it's set to false,
-- then the agent is left in, so that it is included in the new AMI. The
-- default value is false.
[$sel:uninstallAfterBuild:SystemsManagerAgent'] :: SystemsManagerAgent -> Maybe Bool
-- | Create a value of SystemsManagerAgent 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:uninstallAfterBuild:SystemsManagerAgent',
-- systemsManagerAgent_uninstallAfterBuild - Controls whether the
-- Systems Manager agent is removed from your final build image, prior to
-- creating the new AMI. If this is set to true, then the agent is
-- removed from the final image. If it's set to false, then the agent is
-- left in, so that it is included in the new AMI. The default value is
-- false.
newSystemsManagerAgent :: SystemsManagerAgent
-- | Controls whether the Systems Manager agent is removed from your final
-- build image, prior to creating the new AMI. If this is set to true,
-- then the agent is removed from the final image. If it's set to false,
-- then the agent is left in, so that it is included in the new AMI. The
-- default value is false.
systemsManagerAgent_uninstallAfterBuild :: Lens' SystemsManagerAgent (Maybe Bool)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.SystemsManagerAgent.SystemsManagerAgent
instance GHC.Show.Show Amazonka.ImageBuilder.Types.SystemsManagerAgent.SystemsManagerAgent
instance GHC.Read.Read Amazonka.ImageBuilder.Types.SystemsManagerAgent.SystemsManagerAgent
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.SystemsManagerAgent.SystemsManagerAgent
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.SystemsManagerAgent.SystemsManagerAgent
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.SystemsManagerAgent.SystemsManagerAgent
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.SystemsManagerAgent.SystemsManagerAgent
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.SystemsManagerAgent.SystemsManagerAgent
module Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration
-- | In addition to your infrastruction configuration, these settings
-- provide an extra layer of control over your build instances. For
-- instances where Image Builder installs the Systems Manager agent, you
-- can choose whether to keep it for the AMI that you create. You can
-- also specify commands to run on launch for all of your build
-- instances.
--
-- See: newAdditionalInstanceConfiguration smart
-- constructor.
data AdditionalInstanceConfiguration
AdditionalInstanceConfiguration' :: Maybe SystemsManagerAgent -> Maybe Text -> AdditionalInstanceConfiguration
-- | Contains settings for the Systems Manager agent on your build
-- instance.
[$sel:systemsManagerAgent:AdditionalInstanceConfiguration'] :: AdditionalInstanceConfiguration -> Maybe SystemsManagerAgent
-- | Use this property to provide commands or a command script to run when
-- you launch your build instance.
--
-- The userDataOverride property replaces any commands that Image Builder
-- might have added to ensure that Systems Manager is installed on your
-- Linux build instance. If you override the user data, make sure that
-- you add commands to install Systems Manager, if it is not
-- pre-installed on your base image.
--
-- The user data is always base 64 encoded. For example, the following
-- commands are encoded as
-- IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$:
--
-- #!/bin/bash
--
-- mkdir -p /var/bb/
--
-- touch /var
[$sel:userDataOverride:AdditionalInstanceConfiguration'] :: AdditionalInstanceConfiguration -> Maybe Text
-- | Create a value of AdditionalInstanceConfiguration 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:systemsManagerAgent:AdditionalInstanceConfiguration',
-- additionalInstanceConfiguration_systemsManagerAgent - Contains
-- settings for the Systems Manager agent on your build instance.
--
-- $sel:userDataOverride:AdditionalInstanceConfiguration',
-- additionalInstanceConfiguration_userDataOverride - Use this
-- property to provide commands or a command script to run when you
-- launch your build instance.
--
-- The userDataOverride property replaces any commands that Image Builder
-- might have added to ensure that Systems Manager is installed on your
-- Linux build instance. If you override the user data, make sure that
-- you add commands to install Systems Manager, if it is not
-- pre-installed on your base image.
--
-- The user data is always base 64 encoded. For example, the following
-- commands are encoded as
-- IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$:
--
-- #!/bin/bash
--
-- mkdir -p /var/bb/
--
-- touch /var
newAdditionalInstanceConfiguration :: AdditionalInstanceConfiguration
-- | Contains settings for the Systems Manager agent on your build
-- instance.
additionalInstanceConfiguration_systemsManagerAgent :: Lens' AdditionalInstanceConfiguration (Maybe SystemsManagerAgent)
-- | Use this property to provide commands or a command script to run when
-- you launch your build instance.
--
-- The userDataOverride property replaces any commands that Image Builder
-- might have added to ensure that Systems Manager is installed on your
-- Linux build instance. If you override the user data, make sure that
-- you add commands to install Systems Manager, if it is not
-- pre-installed on your base image.
--
-- The user data is always base 64 encoded. For example, the following
-- commands are encoded as
-- IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$:
--
-- #!/bin/bash
--
-- mkdir -p /var/bb/
--
-- touch /var
additionalInstanceConfiguration_userDataOverride :: Lens' AdditionalInstanceConfiguration (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration.AdditionalInstanceConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration.AdditionalInstanceConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration.AdditionalInstanceConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration.AdditionalInstanceConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration.AdditionalInstanceConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration.AdditionalInstanceConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration.AdditionalInstanceConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration.AdditionalInstanceConfiguration
module Amazonka.ImageBuilder.Types.ImageRecipe
-- | An image recipe.
--
-- See: newImageRecipe smart constructor.
data ImageRecipe
ImageRecipe' :: Maybe AdditionalInstanceConfiguration -> Maybe Text -> Maybe [InstanceBlockDeviceMapping] -> Maybe (NonEmpty ComponentConfiguration) -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> Maybe ImageType -> Maybe Text -> Maybe Text -> ImageRecipe
-- | Before you create a new AMI, Image Builder launches temporary Amazon
-- EC2 instances to build and test your image configuration. Instance
-- configuration adds a layer of control over those instances. You can
-- define settings and add scripts to run when an instance is launched
-- from your AMI.
[$sel:additionalInstanceConfiguration:ImageRecipe'] :: ImageRecipe -> Maybe AdditionalInstanceConfiguration
-- | The Amazon Resource Name (ARN) of the image recipe.
[$sel:arn:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The block device mappings to apply when creating images from this
-- recipe.
[$sel:blockDeviceMappings:ImageRecipe'] :: ImageRecipe -> Maybe [InstanceBlockDeviceMapping]
-- | The components of the image recipe.
[$sel:components:ImageRecipe'] :: ImageRecipe -> Maybe (NonEmpty ComponentConfiguration)
-- | The date on which this image recipe was created.
[$sel:dateCreated:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The description of the image recipe.
[$sel:description:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The name of the image recipe.
[$sel:name:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The owner of the image recipe.
[$sel:owner:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The base image of the image recipe.
[$sel:parentImage:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The platform of the image recipe.
[$sel:platform:ImageRecipe'] :: ImageRecipe -> Maybe Platform
-- | The tags of the image recipe.
[$sel:tags:ImageRecipe'] :: ImageRecipe -> Maybe (HashMap Text Text)
-- | Specifies which type of image is created by the recipe - an AMI or a
-- container image.
[$sel:type':ImageRecipe'] :: ImageRecipe -> Maybe ImageType
-- | The version of the image recipe.
[$sel:version:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The working directory to be used during build and test workflows.
[$sel:workingDirectory:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | Create a value of ImageRecipe 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:additionalInstanceConfiguration:ImageRecipe',
-- imageRecipe_additionalInstanceConfiguration - Before you create
-- a new AMI, Image Builder launches temporary Amazon EC2 instances to
-- build and test your image configuration. Instance configuration adds a
-- layer of control over those instances. You can define settings and add
-- scripts to run when an instance is launched from your AMI.
--
-- $sel:arn:ImageRecipe', imageRecipe_arn - The Amazon
-- Resource Name (ARN) of the image recipe.
--
-- $sel:blockDeviceMappings:ImageRecipe',
-- imageRecipe_blockDeviceMappings - The block device mappings to
-- apply when creating images from this recipe.
--
-- $sel:components:ImageRecipe', imageRecipe_components -
-- The components of the image recipe.
--
-- $sel:dateCreated:ImageRecipe', imageRecipe_dateCreated -
-- The date on which this image recipe was created.
--
-- $sel:description:ImageRecipe', imageRecipe_description -
-- The description of the image recipe.
--
-- $sel:name:ImageRecipe', imageRecipe_name - The name of
-- the image recipe.
--
-- $sel:owner:ImageRecipe', imageRecipe_owner - The owner
-- of the image recipe.
--
-- $sel:parentImage:ImageRecipe', imageRecipe_parentImage -
-- The base image of the image recipe.
--
-- $sel:platform:ImageRecipe', imageRecipe_platform - The
-- platform of the image recipe.
--
-- $sel:tags:ImageRecipe', imageRecipe_tags - The tags of
-- the image recipe.
--
-- $sel:type':ImageRecipe', imageRecipe_type - Specifies
-- which type of image is created by the recipe - an AMI or a container
-- image.
--
-- $sel:version:ImageRecipe', imageRecipe_version - The
-- version of the image recipe.
--
-- $sel:workingDirectory:ImageRecipe',
-- imageRecipe_workingDirectory - The working directory to be used
-- during build and test workflows.
newImageRecipe :: ImageRecipe
-- | Before you create a new AMI, Image Builder launches temporary Amazon
-- EC2 instances to build and test your image configuration. Instance
-- configuration adds a layer of control over those instances. You can
-- define settings and add scripts to run when an instance is launched
-- from your AMI.
imageRecipe_additionalInstanceConfiguration :: Lens' ImageRecipe (Maybe AdditionalInstanceConfiguration)
-- | The Amazon Resource Name (ARN) of the image recipe.
imageRecipe_arn :: Lens' ImageRecipe (Maybe Text)
-- | The block device mappings to apply when creating images from this
-- recipe.
imageRecipe_blockDeviceMappings :: Lens' ImageRecipe (Maybe [InstanceBlockDeviceMapping])
-- | The components of the image recipe.
imageRecipe_components :: Lens' ImageRecipe (Maybe (NonEmpty ComponentConfiguration))
-- | The date on which this image recipe was created.
imageRecipe_dateCreated :: Lens' ImageRecipe (Maybe Text)
-- | The description of the image recipe.
imageRecipe_description :: Lens' ImageRecipe (Maybe Text)
-- | The name of the image recipe.
imageRecipe_name :: Lens' ImageRecipe (Maybe Text)
-- | The owner of the image recipe.
imageRecipe_owner :: Lens' ImageRecipe (Maybe Text)
-- | The base image of the image recipe.
imageRecipe_parentImage :: Lens' ImageRecipe (Maybe Text)
-- | The platform of the image recipe.
imageRecipe_platform :: Lens' ImageRecipe (Maybe Platform)
-- | The tags of the image recipe.
imageRecipe_tags :: Lens' ImageRecipe (Maybe (HashMap Text Text))
-- | Specifies which type of image is created by the recipe - an AMI or a
-- container image.
imageRecipe_type :: Lens' ImageRecipe (Maybe ImageType)
-- | The version of the image recipe.
imageRecipe_version :: Lens' ImageRecipe (Maybe Text)
-- | The working directory to be used during build and test workflows.
imageRecipe_workingDirectory :: Lens' ImageRecipe (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ImageRecipe.ImageRecipe
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ImageRecipe.ImageRecipe
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ImageRecipe.ImageRecipe
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ImageRecipe.ImageRecipe
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ImageRecipe.ImageRecipe
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ImageRecipe.ImageRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ImageRecipe.ImageRecipe
module Amazonka.ImageBuilder.Types.TargetContainerRepository
-- | The container repository where the output container image is stored.
--
-- See: newTargetContainerRepository smart constructor.
data TargetContainerRepository
TargetContainerRepository' :: ContainerRepositoryService -> Text -> TargetContainerRepository
-- | Specifies the service in which this image was registered.
[$sel:service:TargetContainerRepository'] :: TargetContainerRepository -> ContainerRepositoryService
-- | The name of the container repository where the output container image
-- is stored. This name is prefixed by the repository location.
[$sel:repositoryName:TargetContainerRepository'] :: TargetContainerRepository -> Text
-- | Create a value of TargetContainerRepository 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:service:TargetContainerRepository',
-- targetContainerRepository_service - Specifies the service in
-- which this image was registered.
--
-- $sel:repositoryName:TargetContainerRepository',
-- targetContainerRepository_repositoryName - The name of the
-- container repository where the output container image is stored. This
-- name is prefixed by the repository location.
newTargetContainerRepository :: ContainerRepositoryService -> Text -> TargetContainerRepository
-- | Specifies the service in which this image was registered.
targetContainerRepository_service :: Lens' TargetContainerRepository ContainerRepositoryService
-- | The name of the container repository where the output container image
-- is stored. This name is prefixed by the repository location.
targetContainerRepository_repositoryName :: Lens' TargetContainerRepository Text
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.TargetContainerRepository.TargetContainerRepository
instance GHC.Show.Show Amazonka.ImageBuilder.Types.TargetContainerRepository.TargetContainerRepository
instance GHC.Read.Read Amazonka.ImageBuilder.Types.TargetContainerRepository.TargetContainerRepository
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.TargetContainerRepository.TargetContainerRepository
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.TargetContainerRepository.TargetContainerRepository
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.TargetContainerRepository.TargetContainerRepository
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.TargetContainerRepository.TargetContainerRepository
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.TargetContainerRepository.TargetContainerRepository
module Amazonka.ImageBuilder.Types.ContainerRecipe
-- | A container recipe.
--
-- See: newContainerRecipe smart constructor.
data ContainerRecipe
ContainerRecipe' :: Maybe Text -> Maybe (NonEmpty ComponentConfiguration) -> Maybe ContainerType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe InstanceConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> Maybe TargetContainerRepository -> Maybe Text -> Maybe Text -> ContainerRecipe
-- | The Amazon Resource Name (ARN) of the container recipe.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
[$sel:arn:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | Components for build and test that are included in the container
-- recipe.
[$sel:components:ContainerRecipe'] :: ContainerRecipe -> Maybe (NonEmpty ComponentConfiguration)
-- | Specifies the type of container, such as Docker.
[$sel:containerType:ContainerRecipe'] :: ContainerRecipe -> Maybe ContainerType
-- | The date when this container recipe was created.
[$sel:dateCreated:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The description of the container recipe.
[$sel:description:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | Dockerfiles are text documents that are used to build Docker
-- containers, and ensure that they contain all of the elements required
-- by the application running inside. The template data consists of
-- contextual variables where Image Builder places build information or
-- scripts, based on your container image recipe.
[$sel:dockerfileTemplateData:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | A flag that indicates if the target container is encrypted.
[$sel:encrypted:ContainerRecipe'] :: ContainerRecipe -> Maybe Bool
-- | A group of options that can be used to configure an instance for
-- building and testing container images.
[$sel:instanceConfiguration:ContainerRecipe'] :: ContainerRecipe -> Maybe InstanceConfiguration
-- | Identifies which KMS key is used to encrypt the container image for
-- distribution to the target Region.
[$sel:kmsKeyId:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The name of the container recipe.
[$sel:name:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The owner of the container recipe.
[$sel:owner:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The base image for the container recipe.
[$sel:parentImage:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The system platform for the container, such as Windows or Linux.
[$sel:platform:ContainerRecipe'] :: ContainerRecipe -> Maybe Platform
-- | Tags that are attached to the container recipe.
[$sel:tags:ContainerRecipe'] :: ContainerRecipe -> Maybe (HashMap Text Text)
-- | The destination repository for the container image.
[$sel:targetRepository:ContainerRecipe'] :: ContainerRecipe -> Maybe TargetContainerRepository
-- | The semantic version of the container recipe.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
[$sel:version:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The working directory for use during build and test workflows.
[$sel:workingDirectory:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | Create a value of ContainerRecipe 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:arn:ContainerRecipe', containerRecipe_arn - The
-- Amazon Resource Name (ARN) of the container recipe.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:components:ContainerRecipe',
-- containerRecipe_components - Components for build and test that
-- are included in the container recipe.
--
-- $sel:containerType:ContainerRecipe',
-- containerRecipe_containerType - Specifies the type of
-- container, such as Docker.
--
-- $sel:dateCreated:ContainerRecipe',
-- containerRecipe_dateCreated - The date when this container
-- recipe was created.
--
-- $sel:description:ContainerRecipe',
-- containerRecipe_description - The description of the container
-- recipe.
--
-- $sel:dockerfileTemplateData:ContainerRecipe',
-- containerRecipe_dockerfileTemplateData - Dockerfiles are text
-- documents that are used to build Docker containers, and ensure that
-- they contain all of the elements required by the application running
-- inside. The template data consists of contextual variables where Image
-- Builder places build information or scripts, based on your container
-- image recipe.
--
-- $sel:encrypted:ContainerRecipe',
-- containerRecipe_encrypted - A flag that indicates if the target
-- container is encrypted.
--
-- $sel:instanceConfiguration:ContainerRecipe',
-- containerRecipe_instanceConfiguration - A group of options that
-- can be used to configure an instance for building and testing
-- container images.
--
-- $sel:kmsKeyId:ContainerRecipe', containerRecipe_kmsKeyId
-- - Identifies which KMS key is used to encrypt the container image for
-- distribution to the target Region.
--
-- $sel:name:ContainerRecipe', containerRecipe_name - The
-- name of the container recipe.
--
-- $sel:owner:ContainerRecipe', containerRecipe_owner - The
-- owner of the container recipe.
--
-- $sel:parentImage:ContainerRecipe',
-- containerRecipe_parentImage - The base image for the container
-- recipe.
--
-- $sel:platform:ContainerRecipe', containerRecipe_platform
-- - The system platform for the container, such as Windows or Linux.
--
-- $sel:tags:ContainerRecipe', containerRecipe_tags - Tags
-- that are attached to the container recipe.
--
-- $sel:targetRepository:ContainerRecipe',
-- containerRecipe_targetRepository - The destination repository
-- for the container image.
--
-- $sel:version:ContainerRecipe', containerRecipe_version -
-- The semantic version of the container recipe.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
--
-- $sel:workingDirectory:ContainerRecipe',
-- containerRecipe_workingDirectory - The working directory for
-- use during build and test workflows.
newContainerRecipe :: ContainerRecipe
-- | The Amazon Resource Name (ARN) of the container recipe.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
containerRecipe_arn :: Lens' ContainerRecipe (Maybe Text)
-- | Components for build and test that are included in the container
-- recipe.
containerRecipe_components :: Lens' ContainerRecipe (Maybe (NonEmpty ComponentConfiguration))
-- | Specifies the type of container, such as Docker.
containerRecipe_containerType :: Lens' ContainerRecipe (Maybe ContainerType)
-- | The date when this container recipe was created.
containerRecipe_dateCreated :: Lens' ContainerRecipe (Maybe Text)
-- | The description of the container recipe.
containerRecipe_description :: Lens' ContainerRecipe (Maybe Text)
-- | Dockerfiles are text documents that are used to build Docker
-- containers, and ensure that they contain all of the elements required
-- by the application running inside. The template data consists of
-- contextual variables where Image Builder places build information or
-- scripts, based on your container image recipe.
containerRecipe_dockerfileTemplateData :: Lens' ContainerRecipe (Maybe Text)
-- | A flag that indicates if the target container is encrypted.
containerRecipe_encrypted :: Lens' ContainerRecipe (Maybe Bool)
-- | A group of options that can be used to configure an instance for
-- building and testing container images.
containerRecipe_instanceConfiguration :: Lens' ContainerRecipe (Maybe InstanceConfiguration)
-- | Identifies which KMS key is used to encrypt the container image for
-- distribution to the target Region.
containerRecipe_kmsKeyId :: Lens' ContainerRecipe (Maybe Text)
-- | The name of the container recipe.
containerRecipe_name :: Lens' ContainerRecipe (Maybe Text)
-- | The owner of the container recipe.
containerRecipe_owner :: Lens' ContainerRecipe (Maybe Text)
-- | The base image for the container recipe.
containerRecipe_parentImage :: Lens' ContainerRecipe (Maybe Text)
-- | The system platform for the container, such as Windows or Linux.
containerRecipe_platform :: Lens' ContainerRecipe (Maybe Platform)
-- | Tags that are attached to the container recipe.
containerRecipe_tags :: Lens' ContainerRecipe (Maybe (HashMap Text Text))
-- | The destination repository for the container image.
containerRecipe_targetRepository :: Lens' ContainerRecipe (Maybe TargetContainerRepository)
-- | The semantic version of the container recipe.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
containerRecipe_version :: Lens' ContainerRecipe (Maybe Text)
-- | The working directory for use during build and test workflows.
containerRecipe_workingDirectory :: Lens' ContainerRecipe (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ContainerRecipe.ContainerRecipe
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ContainerRecipe.ContainerRecipe
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ContainerRecipe.ContainerRecipe
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ContainerRecipe.ContainerRecipe
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ContainerRecipe.ContainerRecipe
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ContainerRecipe.ContainerRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ContainerRecipe.ContainerRecipe
module Amazonka.ImageBuilder.Types.ContainerDistributionConfiguration
-- | Container distribution settings for encryption, licensing, and sharing
-- in a specific Region.
--
-- See: newContainerDistributionConfiguration smart
-- constructor.
data ContainerDistributionConfiguration
ContainerDistributionConfiguration' :: Maybe [Text] -> Maybe Text -> TargetContainerRepository -> ContainerDistributionConfiguration
-- | Tags that are attached to the container distribution configuration.
[$sel:containerTags:ContainerDistributionConfiguration'] :: ContainerDistributionConfiguration -> Maybe [Text]
-- | The description of the container distribution configuration.
[$sel:description:ContainerDistributionConfiguration'] :: ContainerDistributionConfiguration -> Maybe Text
-- | The destination repository for the container distribution
-- configuration.
[$sel:targetRepository:ContainerDistributionConfiguration'] :: ContainerDistributionConfiguration -> TargetContainerRepository
-- | Create a value of ContainerDistributionConfiguration 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:containerTags:ContainerDistributionConfiguration',
-- containerDistributionConfiguration_containerTags - Tags that
-- are attached to the container distribution configuration.
--
-- $sel:description:ContainerDistributionConfiguration',
-- containerDistributionConfiguration_description - The
-- description of the container distribution configuration.
--
-- $sel:targetRepository:ContainerDistributionConfiguration',
-- containerDistributionConfiguration_targetRepository - The
-- destination repository for the container distribution configuration.
newContainerDistributionConfiguration :: TargetContainerRepository -> ContainerDistributionConfiguration
-- | Tags that are attached to the container distribution configuration.
containerDistributionConfiguration_containerTags :: Lens' ContainerDistributionConfiguration (Maybe [Text])
-- | The description of the container distribution configuration.
containerDistributionConfiguration_description :: Lens' ContainerDistributionConfiguration (Maybe Text)
-- | The destination repository for the container distribution
-- configuration.
containerDistributionConfiguration_targetRepository :: Lens' ContainerDistributionConfiguration TargetContainerRepository
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.ContainerDistributionConfiguration.ContainerDistributionConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.ContainerDistributionConfiguration.ContainerDistributionConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.ContainerDistributionConfiguration.ContainerDistributionConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.ContainerDistributionConfiguration.ContainerDistributionConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.ContainerDistributionConfiguration.ContainerDistributionConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.ContainerDistributionConfiguration.ContainerDistributionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.ContainerDistributionConfiguration.ContainerDistributionConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.ContainerDistributionConfiguration.ContainerDistributionConfiguration
module Amazonka.ImageBuilder.Types.Distribution
-- | Defines the settings for a specific Region.
--
-- See: newDistribution smart constructor.
data Distribution
Distribution' :: Maybe AmiDistributionConfiguration -> Maybe ContainerDistributionConfiguration -> Maybe (NonEmpty FastLaunchConfiguration) -> Maybe (NonEmpty LaunchTemplateConfiguration) -> Maybe (NonEmpty Text) -> Maybe S3ExportConfiguration -> Text -> Distribution
-- | The specific AMI settings; for example, launch permissions or AMI
-- tags.
[$sel:amiDistributionConfiguration:Distribution'] :: Distribution -> Maybe AmiDistributionConfiguration
-- | Container distribution settings for encryption, licensing, and sharing
-- in a specific Region.
[$sel:containerDistributionConfiguration:Distribution'] :: Distribution -> Maybe ContainerDistributionConfiguration
-- | The Windows faster-launching configurations to use for AMI
-- distribution.
[$sel:fastLaunchConfigurations:Distribution'] :: Distribution -> Maybe (NonEmpty FastLaunchConfiguration)
-- | A group of launchTemplateConfiguration settings that apply to image
-- distribution for specified accounts.
[$sel:launchTemplateConfigurations:Distribution'] :: Distribution -> Maybe (NonEmpty LaunchTemplateConfiguration)
-- | The License Manager Configuration to associate with the AMI in the
-- specified Region.
[$sel:licenseConfigurationArns:Distribution'] :: Distribution -> Maybe (NonEmpty Text)
-- | Configure export settings to deliver disk images created from your
-- image build, using a file format that is compatible with your VMs in
-- that Region.
[$sel:s3ExportConfiguration:Distribution'] :: Distribution -> Maybe S3ExportConfiguration
-- | The target Region.
[$sel:region:Distribution'] :: Distribution -> Text
-- | Create a value of Distribution 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:amiDistributionConfiguration:Distribution',
-- distribution_amiDistributionConfiguration - The specific AMI
-- settings; for example, launch permissions or AMI tags.
--
-- $sel:containerDistributionConfiguration:Distribution',
-- distribution_containerDistributionConfiguration - Container
-- distribution settings for encryption, licensing, and sharing in a
-- specific Region.
--
-- $sel:fastLaunchConfigurations:Distribution',
-- distribution_fastLaunchConfigurations - The Windows
-- faster-launching configurations to use for AMI distribution.
--
-- $sel:launchTemplateConfigurations:Distribution',
-- distribution_launchTemplateConfigurations - A group of
-- launchTemplateConfiguration settings that apply to image distribution
-- for specified accounts.
--
-- $sel:licenseConfigurationArns:Distribution',
-- distribution_licenseConfigurationArns - The License Manager
-- Configuration to associate with the AMI in the specified Region.
--
-- $sel:s3ExportConfiguration:Distribution',
-- distribution_s3ExportConfiguration - Configure export settings
-- to deliver disk images created from your image build, using a file
-- format that is compatible with your VMs in that Region.
--
-- $sel:region:Distribution', distribution_region - The
-- target Region.
newDistribution :: Text -> Distribution
-- | The specific AMI settings; for example, launch permissions or AMI
-- tags.
distribution_amiDistributionConfiguration :: Lens' Distribution (Maybe AmiDistributionConfiguration)
-- | Container distribution settings for encryption, licensing, and sharing
-- in a specific Region.
distribution_containerDistributionConfiguration :: Lens' Distribution (Maybe ContainerDistributionConfiguration)
-- | The Windows faster-launching configurations to use for AMI
-- distribution.
distribution_fastLaunchConfigurations :: Lens' Distribution (Maybe (NonEmpty FastLaunchConfiguration))
-- | A group of launchTemplateConfiguration settings that apply to image
-- distribution for specified accounts.
distribution_launchTemplateConfigurations :: Lens' Distribution (Maybe (NonEmpty LaunchTemplateConfiguration))
-- | The License Manager Configuration to associate with the AMI in the
-- specified Region.
distribution_licenseConfigurationArns :: Lens' Distribution (Maybe (NonEmpty Text))
-- | Configure export settings to deliver disk images created from your
-- image build, using a file format that is compatible with your VMs in
-- that Region.
distribution_s3ExportConfiguration :: Lens' Distribution (Maybe S3ExportConfiguration)
-- | The target Region.
distribution_region :: Lens' Distribution Text
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.Distribution.Distribution
instance GHC.Show.Show Amazonka.ImageBuilder.Types.Distribution.Distribution
instance GHC.Read.Read Amazonka.ImageBuilder.Types.Distribution.Distribution
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.Distribution.Distribution
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.Distribution.Distribution
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.Distribution.Distribution
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.Distribution.Distribution
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.Types.Distribution.Distribution
module Amazonka.ImageBuilder.Types.DistributionConfiguration
-- | A distribution configuration.
--
-- See: newDistributionConfiguration smart constructor.
data DistributionConfiguration
DistributionConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Distribution] -> Maybe Text -> Maybe (HashMap Text Text) -> Natural -> DistributionConfiguration
-- | The Amazon Resource Name (ARN) of the distribution configuration.
[$sel:arn:DistributionConfiguration'] :: DistributionConfiguration -> Maybe Text
-- | The date on which this distribution configuration was created.
[$sel:dateCreated:DistributionConfiguration'] :: DistributionConfiguration -> Maybe Text
-- | The date on which this distribution configuration was last updated.
[$sel:dateUpdated:DistributionConfiguration'] :: DistributionConfiguration -> Maybe Text
-- | The description of the distribution configuration.
[$sel:description:DistributionConfiguration'] :: DistributionConfiguration -> Maybe Text
-- | The distribution objects that apply Region-specific settings for the
-- deployment of the image to targeted Regions.
[$sel:distributions:DistributionConfiguration'] :: DistributionConfiguration -> Maybe [Distribution]
-- | The name of the distribution configuration.
[$sel:name:DistributionConfiguration'] :: DistributionConfiguration -> Maybe Text
-- | The tags of the distribution configuration.
[$sel:tags:DistributionConfiguration'] :: DistributionConfiguration -> Maybe (HashMap Text Text)
-- | The maximum duration in minutes for this distribution configuration.
[$sel:timeoutMinutes:DistributionConfiguration'] :: DistributionConfiguration -> Natural
-- | Create a value of DistributionConfiguration 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:arn:DistributionConfiguration',
-- distributionConfiguration_arn - The Amazon Resource Name (ARN)
-- of the distribution configuration.
--
-- $sel:dateCreated:DistributionConfiguration',
-- distributionConfiguration_dateCreated - The date on which this
-- distribution configuration was created.
--
-- $sel:dateUpdated:DistributionConfiguration',
-- distributionConfiguration_dateUpdated - The date on which this
-- distribution configuration was last updated.
--
-- $sel:description:DistributionConfiguration',
-- distributionConfiguration_description - The description of the
-- distribution configuration.
--
-- $sel:distributions:DistributionConfiguration',
-- distributionConfiguration_distributions - The distribution
-- objects that apply Region-specific settings for the deployment of the
-- image to targeted Regions.
--
-- $sel:name:DistributionConfiguration',
-- distributionConfiguration_name - The name of the distribution
-- configuration.
--
-- $sel:tags:DistributionConfiguration',
-- distributionConfiguration_tags - The tags of the distribution
-- configuration.
--
-- $sel:timeoutMinutes:DistributionConfiguration',
-- distributionConfiguration_timeoutMinutes - The maximum duration
-- in minutes for this distribution configuration.
newDistributionConfiguration :: Natural -> DistributionConfiguration
-- | The Amazon Resource Name (ARN) of the distribution configuration.
distributionConfiguration_arn :: Lens' DistributionConfiguration (Maybe Text)
-- | The date on which this distribution configuration was created.
distributionConfiguration_dateCreated :: Lens' DistributionConfiguration (Maybe Text)
-- | The date on which this distribution configuration was last updated.
distributionConfiguration_dateUpdated :: Lens' DistributionConfiguration (Maybe Text)
-- | The description of the distribution configuration.
distributionConfiguration_description :: Lens' DistributionConfiguration (Maybe Text)
-- | The distribution objects that apply Region-specific settings for the
-- deployment of the image to targeted Regions.
distributionConfiguration_distributions :: Lens' DistributionConfiguration (Maybe [Distribution])
-- | The name of the distribution configuration.
distributionConfiguration_name :: Lens' DistributionConfiguration (Maybe Text)
-- | The tags of the distribution configuration.
distributionConfiguration_tags :: Lens' DistributionConfiguration (Maybe (HashMap Text Text))
-- | The maximum duration in minutes for this distribution configuration.
distributionConfiguration_timeoutMinutes :: Lens' DistributionConfiguration Natural
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.DistributionConfiguration.DistributionConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.Types.DistributionConfiguration.DistributionConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.Types.DistributionConfiguration.DistributionConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.DistributionConfiguration.DistributionConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.DistributionConfiguration.DistributionConfiguration
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.DistributionConfiguration.DistributionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.DistributionConfiguration.DistributionConfiguration
module Amazonka.ImageBuilder.Types.Image
-- | An Image Builder image. You must specify exactly one recipe for the
-- image – either a container recipe (containerRecipe), which
-- creates a container image, or an image recipe (imageRecipe),
-- which creates an AMI.
--
-- See: newImage smart constructor.
data Image
Image' :: Maybe Text -> Maybe BuildType -> Maybe ContainerRecipe -> Maybe Text -> Maybe DistributionConfiguration -> Maybe Bool -> Maybe ImageRecipe -> Maybe ImageTestsConfiguration -> Maybe InfrastructureConfiguration -> Maybe Text -> Maybe Text -> Maybe OutputResources -> Maybe Platform -> Maybe Text -> Maybe Text -> Maybe ImageState -> Maybe (HashMap Text Text) -> Maybe ImageType -> Maybe Text -> Image
-- | The Amazon Resource Name (ARN) of the image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
[$sel:arn:Image'] :: Image -> Maybe Text
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
[$sel:buildType:Image'] :: Image -> Maybe BuildType
-- | The recipe that is used to create an Image Builder container image.
[$sel:containerRecipe:Image'] :: Image -> Maybe ContainerRecipe
-- | The date on which this image was created.
[$sel:dateCreated:Image'] :: Image -> Maybe Text
-- | The distribution configuration used when creating this image.
[$sel:distributionConfiguration:Image'] :: Image -> Maybe DistributionConfiguration
-- | 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:enhancedImageMetadataEnabled:Image'] :: Image -> Maybe Bool
-- | The image recipe used when creating the image.
[$sel:imageRecipe:Image'] :: Image -> Maybe ImageRecipe
-- | The image tests configuration used when creating this image.
[$sel:imageTestsConfiguration:Image'] :: Image -> Maybe ImageTestsConfiguration
-- | The infrastructure used when creating this image.
[$sel:infrastructureConfiguration:Image'] :: Image -> Maybe InfrastructureConfiguration
-- | The name of the image.
[$sel:name:Image'] :: Image -> Maybe Text
-- | The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
[$sel:osVersion:Image'] :: Image -> Maybe Text
-- | The output resources produced when creating this image.
[$sel:outputResources:Image'] :: Image -> Maybe OutputResources
-- | The platform of the image.
[$sel:platform:Image'] :: Image -> Maybe Platform
-- | The Amazon Resource Name (ARN) of the image pipeline that created this
-- image.
[$sel:sourcePipelineArn:Image'] :: Image -> Maybe Text
-- | The name of the image pipeline that created this image.
[$sel:sourcePipelineName:Image'] :: Image -> Maybe Text
-- | The state of the image.
[$sel:state:Image'] :: Image -> Maybe ImageState
-- | The tags of the image.
[$sel:tags:Image'] :: Image -> Maybe (HashMap Text Text)
-- | Specifies whether this is an AMI or container image.
[$sel:type':Image'] :: Image -> Maybe ImageType
-- | The semantic version of the image.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
[$sel:version:Image'] :: Image -> Maybe Text
-- | Create a value of Image 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:
--
-- Image, image_arn - The Amazon Resource Name (ARN) of the
-- image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:buildType:Image', image_buildType - Indicates the
-- type of build that created this image. The build can be initiated in
-- the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
--
-- $sel:containerRecipe:Image', image_containerRecipe - The
-- recipe that is used to create an Image Builder container image.
--
-- Image, image_dateCreated - The date on which this image
-- was created.
--
-- $sel:distributionConfiguration:Image',
-- image_distributionConfiguration - The distribution
-- configuration used when creating this image.
--
-- $sel:enhancedImageMetadataEnabled:Image',
-- image_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:imageRecipe:Image', image_imageRecipe - The image
-- recipe used when creating the image.
--
-- $sel:imageTestsConfiguration:Image',
-- image_imageTestsConfiguration - The image tests configuration
-- used when creating this image.
--
-- $sel:infrastructureConfiguration:Image',
-- image_infrastructureConfiguration - The infrastructure used
-- when creating this image.
--
-- Image, image_name - The name of the image.
--
-- $sel:osVersion:Image', image_osVersion - The operating
-- system version of the instance. For example, Amazon Linux 2, Ubuntu
-- 18, or Microsoft Windows Server 2019.
--
-- $sel:outputResources:Image', image_outputResources - The
-- output resources produced when creating this image.
--
-- Image, image_platform - The platform of the image.
--
-- $sel:sourcePipelineArn:Image', image_sourcePipelineArn -
-- The Amazon Resource Name (ARN) of the image pipeline that created this
-- image.
--
-- $sel:sourcePipelineName:Image', image_sourcePipelineName
-- - The name of the image pipeline that created this image.
--
-- $sel:state:Image', image_state - The state of the image.
--
-- Image, image_tags - The tags of the image.
--
-- Image, image_type - Specifies whether this is an AMI or
-- container image.
--
-- Image, image_version - The semantic version of the
-- image.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
newImage :: Image
-- | The Amazon Resource Name (ARN) of the image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
image_arn :: Lens' Image (Maybe Text)
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
image_buildType :: Lens' Image (Maybe BuildType)
-- | The recipe that is used to create an Image Builder container image.
image_containerRecipe :: Lens' Image (Maybe ContainerRecipe)
-- | The date on which this image was created.
image_dateCreated :: Lens' Image (Maybe Text)
-- | The distribution configuration used when creating this image.
image_distributionConfiguration :: Lens' Image (Maybe DistributionConfiguration)
-- | 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.
image_enhancedImageMetadataEnabled :: Lens' Image (Maybe Bool)
-- | The image recipe used when creating the image.
image_imageRecipe :: Lens' Image (Maybe ImageRecipe)
-- | The image tests configuration used when creating this image.
image_imageTestsConfiguration :: Lens' Image (Maybe ImageTestsConfiguration)
-- | The infrastructure used when creating this image.
image_infrastructureConfiguration :: Lens' Image (Maybe InfrastructureConfiguration)
-- | The name of the image.
image_name :: Lens' Image (Maybe Text)
-- | The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
image_osVersion :: Lens' Image (Maybe Text)
-- | The output resources produced when creating this image.
image_outputResources :: Lens' Image (Maybe OutputResources)
-- | The platform of the image.
image_platform :: Lens' Image (Maybe Platform)
-- | The Amazon Resource Name (ARN) of the image pipeline that created this
-- image.
image_sourcePipelineArn :: Lens' Image (Maybe Text)
-- | The name of the image pipeline that created this image.
image_sourcePipelineName :: Lens' Image (Maybe Text)
-- | The state of the image.
image_state :: Lens' Image (Maybe ImageState)
-- | The tags of the image.
image_tags :: Lens' Image (Maybe (HashMap Text Text))
-- | Specifies whether this is an AMI or container image.
image_type :: Lens' Image (Maybe ImageType)
-- | The semantic version of the image.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
image_version :: Lens' Image (Maybe Text)
instance GHC.Generics.Generic Amazonka.ImageBuilder.Types.Image.Image
instance GHC.Show.Show Amazonka.ImageBuilder.Types.Image.Image
instance GHC.Read.Read Amazonka.ImageBuilder.Types.Image.Image
instance GHC.Classes.Eq Amazonka.ImageBuilder.Types.Image.Image
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImageBuilder.Types.Image.Image
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.Types.Image.Image
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.Types.Image.Image
module Amazonka.ImageBuilder.Types
-- | API version 2019-12-02 of the Amazon EC2 Image Builder SDK
-- configuration.
defaultService :: Service
-- | You have exceeded the permitted request rate for the specific
-- operation.
_CallRateLimitExceededException :: AsError a => Fold a ServiceError
-- | These errors are usually caused by a client action, such as using an
-- action or resource on behalf of a user that doesn't have permissions
-- to use the action or resource, or specifying an invalid resource
-- identifier.
_ClientException :: AsError a => Fold a ServiceError
-- | You are not authorized to perform the requested operation.
_ForbiddenException :: AsError a => Fold a ServiceError
-- | You have specified a client token for an operation using parameter
-- values that differ from a previous request that used the same client
-- token.
_IdempotentParameterMismatchException :: AsError a => Fold a ServiceError
-- | You have provided an invalid pagination token in your request.
_InvalidPaginationTokenException :: AsError a => Fold a ServiceError
-- | You have specified two or more mutually exclusive parameters. Review
-- the error message for details.
_InvalidParameterCombinationException :: AsError a => Fold a ServiceError
-- | The specified parameter is invalid. Review the available parameters
-- for the API request.
_InvalidParameterException :: AsError a => Fold a ServiceError
-- | The value that you provided for the specified parameter is invalid.
_InvalidParameterValueException :: AsError a => Fold a ServiceError
-- | You have made a request for an action that is not supported by the
-- service.
_InvalidRequestException :: AsError a => Fold a ServiceError
-- | Your version number is out of bounds or does not follow the required
-- syntax.
_InvalidVersionNumberException :: AsError a => Fold a ServiceError
-- | The resource that you are trying to create already exists.
_ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
-- | You have attempted to mutate or delete a resource with a dependency
-- that prohibits this action. See the error message for more details.
_ResourceDependencyException :: AsError a => Fold a ServiceError
-- | The resource that you are trying to operate on is currently in use.
-- Review the message details and retry later.
_ResourceInUseException :: AsError a => Fold a ServiceError
-- | At least one of the resources referenced by your request does not
-- exist.
_ResourceNotFoundException :: AsError a => Fold a ServiceError
-- | This exception is thrown when the service encounters an unrecoverable
-- exception.
_ServiceException :: AsError a => Fold a ServiceError
-- | You have exceeded the number of permitted resources or operations for
-- this service. For service quotas, see EC2 Image Builder endpoints
-- and quotas.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError
-- | The service is unable to process your request at this time.
_ServiceUnavailableException :: AsError a => Fold a ServiceError
newtype BuildType
BuildType' :: Text -> BuildType
[fromBuildType] :: BuildType -> Text
pattern BuildType_IMPORT :: BuildType
pattern BuildType_SCHEDULED :: BuildType
pattern BuildType_USER_INITIATED :: BuildType
newtype ComponentFormat
ComponentFormat' :: Text -> ComponentFormat
[fromComponentFormat] :: ComponentFormat -> Text
pattern ComponentFormat_SHELL :: ComponentFormat
newtype ComponentStatus
ComponentStatus' :: Text -> ComponentStatus
[fromComponentStatus] :: ComponentStatus -> Text
pattern ComponentStatus_DEPRECATED :: ComponentStatus
newtype ComponentType
ComponentType' :: Text -> ComponentType
[fromComponentType] :: ComponentType -> Text
pattern ComponentType_BUILD :: ComponentType
pattern ComponentType_TEST :: ComponentType
newtype ContainerRepositoryService
ContainerRepositoryService' :: Text -> ContainerRepositoryService
[fromContainerRepositoryService] :: ContainerRepositoryService -> Text
pattern ContainerRepositoryService_ECR :: ContainerRepositoryService
newtype ContainerType
ContainerType' :: Text -> ContainerType
[fromContainerType] :: ContainerType -> Text
pattern ContainerType_DOCKER :: ContainerType
newtype DiskImageFormat
DiskImageFormat' :: Text -> DiskImageFormat
[fromDiskImageFormat] :: DiskImageFormat -> Text
pattern DiskImageFormat_RAW :: DiskImageFormat
pattern DiskImageFormat_VHD :: DiskImageFormat
pattern DiskImageFormat_VMDK :: DiskImageFormat
newtype EbsVolumeType
EbsVolumeType' :: Text -> EbsVolumeType
[fromEbsVolumeType] :: EbsVolumeType -> Text
pattern EbsVolumeType_Gp2 :: EbsVolumeType
pattern EbsVolumeType_Gp3 :: EbsVolumeType
pattern EbsVolumeType_Io1 :: EbsVolumeType
pattern EbsVolumeType_Io2 :: EbsVolumeType
pattern EbsVolumeType_Sc1 :: EbsVolumeType
pattern EbsVolumeType_St1 :: EbsVolumeType
pattern EbsVolumeType_Standard :: EbsVolumeType
newtype ImageStatus
ImageStatus' :: Text -> ImageStatus
[fromImageStatus] :: ImageStatus -> Text
pattern ImageStatus_AVAILABLE :: ImageStatus
pattern ImageStatus_BUILDING :: ImageStatus
pattern ImageStatus_CANCELLED :: ImageStatus
pattern ImageStatus_CREATING :: ImageStatus
pattern ImageStatus_DELETED :: ImageStatus
pattern ImageStatus_DEPRECATED :: ImageStatus
pattern ImageStatus_DISTRIBUTING :: ImageStatus
pattern ImageStatus_FAILED :: ImageStatus
pattern ImageStatus_INTEGRATING :: ImageStatus
pattern ImageStatus_PENDING :: ImageStatus
pattern ImageStatus_TESTING :: ImageStatus
newtype ImageType
ImageType' :: Text -> ImageType
[fromImageType] :: ImageType -> Text
pattern ImageType_AMI :: ImageType
pattern ImageType_DOCKER :: ImageType
newtype Ownership
Ownership' :: Text -> Ownership
[fromOwnership] :: Ownership -> Text
pattern Ownership_Amazon :: Ownership
pattern Ownership_Self :: Ownership
pattern Ownership_Shared :: Ownership
newtype PipelineExecutionStartCondition
PipelineExecutionStartCondition' :: Text -> PipelineExecutionStartCondition
[fromPipelineExecutionStartCondition] :: PipelineExecutionStartCondition -> Text
pattern PipelineExecutionStartCondition_EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE :: PipelineExecutionStartCondition
pattern PipelineExecutionStartCondition_EXPRESSION_MATCH_ONLY :: PipelineExecutionStartCondition
newtype PipelineStatus
PipelineStatus' :: Text -> PipelineStatus
[fromPipelineStatus] :: PipelineStatus -> Text
pattern PipelineStatus_DISABLED :: PipelineStatus
pattern PipelineStatus_ENABLED :: PipelineStatus
newtype Platform
Platform' :: Text -> Platform
[fromPlatform] :: Platform -> Text
pattern Platform_Linux :: Platform
pattern Platform_Windows :: Platform
-- | In addition to your infrastruction configuration, these settings
-- provide an extra layer of control over your build instances. For
-- instances where Image Builder installs the Systems Manager agent, you
-- can choose whether to keep it for the AMI that you create. You can
-- also specify commands to run on launch for all of your build
-- instances.
--
-- See: newAdditionalInstanceConfiguration smart
-- constructor.
data AdditionalInstanceConfiguration
AdditionalInstanceConfiguration' :: Maybe SystemsManagerAgent -> Maybe Text -> AdditionalInstanceConfiguration
-- | Contains settings for the Systems Manager agent on your build
-- instance.
[$sel:systemsManagerAgent:AdditionalInstanceConfiguration'] :: AdditionalInstanceConfiguration -> Maybe SystemsManagerAgent
-- | Use this property to provide commands or a command script to run when
-- you launch your build instance.
--
-- The userDataOverride property replaces any commands that Image Builder
-- might have added to ensure that Systems Manager is installed on your
-- Linux build instance. If you override the user data, make sure that
-- you add commands to install Systems Manager, if it is not
-- pre-installed on your base image.
--
-- The user data is always base 64 encoded. For example, the following
-- commands are encoded as
-- IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$:
--
-- #!/bin/bash
--
-- mkdir -p /var/bb/
--
-- touch /var
[$sel:userDataOverride:AdditionalInstanceConfiguration'] :: AdditionalInstanceConfiguration -> Maybe Text
-- | Create a value of AdditionalInstanceConfiguration 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:systemsManagerAgent:AdditionalInstanceConfiguration',
-- additionalInstanceConfiguration_systemsManagerAgent - Contains
-- settings for the Systems Manager agent on your build instance.
--
-- $sel:userDataOverride:AdditionalInstanceConfiguration',
-- additionalInstanceConfiguration_userDataOverride - Use this
-- property to provide commands or a command script to run when you
-- launch your build instance.
--
-- The userDataOverride property replaces any commands that Image Builder
-- might have added to ensure that Systems Manager is installed on your
-- Linux build instance. If you override the user data, make sure that
-- you add commands to install Systems Manager, if it is not
-- pre-installed on your base image.
--
-- The user data is always base 64 encoded. For example, the following
-- commands are encoded as
-- IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$:
--
-- #!/bin/bash
--
-- mkdir -p /var/bb/
--
-- touch /var
newAdditionalInstanceConfiguration :: AdditionalInstanceConfiguration
-- | Contains settings for the Systems Manager agent on your build
-- instance.
additionalInstanceConfiguration_systemsManagerAgent :: Lens' AdditionalInstanceConfiguration (Maybe SystemsManagerAgent)
-- | Use this property to provide commands or a command script to run when
-- you launch your build instance.
--
-- The userDataOverride property replaces any commands that Image Builder
-- might have added to ensure that Systems Manager is installed on your
-- Linux build instance. If you override the user data, make sure that
-- you add commands to install Systems Manager, if it is not
-- pre-installed on your base image.
--
-- The user data is always base 64 encoded. For example, the following
-- commands are encoded as
-- IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$:
--
-- #!/bin/bash
--
-- mkdir -p /var/bb/
--
-- touch /var
additionalInstanceConfiguration_userDataOverride :: Lens' AdditionalInstanceConfiguration (Maybe Text)
-- | Details of an Amazon EC2 AMI.
--
-- See: newAmi smart constructor.
data Ami
Ami' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageState -> Ami
-- | The account ID of the owner of the AMI.
[$sel:accountId:Ami'] :: Ami -> Maybe Text
-- | The description of the Amazon EC2 AMI. Minimum and maximum length are
-- in characters.
[$sel:description:Ami'] :: Ami -> Maybe Text
-- | The AMI ID of the Amazon EC2 AMI.
[$sel:image:Ami'] :: Ami -> Maybe Text
-- | The name of the Amazon EC2 AMI.
[$sel:name:Ami'] :: Ami -> Maybe Text
-- | The Amazon Web Services Region of the Amazon EC2 AMI.
[$sel:region:Ami'] :: Ami -> Maybe Text
[$sel:state:Ami'] :: Ami -> Maybe ImageState
-- | Create a value of Ami 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:accountId:Ami', ami_accountId - The account ID of
-- the owner of the AMI.
--
-- $sel:description:Ami', ami_description - The description
-- of the Amazon EC2 AMI. Minimum and maximum length are in characters.
--
-- $sel:image:Ami', ami_image - The AMI ID of the Amazon
-- EC2 AMI.
--
-- $sel:name:Ami', ami_name - The name of the Amazon EC2
-- AMI.
--
-- $sel:region:Ami', ami_region - The Amazon Web Services
-- Region of the Amazon EC2 AMI.
--
-- $sel:state:Ami', ami_state - Undocumented member.
newAmi :: Ami
-- | The account ID of the owner of the AMI.
ami_accountId :: Lens' Ami (Maybe Text)
-- | The description of the Amazon EC2 AMI. Minimum and maximum length are
-- in characters.
ami_description :: Lens' Ami (Maybe Text)
-- | The AMI ID of the Amazon EC2 AMI.
ami_image :: Lens' Ami (Maybe Text)
-- | The name of the Amazon EC2 AMI.
ami_name :: Lens' Ami (Maybe Text)
-- | The Amazon Web Services Region of the Amazon EC2 AMI.
ami_region :: Lens' Ami (Maybe Text)
-- | Undocumented member.
ami_state :: Lens' Ami (Maybe ImageState)
-- | Define and configure the output AMIs of the pipeline.
--
-- See: newAmiDistributionConfiguration smart constructor.
data AmiDistributionConfiguration
AmiDistributionConfiguration' :: Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> Maybe LaunchPermissionConfiguration -> Maybe Text -> Maybe (NonEmpty Text) -> AmiDistributionConfiguration
-- | The tags to apply to AMIs distributed to this Region.
[$sel:amiTags:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe (HashMap Text Text)
-- | The description of the AMI distribution configuration. Minimum and
-- maximum length are in characters.
[$sel:description:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe Text
-- | The KMS key identifier used to encrypt the distributed image.
[$sel:kmsKeyId:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe Text
-- | Launch permissions can be used to configure which Amazon Web Services
-- accounts can use the AMI to launch instances.
[$sel:launchPermission:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe LaunchPermissionConfiguration
-- | The name of the output AMI.
[$sel:name:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe Text
-- | The ID of an account to which you want to distribute an image.
[$sel:targetAccountIds:AmiDistributionConfiguration'] :: AmiDistributionConfiguration -> Maybe (NonEmpty Text)
-- | Create a value of AmiDistributionConfiguration 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:amiTags:AmiDistributionConfiguration',
-- amiDistributionConfiguration_amiTags - The tags to apply to
-- AMIs distributed to this Region.
--
-- $sel:description:AmiDistributionConfiguration',
-- amiDistributionConfiguration_description - The description of
-- the AMI distribution configuration. Minimum and maximum length are in
-- characters.
--
-- $sel:kmsKeyId:AmiDistributionConfiguration',
-- amiDistributionConfiguration_kmsKeyId - The KMS key identifier
-- used to encrypt the distributed image.
--
-- $sel:launchPermission:AmiDistributionConfiguration',
-- amiDistributionConfiguration_launchPermission - Launch
-- permissions can be used to configure which Amazon Web Services
-- accounts can use the AMI to launch instances.
--
-- $sel:name:AmiDistributionConfiguration',
-- amiDistributionConfiguration_name - The name of the output AMI.
--
-- $sel:targetAccountIds:AmiDistributionConfiguration',
-- amiDistributionConfiguration_targetAccountIds - The ID of an
-- account to which you want to distribute an image.
newAmiDistributionConfiguration :: AmiDistributionConfiguration
-- | The tags to apply to AMIs distributed to this Region.
amiDistributionConfiguration_amiTags :: Lens' AmiDistributionConfiguration (Maybe (HashMap Text Text))
-- | The description of the AMI distribution configuration. Minimum and
-- maximum length are in characters.
amiDistributionConfiguration_description :: Lens' AmiDistributionConfiguration (Maybe Text)
-- | The KMS key identifier used to encrypt the distributed image.
amiDistributionConfiguration_kmsKeyId :: Lens' AmiDistributionConfiguration (Maybe Text)
-- | Launch permissions can be used to configure which Amazon Web Services
-- accounts can use the AMI to launch instances.
amiDistributionConfiguration_launchPermission :: Lens' AmiDistributionConfiguration (Maybe LaunchPermissionConfiguration)
-- | The name of the output AMI.
amiDistributionConfiguration_name :: Lens' AmiDistributionConfiguration (Maybe Text)
-- | The ID of an account to which you want to distribute an image.
amiDistributionConfiguration_targetAccountIds :: Lens' AmiDistributionConfiguration (Maybe (NonEmpty Text))
-- | A detailed view of a component.
--
-- See: newComponent smart constructor.
data Component
Component' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [ComponentParameterDetail] -> Maybe Platform -> Maybe ComponentState -> Maybe (NonEmpty Text) -> Maybe (HashMap Text Text) -> Maybe ComponentType -> Maybe Text -> Component
-- | The Amazon Resource Name (ARN) of the component.
[$sel:arn:Component'] :: Component -> Maybe Text
-- | The change description of the component.
[$sel:changeDescription:Component'] :: Component -> Maybe Text
-- | Component data contains the YAML document content for the component.
[$sel:data':Component'] :: Component -> Maybe Text
-- | The date that the component was created.
[$sel:dateCreated:Component'] :: Component -> Maybe Text
-- | The description of the component.
[$sel:description:Component'] :: Component -> Maybe Text
-- | The encryption status of the component.
[$sel:encrypted:Component'] :: Component -> Maybe Bool
-- | The KMS key identifier used to encrypt the component.
[$sel:kmsKeyId:Component'] :: Component -> Maybe Text
-- | The name of the component.
[$sel:name:Component'] :: Component -> Maybe Text
-- | The owner of the component.
[$sel:owner:Component'] :: Component -> Maybe Text
-- | Contains parameter details for each of the parameters that are defined
-- for the component.
[$sel:parameters:Component'] :: Component -> Maybe [ComponentParameterDetail]
-- | The platform of the component.
[$sel:platform:Component'] :: Component -> Maybe Platform
-- | Describes the current status of the component. This is used for
-- components that are no longer active.
[$sel:state:Component'] :: Component -> Maybe ComponentState
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
[$sel:supportedOsVersions:Component'] :: Component -> Maybe (NonEmpty Text)
-- | The tags associated with the component.
[$sel:tags:Component'] :: Component -> Maybe (HashMap Text Text)
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
[$sel:type':Component'] :: Component -> Maybe ComponentType
-- | The version of the component.
[$sel:version:Component'] :: Component -> Maybe Text
-- | Create a value of Component 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:arn:Component', component_arn - The Amazon Resource
-- Name (ARN) of the component.
--
-- $sel:changeDescription:Component',
-- component_changeDescription - The change description of the
-- component.
--
-- $sel:data':Component', component_data - Component data
-- contains the YAML document content for the component.
--
-- $sel:dateCreated:Component', component_dateCreated - The
-- date that the component was created.
--
-- Component, component_description - The description of
-- the component.
--
-- $sel:encrypted:Component', component_encrypted - The
-- encryption status of the component.
--
-- $sel:kmsKeyId:Component', component_kmsKeyId - The KMS
-- key identifier used to encrypt the component.
--
-- Component, component_name - The name of the component.
--
-- $sel:owner:Component', component_owner - The owner of
-- the component.
--
-- $sel:parameters:Component', component_parameters -
-- Contains parameter details for each of the parameters that are defined
-- for the component.
--
-- $sel:platform:Component', component_platform - The
-- platform of the component.
--
-- $sel:state:Component', component_state - Describes the
-- current status of the component. This is used for components that are
-- no longer active.
--
-- $sel:supportedOsVersions:Component',
-- component_supportedOsVersions - The operating system (OS)
-- version supported by the component. If the OS information is
-- available, a prefix match is performed against the base image OS
-- version during image recipe creation.
--
-- $sel:tags:Component', component_tags - The tags
-- associated with the component.
--
-- Component, component_type - The type of the component
-- denotes whether the component is used to build the image or only to
-- test it.
--
-- $sel:version:Component', component_version - The version
-- of the component.
newComponent :: Component
-- | The Amazon Resource Name (ARN) of the component.
component_arn :: Lens' Component (Maybe Text)
-- | The change description of the component.
component_changeDescription :: Lens' Component (Maybe Text)
-- | Component data contains the YAML document content for the component.
component_data :: Lens' Component (Maybe Text)
-- | The date that the component was created.
component_dateCreated :: Lens' Component (Maybe Text)
-- | The description of the component.
component_description :: Lens' Component (Maybe Text)
-- | The encryption status of the component.
component_encrypted :: Lens' Component (Maybe Bool)
-- | The KMS key identifier used to encrypt the component.
component_kmsKeyId :: Lens' Component (Maybe Text)
-- | The name of the component.
component_name :: Lens' Component (Maybe Text)
-- | The owner of the component.
component_owner :: Lens' Component (Maybe Text)
-- | Contains parameter details for each of the parameters that are defined
-- for the component.
component_parameters :: Lens' Component (Maybe [ComponentParameterDetail])
-- | The platform of the component.
component_platform :: Lens' Component (Maybe Platform)
-- | Describes the current status of the component. This is used for
-- components that are no longer active.
component_state :: Lens' Component (Maybe ComponentState)
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
component_supportedOsVersions :: Lens' Component (Maybe (NonEmpty Text))
-- | The tags associated with the component.
component_tags :: Lens' Component (Maybe (HashMap Text Text))
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
component_type :: Lens' Component (Maybe ComponentType)
-- | The version of the component.
component_version :: Lens' Component (Maybe Text)
-- | Configuration details of the component.
--
-- See: newComponentConfiguration smart constructor.
data ComponentConfiguration
ComponentConfiguration' :: Maybe (NonEmpty ComponentParameter) -> Text -> ComponentConfiguration
-- | A group of parameter settings that are used to configure the component
-- for a specific recipe.
[$sel:parameters:ComponentConfiguration'] :: ComponentConfiguration -> Maybe (NonEmpty ComponentParameter)
-- | The Amazon Resource Name (ARN) of the component.
[$sel:componentArn:ComponentConfiguration'] :: ComponentConfiguration -> Text
-- | Create a value of ComponentConfiguration 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:parameters:ComponentConfiguration',
-- componentConfiguration_parameters - A group of parameter
-- settings that are used to configure the component for a specific
-- recipe.
--
-- $sel:componentArn:ComponentConfiguration',
-- componentConfiguration_componentArn - The Amazon Resource Name
-- (ARN) of the component.
newComponentConfiguration :: Text -> ComponentConfiguration
-- | A group of parameter settings that are used to configure the component
-- for a specific recipe.
componentConfiguration_parameters :: Lens' ComponentConfiguration (Maybe (NonEmpty ComponentParameter))
-- | The Amazon Resource Name (ARN) of the component.
componentConfiguration_componentArn :: Lens' ComponentConfiguration Text
-- | Contains a key/value pair that sets the named component parameter.
--
-- See: newComponentParameter smart constructor.
data ComponentParameter
ComponentParameter' :: Text -> [Text] -> ComponentParameter
-- | The name of the component parameter to set.
[$sel:name:ComponentParameter'] :: ComponentParameter -> Text
-- | Sets the value for the named component parameter.
[$sel:value:ComponentParameter'] :: ComponentParameter -> [Text]
-- | Create a value of ComponentParameter 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:name:ComponentParameter', componentParameter_name -
-- The name of the component parameter to set.
--
-- $sel:value:ComponentParameter', componentParameter_value
-- - Sets the value for the named component parameter.
newComponentParameter :: Text -> ComponentParameter
-- | The name of the component parameter to set.
componentParameter_name :: Lens' ComponentParameter Text
-- | Sets the value for the named component parameter.
componentParameter_value :: Lens' ComponentParameter [Text]
-- | Defines a parameter that is used to provide configuration details for
-- the component.
--
-- See: newComponentParameterDetail smart constructor.
data ComponentParameterDetail
ComponentParameterDetail' :: Maybe [Text] -> Maybe Text -> Text -> Text -> ComponentParameterDetail
-- | The default value of this parameter if no input is provided.
[$sel:defaultValue:ComponentParameterDetail'] :: ComponentParameterDetail -> Maybe [Text]
-- | Describes this parameter.
[$sel:description:ComponentParameterDetail'] :: ComponentParameterDetail -> Maybe Text
-- | The name of this input parameter.
[$sel:name:ComponentParameterDetail'] :: ComponentParameterDetail -> Text
-- | The type of input this parameter provides. The currently supported
-- value is "string".
[$sel:type':ComponentParameterDetail'] :: ComponentParameterDetail -> Text
-- | Create a value of ComponentParameterDetail 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:defaultValue:ComponentParameterDetail',
-- componentParameterDetail_defaultValue - The default value of
-- this parameter if no input is provided.
--
-- $sel:description:ComponentParameterDetail',
-- componentParameterDetail_description - Describes this
-- parameter.
--
-- $sel:name:ComponentParameterDetail',
-- componentParameterDetail_name - The name of this input
-- parameter.
--
-- $sel:type':ComponentParameterDetail',
-- componentParameterDetail_type - The type of input this
-- parameter provides. The currently supported value is "string".
newComponentParameterDetail :: Text -> Text -> ComponentParameterDetail
-- | The default value of this parameter if no input is provided.
componentParameterDetail_defaultValue :: Lens' ComponentParameterDetail (Maybe [Text])
-- | Describes this parameter.
componentParameterDetail_description :: Lens' ComponentParameterDetail (Maybe Text)
-- | The name of this input parameter.
componentParameterDetail_name :: Lens' ComponentParameterDetail Text
-- | The type of input this parameter provides. The currently supported
-- value is "string".
componentParameterDetail_type :: Lens' ComponentParameterDetail Text
-- | A group of fields that describe the current status of components that
-- are no longer active.
--
-- See: newComponentState smart constructor.
data ComponentState
ComponentState' :: Maybe Text -> Maybe ComponentStatus -> ComponentState
-- | Describes how or why the component changed state.
[$sel:reason:ComponentState'] :: ComponentState -> Maybe Text
-- | The current state of the component.
[$sel:status:ComponentState'] :: ComponentState -> Maybe ComponentStatus
-- | Create a value of ComponentState 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:reason:ComponentState', componentState_reason -
-- Describes how or why the component changed state.
--
-- $sel:status:ComponentState', componentState_status - The
-- current state of the component.
newComponentState :: ComponentState
-- | Describes how or why the component changed state.
componentState_reason :: Lens' ComponentState (Maybe Text)
-- | The current state of the component.
componentState_status :: Lens' ComponentState (Maybe ComponentStatus)
-- | A high-level summary of a component.
--
-- See: newComponentSummary smart constructor.
data ComponentSummary
ComponentSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe ComponentState -> Maybe (NonEmpty Text) -> Maybe (HashMap Text Text) -> Maybe ComponentType -> Maybe Text -> ComponentSummary
-- | The Amazon Resource Name (ARN) of the component.
[$sel:arn:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The change description of the component.
[$sel:changeDescription:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The date that the component was created.
[$sel:dateCreated:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The description of the component.
[$sel:description:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The name of the component.
[$sel:name:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The owner of the component.
[$sel:owner:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | The platform of the component.
[$sel:platform:ComponentSummary'] :: ComponentSummary -> Maybe Platform
-- | Describes the current status of the component.
[$sel:state:ComponentSummary'] :: ComponentSummary -> Maybe ComponentState
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
[$sel:supportedOsVersions:ComponentSummary'] :: ComponentSummary -> Maybe (NonEmpty Text)
-- | The tags associated with the component.
[$sel:tags:ComponentSummary'] :: ComponentSummary -> Maybe (HashMap Text Text)
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
[$sel:type':ComponentSummary'] :: ComponentSummary -> Maybe ComponentType
-- | The version of the component.
[$sel:version:ComponentSummary'] :: ComponentSummary -> Maybe Text
-- | Create a value of ComponentSummary 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:arn:ComponentSummary', componentSummary_arn - The
-- Amazon Resource Name (ARN) of the component.
--
-- $sel:changeDescription:ComponentSummary',
-- componentSummary_changeDescription - The change description of
-- the component.
--
-- $sel:dateCreated:ComponentSummary',
-- componentSummary_dateCreated - The date that the component was
-- created.
--
-- $sel:description:ComponentSummary',
-- componentSummary_description - The description of the
-- component.
--
-- $sel:name:ComponentSummary', componentSummary_name - The
-- name of the component.
--
-- $sel:owner:ComponentSummary', componentSummary_owner -
-- The owner of the component.
--
-- $sel:platform:ComponentSummary',
-- componentSummary_platform - The platform of the component.
--
-- $sel:state:ComponentSummary', componentSummary_state -
-- Describes the current status of the component.
--
-- $sel:supportedOsVersions:ComponentSummary',
-- componentSummary_supportedOsVersions - The operating system
-- (OS) version supported by the component. If the OS information is
-- available, a prefix match is performed against the base image OS
-- version during image recipe creation.
--
-- $sel:tags:ComponentSummary', componentSummary_tags - The
-- tags associated with the component.
--
-- $sel:type':ComponentSummary', componentSummary_type -
-- The type of the component denotes whether the component is used to
-- build the image or only to test it.
--
-- $sel:version:ComponentSummary', componentSummary_version
-- - The version of the component.
newComponentSummary :: ComponentSummary
-- | The Amazon Resource Name (ARN) of the component.
componentSummary_arn :: Lens' ComponentSummary (Maybe Text)
-- | The change description of the component.
componentSummary_changeDescription :: Lens' ComponentSummary (Maybe Text)
-- | The date that the component was created.
componentSummary_dateCreated :: Lens' ComponentSummary (Maybe Text)
-- | The description of the component.
componentSummary_description :: Lens' ComponentSummary (Maybe Text)
-- | The name of the component.
componentSummary_name :: Lens' ComponentSummary (Maybe Text)
-- | The owner of the component.
componentSummary_owner :: Lens' ComponentSummary (Maybe Text)
-- | The platform of the component.
componentSummary_platform :: Lens' ComponentSummary (Maybe Platform)
-- | Describes the current status of the component.
componentSummary_state :: Lens' ComponentSummary (Maybe ComponentState)
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
componentSummary_supportedOsVersions :: Lens' ComponentSummary (Maybe (NonEmpty Text))
-- | The tags associated with the component.
componentSummary_tags :: Lens' ComponentSummary (Maybe (HashMap Text Text))
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
componentSummary_type :: Lens' ComponentSummary (Maybe ComponentType)
-- | The version of the component.
componentSummary_version :: Lens' ComponentSummary (Maybe Text)
-- | The defining characteristics of a specific version of an Amazon Web
-- Services TOE component.
--
-- See: newComponentVersion smart constructor.
data ComponentVersion
ComponentVersion' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (NonEmpty Text) -> Maybe ComponentType -> Maybe Text -> ComponentVersion
-- | The Amazon Resource Name (ARN) of the component.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
[$sel:arn:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | The date that the component was created.
[$sel:dateCreated:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | The description of the component.
[$sel:description:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | The name of the component.
[$sel:name:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | The owner of the component.
[$sel:owner:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | The platform of the component.
[$sel:platform:ComponentVersion'] :: ComponentVersion -> Maybe Platform
-- | he operating system (OS) version supported by the component. If the OS
-- information is available, a prefix match is performed against the base
-- image OS version during image recipe creation.
[$sel:supportedOsVersions:ComponentVersion'] :: ComponentVersion -> Maybe (NonEmpty Text)
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
[$sel:type':ComponentVersion'] :: ComponentVersion -> Maybe ComponentType
-- | The semantic version of the component.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
[$sel:version:ComponentVersion'] :: ComponentVersion -> Maybe Text
-- | Create a value of ComponentVersion 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:arn:ComponentVersion', componentVersion_arn - The
-- Amazon Resource Name (ARN) of the component.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:dateCreated:ComponentVersion',
-- componentVersion_dateCreated - The date that the component was
-- created.
--
-- $sel:description:ComponentVersion',
-- componentVersion_description - The description of the
-- component.
--
-- $sel:name:ComponentVersion', componentVersion_name - The
-- name of the component.
--
-- $sel:owner:ComponentVersion', componentVersion_owner -
-- The owner of the component.
--
-- $sel:platform:ComponentVersion',
-- componentVersion_platform - The platform of the component.
--
-- $sel:supportedOsVersions:ComponentVersion',
-- componentVersion_supportedOsVersions - he operating system (OS)
-- version supported by the component. If the OS information is
-- available, a prefix match is performed against the base image OS
-- version during image recipe creation.
--
-- $sel:type':ComponentVersion', componentVersion_type -
-- The type of the component denotes whether the component is used to
-- build the image or only to test it.
--
-- $sel:version:ComponentVersion', componentVersion_version
-- - The semantic version of the component.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
newComponentVersion :: ComponentVersion
-- | The Amazon Resource Name (ARN) of the component.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
componentVersion_arn :: Lens' ComponentVersion (Maybe Text)
-- | The date that the component was created.
componentVersion_dateCreated :: Lens' ComponentVersion (Maybe Text)
-- | The description of the component.
componentVersion_description :: Lens' ComponentVersion (Maybe Text)
-- | The name of the component.
componentVersion_name :: Lens' ComponentVersion (Maybe Text)
-- | The owner of the component.
componentVersion_owner :: Lens' ComponentVersion (Maybe Text)
-- | The platform of the component.
componentVersion_platform :: Lens' ComponentVersion (Maybe Platform)
-- | he operating system (OS) version supported by the component. If the OS
-- information is available, a prefix match is performed against the base
-- image OS version during image recipe creation.
componentVersion_supportedOsVersions :: Lens' ComponentVersion (Maybe (NonEmpty Text))
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
componentVersion_type :: Lens' ComponentVersion (Maybe ComponentType)
-- | The semantic version of the component.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
componentVersion_version :: Lens' ComponentVersion (Maybe Text)
-- | A container encapsulates the runtime environment for an application.
--
-- See: newContainer smart constructor.
data Container
Container' :: Maybe [Text] -> Maybe Text -> Container
-- | A list of URIs for containers created in the context Region.
[$sel:imageUris:Container'] :: Container -> Maybe [Text]
-- | Containers and container images are Region-specific. This is the
-- Region context for the container.
[$sel:region:Container'] :: Container -> Maybe Text
-- | Create a value of Container 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:imageUris:Container', container_imageUris - A list
-- of URIs for containers created in the context Region.
--
-- $sel:region:Container', container_region - Containers
-- and container images are Region-specific. This is the Region context
-- for the container.
newContainer :: Container
-- | A list of URIs for containers created in the context Region.
container_imageUris :: Lens' Container (Maybe [Text])
-- | Containers and container images are Region-specific. This is the
-- Region context for the container.
container_region :: Lens' Container (Maybe Text)
-- | Container distribution settings for encryption, licensing, and sharing
-- in a specific Region.
--
-- See: newContainerDistributionConfiguration smart
-- constructor.
data ContainerDistributionConfiguration
ContainerDistributionConfiguration' :: Maybe [Text] -> Maybe Text -> TargetContainerRepository -> ContainerDistributionConfiguration
-- | Tags that are attached to the container distribution configuration.
[$sel:containerTags:ContainerDistributionConfiguration'] :: ContainerDistributionConfiguration -> Maybe [Text]
-- | The description of the container distribution configuration.
[$sel:description:ContainerDistributionConfiguration'] :: ContainerDistributionConfiguration -> Maybe Text
-- | The destination repository for the container distribution
-- configuration.
[$sel:targetRepository:ContainerDistributionConfiguration'] :: ContainerDistributionConfiguration -> TargetContainerRepository
-- | Create a value of ContainerDistributionConfiguration 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:containerTags:ContainerDistributionConfiguration',
-- containerDistributionConfiguration_containerTags - Tags that
-- are attached to the container distribution configuration.
--
-- $sel:description:ContainerDistributionConfiguration',
-- containerDistributionConfiguration_description - The
-- description of the container distribution configuration.
--
-- $sel:targetRepository:ContainerDistributionConfiguration',
-- containerDistributionConfiguration_targetRepository - The
-- destination repository for the container distribution configuration.
newContainerDistributionConfiguration :: TargetContainerRepository -> ContainerDistributionConfiguration
-- | Tags that are attached to the container distribution configuration.
containerDistributionConfiguration_containerTags :: Lens' ContainerDistributionConfiguration (Maybe [Text])
-- | The description of the container distribution configuration.
containerDistributionConfiguration_description :: Lens' ContainerDistributionConfiguration (Maybe Text)
-- | The destination repository for the container distribution
-- configuration.
containerDistributionConfiguration_targetRepository :: Lens' ContainerDistributionConfiguration TargetContainerRepository
-- | A container recipe.
--
-- See: newContainerRecipe smart constructor.
data ContainerRecipe
ContainerRecipe' :: Maybe Text -> Maybe (NonEmpty ComponentConfiguration) -> Maybe ContainerType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe InstanceConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> Maybe TargetContainerRepository -> Maybe Text -> Maybe Text -> ContainerRecipe
-- | The Amazon Resource Name (ARN) of the container recipe.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
[$sel:arn:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | Components for build and test that are included in the container
-- recipe.
[$sel:components:ContainerRecipe'] :: ContainerRecipe -> Maybe (NonEmpty ComponentConfiguration)
-- | Specifies the type of container, such as Docker.
[$sel:containerType:ContainerRecipe'] :: ContainerRecipe -> Maybe ContainerType
-- | The date when this container recipe was created.
[$sel:dateCreated:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The description of the container recipe.
[$sel:description:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | Dockerfiles are text documents that are used to build Docker
-- containers, and ensure that they contain all of the elements required
-- by the application running inside. The template data consists of
-- contextual variables where Image Builder places build information or
-- scripts, based on your container image recipe.
[$sel:dockerfileTemplateData:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | A flag that indicates if the target container is encrypted.
[$sel:encrypted:ContainerRecipe'] :: ContainerRecipe -> Maybe Bool
-- | A group of options that can be used to configure an instance for
-- building and testing container images.
[$sel:instanceConfiguration:ContainerRecipe'] :: ContainerRecipe -> Maybe InstanceConfiguration
-- | Identifies which KMS key is used to encrypt the container image for
-- distribution to the target Region.
[$sel:kmsKeyId:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The name of the container recipe.
[$sel:name:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The owner of the container recipe.
[$sel:owner:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The base image for the container recipe.
[$sel:parentImage:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The system platform for the container, such as Windows or Linux.
[$sel:platform:ContainerRecipe'] :: ContainerRecipe -> Maybe Platform
-- | Tags that are attached to the container recipe.
[$sel:tags:ContainerRecipe'] :: ContainerRecipe -> Maybe (HashMap Text Text)
-- | The destination repository for the container image.
[$sel:targetRepository:ContainerRecipe'] :: ContainerRecipe -> Maybe TargetContainerRepository
-- | The semantic version of the container recipe.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
[$sel:version:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | The working directory for use during build and test workflows.
[$sel:workingDirectory:ContainerRecipe'] :: ContainerRecipe -> Maybe Text
-- | Create a value of ContainerRecipe 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:arn:ContainerRecipe', containerRecipe_arn - The
-- Amazon Resource Name (ARN) of the container recipe.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:components:ContainerRecipe',
-- containerRecipe_components - Components for build and test that
-- are included in the container recipe.
--
-- $sel:containerType:ContainerRecipe',
-- containerRecipe_containerType - Specifies the type of
-- container, such as Docker.
--
-- $sel:dateCreated:ContainerRecipe',
-- containerRecipe_dateCreated - The date when this container
-- recipe was created.
--
-- $sel:description:ContainerRecipe',
-- containerRecipe_description - The description of the container
-- recipe.
--
-- $sel:dockerfileTemplateData:ContainerRecipe',
-- containerRecipe_dockerfileTemplateData - Dockerfiles are text
-- documents that are used to build Docker containers, and ensure that
-- they contain all of the elements required by the application running
-- inside. The template data consists of contextual variables where Image
-- Builder places build information or scripts, based on your container
-- image recipe.
--
-- $sel:encrypted:ContainerRecipe',
-- containerRecipe_encrypted - A flag that indicates if the target
-- container is encrypted.
--
-- $sel:instanceConfiguration:ContainerRecipe',
-- containerRecipe_instanceConfiguration - A group of options that
-- can be used to configure an instance for building and testing
-- container images.
--
-- $sel:kmsKeyId:ContainerRecipe', containerRecipe_kmsKeyId
-- - Identifies which KMS key is used to encrypt the container image for
-- distribution to the target Region.
--
-- $sel:name:ContainerRecipe', containerRecipe_name - The
-- name of the container recipe.
--
-- $sel:owner:ContainerRecipe', containerRecipe_owner - The
-- owner of the container recipe.
--
-- $sel:parentImage:ContainerRecipe',
-- containerRecipe_parentImage - The base image for the container
-- recipe.
--
-- $sel:platform:ContainerRecipe', containerRecipe_platform
-- - The system platform for the container, such as Windows or Linux.
--
-- $sel:tags:ContainerRecipe', containerRecipe_tags - Tags
-- that are attached to the container recipe.
--
-- $sel:targetRepository:ContainerRecipe',
-- containerRecipe_targetRepository - The destination repository
-- for the container image.
--
-- $sel:version:ContainerRecipe', containerRecipe_version -
-- The semantic version of the container recipe.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
--
-- $sel:workingDirectory:ContainerRecipe',
-- containerRecipe_workingDirectory - The working directory for
-- use during build and test workflows.
newContainerRecipe :: ContainerRecipe
-- | The Amazon Resource Name (ARN) of the container recipe.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
containerRecipe_arn :: Lens' ContainerRecipe (Maybe Text)
-- | Components for build and test that are included in the container
-- recipe.
containerRecipe_components :: Lens' ContainerRecipe (Maybe (NonEmpty ComponentConfiguration))
-- | Specifies the type of container, such as Docker.
containerRecipe_containerType :: Lens' ContainerRecipe (Maybe ContainerType)
-- | The date when this container recipe was created.
containerRecipe_dateCreated :: Lens' ContainerRecipe (Maybe Text)
-- | The description of the container recipe.
containerRecipe_description :: Lens' ContainerRecipe (Maybe Text)
-- | Dockerfiles are text documents that are used to build Docker
-- containers, and ensure that they contain all of the elements required
-- by the application running inside. The template data consists of
-- contextual variables where Image Builder places build information or
-- scripts, based on your container image recipe.
containerRecipe_dockerfileTemplateData :: Lens' ContainerRecipe (Maybe Text)
-- | A flag that indicates if the target container is encrypted.
containerRecipe_encrypted :: Lens' ContainerRecipe (Maybe Bool)
-- | A group of options that can be used to configure an instance for
-- building and testing container images.
containerRecipe_instanceConfiguration :: Lens' ContainerRecipe (Maybe InstanceConfiguration)
-- | Identifies which KMS key is used to encrypt the container image for
-- distribution to the target Region.
containerRecipe_kmsKeyId :: Lens' ContainerRecipe (Maybe Text)
-- | The name of the container recipe.
containerRecipe_name :: Lens' ContainerRecipe (Maybe Text)
-- | The owner of the container recipe.
containerRecipe_owner :: Lens' ContainerRecipe (Maybe Text)
-- | The base image for the container recipe.
containerRecipe_parentImage :: Lens' ContainerRecipe (Maybe Text)
-- | The system platform for the container, such as Windows or Linux.
containerRecipe_platform :: Lens' ContainerRecipe (Maybe Platform)
-- | Tags that are attached to the container recipe.
containerRecipe_tags :: Lens' ContainerRecipe (Maybe (HashMap Text Text))
-- | The destination repository for the container image.
containerRecipe_targetRepository :: Lens' ContainerRecipe (Maybe TargetContainerRepository)
-- | The semantic version of the container recipe.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
containerRecipe_version :: Lens' ContainerRecipe (Maybe Text)
-- | The working directory for use during build and test workflows.
containerRecipe_workingDirectory :: Lens' ContainerRecipe (Maybe Text)
-- | A summary of a container recipe
--
-- See: newContainerRecipeSummary smart constructor.
data ContainerRecipeSummary
ContainerRecipeSummary' :: Maybe Text -> Maybe ContainerType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> ContainerRecipeSummary
-- | The Amazon Resource Name (ARN) of the container recipe.
[$sel:arn:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Text
-- | Specifies the type of container, such as "Docker".
[$sel:containerType:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe ContainerType
-- | The date when this container recipe was created.
[$sel:dateCreated:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Text
-- | The name of the container recipe.
[$sel:name:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Text
-- | The owner of the container recipe.
[$sel:owner:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Text
-- | The base image for the container recipe.
[$sel:parentImage:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Text
-- | The system platform for the container, such as Windows or Linux.
[$sel:platform:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe Platform
-- | Tags that are attached to the container recipe.
[$sel:tags:ContainerRecipeSummary'] :: ContainerRecipeSummary -> Maybe (HashMap Text Text)
-- | Create a value of ContainerRecipeSummary 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:arn:ContainerRecipeSummary',
-- containerRecipeSummary_arn - The Amazon Resource Name (ARN) of
-- the container recipe.
--
-- $sel:containerType:ContainerRecipeSummary',
-- containerRecipeSummary_containerType - Specifies the type of
-- container, such as "Docker".
--
-- $sel:dateCreated:ContainerRecipeSummary',
-- containerRecipeSummary_dateCreated - The date when this
-- container recipe was created.
--
-- $sel:name:ContainerRecipeSummary',
-- containerRecipeSummary_name - The name of the container recipe.
--
-- $sel:owner:ContainerRecipeSummary',
-- containerRecipeSummary_owner - The owner of the container
-- recipe.
--
-- $sel:parentImage:ContainerRecipeSummary',
-- containerRecipeSummary_parentImage - The base image for the
-- container recipe.
--
-- $sel:platform:ContainerRecipeSummary',
-- containerRecipeSummary_platform - The system platform for the
-- container, such as Windows or Linux.
--
-- $sel:tags:ContainerRecipeSummary',
-- containerRecipeSummary_tags - Tags that are attached to the
-- container recipe.
newContainerRecipeSummary :: ContainerRecipeSummary
-- | The Amazon Resource Name (ARN) of the container recipe.
containerRecipeSummary_arn :: Lens' ContainerRecipeSummary (Maybe Text)
-- | Specifies the type of container, such as "Docker".
containerRecipeSummary_containerType :: Lens' ContainerRecipeSummary (Maybe ContainerType)
-- | The date when this container recipe was created.
containerRecipeSummary_dateCreated :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The name of the container recipe.
containerRecipeSummary_name :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The owner of the container recipe.
containerRecipeSummary_owner :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The base image for the container recipe.
containerRecipeSummary_parentImage :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The system platform for the container, such as Windows or Linux.
containerRecipeSummary_platform :: Lens' ContainerRecipeSummary (Maybe Platform)
-- | Tags that are attached to the container recipe.
containerRecipeSummary_tags :: Lens' ContainerRecipeSummary (Maybe (HashMap Text Text))
-- | Defines the settings for a specific Region.
--
-- See: newDistribution smart constructor.
data Distribution
Distribution' :: Maybe AmiDistributionConfiguration -> Maybe ContainerDistributionConfiguration -> Maybe (NonEmpty FastLaunchConfiguration) -> Maybe (NonEmpty LaunchTemplateConfiguration) -> Maybe (NonEmpty Text) -> Maybe S3ExportConfiguration -> Text -> Distribution
-- | The specific AMI settings; for example, launch permissions or AMI
-- tags.
[$sel:amiDistributionConfiguration:Distribution'] :: Distribution -> Maybe AmiDistributionConfiguration
-- | Container distribution settings for encryption, licensing, and sharing
-- in a specific Region.
[$sel:containerDistributionConfiguration:Distribution'] :: Distribution -> Maybe ContainerDistributionConfiguration
-- | The Windows faster-launching configurations to use for AMI
-- distribution.
[$sel:fastLaunchConfigurations:Distribution'] :: Distribution -> Maybe (NonEmpty FastLaunchConfiguration)
-- | A group of launchTemplateConfiguration settings that apply to image
-- distribution for specified accounts.
[$sel:launchTemplateConfigurations:Distribution'] :: Distribution -> Maybe (NonEmpty LaunchTemplateConfiguration)
-- | The License Manager Configuration to associate with the AMI in the
-- specified Region.
[$sel:licenseConfigurationArns:Distribution'] :: Distribution -> Maybe (NonEmpty Text)
-- | Configure export settings to deliver disk images created from your
-- image build, using a file format that is compatible with your VMs in
-- that Region.
[$sel:s3ExportConfiguration:Distribution'] :: Distribution -> Maybe S3ExportConfiguration
-- | The target Region.
[$sel:region:Distribution'] :: Distribution -> Text
-- | Create a value of Distribution 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:amiDistributionConfiguration:Distribution',
-- distribution_amiDistributionConfiguration - The specific AMI
-- settings; for example, launch permissions or AMI tags.
--
-- $sel:containerDistributionConfiguration:Distribution',
-- distribution_containerDistributionConfiguration - Container
-- distribution settings for encryption, licensing, and sharing in a
-- specific Region.
--
-- $sel:fastLaunchConfigurations:Distribution',
-- distribution_fastLaunchConfigurations - The Windows
-- faster-launching configurations to use for AMI distribution.
--
-- $sel:launchTemplateConfigurations:Distribution',
-- distribution_launchTemplateConfigurations - A group of
-- launchTemplateConfiguration settings that apply to image distribution
-- for specified accounts.
--
-- $sel:licenseConfigurationArns:Distribution',
-- distribution_licenseConfigurationArns - The License Manager
-- Configuration to associate with the AMI in the specified Region.
--
-- $sel:s3ExportConfiguration:Distribution',
-- distribution_s3ExportConfiguration - Configure export settings
-- to deliver disk images created from your image build, using a file
-- format that is compatible with your VMs in that Region.
--
-- $sel:region:Distribution', distribution_region - The
-- target Region.
newDistribution :: Text -> Distribution
-- | The specific AMI settings; for example, launch permissions or AMI
-- tags.
distribution_amiDistributionConfiguration :: Lens' Distribution (Maybe AmiDistributionConfiguration)
-- | Container distribution settings for encryption, licensing, and sharing
-- in a specific Region.
distribution_containerDistributionConfiguration :: Lens' Distribution (Maybe ContainerDistributionConfiguration)
-- | The Windows faster-launching configurations to use for AMI
-- distribution.
distribution_fastLaunchConfigurations :: Lens' Distribution (Maybe (NonEmpty FastLaunchConfiguration))
-- | A group of launchTemplateConfiguration settings that apply to image
-- distribution for specified accounts.
distribution_launchTemplateConfigurations :: Lens' Distribution (Maybe (NonEmpty LaunchTemplateConfiguration))
-- | The License Manager Configuration to associate with the AMI in the
-- specified Region.
distribution_licenseConfigurationArns :: Lens' Distribution (Maybe (NonEmpty Text))
-- | Configure export settings to deliver disk images created from your
-- image build, using a file format that is compatible with your VMs in
-- that Region.
distribution_s3ExportConfiguration :: Lens' Distribution (Maybe S3ExportConfiguration)
-- | The target Region.
distribution_region :: Lens' Distribution Text
-- | A distribution configuration.
--
-- See: newDistributionConfiguration smart constructor.
data DistributionConfiguration
DistributionConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Distribution] -> Maybe Text -> Maybe (HashMap Text Text) -> Natural -> DistributionConfiguration
-- | The Amazon Resource Name (ARN) of the distribution configuration.
[$sel:arn:DistributionConfiguration'] :: DistributionConfiguration -> Maybe Text
-- | The date on which this distribution configuration was created.
[$sel:dateCreated:DistributionConfiguration'] :: DistributionConfiguration -> Maybe Text
-- | The date on which this distribution configuration was last updated.
[$sel:dateUpdated:DistributionConfiguration'] :: DistributionConfiguration -> Maybe Text
-- | The description of the distribution configuration.
[$sel:description:DistributionConfiguration'] :: DistributionConfiguration -> Maybe Text
-- | The distribution objects that apply Region-specific settings for the
-- deployment of the image to targeted Regions.
[$sel:distributions:DistributionConfiguration'] :: DistributionConfiguration -> Maybe [Distribution]
-- | The name of the distribution configuration.
[$sel:name:DistributionConfiguration'] :: DistributionConfiguration -> Maybe Text
-- | The tags of the distribution configuration.
[$sel:tags:DistributionConfiguration'] :: DistributionConfiguration -> Maybe (HashMap Text Text)
-- | The maximum duration in minutes for this distribution configuration.
[$sel:timeoutMinutes:DistributionConfiguration'] :: DistributionConfiguration -> Natural
-- | Create a value of DistributionConfiguration 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:arn:DistributionConfiguration',
-- distributionConfiguration_arn - The Amazon Resource Name (ARN)
-- of the distribution configuration.
--
-- $sel:dateCreated:DistributionConfiguration',
-- distributionConfiguration_dateCreated - The date on which this
-- distribution configuration was created.
--
-- $sel:dateUpdated:DistributionConfiguration',
-- distributionConfiguration_dateUpdated - The date on which this
-- distribution configuration was last updated.
--
-- $sel:description:DistributionConfiguration',
-- distributionConfiguration_description - The description of the
-- distribution configuration.
--
-- $sel:distributions:DistributionConfiguration',
-- distributionConfiguration_distributions - The distribution
-- objects that apply Region-specific settings for the deployment of the
-- image to targeted Regions.
--
-- $sel:name:DistributionConfiguration',
-- distributionConfiguration_name - The name of the distribution
-- configuration.
--
-- $sel:tags:DistributionConfiguration',
-- distributionConfiguration_tags - The tags of the distribution
-- configuration.
--
-- $sel:timeoutMinutes:DistributionConfiguration',
-- distributionConfiguration_timeoutMinutes - The maximum duration
-- in minutes for this distribution configuration.
newDistributionConfiguration :: Natural -> DistributionConfiguration
-- | The Amazon Resource Name (ARN) of the distribution configuration.
distributionConfiguration_arn :: Lens' DistributionConfiguration (Maybe Text)
-- | The date on which this distribution configuration was created.
distributionConfiguration_dateCreated :: Lens' DistributionConfiguration (Maybe Text)
-- | The date on which this distribution configuration was last updated.
distributionConfiguration_dateUpdated :: Lens' DistributionConfiguration (Maybe Text)
-- | The description of the distribution configuration.
distributionConfiguration_description :: Lens' DistributionConfiguration (Maybe Text)
-- | The distribution objects that apply Region-specific settings for the
-- deployment of the image to targeted Regions.
distributionConfiguration_distributions :: Lens' DistributionConfiguration (Maybe [Distribution])
-- | The name of the distribution configuration.
distributionConfiguration_name :: Lens' DistributionConfiguration (Maybe Text)
-- | The tags of the distribution configuration.
distributionConfiguration_tags :: Lens' DistributionConfiguration (Maybe (HashMap Text Text))
-- | The maximum duration in minutes for this distribution configuration.
distributionConfiguration_timeoutMinutes :: Lens' DistributionConfiguration Natural
-- | A high-level overview of a distribution configuration.
--
-- See: newDistributionConfigurationSummary smart
-- constructor.
data DistributionConfigurationSummary
DistributionConfigurationSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe (HashMap Text Text) -> DistributionConfigurationSummary
-- | The Amazon Resource Name (ARN) of the distribution configuration.
[$sel:arn:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe Text
-- | The date on which the distribution configuration was created.
[$sel:dateCreated:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe Text
-- | The date on which the distribution configuration was updated.
[$sel:dateUpdated:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe Text
-- | The description of the distribution configuration.
[$sel:description:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe Text
-- | The name of the distribution configuration.
[$sel:name:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe Text
-- | A list of Regions where the container image is distributed to.
[$sel:regions:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe [Text]
-- | The tags associated with the distribution configuration.
[$sel:tags:DistributionConfigurationSummary'] :: DistributionConfigurationSummary -> Maybe (HashMap Text Text)
-- | Create a value of DistributionConfigurationSummary 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:arn:DistributionConfigurationSummary',
-- distributionConfigurationSummary_arn - The Amazon Resource Name
-- (ARN) of the distribution configuration.
--
-- $sel:dateCreated:DistributionConfigurationSummary',
-- distributionConfigurationSummary_dateCreated - The date on
-- which the distribution configuration was created.
--
-- $sel:dateUpdated:DistributionConfigurationSummary',
-- distributionConfigurationSummary_dateUpdated - The date on
-- which the distribution configuration was updated.
--
-- $sel:description:DistributionConfigurationSummary',
-- distributionConfigurationSummary_description - The description
-- of the distribution configuration.
--
-- $sel:name:DistributionConfigurationSummary',
-- distributionConfigurationSummary_name - The name of the
-- distribution configuration.
--
-- $sel:regions:DistributionConfigurationSummary',
-- distributionConfigurationSummary_regions - A list of Regions
-- where the container image is distributed to.
--
-- $sel:tags:DistributionConfigurationSummary',
-- distributionConfigurationSummary_tags - The tags associated
-- with the distribution configuration.
newDistributionConfigurationSummary :: DistributionConfigurationSummary
-- | The Amazon Resource Name (ARN) of the distribution configuration.
distributionConfigurationSummary_arn :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The date on which the distribution configuration was created.
distributionConfigurationSummary_dateCreated :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The date on which the distribution configuration was updated.
distributionConfigurationSummary_dateUpdated :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The description of the distribution configuration.
distributionConfigurationSummary_description :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The name of the distribution configuration.
distributionConfigurationSummary_name :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | A list of Regions where the container image is distributed to.
distributionConfigurationSummary_regions :: Lens' DistributionConfigurationSummary (Maybe [Text])
-- | The tags associated with the distribution configuration.
distributionConfigurationSummary_tags :: Lens' DistributionConfigurationSummary (Maybe (HashMap Text Text))
-- | Amazon EBS-specific block device mapping specifications.
--
-- See: newEbsInstanceBlockDeviceSpecification smart
-- constructor.
data EbsInstanceBlockDeviceSpecification
EbsInstanceBlockDeviceSpecification' :: Maybe Bool -> Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Natural -> Maybe EbsVolumeType -> EbsInstanceBlockDeviceSpecification
-- | Use to configure delete on termination of the associated device.
[$sel:deleteOnTermination:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Bool
-- | Use to configure device encryption.
[$sel:encrypted:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Bool
-- | Use to configure device IOPS.
[$sel:iops:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Natural
-- | Use to configure the KMS key to use when encrypting the device.
[$sel:kmsKeyId:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Text
-- | The snapshot that defines the device contents.
[$sel:snapshotId:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Text
-- | For GP3 volumes only – The throughput in MiB/s that the volume
-- supports.
[$sel:throughput:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Natural
-- | Use to override the device's volume size.
[$sel:volumeSize:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe Natural
-- | Use to override the device's volume type.
[$sel:volumeType:EbsInstanceBlockDeviceSpecification'] :: EbsInstanceBlockDeviceSpecification -> Maybe EbsVolumeType
-- | Create a value of EbsInstanceBlockDeviceSpecification 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:deleteOnTermination:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_deleteOnTermination - Use
-- to configure delete on termination of the associated device.
--
-- $sel:encrypted:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_encrypted - Use to
-- configure device encryption.
--
-- $sel:iops:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_iops - Use to configure
-- device IOPS.
--
-- $sel:kmsKeyId:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_kmsKeyId - Use to configure
-- the KMS key to use when encrypting the device.
--
-- $sel:snapshotId:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_snapshotId - The snapshot
-- that defines the device contents.
--
-- $sel:throughput:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_throughput - For GP3
-- volumes only – The throughput in MiB/s that the volume supports.
--
-- $sel:volumeSize:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_volumeSize - Use to
-- override the device's volume size.
--
-- $sel:volumeType:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_volumeType - Use to
-- override the device's volume type.
newEbsInstanceBlockDeviceSpecification :: EbsInstanceBlockDeviceSpecification
-- | Use to configure delete on termination of the associated device.
ebsInstanceBlockDeviceSpecification_deleteOnTermination :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Bool)
-- | Use to configure device encryption.
ebsInstanceBlockDeviceSpecification_encrypted :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Bool)
-- | Use to configure device IOPS.
ebsInstanceBlockDeviceSpecification_iops :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Natural)
-- | Use to configure the KMS key to use when encrypting the device.
ebsInstanceBlockDeviceSpecification_kmsKeyId :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Text)
-- | The snapshot that defines the device contents.
ebsInstanceBlockDeviceSpecification_snapshotId :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Text)
-- | For GP3 volumes only – The throughput in MiB/s that the volume
-- supports.
ebsInstanceBlockDeviceSpecification_throughput :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Natural)
-- | Use to override the device's volume size.
ebsInstanceBlockDeviceSpecification_volumeSize :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Natural)
-- | Use to override the device's volume type.
ebsInstanceBlockDeviceSpecification_volumeType :: Lens' EbsInstanceBlockDeviceSpecification (Maybe EbsVolumeType)
-- | Define and configure faster launching for output Windows AMIs.
--
-- See: newFastLaunchConfiguration smart constructor.
data FastLaunchConfiguration
FastLaunchConfiguration' :: Maybe Text -> Maybe FastLaunchLaunchTemplateSpecification -> Maybe Natural -> Maybe FastLaunchSnapshotConfiguration -> Bool -> FastLaunchConfiguration
-- | The owner account ID for the fast-launch enabled Windows AMI.
[$sel:accountId:FastLaunchConfiguration'] :: FastLaunchConfiguration -> Maybe Text
-- | The launch template that the fast-launch enabled Windows AMI uses when
-- it launches Windows instances to create pre-provisioned snapshots.
[$sel:launchTemplate:FastLaunchConfiguration'] :: FastLaunchConfiguration -> Maybe FastLaunchLaunchTemplateSpecification
-- | The maximum number of parallel instances that are launched for
-- creating resources.
[$sel:maxParallelLaunches:FastLaunchConfiguration'] :: FastLaunchConfiguration -> Maybe Natural
-- | Configuration settings for managing the number of snapshots that are
-- created from pre-provisioned instances for the Windows AMI when faster
-- launching is enabled.
[$sel:snapshotConfiguration:FastLaunchConfiguration'] :: FastLaunchConfiguration -> Maybe FastLaunchSnapshotConfiguration
-- | A Boolean that represents the current state of faster launching for
-- the Windows AMI. Set to true to start using Windows faster
-- launching, or false to stop using it.
[$sel:enabled:FastLaunchConfiguration'] :: FastLaunchConfiguration -> Bool
-- | Create a value of FastLaunchConfiguration 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:accountId:FastLaunchConfiguration',
-- fastLaunchConfiguration_accountId - The owner account ID for
-- the fast-launch enabled Windows AMI.
--
-- $sel:launchTemplate:FastLaunchConfiguration',
-- fastLaunchConfiguration_launchTemplate - The launch template
-- that the fast-launch enabled Windows AMI uses when it launches Windows
-- instances to create pre-provisioned snapshots.
--
-- $sel:maxParallelLaunches:FastLaunchConfiguration',
-- fastLaunchConfiguration_maxParallelLaunches - The maximum
-- number of parallel instances that are launched for creating resources.
--
-- $sel:snapshotConfiguration:FastLaunchConfiguration',
-- fastLaunchConfiguration_snapshotConfiguration - Configuration
-- settings for managing the number of snapshots that are created from
-- pre-provisioned instances for the Windows AMI when faster launching is
-- enabled.
--
-- $sel:enabled:FastLaunchConfiguration',
-- fastLaunchConfiguration_enabled - A Boolean that represents the
-- current state of faster launching for the Windows AMI. Set to
-- true to start using Windows faster launching, or
-- false to stop using it.
newFastLaunchConfiguration :: Bool -> FastLaunchConfiguration
-- | The owner account ID for the fast-launch enabled Windows AMI.
fastLaunchConfiguration_accountId :: Lens' FastLaunchConfiguration (Maybe Text)
-- | The launch template that the fast-launch enabled Windows AMI uses when
-- it launches Windows instances to create pre-provisioned snapshots.
fastLaunchConfiguration_launchTemplate :: Lens' FastLaunchConfiguration (Maybe FastLaunchLaunchTemplateSpecification)
-- | The maximum number of parallel instances that are launched for
-- creating resources.
fastLaunchConfiguration_maxParallelLaunches :: Lens' FastLaunchConfiguration (Maybe Natural)
-- | Configuration settings for managing the number of snapshots that are
-- created from pre-provisioned instances for the Windows AMI when faster
-- launching is enabled.
fastLaunchConfiguration_snapshotConfiguration :: Lens' FastLaunchConfiguration (Maybe FastLaunchSnapshotConfiguration)
-- | A Boolean that represents the current state of faster launching for
-- the Windows AMI. Set to true to start using Windows faster
-- launching, or false to stop using it.
fastLaunchConfiguration_enabled :: Lens' FastLaunchConfiguration Bool
-- | Identifies the launch template that the associated Windows AMI uses
-- for launching an instance when faster launching is enabled.
--
-- You can specify either the launchTemplateName or the
-- launchTemplateId, but not both.
--
-- See: newFastLaunchLaunchTemplateSpecification smart
-- constructor.
data FastLaunchLaunchTemplateSpecification
FastLaunchLaunchTemplateSpecification' :: Maybe Text -> Maybe Text -> Maybe Text -> FastLaunchLaunchTemplateSpecification
-- | The ID of the launch template to use for faster launching for a
-- Windows AMI.
[$sel:launchTemplateId:FastLaunchLaunchTemplateSpecification'] :: FastLaunchLaunchTemplateSpecification -> Maybe Text
-- | The name of the launch template to use for faster launching for a
-- Windows AMI.
[$sel:launchTemplateName:FastLaunchLaunchTemplateSpecification'] :: FastLaunchLaunchTemplateSpecification -> Maybe Text
-- | The version of the launch template to use for faster launching for a
-- Windows AMI.
[$sel:launchTemplateVersion:FastLaunchLaunchTemplateSpecification'] :: FastLaunchLaunchTemplateSpecification -> Maybe Text
-- | Create a value of FastLaunchLaunchTemplateSpecification 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:launchTemplateId:FastLaunchLaunchTemplateSpecification',
-- fastLaunchLaunchTemplateSpecification_launchTemplateId - The ID
-- of the launch template to use for faster launching for a Windows AMI.
--
-- $sel:launchTemplateName:FastLaunchLaunchTemplateSpecification',
-- fastLaunchLaunchTemplateSpecification_launchTemplateName - The
-- name of the launch template to use for faster launching for a Windows
-- AMI.
--
--
-- $sel:launchTemplateVersion:FastLaunchLaunchTemplateSpecification',
-- fastLaunchLaunchTemplateSpecification_launchTemplateVersion -
-- The version of the launch template to use for faster launching for a
-- Windows AMI.
newFastLaunchLaunchTemplateSpecification :: FastLaunchLaunchTemplateSpecification
-- | The ID of the launch template to use for faster launching for a
-- Windows AMI.
fastLaunchLaunchTemplateSpecification_launchTemplateId :: Lens' FastLaunchLaunchTemplateSpecification (Maybe Text)
-- | The name of the launch template to use for faster launching for a
-- Windows AMI.
fastLaunchLaunchTemplateSpecification_launchTemplateName :: Lens' FastLaunchLaunchTemplateSpecification (Maybe Text)
-- | The version of the launch template to use for faster launching for a
-- Windows AMI.
fastLaunchLaunchTemplateSpecification_launchTemplateVersion :: Lens' FastLaunchLaunchTemplateSpecification (Maybe Text)
-- | Configuration settings for creating and managing pre-provisioned
-- snapshots for a fast-launch enabled Windows AMI.
--
-- See: newFastLaunchSnapshotConfiguration smart
-- constructor.
data FastLaunchSnapshotConfiguration
FastLaunchSnapshotConfiguration' :: Maybe Natural -> FastLaunchSnapshotConfiguration
-- | The number of pre-provisioned snapshots to keep on hand for a
-- fast-launch enabled Windows AMI.
[$sel:targetResourceCount:FastLaunchSnapshotConfiguration'] :: FastLaunchSnapshotConfiguration -> Maybe Natural
-- | Create a value of FastLaunchSnapshotConfiguration 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:targetResourceCount:FastLaunchSnapshotConfiguration',
-- fastLaunchSnapshotConfiguration_targetResourceCount - The
-- number of pre-provisioned snapshots to keep on hand for a fast-launch
-- enabled Windows AMI.
newFastLaunchSnapshotConfiguration :: FastLaunchSnapshotConfiguration
-- | The number of pre-provisioned snapshots to keep on hand for a
-- fast-launch enabled Windows AMI.
fastLaunchSnapshotConfiguration_targetResourceCount :: Lens' FastLaunchSnapshotConfiguration (Maybe Natural)
-- | A filter name and value pair that is used to return a more specific
-- list of results from a list operation. Filters can be used to match a
-- set of resources by specific criteria, such as tags, attributes, or
-- IDs.
--
-- See: newFilter smart constructor.
data Filter
Filter' :: Maybe Text -> Maybe (NonEmpty Text) -> Filter
-- | The name of the filter. Filter names are case-sensitive.
[$sel:name:Filter'] :: Filter -> Maybe Text
-- | The filter values. Filter values are case-sensitive.
[$sel:values:Filter'] :: Filter -> Maybe (NonEmpty Text)
-- | Create a value of Filter 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:name:Filter', filter_name - The name of the filter.
-- Filter names are case-sensitive.
--
-- $sel:values:Filter', filter_values - The filter values.
-- Filter values are case-sensitive.
newFilter :: Filter
-- | The name of the filter. Filter names are case-sensitive.
filter_name :: Lens' Filter (Maybe Text)
-- | The filter values. Filter values are case-sensitive.
filter_values :: Lens' Filter (Maybe (NonEmpty Text))
-- | An Image Builder image. You must specify exactly one recipe for the
-- image – either a container recipe (containerRecipe), which
-- creates a container image, or an image recipe (imageRecipe),
-- which creates an AMI.
--
-- See: newImage smart constructor.
data Image
Image' :: Maybe Text -> Maybe BuildType -> Maybe ContainerRecipe -> Maybe Text -> Maybe DistributionConfiguration -> Maybe Bool -> Maybe ImageRecipe -> Maybe ImageTestsConfiguration -> Maybe InfrastructureConfiguration -> Maybe Text -> Maybe Text -> Maybe OutputResources -> Maybe Platform -> Maybe Text -> Maybe Text -> Maybe ImageState -> Maybe (HashMap Text Text) -> Maybe ImageType -> Maybe Text -> Image
-- | The Amazon Resource Name (ARN) of the image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
[$sel:arn:Image'] :: Image -> Maybe Text
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
[$sel:buildType:Image'] :: Image -> Maybe BuildType
-- | The recipe that is used to create an Image Builder container image.
[$sel:containerRecipe:Image'] :: Image -> Maybe ContainerRecipe
-- | The date on which this image was created.
[$sel:dateCreated:Image'] :: Image -> Maybe Text
-- | The distribution configuration used when creating this image.
[$sel:distributionConfiguration:Image'] :: Image -> Maybe DistributionConfiguration
-- | 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:enhancedImageMetadataEnabled:Image'] :: Image -> Maybe Bool
-- | The image recipe used when creating the image.
[$sel:imageRecipe:Image'] :: Image -> Maybe ImageRecipe
-- | The image tests configuration used when creating this image.
[$sel:imageTestsConfiguration:Image'] :: Image -> Maybe ImageTestsConfiguration
-- | The infrastructure used when creating this image.
[$sel:infrastructureConfiguration:Image'] :: Image -> Maybe InfrastructureConfiguration
-- | The name of the image.
[$sel:name:Image'] :: Image -> Maybe Text
-- | The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
[$sel:osVersion:Image'] :: Image -> Maybe Text
-- | The output resources produced when creating this image.
[$sel:outputResources:Image'] :: Image -> Maybe OutputResources
-- | The platform of the image.
[$sel:platform:Image'] :: Image -> Maybe Platform
-- | The Amazon Resource Name (ARN) of the image pipeline that created this
-- image.
[$sel:sourcePipelineArn:Image'] :: Image -> Maybe Text
-- | The name of the image pipeline that created this image.
[$sel:sourcePipelineName:Image'] :: Image -> Maybe Text
-- | The state of the image.
[$sel:state:Image'] :: Image -> Maybe ImageState
-- | The tags of the image.
[$sel:tags:Image'] :: Image -> Maybe (HashMap Text Text)
-- | Specifies whether this is an AMI or container image.
[$sel:type':Image'] :: Image -> Maybe ImageType
-- | The semantic version of the image.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
[$sel:version:Image'] :: Image -> Maybe Text
-- | Create a value of Image 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:
--
-- Image, image_arn - The Amazon Resource Name (ARN) of the
-- image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:buildType:Image', image_buildType - Indicates the
-- type of build that created this image. The build can be initiated in
-- the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
--
-- $sel:containerRecipe:Image', image_containerRecipe - The
-- recipe that is used to create an Image Builder container image.
--
-- Image, image_dateCreated - The date on which this image
-- was created.
--
-- $sel:distributionConfiguration:Image',
-- image_distributionConfiguration - The distribution
-- configuration used when creating this image.
--
-- $sel:enhancedImageMetadataEnabled:Image',
-- image_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:imageRecipe:Image', image_imageRecipe - The image
-- recipe used when creating the image.
--
-- $sel:imageTestsConfiguration:Image',
-- image_imageTestsConfiguration - The image tests configuration
-- used when creating this image.
--
-- $sel:infrastructureConfiguration:Image',
-- image_infrastructureConfiguration - The infrastructure used
-- when creating this image.
--
-- Image, image_name - The name of the image.
--
-- $sel:osVersion:Image', image_osVersion - The operating
-- system version of the instance. For example, Amazon Linux 2, Ubuntu
-- 18, or Microsoft Windows Server 2019.
--
-- $sel:outputResources:Image', image_outputResources - The
-- output resources produced when creating this image.
--
-- Image, image_platform - The platform of the image.
--
-- $sel:sourcePipelineArn:Image', image_sourcePipelineArn -
-- The Amazon Resource Name (ARN) of the image pipeline that created this
-- image.
--
-- $sel:sourcePipelineName:Image', image_sourcePipelineName
-- - The name of the image pipeline that created this image.
--
-- $sel:state:Image', image_state - The state of the image.
--
-- Image, image_tags - The tags of the image.
--
-- Image, image_type - Specifies whether this is an AMI or
-- container image.
--
-- Image, image_version - The semantic version of the
-- image.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
newImage :: Image
-- | The Amazon Resource Name (ARN) of the image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
image_arn :: Lens' Image (Maybe Text)
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
image_buildType :: Lens' Image (Maybe BuildType)
-- | The recipe that is used to create an Image Builder container image.
image_containerRecipe :: Lens' Image (Maybe ContainerRecipe)
-- | The date on which this image was created.
image_dateCreated :: Lens' Image (Maybe Text)
-- | The distribution configuration used when creating this image.
image_distributionConfiguration :: Lens' Image (Maybe DistributionConfiguration)
-- | 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.
image_enhancedImageMetadataEnabled :: Lens' Image (Maybe Bool)
-- | The image recipe used when creating the image.
image_imageRecipe :: Lens' Image (Maybe ImageRecipe)
-- | The image tests configuration used when creating this image.
image_imageTestsConfiguration :: Lens' Image (Maybe ImageTestsConfiguration)
-- | The infrastructure used when creating this image.
image_infrastructureConfiguration :: Lens' Image (Maybe InfrastructureConfiguration)
-- | The name of the image.
image_name :: Lens' Image (Maybe Text)
-- | The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
image_osVersion :: Lens' Image (Maybe Text)
-- | The output resources produced when creating this image.
image_outputResources :: Lens' Image (Maybe OutputResources)
-- | The platform of the image.
image_platform :: Lens' Image (Maybe Platform)
-- | The Amazon Resource Name (ARN) of the image pipeline that created this
-- image.
image_sourcePipelineArn :: Lens' Image (Maybe Text)
-- | The name of the image pipeline that created this image.
image_sourcePipelineName :: Lens' Image (Maybe Text)
-- | The state of the image.
image_state :: Lens' Image (Maybe ImageState)
-- | The tags of the image.
image_tags :: Lens' Image (Maybe (HashMap Text Text))
-- | Specifies whether this is an AMI or container image.
image_type :: Lens' Image (Maybe ImageType)
-- | The semantic version of the image.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
image_version :: Lens' Image (Maybe Text)
-- | Represents a package installed on an Image Builder image.
--
-- See: newImagePackage smart constructor.
data ImagePackage
ImagePackage' :: Maybe Text -> Maybe Text -> ImagePackage
-- | The name of the package as reported to the operating system package
-- manager.
[$sel:packageName:ImagePackage'] :: ImagePackage -> Maybe Text
-- | The version of the package as reported to the operating system package
-- manager.
[$sel:packageVersion:ImagePackage'] :: ImagePackage -> Maybe Text
-- | Create a value of ImagePackage 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:packageName:ImagePackage', imagePackage_packageName
-- - The name of the package as reported to the operating system package
-- manager.
--
-- $sel:packageVersion:ImagePackage',
-- imagePackage_packageVersion - The version of the package as
-- reported to the operating system package manager.
newImagePackage :: ImagePackage
-- | The name of the package as reported to the operating system package
-- manager.
imagePackage_packageName :: Lens' ImagePackage (Maybe Text)
-- | The version of the package as reported to the operating system package
-- manager.
imagePackage_packageVersion :: Lens' ImagePackage (Maybe Text)
-- | Details of an image pipeline.
--
-- See: newImagePipeline smart constructor.
data ImagePipeline
ImagePipeline' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ImageTestsConfiguration -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe Schedule -> Maybe PipelineStatus -> Maybe (HashMap Text Text) -> ImagePipeline
-- | The Amazon Resource Name (ARN) of the image pipeline.
[$sel:arn:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The Amazon Resource Name (ARN) of the container recipe that is used
-- for this pipeline.
[$sel:containerRecipeArn:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The date on which this image pipeline was created.
[$sel:dateCreated:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The date on which this image pipeline was last run.
[$sel:dateLastRun:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The date on which this image pipeline will next be run.
[$sel:dateNextRun:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The date on which this image pipeline was last updated.
[$sel:dateUpdated:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The description of the image pipeline.
[$sel:description:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The Amazon Resource Name (ARN) of the distribution configuration
-- associated with this image pipeline.
[$sel:distributionConfigurationArn:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | 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:enhancedImageMetadataEnabled:ImagePipeline'] :: ImagePipeline -> Maybe Bool
-- | The Amazon Resource Name (ARN) of the image recipe associated with
-- this image pipeline.
[$sel:imageRecipeArn:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The image tests configuration of the image pipeline.
[$sel:imageTestsConfiguration:ImagePipeline'] :: ImagePipeline -> Maybe ImageTestsConfiguration
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- associated with this image pipeline.
[$sel:infrastructureConfigurationArn:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The name of the image pipeline.
[$sel:name:ImagePipeline'] :: ImagePipeline -> Maybe Text
-- | The platform of the image pipeline.
[$sel:platform:ImagePipeline'] :: ImagePipeline -> Maybe Platform
-- | The schedule of the image pipeline.
[$sel:schedule:ImagePipeline'] :: ImagePipeline -> Maybe Schedule
-- | The status of the image pipeline.
[$sel:status:ImagePipeline'] :: ImagePipeline -> Maybe PipelineStatus
-- | The tags of this image pipeline.
[$sel:tags:ImagePipeline'] :: ImagePipeline -> Maybe (HashMap Text Text)
-- | Create a value of ImagePipeline 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:arn:ImagePipeline', imagePipeline_arn - The Amazon
-- Resource Name (ARN) of the image pipeline.
--
-- $sel:containerRecipeArn:ImagePipeline',
-- imagePipeline_containerRecipeArn - The Amazon Resource Name
-- (ARN) of the container recipe that is used for this pipeline.
--
-- $sel:dateCreated:ImagePipeline',
-- imagePipeline_dateCreated - The date on which this image
-- pipeline was created.
--
-- $sel:dateLastRun:ImagePipeline',
-- imagePipeline_dateLastRun - The date on which this image
-- pipeline was last run.
--
-- $sel:dateNextRun:ImagePipeline',
-- imagePipeline_dateNextRun - The date on which this image
-- pipeline will next be run.
--
-- $sel:dateUpdated:ImagePipeline',
-- imagePipeline_dateUpdated - The date on which this image
-- pipeline was last updated.
--
-- $sel:description:ImagePipeline',
-- imagePipeline_description - The description of the image
-- pipeline.
--
-- $sel:distributionConfigurationArn:ImagePipeline',
-- imagePipeline_distributionConfigurationArn - The Amazon
-- Resource Name (ARN) of the distribution configuration associated with
-- this image pipeline.
--
-- $sel:enhancedImageMetadataEnabled:ImagePipeline',
-- imagePipeline_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:imageRecipeArn:ImagePipeline',
-- imagePipeline_imageRecipeArn - The Amazon Resource Name (ARN)
-- of the image recipe associated with this image pipeline.
--
-- $sel:imageTestsConfiguration:ImagePipeline',
-- imagePipeline_imageTestsConfiguration - The image tests
-- configuration of the image pipeline.
--
-- $sel:infrastructureConfigurationArn:ImagePipeline',
-- imagePipeline_infrastructureConfigurationArn - The Amazon
-- Resource Name (ARN) of the infrastructure configuration associated
-- with this image pipeline.
--
-- $sel:name:ImagePipeline', imagePipeline_name - The name
-- of the image pipeline.
--
-- $sel:platform:ImagePipeline', imagePipeline_platform -
-- The platform of the image pipeline.
--
-- $sel:schedule:ImagePipeline', imagePipeline_schedule -
-- The schedule of the image pipeline.
--
-- $sel:status:ImagePipeline', imagePipeline_status - The
-- status of the image pipeline.
--
-- $sel:tags:ImagePipeline', imagePipeline_tags - The tags
-- of this image pipeline.
newImagePipeline :: ImagePipeline
-- | The Amazon Resource Name (ARN) of the image pipeline.
imagePipeline_arn :: Lens' ImagePipeline (Maybe Text)
-- | The Amazon Resource Name (ARN) of the container recipe that is used
-- for this pipeline.
imagePipeline_containerRecipeArn :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline was created.
imagePipeline_dateCreated :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline was last run.
imagePipeline_dateLastRun :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline will next be run.
imagePipeline_dateNextRun :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline was last updated.
imagePipeline_dateUpdated :: Lens' ImagePipeline (Maybe Text)
-- | The description of the image pipeline.
imagePipeline_description :: Lens' ImagePipeline (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration
-- associated with this image pipeline.
imagePipeline_distributionConfigurationArn :: Lens' ImagePipeline (Maybe Text)
-- | 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.
imagePipeline_enhancedImageMetadataEnabled :: Lens' ImagePipeline (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the image recipe associated with
-- this image pipeline.
imagePipeline_imageRecipeArn :: Lens' ImagePipeline (Maybe Text)
-- | The image tests configuration of the image pipeline.
imagePipeline_imageTestsConfiguration :: Lens' ImagePipeline (Maybe ImageTestsConfiguration)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- associated with this image pipeline.
imagePipeline_infrastructureConfigurationArn :: Lens' ImagePipeline (Maybe Text)
-- | The name of the image pipeline.
imagePipeline_name :: Lens' ImagePipeline (Maybe Text)
-- | The platform of the image pipeline.
imagePipeline_platform :: Lens' ImagePipeline (Maybe Platform)
-- | The schedule of the image pipeline.
imagePipeline_schedule :: Lens' ImagePipeline (Maybe Schedule)
-- | The status of the image pipeline.
imagePipeline_status :: Lens' ImagePipeline (Maybe PipelineStatus)
-- | The tags of this image pipeline.
imagePipeline_tags :: Lens' ImagePipeline (Maybe (HashMap Text Text))
-- | An image recipe.
--
-- See: newImageRecipe smart constructor.
data ImageRecipe
ImageRecipe' :: Maybe AdditionalInstanceConfiguration -> Maybe Text -> Maybe [InstanceBlockDeviceMapping] -> Maybe (NonEmpty ComponentConfiguration) -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> Maybe ImageType -> Maybe Text -> Maybe Text -> ImageRecipe
-- | Before you create a new AMI, Image Builder launches temporary Amazon
-- EC2 instances to build and test your image configuration. Instance
-- configuration adds a layer of control over those instances. You can
-- define settings and add scripts to run when an instance is launched
-- from your AMI.
[$sel:additionalInstanceConfiguration:ImageRecipe'] :: ImageRecipe -> Maybe AdditionalInstanceConfiguration
-- | The Amazon Resource Name (ARN) of the image recipe.
[$sel:arn:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The block device mappings to apply when creating images from this
-- recipe.
[$sel:blockDeviceMappings:ImageRecipe'] :: ImageRecipe -> Maybe [InstanceBlockDeviceMapping]
-- | The components of the image recipe.
[$sel:components:ImageRecipe'] :: ImageRecipe -> Maybe (NonEmpty ComponentConfiguration)
-- | The date on which this image recipe was created.
[$sel:dateCreated:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The description of the image recipe.
[$sel:description:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The name of the image recipe.
[$sel:name:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The owner of the image recipe.
[$sel:owner:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The base image of the image recipe.
[$sel:parentImage:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The platform of the image recipe.
[$sel:platform:ImageRecipe'] :: ImageRecipe -> Maybe Platform
-- | The tags of the image recipe.
[$sel:tags:ImageRecipe'] :: ImageRecipe -> Maybe (HashMap Text Text)
-- | Specifies which type of image is created by the recipe - an AMI or a
-- container image.
[$sel:type':ImageRecipe'] :: ImageRecipe -> Maybe ImageType
-- | The version of the image recipe.
[$sel:version:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | The working directory to be used during build and test workflows.
[$sel:workingDirectory:ImageRecipe'] :: ImageRecipe -> Maybe Text
-- | Create a value of ImageRecipe 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:additionalInstanceConfiguration:ImageRecipe',
-- imageRecipe_additionalInstanceConfiguration - Before you create
-- a new AMI, Image Builder launches temporary Amazon EC2 instances to
-- build and test your image configuration. Instance configuration adds a
-- layer of control over those instances. You can define settings and add
-- scripts to run when an instance is launched from your AMI.
--
-- $sel:arn:ImageRecipe', imageRecipe_arn - The Amazon
-- Resource Name (ARN) of the image recipe.
--
-- $sel:blockDeviceMappings:ImageRecipe',
-- imageRecipe_blockDeviceMappings - The block device mappings to
-- apply when creating images from this recipe.
--
-- $sel:components:ImageRecipe', imageRecipe_components -
-- The components of the image recipe.
--
-- $sel:dateCreated:ImageRecipe', imageRecipe_dateCreated -
-- The date on which this image recipe was created.
--
-- $sel:description:ImageRecipe', imageRecipe_description -
-- The description of the image recipe.
--
-- $sel:name:ImageRecipe', imageRecipe_name - The name of
-- the image recipe.
--
-- $sel:owner:ImageRecipe', imageRecipe_owner - The owner
-- of the image recipe.
--
-- $sel:parentImage:ImageRecipe', imageRecipe_parentImage -
-- The base image of the image recipe.
--
-- $sel:platform:ImageRecipe', imageRecipe_platform - The
-- platform of the image recipe.
--
-- $sel:tags:ImageRecipe', imageRecipe_tags - The tags of
-- the image recipe.
--
-- $sel:type':ImageRecipe', imageRecipe_type - Specifies
-- which type of image is created by the recipe - an AMI or a container
-- image.
--
-- $sel:version:ImageRecipe', imageRecipe_version - The
-- version of the image recipe.
--
-- $sel:workingDirectory:ImageRecipe',
-- imageRecipe_workingDirectory - The working directory to be used
-- during build and test workflows.
newImageRecipe :: ImageRecipe
-- | Before you create a new AMI, Image Builder launches temporary Amazon
-- EC2 instances to build and test your image configuration. Instance
-- configuration adds a layer of control over those instances. You can
-- define settings and add scripts to run when an instance is launched
-- from your AMI.
imageRecipe_additionalInstanceConfiguration :: Lens' ImageRecipe (Maybe AdditionalInstanceConfiguration)
-- | The Amazon Resource Name (ARN) of the image recipe.
imageRecipe_arn :: Lens' ImageRecipe (Maybe Text)
-- | The block device mappings to apply when creating images from this
-- recipe.
imageRecipe_blockDeviceMappings :: Lens' ImageRecipe (Maybe [InstanceBlockDeviceMapping])
-- | The components of the image recipe.
imageRecipe_components :: Lens' ImageRecipe (Maybe (NonEmpty ComponentConfiguration))
-- | The date on which this image recipe was created.
imageRecipe_dateCreated :: Lens' ImageRecipe (Maybe Text)
-- | The description of the image recipe.
imageRecipe_description :: Lens' ImageRecipe (Maybe Text)
-- | The name of the image recipe.
imageRecipe_name :: Lens' ImageRecipe (Maybe Text)
-- | The owner of the image recipe.
imageRecipe_owner :: Lens' ImageRecipe (Maybe Text)
-- | The base image of the image recipe.
imageRecipe_parentImage :: Lens' ImageRecipe (Maybe Text)
-- | The platform of the image recipe.
imageRecipe_platform :: Lens' ImageRecipe (Maybe Platform)
-- | The tags of the image recipe.
imageRecipe_tags :: Lens' ImageRecipe (Maybe (HashMap Text Text))
-- | Specifies which type of image is created by the recipe - an AMI or a
-- container image.
imageRecipe_type :: Lens' ImageRecipe (Maybe ImageType)
-- | The version of the image recipe.
imageRecipe_version :: Lens' ImageRecipe (Maybe Text)
-- | The working directory to be used during build and test workflows.
imageRecipe_workingDirectory :: Lens' ImageRecipe (Maybe Text)
-- | A summary of an image recipe.
--
-- See: newImageRecipeSummary smart constructor.
data ImageRecipeSummary
ImageRecipeSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> ImageRecipeSummary
-- | The Amazon Resource Name (ARN) of the image recipe.
[$sel:arn:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Text
-- | The date on which this image recipe was created.
[$sel:dateCreated:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Text
-- | The name of the image recipe.
[$sel:name:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Text
-- | The owner of the image recipe.
[$sel:owner:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Text
-- | The base image of the image recipe.
[$sel:parentImage:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Text
-- | The platform of the image recipe.
[$sel:platform:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe Platform
-- | The tags of the image recipe.
[$sel:tags:ImageRecipeSummary'] :: ImageRecipeSummary -> Maybe (HashMap Text Text)
-- | Create a value of ImageRecipeSummary 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:arn:ImageRecipeSummary', imageRecipeSummary_arn -
-- The Amazon Resource Name (ARN) of the image recipe.
--
-- $sel:dateCreated:ImageRecipeSummary',
-- imageRecipeSummary_dateCreated - The date on which this image
-- recipe was created.
--
-- $sel:name:ImageRecipeSummary', imageRecipeSummary_name -
-- The name of the image recipe.
--
-- $sel:owner:ImageRecipeSummary', imageRecipeSummary_owner
-- - The owner of the image recipe.
--
-- $sel:parentImage:ImageRecipeSummary',
-- imageRecipeSummary_parentImage - The base image of the image
-- recipe.
--
-- $sel:platform:ImageRecipeSummary',
-- imageRecipeSummary_platform - The platform of the image recipe.
--
-- $sel:tags:ImageRecipeSummary', imageRecipeSummary_tags -
-- The tags of the image recipe.
newImageRecipeSummary :: ImageRecipeSummary
-- | The Amazon Resource Name (ARN) of the image recipe.
imageRecipeSummary_arn :: Lens' ImageRecipeSummary (Maybe Text)
-- | The date on which this image recipe was created.
imageRecipeSummary_dateCreated :: Lens' ImageRecipeSummary (Maybe Text)
-- | The name of the image recipe.
imageRecipeSummary_name :: Lens' ImageRecipeSummary (Maybe Text)
-- | The owner of the image recipe.
imageRecipeSummary_owner :: Lens' ImageRecipeSummary (Maybe Text)
-- | The base image of the image recipe.
imageRecipeSummary_parentImage :: Lens' ImageRecipeSummary (Maybe Text)
-- | The platform of the image recipe.
imageRecipeSummary_platform :: Lens' ImageRecipeSummary (Maybe Platform)
-- | The tags of the image recipe.
imageRecipeSummary_tags :: Lens' ImageRecipeSummary (Maybe (HashMap Text Text))
-- | Image state shows the image status and the reason for that status.
--
-- See: newImageState smart constructor.
data ImageState
ImageState' :: Maybe Text -> Maybe ImageStatus -> ImageState
-- | The reason for the image's status.
[$sel:reason:ImageState'] :: ImageState -> Maybe Text
-- | The status of the image.
[$sel:status:ImageState'] :: ImageState -> Maybe ImageStatus
-- | Create a value of ImageState 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:reason:ImageState', imageState_reason - The reason
-- for the image's status.
--
-- $sel:status:ImageState', imageState_status - The status
-- of the image.
newImageState :: ImageState
-- | The reason for the image's status.
imageState_reason :: Lens' ImageState (Maybe Text)
-- | The status of the image.
imageState_status :: Lens' ImageState (Maybe ImageStatus)
-- | An image summary.
--
-- See: newImageSummary smart constructor.
data ImageSummary
ImageSummary' :: Maybe Text -> Maybe BuildType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe OutputResources -> Maybe Text -> Maybe Platform -> Maybe ImageState -> Maybe (HashMap Text Text) -> Maybe ImageType -> Maybe Text -> ImageSummary
-- | The Amazon Resource Name (ARN) of the image.
[$sel:arn:ImageSummary'] :: ImageSummary -> Maybe Text
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
[$sel:buildType:ImageSummary'] :: ImageSummary -> Maybe BuildType
-- | The date on which this image was created.
[$sel:dateCreated:ImageSummary'] :: ImageSummary -> Maybe Text
-- | The name of the image.
[$sel:name:ImageSummary'] :: ImageSummary -> Maybe Text
-- | The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
[$sel:osVersion:ImageSummary'] :: ImageSummary -> Maybe Text
-- | The output resources produced when creating this image.
[$sel:outputResources:ImageSummary'] :: ImageSummary -> Maybe OutputResources
-- | The owner of the image.
[$sel:owner:ImageSummary'] :: ImageSummary -> Maybe Text
-- | The platform of the image.
[$sel:platform:ImageSummary'] :: ImageSummary -> Maybe Platform
-- | The state of the image.
[$sel:state:ImageSummary'] :: ImageSummary -> Maybe ImageState
-- | The tags of the image.
[$sel:tags:ImageSummary'] :: ImageSummary -> Maybe (HashMap Text Text)
-- | Specifies whether this is an AMI or container image.
[$sel:type':ImageSummary'] :: ImageSummary -> Maybe ImageType
-- | The version of the image.
[$sel:version:ImageSummary'] :: ImageSummary -> Maybe Text
-- | Create a value of ImageSummary 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:arn:ImageSummary', imageSummary_arn - The Amazon
-- Resource Name (ARN) of the image.
--
-- $sel:buildType:ImageSummary', imageSummary_buildType -
-- Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
--
-- $sel:dateCreated:ImageSummary', imageSummary_dateCreated
-- - The date on which this image was created.
--
-- $sel:name:ImageSummary', imageSummary_name - The name of
-- the image.
--
-- $sel:osVersion:ImageSummary', imageSummary_osVersion -
-- The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
--
-- $sel:outputResources:ImageSummary',
-- imageSummary_outputResources - The output resources produced
-- when creating this image.
--
-- $sel:owner:ImageSummary', imageSummary_owner - The owner
-- of the image.
--
-- $sel:platform:ImageSummary', imageSummary_platform - The
-- platform of the image.
--
-- $sel:state:ImageSummary', imageSummary_state - The state
-- of the image.
--
-- $sel:tags:ImageSummary', imageSummary_tags - The tags of
-- the image.
--
-- $sel:type':ImageSummary', imageSummary_type - Specifies
-- whether this is an AMI or container image.
--
-- $sel:version:ImageSummary', imageSummary_version - The
-- version of the image.
newImageSummary :: ImageSummary
-- | The Amazon Resource Name (ARN) of the image.
imageSummary_arn :: Lens' ImageSummary (Maybe Text)
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
imageSummary_buildType :: Lens' ImageSummary (Maybe BuildType)
-- | The date on which this image was created.
imageSummary_dateCreated :: Lens' ImageSummary (Maybe Text)
-- | The name of the image.
imageSummary_name :: Lens' ImageSummary (Maybe Text)
-- | The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
imageSummary_osVersion :: Lens' ImageSummary (Maybe Text)
-- | The output resources produced when creating this image.
imageSummary_outputResources :: Lens' ImageSummary (Maybe OutputResources)
-- | The owner of the image.
imageSummary_owner :: Lens' ImageSummary (Maybe Text)
-- | The platform of the image.
imageSummary_platform :: Lens' ImageSummary (Maybe Platform)
-- | The state of the image.
imageSummary_state :: Lens' ImageSummary (Maybe ImageState)
-- | The tags of the image.
imageSummary_tags :: Lens' ImageSummary (Maybe (HashMap Text Text))
-- | Specifies whether this is an AMI or container image.
imageSummary_type :: Lens' ImageSummary (Maybe ImageType)
-- | The version of the image.
imageSummary_version :: Lens' ImageSummary (Maybe Text)
-- | Configure image tests for your pipeline build. Tests run after
-- building the image, to verify that the AMI or container image is valid
-- before distributing it.
--
-- See: newImageTestsConfiguration smart constructor.
data ImageTestsConfiguration
ImageTestsConfiguration' :: Maybe Bool -> Maybe Natural -> ImageTestsConfiguration
-- | Determines if tests should run after building the image. Image Builder
-- defaults to enable tests to run following the image build, before
-- image distribution.
[$sel:imageTestsEnabled:ImageTestsConfiguration'] :: ImageTestsConfiguration -> Maybe Bool
-- | The maximum time in minutes that tests are permitted to run.
[$sel:timeoutMinutes:ImageTestsConfiguration'] :: ImageTestsConfiguration -> Maybe Natural
-- | Create a value of ImageTestsConfiguration 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:imageTestsEnabled:ImageTestsConfiguration',
-- imageTestsConfiguration_imageTestsEnabled - Determines if tests
-- should run after building the image. Image Builder defaults to enable
-- tests to run following the image build, before image distribution.
--
-- $sel:timeoutMinutes:ImageTestsConfiguration',
-- imageTestsConfiguration_timeoutMinutes - The maximum time in
-- minutes that tests are permitted to run.
newImageTestsConfiguration :: ImageTestsConfiguration
-- | Determines if tests should run after building the image. Image Builder
-- defaults to enable tests to run following the image build, before
-- image distribution.
imageTestsConfiguration_imageTestsEnabled :: Lens' ImageTestsConfiguration (Maybe Bool)
-- | The maximum time in minutes that tests are permitted to run.
imageTestsConfiguration_timeoutMinutes :: Lens' ImageTestsConfiguration (Maybe Natural)
-- | The defining characteristics of a specific version of an Image Builder
-- image.
--
-- See: newImageVersion smart constructor.
data ImageVersion
ImageVersion' :: Maybe Text -> Maybe BuildType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe ImageType -> Maybe Text -> ImageVersion
-- | The Amazon Resource Name (ARN) of a specific version of an Image
-- Builder image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
[$sel:arn:ImageVersion'] :: ImageVersion -> Maybe Text
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
[$sel:buildType:ImageVersion'] :: ImageVersion -> Maybe BuildType
-- | The date on which this specific version of the Image Builder image was
-- created.
[$sel:dateCreated:ImageVersion'] :: ImageVersion -> Maybe Text
-- | The name of this specific version of an Image Builder image.
[$sel:name:ImageVersion'] :: ImageVersion -> Maybe Text
-- | The operating system version of the Amazon EC2 build instance. For
-- example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
[$sel:osVersion:ImageVersion'] :: ImageVersion -> Maybe Text
-- | The owner of the image version.
[$sel:owner:ImageVersion'] :: ImageVersion -> Maybe Text
-- | The platform of the image version, for example "Windows" or "Linux".
[$sel:platform:ImageVersion'] :: ImageVersion -> Maybe Platform
-- | Specifies whether this image is an AMI or a container image.
[$sel:type':ImageVersion'] :: ImageVersion -> Maybe ImageType
-- | Details for a specific version of an Image Builder image. This version
-- follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
[$sel:version:ImageVersion'] :: ImageVersion -> Maybe Text
-- | Create a value of ImageVersion 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:arn:ImageVersion', imageVersion_arn - The Amazon
-- Resource Name (ARN) of a specific version of an Image Builder image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:buildType:ImageVersion', imageVersion_buildType -
-- Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
--
-- $sel:dateCreated:ImageVersion', imageVersion_dateCreated
-- - The date on which this specific version of the Image Builder image
-- was created.
--
-- $sel:name:ImageVersion', imageVersion_name - The name of
-- this specific version of an Image Builder image.
--
-- $sel:osVersion:ImageVersion', imageVersion_osVersion -
-- The operating system version of the Amazon EC2 build instance. For
-- example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
--
-- $sel:owner:ImageVersion', imageVersion_owner - The owner
-- of the image version.
--
-- $sel:platform:ImageVersion', imageVersion_platform - The
-- platform of the image version, for example "Windows" or "Linux".
--
-- $sel:type':ImageVersion', imageVersion_type - Specifies
-- whether this image is an AMI or a container image.
--
-- $sel:version:ImageVersion', imageVersion_version -
-- Details for a specific version of an Image Builder image. This version
-- follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
newImageVersion :: ImageVersion
-- | The Amazon Resource Name (ARN) of a specific version of an Image
-- Builder image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
imageVersion_arn :: Lens' ImageVersion (Maybe Text)
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
imageVersion_buildType :: Lens' ImageVersion (Maybe BuildType)
-- | The date on which this specific version of the Image Builder image was
-- created.
imageVersion_dateCreated :: Lens' ImageVersion (Maybe Text)
-- | The name of this specific version of an Image Builder image.
imageVersion_name :: Lens' ImageVersion (Maybe Text)
-- | The operating system version of the Amazon EC2 build instance. For
-- example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
imageVersion_osVersion :: Lens' ImageVersion (Maybe Text)
-- | The owner of the image version.
imageVersion_owner :: Lens' ImageVersion (Maybe Text)
-- | The platform of the image version, for example "Windows" or "Linux".
imageVersion_platform :: Lens' ImageVersion (Maybe Platform)
-- | Specifies whether this image is an AMI or a container image.
imageVersion_type :: Lens' ImageVersion (Maybe ImageType)
-- | Details for a specific version of an Image Builder image. This version
-- follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
imageVersion_version :: Lens' ImageVersion (Maybe Text)
-- | Details of the infrastructure configuration.
--
-- See: newInfrastructureConfiguration smart constructor.
data InfrastructureConfiguration
InfrastructureConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InstanceMetadataOptions -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Logging -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Bool -> InfrastructureConfiguration
-- | The Amazon Resource Name (ARN) of the infrastructure configuration.
[$sel:arn:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The date on which the infrastructure configuration was created.
[$sel:dateCreated:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The date on which the infrastructure configuration was last updated.
[$sel:dateUpdated:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The description of the infrastructure configuration.
[$sel:description:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The instance metadata option settings for the infrastructure
-- configuration.
[$sel:instanceMetadataOptions:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe InstanceMetadataOptions
-- | The instance profile of the infrastructure configuration.
[$sel:instanceProfileName:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The instance types of the infrastructure configuration.
[$sel:instanceTypes:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe [Text]
-- | The Amazon EC2 key pair of the infrastructure configuration.
[$sel:keyPair:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The logging configuration of the infrastructure configuration.
[$sel:logging:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Logging
-- | The name of the infrastructure configuration.
[$sel:name:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The tags attached to the resource created by Image Builder.
[$sel:resourceTags:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe (HashMap Text Text)
-- | The security group IDs of the infrastructure configuration.
[$sel:securityGroupIds:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe [Text]
-- | The Amazon Resource Name (ARN) for the SNS topic to which we send
-- image build event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
[$sel:snsTopicArn:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The subnet ID of the infrastructure configuration.
[$sel:subnetId:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Text
-- | The tags of the infrastructure configuration.
[$sel:tags:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe (HashMap Text Text)
-- | The terminate instance on failure configuration of the infrastructure
-- configuration.
[$sel:terminateInstanceOnFailure:InfrastructureConfiguration'] :: InfrastructureConfiguration -> Maybe Bool
-- | Create a value of InfrastructureConfiguration 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:arn:InfrastructureConfiguration',
-- infrastructureConfiguration_arn - The Amazon Resource Name
-- (ARN) of the infrastructure configuration.
--
-- $sel:dateCreated:InfrastructureConfiguration',
-- infrastructureConfiguration_dateCreated - The date on which the
-- infrastructure configuration was created.
--
-- $sel:dateUpdated:InfrastructureConfiguration',
-- infrastructureConfiguration_dateUpdated - The date on which the
-- infrastructure configuration was last updated.
--
-- $sel:description:InfrastructureConfiguration',
-- infrastructureConfiguration_description - The description of
-- the infrastructure configuration.
--
-- $sel:instanceMetadataOptions:InfrastructureConfiguration',
-- infrastructureConfiguration_instanceMetadataOptions - The
-- instance metadata option settings for the infrastructure
-- configuration.
--
-- $sel:instanceProfileName:InfrastructureConfiguration',
-- infrastructureConfiguration_instanceProfileName - The instance
-- profile of the infrastructure configuration.
--
-- $sel:instanceTypes:InfrastructureConfiguration',
-- infrastructureConfiguration_instanceTypes - The instance types
-- of the infrastructure configuration.
--
-- $sel:keyPair:InfrastructureConfiguration',
-- infrastructureConfiguration_keyPair - The Amazon EC2 key pair
-- of the infrastructure configuration.
--
-- $sel:logging:InfrastructureConfiguration',
-- infrastructureConfiguration_logging - The logging configuration
-- of the infrastructure configuration.
--
-- $sel:name:InfrastructureConfiguration',
-- infrastructureConfiguration_name - The name of the
-- infrastructure configuration.
--
-- $sel:resourceTags:InfrastructureConfiguration',
-- infrastructureConfiguration_resourceTags - The tags attached to
-- the resource created by Image Builder.
--
-- $sel:securityGroupIds:InfrastructureConfiguration',
-- infrastructureConfiguration_securityGroupIds - The security
-- group IDs of the infrastructure configuration.
--
-- $sel:snsTopicArn:InfrastructureConfiguration',
-- infrastructureConfiguration_snsTopicArn - The Amazon Resource
-- Name (ARN) for the SNS topic to which we send image build event
-- notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
--
-- $sel:subnetId:InfrastructureConfiguration',
-- infrastructureConfiguration_subnetId - The subnet ID of the
-- infrastructure configuration.
--
-- $sel:tags:InfrastructureConfiguration',
-- infrastructureConfiguration_tags - The tags of the
-- infrastructure configuration.
--
-- $sel:terminateInstanceOnFailure:InfrastructureConfiguration',
-- infrastructureConfiguration_terminateInstanceOnFailure - The
-- terminate instance on failure configuration of the infrastructure
-- configuration.
newInfrastructureConfiguration :: InfrastructureConfiguration
-- | The Amazon Resource Name (ARN) of the infrastructure configuration.
infrastructureConfiguration_arn :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The date on which the infrastructure configuration was created.
infrastructureConfiguration_dateCreated :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The date on which the infrastructure configuration was last updated.
infrastructureConfiguration_dateUpdated :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The description of the infrastructure configuration.
infrastructureConfiguration_description :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The instance metadata option settings for the infrastructure
-- configuration.
infrastructureConfiguration_instanceMetadataOptions :: Lens' InfrastructureConfiguration (Maybe InstanceMetadataOptions)
-- | The instance profile of the infrastructure configuration.
infrastructureConfiguration_instanceProfileName :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The instance types of the infrastructure configuration.
infrastructureConfiguration_instanceTypes :: Lens' InfrastructureConfiguration (Maybe [Text])
-- | The Amazon EC2 key pair of the infrastructure configuration.
infrastructureConfiguration_keyPair :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The logging configuration of the infrastructure configuration.
infrastructureConfiguration_logging :: Lens' InfrastructureConfiguration (Maybe Logging)
-- | The name of the infrastructure configuration.
infrastructureConfiguration_name :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The tags attached to the resource created by Image Builder.
infrastructureConfiguration_resourceTags :: Lens' InfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The security group IDs of the infrastructure configuration.
infrastructureConfiguration_securityGroupIds :: Lens' InfrastructureConfiguration (Maybe [Text])
-- | The Amazon Resource Name (ARN) for the SNS topic to which we send
-- image build event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
infrastructureConfiguration_snsTopicArn :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The subnet ID of the infrastructure configuration.
infrastructureConfiguration_subnetId :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The tags of the infrastructure configuration.
infrastructureConfiguration_tags :: Lens' InfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The terminate instance on failure configuration of the infrastructure
-- configuration.
infrastructureConfiguration_terminateInstanceOnFailure :: Lens' InfrastructureConfiguration (Maybe Bool)
-- | The infrastructure used when building Amazon EC2 AMIs.
--
-- See: newInfrastructureConfigurationSummary smart
-- constructor.
data InfrastructureConfigurationSummary
InfrastructureConfigurationSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> InfrastructureConfigurationSummary
-- | The Amazon Resource Name (ARN) of the infrastructure configuration.
[$sel:arn:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The date on which the infrastructure configuration was created.
[$sel:dateCreated:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The date on which the infrastructure configuration was last updated.
[$sel:dateUpdated:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The description of the infrastructure configuration.
[$sel:description:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The instance profile of the infrastructure configuration.
[$sel:instanceProfileName:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The instance types of the infrastructure configuration.
[$sel:instanceTypes:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe [Text]
-- | The name of the infrastructure configuration.
[$sel:name:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe Text
-- | The tags attached to the image created by Image Builder.
[$sel:resourceTags:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe (HashMap Text Text)
-- | The tags of the infrastructure configuration.
[$sel:tags:InfrastructureConfigurationSummary'] :: InfrastructureConfigurationSummary -> Maybe (HashMap Text Text)
-- | Create a value of InfrastructureConfigurationSummary 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:arn:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_arn - The Amazon Resource
-- Name (ARN) of the infrastructure configuration.
--
-- $sel:dateCreated:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_dateCreated - The date on
-- which the infrastructure configuration was created.
--
-- $sel:dateUpdated:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_dateUpdated - The date on
-- which the infrastructure configuration was last updated.
--
-- $sel:description:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_description - The
-- description of the infrastructure configuration.
--
-- $sel:instanceProfileName:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_instanceProfileName - The
-- instance profile of the infrastructure configuration.
--
-- $sel:instanceTypes:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_instanceTypes - The instance
-- types of the infrastructure configuration.
--
-- $sel:name:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_name - The name of the
-- infrastructure configuration.
--
-- $sel:resourceTags:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_resourceTags - The tags
-- attached to the image created by Image Builder.
--
-- $sel:tags:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_tags - The tags of the
-- infrastructure configuration.
newInfrastructureConfigurationSummary :: InfrastructureConfigurationSummary
-- | The Amazon Resource Name (ARN) of the infrastructure configuration.
infrastructureConfigurationSummary_arn :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The date on which the infrastructure configuration was created.
infrastructureConfigurationSummary_dateCreated :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The date on which the infrastructure configuration was last updated.
infrastructureConfigurationSummary_dateUpdated :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The description of the infrastructure configuration.
infrastructureConfigurationSummary_description :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The instance profile of the infrastructure configuration.
infrastructureConfigurationSummary_instanceProfileName :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The instance types of the infrastructure configuration.
infrastructureConfigurationSummary_instanceTypes :: Lens' InfrastructureConfigurationSummary (Maybe [Text])
-- | The name of the infrastructure configuration.
infrastructureConfigurationSummary_name :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The tags attached to the image created by Image Builder.
infrastructureConfigurationSummary_resourceTags :: Lens' InfrastructureConfigurationSummary (Maybe (HashMap Text Text))
-- | The tags of the infrastructure configuration.
infrastructureConfigurationSummary_tags :: Lens' InfrastructureConfigurationSummary (Maybe (HashMap Text Text))
-- | Defines block device mappings for the instance used to configure your
-- image.
--
-- See: newInstanceBlockDeviceMapping smart constructor.
data InstanceBlockDeviceMapping
InstanceBlockDeviceMapping' :: Maybe Text -> Maybe EbsInstanceBlockDeviceSpecification -> Maybe Text -> Maybe Text -> InstanceBlockDeviceMapping
-- | The device to which these mappings apply.
[$sel:deviceName:InstanceBlockDeviceMapping'] :: InstanceBlockDeviceMapping -> Maybe Text
-- | Use to manage Amazon EBS-specific configuration for this mapping.
[$sel:ebs:InstanceBlockDeviceMapping'] :: InstanceBlockDeviceMapping -> Maybe EbsInstanceBlockDeviceSpecification
-- | Use to remove a mapping from the base image.
[$sel:noDevice:InstanceBlockDeviceMapping'] :: InstanceBlockDeviceMapping -> Maybe Text
-- | Use to manage instance ephemeral devices.
[$sel:virtualName:InstanceBlockDeviceMapping'] :: InstanceBlockDeviceMapping -> Maybe Text
-- | Create a value of InstanceBlockDeviceMapping 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:deviceName:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_deviceName - The device to which
-- these mappings apply.
--
-- $sel:ebs:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_ebs - Use to manage Amazon
-- EBS-specific configuration for this mapping.
--
-- $sel:noDevice:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_noDevice - Use to remove a mapping
-- from the base image.
--
-- $sel:virtualName:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_virtualName - Use to manage instance
-- ephemeral devices.
newInstanceBlockDeviceMapping :: InstanceBlockDeviceMapping
-- | The device to which these mappings apply.
instanceBlockDeviceMapping_deviceName :: Lens' InstanceBlockDeviceMapping (Maybe Text)
-- | Use to manage Amazon EBS-specific configuration for this mapping.
instanceBlockDeviceMapping_ebs :: Lens' InstanceBlockDeviceMapping (Maybe EbsInstanceBlockDeviceSpecification)
-- | Use to remove a mapping from the base image.
instanceBlockDeviceMapping_noDevice :: Lens' InstanceBlockDeviceMapping (Maybe Text)
-- | Use to manage instance ephemeral devices.
instanceBlockDeviceMapping_virtualName :: Lens' InstanceBlockDeviceMapping (Maybe Text)
-- | Defines a custom base AMI and block device mapping configurations of
-- an instance used for building and testing container images.
--
-- See: newInstanceConfiguration smart constructor.
data InstanceConfiguration
InstanceConfiguration' :: Maybe [InstanceBlockDeviceMapping] -> Maybe Text -> InstanceConfiguration
-- | Defines the block devices to attach for building an instance from this
-- Image Builder AMI.
[$sel:blockDeviceMappings:InstanceConfiguration'] :: InstanceConfiguration -> Maybe [InstanceBlockDeviceMapping]
-- | The AMI ID to use as the base image for a container build and test
-- instance. If not specified, Image Builder will use the appropriate
-- ECS-optimized AMI as a base image.
[$sel:image:InstanceConfiguration'] :: InstanceConfiguration -> Maybe Text
-- | Create a value of InstanceConfiguration 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:blockDeviceMappings:InstanceConfiguration',
-- instanceConfiguration_blockDeviceMappings - Defines the block
-- devices to attach for building an instance from this Image Builder
-- AMI.
--
-- $sel:image:InstanceConfiguration',
-- instanceConfiguration_image - The AMI ID to use as the base
-- image for a container build and test instance. If not specified, Image
-- Builder will use the appropriate ECS-optimized AMI as a base image.
newInstanceConfiguration :: InstanceConfiguration
-- | Defines the block devices to attach for building an instance from this
-- Image Builder AMI.
instanceConfiguration_blockDeviceMappings :: Lens' InstanceConfiguration (Maybe [InstanceBlockDeviceMapping])
-- | The AMI ID to use as the base image for a container build and test
-- instance. If not specified, Image Builder will use the appropriate
-- ECS-optimized AMI as a base image.
instanceConfiguration_image :: Lens' InstanceConfiguration (Maybe Text)
-- | The instance metadata options that apply to the HTTP requests that
-- pipeline builds use to launch EC2 build and test instances. For more
-- information about instance metadata options, see Configure the
-- instance metadata options in the /Amazon EC2 User Guide/
-- for Linux instances, or Configure the instance metadata options
-- in the /Amazon EC2 Windows Guide/ for Windows instances.
--
-- See: newInstanceMetadataOptions smart constructor.
data InstanceMetadataOptions
InstanceMetadataOptions' :: Maybe Natural -> Maybe Text -> InstanceMetadataOptions
-- | Limit the number of hops that an instance metadata request can
-- traverse to reach its destination.
[$sel:httpPutResponseHopLimit:InstanceMetadataOptions'] :: InstanceMetadataOptions -> Maybe Natural
-- | Indicates whether a signed token header is required for instance
-- metadata retrieval requests. The values affect the response as
-- follows:
--
--
-- - required – When you retrieve the IAM role credentials,
-- version 2.0 credentials are returned in all cases.
-- - optional – You can include a signed token header in your
-- request to retrieve instance metadata, or you can leave it out. If you
-- include it, version 2.0 credentials are returned for the IAM role.
-- Otherwise, version 1.0 credentials are returned.
--
--
-- The default setting is optional.
[$sel:httpTokens:InstanceMetadataOptions'] :: InstanceMetadataOptions -> Maybe Text
-- | Create a value of InstanceMetadataOptions 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:httpPutResponseHopLimit:InstanceMetadataOptions',
-- instanceMetadataOptions_httpPutResponseHopLimit - Limit the
-- number of hops that an instance metadata request can traverse to reach
-- its destination.
--
-- $sel:httpTokens:InstanceMetadataOptions',
-- instanceMetadataOptions_httpTokens - Indicates whether a signed
-- token header is required for instance metadata retrieval requests. The
-- values affect the response as follows:
--
--
-- - required – When you retrieve the IAM role credentials,
-- version 2.0 credentials are returned in all cases.
-- - optional – You can include a signed token header in your
-- request to retrieve instance metadata, or you can leave it out. If you
-- include it, version 2.0 credentials are returned for the IAM role.
-- Otherwise, version 1.0 credentials are returned.
--
--
-- The default setting is optional.
newInstanceMetadataOptions :: InstanceMetadataOptions
-- | Limit the number of hops that an instance metadata request can
-- traverse to reach its destination.
instanceMetadataOptions_httpPutResponseHopLimit :: Lens' InstanceMetadataOptions (Maybe Natural)
-- | Indicates whether a signed token header is required for instance
-- metadata retrieval requests. The values affect the response as
-- follows:
--
--
-- - required – When you retrieve the IAM role credentials,
-- version 2.0 credentials are returned in all cases.
-- - optional – You can include a signed token header in your
-- request to retrieve instance metadata, or you can leave it out. If you
-- include it, version 2.0 credentials are returned for the IAM role.
-- Otherwise, version 1.0 credentials are returned.
--
--
-- The default setting is optional.
instanceMetadataOptions_httpTokens :: Lens' InstanceMetadataOptions (Maybe Text)
-- | Describes the configuration for a launch permission. The launch
-- permission modification request is sent to the Amazon EC2
-- ModifyImageAttribute API on behalf of the user for each Region
-- they have selected to distribute the AMI. To make an AMI public, set
-- the launch permission authorized accounts to all. See the
-- examples for making an AMI public at Amazon EC2
-- ModifyImageAttribute.
--
-- See: newLaunchPermissionConfiguration smart constructor.
data LaunchPermissionConfiguration
LaunchPermissionConfiguration' :: Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe [Text] -> Maybe (NonEmpty Text) -> LaunchPermissionConfiguration
-- | The ARN for an Amazon Web Services Organization that you want to share
-- your AMI with. For more information, see What is
-- Organizations?.
[$sel:organizationArns:LaunchPermissionConfiguration'] :: LaunchPermissionConfiguration -> Maybe (NonEmpty Text)
-- | The ARN for an Organizations organizational unit (OU) that you want to
-- share your AMI with. For more information about key concepts for
-- Organizations, see Organizations terminology and concepts.
[$sel:organizationalUnitArns:LaunchPermissionConfiguration'] :: LaunchPermissionConfiguration -> Maybe (NonEmpty Text)
-- | The name of the group.
[$sel:userGroups:LaunchPermissionConfiguration'] :: LaunchPermissionConfiguration -> Maybe [Text]
-- | The Amazon Web Services account ID.
[$sel:userIds:LaunchPermissionConfiguration'] :: LaunchPermissionConfiguration -> Maybe (NonEmpty Text)
-- | Create a value of LaunchPermissionConfiguration 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:organizationArns:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_organizationArns - The ARN for an
-- Amazon Web Services Organization that you want to share your AMI with.
-- For more information, see What is Organizations?.
--
-- $sel:organizationalUnitArns:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_organizationalUnitArns - The ARN
-- for an Organizations organizational unit (OU) that you want to share
-- your AMI with. For more information about key concepts for
-- Organizations, see Organizations terminology and concepts.
--
-- $sel:userGroups:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_userGroups - The name of the
-- group.
--
-- $sel:userIds:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_userIds - The Amazon Web Services
-- account ID.
newLaunchPermissionConfiguration :: LaunchPermissionConfiguration
-- | The ARN for an Amazon Web Services Organization that you want to share
-- your AMI with. For more information, see What is
-- Organizations?.
launchPermissionConfiguration_organizationArns :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text))
-- | The ARN for an Organizations organizational unit (OU) that you want to
-- share your AMI with. For more information about key concepts for
-- Organizations, see Organizations terminology and concepts.
launchPermissionConfiguration_organizationalUnitArns :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text))
-- | The name of the group.
launchPermissionConfiguration_userGroups :: Lens' LaunchPermissionConfiguration (Maybe [Text])
-- | The Amazon Web Services account ID.
launchPermissionConfiguration_userIds :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text))
-- | Identifies an Amazon EC2 launch template to use for a specific
-- account.
--
-- See: newLaunchTemplateConfiguration smart constructor.
data LaunchTemplateConfiguration
LaunchTemplateConfiguration' :: Maybe Text -> Maybe Bool -> Text -> LaunchTemplateConfiguration
-- | The account ID that this configuration applies to.
[$sel:accountId:LaunchTemplateConfiguration'] :: LaunchTemplateConfiguration -> Maybe Text
-- | Set the specified Amazon EC2 launch template as the default launch
-- template for the specified account.
[$sel:setDefaultVersion:LaunchTemplateConfiguration'] :: LaunchTemplateConfiguration -> Maybe Bool
-- | Identifies the Amazon EC2 launch template to use.
[$sel:launchTemplateId:LaunchTemplateConfiguration'] :: LaunchTemplateConfiguration -> Text
-- | Create a value of LaunchTemplateConfiguration 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:accountId:LaunchTemplateConfiguration',
-- launchTemplateConfiguration_accountId - The account ID that
-- this configuration applies to.
--
-- $sel:setDefaultVersion:LaunchTemplateConfiguration',
-- launchTemplateConfiguration_setDefaultVersion - Set the
-- specified Amazon EC2 launch template as the default launch template
-- for the specified account.
--
-- $sel:launchTemplateId:LaunchTemplateConfiguration',
-- launchTemplateConfiguration_launchTemplateId - Identifies the
-- Amazon EC2 launch template to use.
newLaunchTemplateConfiguration :: Text -> LaunchTemplateConfiguration
-- | The account ID that this configuration applies to.
launchTemplateConfiguration_accountId :: Lens' LaunchTemplateConfiguration (Maybe Text)
-- | Set the specified Amazon EC2 launch template as the default launch
-- template for the specified account.
launchTemplateConfiguration_setDefaultVersion :: Lens' LaunchTemplateConfiguration (Maybe Bool)
-- | Identifies the Amazon EC2 launch template to use.
launchTemplateConfiguration_launchTemplateId :: Lens' LaunchTemplateConfiguration Text
-- | Logging configuration defines where Image Builder uploads your logs.
--
-- See: newLogging smart constructor.
data Logging
Logging' :: Maybe S3Logs -> Logging
-- | The Amazon S3 logging configuration.
[$sel:s3Logs:Logging'] :: Logging -> Maybe S3Logs
-- | Create a value of Logging 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:s3Logs:Logging', logging_s3Logs - The Amazon S3
-- logging configuration.
newLogging :: Logging
-- | The Amazon S3 logging configuration.
logging_s3Logs :: Lens' Logging (Maybe S3Logs)
-- | The resources produced by this image.
--
-- See: newOutputResources smart constructor.
data OutputResources
OutputResources' :: Maybe [Ami] -> Maybe [Container] -> OutputResources
-- | The Amazon EC2 AMIs created by this image.
[$sel:amis:OutputResources'] :: OutputResources -> Maybe [Ami]
-- | Container images that the pipeline has generated and stored in the
-- output repository.
[$sel:containers:OutputResources'] :: OutputResources -> Maybe [Container]
-- | Create a value of OutputResources 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:amis:OutputResources', outputResources_amis - The
-- Amazon EC2 AMIs created by this image.
--
-- $sel:containers:OutputResources',
-- outputResources_containers - Container images that the pipeline
-- has generated and stored in the output repository.
newOutputResources :: OutputResources
-- | The Amazon EC2 AMIs created by this image.
outputResources_amis :: Lens' OutputResources (Maybe [Ami])
-- | Container images that the pipeline has generated and stored in the
-- output repository.
outputResources_containers :: Lens' OutputResources (Maybe [Container])
-- | Properties that configure export from your build instance to a
-- compatible file format for your VM.
--
-- See: newS3ExportConfiguration smart constructor.
data S3ExportConfiguration
S3ExportConfiguration' :: Maybe Text -> Text -> DiskImageFormat -> Text -> S3ExportConfiguration
-- | The Amazon S3 path for the bucket where the output disk images for
-- your VM are stored.
[$sel:s3Prefix:S3ExportConfiguration'] :: S3ExportConfiguration -> Maybe Text
-- | The name of the role that grants VM Import/Export permission to export
-- images to your S3 bucket.
[$sel:roleName:S3ExportConfiguration'] :: S3ExportConfiguration -> Text
-- | Export the updated image to one of the following supported disk image
-- formats:
--
--
-- - Virtual Hard Disk (VHD) – Compatible with Citrix Xen and
-- Microsoft Hyper-V virtualization products.
-- - Stream-optimized ESX Virtual Machine Disk (VMDK) –
-- Compatible with VMware ESX and VMware vSphere versions 4, 5, and
-- 6.
-- - Raw – Raw format.
--
[$sel:diskImageFormat:S3ExportConfiguration'] :: S3ExportConfiguration -> DiskImageFormat
-- | The S3 bucket in which to store the output disk images for your VM.
[$sel:s3Bucket:S3ExportConfiguration'] :: S3ExportConfiguration -> Text
-- | Create a value of S3ExportConfiguration 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:s3Prefix:S3ExportConfiguration',
-- s3ExportConfiguration_s3Prefix - The Amazon S3 path for the
-- bucket where the output disk images for your VM are stored.
--
-- $sel:roleName:S3ExportConfiguration',
-- s3ExportConfiguration_roleName - The name of the role that
-- grants VM Import/Export permission to export images to your S3 bucket.
--
-- $sel:diskImageFormat:S3ExportConfiguration',
-- s3ExportConfiguration_diskImageFormat - Export the updated
-- image to one of the following supported disk image formats:
--
--
-- - Virtual Hard Disk (VHD) – Compatible with Citrix Xen and
-- Microsoft Hyper-V virtualization products.
-- - Stream-optimized ESX Virtual Machine Disk (VMDK) –
-- Compatible with VMware ESX and VMware vSphere versions 4, 5, and
-- 6.
-- - Raw – Raw format.
--
--
-- $sel:s3Bucket:S3ExportConfiguration',
-- s3ExportConfiguration_s3Bucket - The S3 bucket in which to
-- store the output disk images for your VM.
newS3ExportConfiguration :: Text -> DiskImageFormat -> Text -> S3ExportConfiguration
-- | The Amazon S3 path for the bucket where the output disk images for
-- your VM are stored.
s3ExportConfiguration_s3Prefix :: Lens' S3ExportConfiguration (Maybe Text)
-- | The name of the role that grants VM Import/Export permission to export
-- images to your S3 bucket.
s3ExportConfiguration_roleName :: Lens' S3ExportConfiguration Text
-- | Export the updated image to one of the following supported disk image
-- formats:
--
--
-- - Virtual Hard Disk (VHD) – Compatible with Citrix Xen and
-- Microsoft Hyper-V virtualization products.
-- - Stream-optimized ESX Virtual Machine Disk (VMDK) –
-- Compatible with VMware ESX and VMware vSphere versions 4, 5, and
-- 6.
-- - Raw – Raw format.
--
s3ExportConfiguration_diskImageFormat :: Lens' S3ExportConfiguration DiskImageFormat
-- | The S3 bucket in which to store the output disk images for your VM.
s3ExportConfiguration_s3Bucket :: Lens' S3ExportConfiguration Text
-- | Amazon S3 logging configuration.
--
-- See: newS3Logs smart constructor.
data S3Logs
S3Logs' :: Maybe Text -> Maybe Text -> S3Logs
-- | The S3 bucket in which to store the logs.
[$sel:s3BucketName:S3Logs'] :: S3Logs -> Maybe Text
-- | The Amazon S3 path to the bucket where the logs are stored.
[$sel:s3KeyPrefix:S3Logs'] :: S3Logs -> Maybe Text
-- | Create a value of S3Logs 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:s3BucketName:S3Logs', s3Logs_s3BucketName - The S3
-- bucket in which to store the logs.
--
-- $sel:s3KeyPrefix:S3Logs', s3Logs_s3KeyPrefix - The
-- Amazon S3 path to the bucket where the logs are stored.
newS3Logs :: S3Logs
-- | The S3 bucket in which to store the logs.
s3Logs_s3BucketName :: Lens' S3Logs (Maybe Text)
-- | The Amazon S3 path to the bucket where the logs are stored.
s3Logs_s3KeyPrefix :: Lens' S3Logs (Maybe Text)
-- | A schedule configures how often and when a pipeline will automatically
-- create a new image.
--
-- See: newSchedule smart constructor.
data Schedule
Schedule' :: Maybe PipelineExecutionStartCondition -> Maybe Text -> Maybe Text -> Schedule
-- | The condition configures when the pipeline should trigger a new image
-- build. When the pipelineExecutionStartCondition is set to
-- EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you
-- use semantic version filters on the base image or components in your
-- image recipe, EC2 Image Builder will build a new image only when there
-- are new versions of the image or components in your recipe that match
-- the semantic version filter. When it is set to
-- EXPRESSION_MATCH_ONLY, it will build a new image every time
-- the CRON expression matches the current time. For semantic version
-- syntax, see CreateComponent in the EC2 Image Builder API
-- Reference.
[$sel:pipelineExecutionStartCondition:Schedule'] :: Schedule -> Maybe PipelineExecutionStartCondition
-- | The cron expression determines how often EC2 Image Builder evaluates
-- your pipelineExecutionStartCondition.
--
-- For information on how to format a cron expression in Image Builder,
-- see Use cron expressions in EC2 Image Builder.
[$sel:scheduleExpression:Schedule'] :: Schedule -> Maybe Text
-- | The timezone that applies to the scheduling expression. For example,
-- "Etc/UTC", "America/Los_Angeles" in the IANA timezone format.
-- If not specified this defaults to UTC.
[$sel:timezone:Schedule'] :: Schedule -> Maybe Text
-- | Create a value of Schedule 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:pipelineExecutionStartCondition:Schedule',
-- schedule_pipelineExecutionStartCondition - The condition
-- configures when the pipeline should trigger a new image build. When
-- the pipelineExecutionStartCondition is set to
-- EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you
-- use semantic version filters on the base image or components in your
-- image recipe, EC2 Image Builder will build a new image only when there
-- are new versions of the image or components in your recipe that match
-- the semantic version filter. When it is set to
-- EXPRESSION_MATCH_ONLY, it will build a new image every time
-- the CRON expression matches the current time. For semantic version
-- syntax, see CreateComponent in the EC2 Image Builder API
-- Reference.
--
-- $sel:scheduleExpression:Schedule',
-- schedule_scheduleExpression - The cron expression determines
-- how often EC2 Image Builder evaluates your
-- pipelineExecutionStartCondition.
--
-- For information on how to format a cron expression in Image Builder,
-- see Use cron expressions in EC2 Image Builder.
--
-- $sel:timezone:Schedule', schedule_timezone - The
-- timezone that applies to the scheduling expression. For example,
-- "Etc/UTC", "America/Los_Angeles" in the IANA timezone format.
-- If not specified this defaults to UTC.
newSchedule :: Schedule
-- | The condition configures when the pipeline should trigger a new image
-- build. When the pipelineExecutionStartCondition is set to
-- EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you
-- use semantic version filters on the base image or components in your
-- image recipe, EC2 Image Builder will build a new image only when there
-- are new versions of the image or components in your recipe that match
-- the semantic version filter. When it is set to
-- EXPRESSION_MATCH_ONLY, it will build a new image every time
-- the CRON expression matches the current time. For semantic version
-- syntax, see CreateComponent in the EC2 Image Builder API
-- Reference.
schedule_pipelineExecutionStartCondition :: Lens' Schedule (Maybe PipelineExecutionStartCondition)
-- | The cron expression determines how often EC2 Image Builder evaluates
-- your pipelineExecutionStartCondition.
--
-- For information on how to format a cron expression in Image Builder,
-- see Use cron expressions in EC2 Image Builder.
schedule_scheduleExpression :: Lens' Schedule (Maybe Text)
-- | The timezone that applies to the scheduling expression. For example,
-- "Etc/UTC", "America/Los_Angeles" in the IANA timezone format.
-- If not specified this defaults to UTC.
schedule_timezone :: Lens' Schedule (Maybe Text)
-- | Contains settings for the Systems Manager agent on your build
-- instance.
--
-- See: newSystemsManagerAgent smart constructor.
data SystemsManagerAgent
SystemsManagerAgent' :: Maybe Bool -> SystemsManagerAgent
-- | Controls whether the Systems Manager agent is removed from your final
-- build image, prior to creating the new AMI. If this is set to true,
-- then the agent is removed from the final image. If it's set to false,
-- then the agent is left in, so that it is included in the new AMI. The
-- default value is false.
[$sel:uninstallAfterBuild:SystemsManagerAgent'] :: SystemsManagerAgent -> Maybe Bool
-- | Create a value of SystemsManagerAgent 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:uninstallAfterBuild:SystemsManagerAgent',
-- systemsManagerAgent_uninstallAfterBuild - Controls whether the
-- Systems Manager agent is removed from your final build image, prior to
-- creating the new AMI. If this is set to true, then the agent is
-- removed from the final image. If it's set to false, then the agent is
-- left in, so that it is included in the new AMI. The default value is
-- false.
newSystemsManagerAgent :: SystemsManagerAgent
-- | Controls whether the Systems Manager agent is removed from your final
-- build image, prior to creating the new AMI. If this is set to true,
-- then the agent is removed from the final image. If it's set to false,
-- then the agent is left in, so that it is included in the new AMI. The
-- default value is false.
systemsManagerAgent_uninstallAfterBuild :: Lens' SystemsManagerAgent (Maybe Bool)
-- | The container repository where the output container image is stored.
--
-- See: newTargetContainerRepository smart constructor.
data TargetContainerRepository
TargetContainerRepository' :: ContainerRepositoryService -> Text -> TargetContainerRepository
-- | Specifies the service in which this image was registered.
[$sel:service:TargetContainerRepository'] :: TargetContainerRepository -> ContainerRepositoryService
-- | The name of the container repository where the output container image
-- is stored. This name is prefixed by the repository location.
[$sel:repositoryName:TargetContainerRepository'] :: TargetContainerRepository -> Text
-- | Create a value of TargetContainerRepository 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:service:TargetContainerRepository',
-- targetContainerRepository_service - Specifies the service in
-- which this image was registered.
--
-- $sel:repositoryName:TargetContainerRepository',
-- targetContainerRepository_repositoryName - The name of the
-- container repository where the output container image is stored. This
-- name is prefixed by the repository location.
newTargetContainerRepository :: ContainerRepositoryService -> Text -> TargetContainerRepository
-- | Specifies the service in which this image was registered.
targetContainerRepository_service :: Lens' TargetContainerRepository ContainerRepositoryService
-- | The name of the container repository where the output container image
-- is stored. This name is prefixed by the repository location.
targetContainerRepository_repositoryName :: Lens' TargetContainerRepository Text
-- | Adds a tag to a resource.
module Amazonka.ImageBuilder.TagResource
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> HashMap Text Text -> TagResource
-- | The Amazon Resource Name (ARN) of the resource that you want to tag.
[$sel:resourceArn:TagResource'] :: TagResource -> Text
-- | The tags to apply to the resource.
[$sel:tags:TagResource'] :: TagResource -> HashMap Text Text
-- | Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn -
-- The Amazon Resource Name (ARN) of the resource that you want to tag.
--
-- TagResource, tagResource_tags - The tags to apply to the
-- resource.
newTagResource :: Text -> TagResource
-- | The Amazon Resource Name (ARN) of the resource that you want to tag.
tagResource_resourceArn :: Lens' TagResource Text
-- | The tags to apply to the resource.
tagResource_tags :: Lens' TagResource (HashMap Text Text)
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
-- | Create a value of TagResourceResponse 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:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.TagResource.TagResource
instance GHC.Show.Show Amazonka.ImageBuilder.TagResource.TagResource
instance GHC.Read.Read Amazonka.ImageBuilder.TagResource.TagResource
instance GHC.Classes.Eq Amazonka.ImageBuilder.TagResource.TagResource
instance GHC.Generics.Generic Amazonka.ImageBuilder.TagResource.TagResourceResponse
instance GHC.Show.Show Amazonka.ImageBuilder.TagResource.TagResourceResponse
instance GHC.Read.Read Amazonka.ImageBuilder.TagResource.TagResourceResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.TagResource.TagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.TagResource.TagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.TagResource.TagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.TagResource.TagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.TagResource.TagResource
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.TagResource.TagResource
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.TagResource.TagResource
-- | Manually triggers a pipeline to create an image.
module Amazonka.ImageBuilder.StartImagePipelineExecution
-- | See: newStartImagePipelineExecution smart constructor.
data StartImagePipelineExecution
StartImagePipelineExecution' :: Text -> Text -> StartImagePipelineExecution
-- | The Amazon Resource Name (ARN) of the image pipeline that you want to
-- manually invoke.
[$sel:imagePipelineArn:StartImagePipelineExecution'] :: StartImagePipelineExecution -> Text
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:StartImagePipelineExecution'] :: StartImagePipelineExecution -> Text
-- | Create a value of StartImagePipelineExecution 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:imagePipelineArn:StartImagePipelineExecution',
-- startImagePipelineExecution_imagePipelineArn - The Amazon
-- Resource Name (ARN) of the image pipeline that you want to manually
-- invoke.
--
-- StartImagePipelineExecution,
-- startImagePipelineExecution_clientToken - The idempotency token
-- used to make this request idempotent.
newStartImagePipelineExecution :: Text -> Text -> StartImagePipelineExecution
-- | The Amazon Resource Name (ARN) of the image pipeline that you want to
-- manually invoke.
startImagePipelineExecution_imagePipelineArn :: Lens' StartImagePipelineExecution Text
-- | The idempotency token used to make this request idempotent.
startImagePipelineExecution_clientToken :: Lens' StartImagePipelineExecution Text
-- | See: newStartImagePipelineExecutionResponse smart
-- constructor.
data StartImagePipelineExecutionResponse
StartImagePipelineExecutionResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> StartImagePipelineExecutionResponse
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:StartImagePipelineExecutionResponse'] :: StartImagePipelineExecutionResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the image that was created by this
-- request.
[$sel:imageBuildVersionArn:StartImagePipelineExecutionResponse'] :: StartImagePipelineExecutionResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:StartImagePipelineExecutionResponse'] :: StartImagePipelineExecutionResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:StartImagePipelineExecutionResponse'] :: StartImagePipelineExecutionResponse -> Int
-- | Create a value of StartImagePipelineExecutionResponse 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:
--
-- StartImagePipelineExecution,
-- startImagePipelineExecutionResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- $sel:imageBuildVersionArn:StartImagePipelineExecutionResponse',
-- startImagePipelineExecutionResponse_imageBuildVersionArn - The
-- Amazon Resource Name (ARN) of the image that was created by this
-- request.
--
-- $sel:requestId:StartImagePipelineExecutionResponse',
-- startImagePipelineExecutionResponse_requestId - The request ID
-- that uniquely identifies this request.
--
-- $sel:httpStatus:StartImagePipelineExecutionResponse',
-- startImagePipelineExecutionResponse_httpStatus - The response's
-- http status code.
newStartImagePipelineExecutionResponse :: Int -> StartImagePipelineExecutionResponse
-- | The idempotency token used to make this request idempotent.
startImagePipelineExecutionResponse_clientToken :: Lens' StartImagePipelineExecutionResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image that was created by this
-- request.
startImagePipelineExecutionResponse_imageBuildVersionArn :: Lens' StartImagePipelineExecutionResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
startImagePipelineExecutionResponse_requestId :: Lens' StartImagePipelineExecutionResponse (Maybe Text)
-- | The response's http status code.
startImagePipelineExecutionResponse_httpStatus :: Lens' StartImagePipelineExecutionResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecution
instance GHC.Show.Show Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecution
instance GHC.Read.Read Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecution
instance GHC.Classes.Eq Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecution
instance GHC.Generics.Generic Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecutionResponse
instance GHC.Show.Show Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecutionResponse
instance GHC.Read.Read Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecutionResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecutionResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecution
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecutionResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecution
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecution
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecution
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecution
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecution
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.StartImagePipelineExecution.StartImagePipelineExecution
-- | Applies a policy to an image recipe. We recommend that you call the
-- RAM API CreateResourceShare to share resources. If you call the
-- Image Builder API PutImageRecipePolicy, you must also call
-- the RAM API PromoteResourceShareCreatedFromPolicy in order for
-- the resource to be visible to all principals with whom the resource is
-- shared.
module Amazonka.ImageBuilder.PutImageRecipePolicy
-- | See: newPutImageRecipePolicy smart constructor.
data PutImageRecipePolicy
PutImageRecipePolicy' :: Text -> Text -> PutImageRecipePolicy
-- | The Amazon Resource Name (ARN) of the image recipe that this policy
-- should be applied to.
[$sel:imageRecipeArn:PutImageRecipePolicy'] :: PutImageRecipePolicy -> Text
-- | The policy to apply.
[$sel:policy:PutImageRecipePolicy'] :: PutImageRecipePolicy -> Text
-- | Create a value of PutImageRecipePolicy 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:
--
-- PutImageRecipePolicy,
-- putImageRecipePolicy_imageRecipeArn - The Amazon Resource Name
-- (ARN) of the image recipe that this policy should be applied to.
--
-- $sel:policy:PutImageRecipePolicy',
-- putImageRecipePolicy_policy - The policy to apply.
newPutImageRecipePolicy :: Text -> Text -> PutImageRecipePolicy
-- | The Amazon Resource Name (ARN) of the image recipe that this policy
-- should be applied to.
putImageRecipePolicy_imageRecipeArn :: Lens' PutImageRecipePolicy Text
-- | The policy to apply.
putImageRecipePolicy_policy :: Lens' PutImageRecipePolicy Text
-- | See: newPutImageRecipePolicyResponse smart constructor.
data PutImageRecipePolicyResponse
PutImageRecipePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> PutImageRecipePolicyResponse
-- | The Amazon Resource Name (ARN) of the image recipe that this policy
-- was applied to.
[$sel:imageRecipeArn:PutImageRecipePolicyResponse'] :: PutImageRecipePolicyResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:PutImageRecipePolicyResponse'] :: PutImageRecipePolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:PutImageRecipePolicyResponse'] :: PutImageRecipePolicyResponse -> Int
-- | Create a value of PutImageRecipePolicyResponse 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:
--
-- PutImageRecipePolicy,
-- putImageRecipePolicyResponse_imageRecipeArn - The Amazon
-- Resource Name (ARN) of the image recipe that this policy was applied
-- to.
--
-- $sel:requestId:PutImageRecipePolicyResponse',
-- putImageRecipePolicyResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:PutImageRecipePolicyResponse',
-- putImageRecipePolicyResponse_httpStatus - The response's http
-- status code.
newPutImageRecipePolicyResponse :: Int -> PutImageRecipePolicyResponse
-- | The Amazon Resource Name (ARN) of the image recipe that this policy
-- was applied to.
putImageRecipePolicyResponse_imageRecipeArn :: Lens' PutImageRecipePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
putImageRecipePolicyResponse_requestId :: Lens' PutImageRecipePolicyResponse (Maybe Text)
-- | The response's http status code.
putImageRecipePolicyResponse_httpStatus :: Lens' PutImageRecipePolicyResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicy
instance GHC.Show.Show Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicy
instance GHC.Read.Read Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicy
instance GHC.Classes.Eq Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicy
instance GHC.Generics.Generic Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicyResponse
instance GHC.Show.Show Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicyResponse
instance GHC.Read.Read Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicyResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicy
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.PutImageRecipePolicy.PutImageRecipePolicy
-- | Applies a policy to an image. We recommend that you call the RAM API
-- CreateResourceShare to share resources. If you call the Image
-- Builder API PutImagePolicy, you must also call the RAM API
-- PromoteResourceShareCreatedFromPolicy in order for the resource
-- to be visible to all principals with whom the resource is shared.
module Amazonka.ImageBuilder.PutImagePolicy
-- | See: newPutImagePolicy smart constructor.
data PutImagePolicy
PutImagePolicy' :: Text -> Text -> PutImagePolicy
-- | The Amazon Resource Name (ARN) of the image that this policy should be
-- applied to.
[$sel:imageArn:PutImagePolicy'] :: PutImagePolicy -> Text
-- | The policy to apply.
[$sel:policy:PutImagePolicy'] :: PutImagePolicy -> Text
-- | Create a value of PutImagePolicy 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:
--
-- PutImagePolicy, putImagePolicy_imageArn - The Amazon
-- Resource Name (ARN) of the image that this policy should be applied
-- to.
--
-- $sel:policy:PutImagePolicy', putImagePolicy_policy - The
-- policy to apply.
newPutImagePolicy :: Text -> Text -> PutImagePolicy
-- | The Amazon Resource Name (ARN) of the image that this policy should be
-- applied to.
putImagePolicy_imageArn :: Lens' PutImagePolicy Text
-- | The policy to apply.
putImagePolicy_policy :: Lens' PutImagePolicy Text
-- | See: newPutImagePolicyResponse smart constructor.
data PutImagePolicyResponse
PutImagePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> PutImagePolicyResponse
-- | The Amazon Resource Name (ARN) of the image that this policy was
-- applied to.
[$sel:imageArn:PutImagePolicyResponse'] :: PutImagePolicyResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:PutImagePolicyResponse'] :: PutImagePolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:PutImagePolicyResponse'] :: PutImagePolicyResponse -> Int
-- | Create a value of PutImagePolicyResponse 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:
--
-- PutImagePolicy, putImagePolicyResponse_imageArn - The
-- Amazon Resource Name (ARN) of the image that this policy was applied
-- to.
--
-- $sel:requestId:PutImagePolicyResponse',
-- putImagePolicyResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:PutImagePolicyResponse',
-- putImagePolicyResponse_httpStatus - The response's http status
-- code.
newPutImagePolicyResponse :: Int -> PutImagePolicyResponse
-- | The Amazon Resource Name (ARN) of the image that this policy was
-- applied to.
putImagePolicyResponse_imageArn :: Lens' PutImagePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
putImagePolicyResponse_requestId :: Lens' PutImagePolicyResponse (Maybe Text)
-- | The response's http status code.
putImagePolicyResponse_httpStatus :: Lens' PutImagePolicyResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicy
instance GHC.Show.Show Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicy
instance GHC.Read.Read Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicy
instance GHC.Classes.Eq Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicy
instance GHC.Generics.Generic Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicyResponse
instance GHC.Show.Show Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicyResponse
instance GHC.Read.Read Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicyResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicy
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.PutImagePolicy.PutImagePolicy
-- | Applies a policy to a container image. We recommend that you call the
-- RAM API CreateResourceShare
-- (https://docs.aws.amazon.com//ram/latest/APIReference/API_CreateResourceShare.html)
-- to share resources. If you call the Image Builder API
-- PutContainerImagePolicy, you must also call the RAM API
-- PromoteResourceShareCreatedFromPolicy
-- (https://docs.aws.amazon.com//ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html)
-- in order for the resource to be visible to all principals with whom
-- the resource is shared.
module Amazonka.ImageBuilder.PutContainerRecipePolicy
-- | See: newPutContainerRecipePolicy smart constructor.
data PutContainerRecipePolicy
PutContainerRecipePolicy' :: Text -> Text -> PutContainerRecipePolicy
-- | The Amazon Resource Name (ARN) of the container recipe that this
-- policy should be applied to.
[$sel:containerRecipeArn:PutContainerRecipePolicy'] :: PutContainerRecipePolicy -> Text
-- | The policy to apply to the container recipe.
[$sel:policy:PutContainerRecipePolicy'] :: PutContainerRecipePolicy -> Text
-- | Create a value of PutContainerRecipePolicy 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:
--
-- PutContainerRecipePolicy,
-- putContainerRecipePolicy_containerRecipeArn - The Amazon
-- Resource Name (ARN) of the container recipe that this policy should be
-- applied to.
--
-- $sel:policy:PutContainerRecipePolicy',
-- putContainerRecipePolicy_policy - The policy to apply to the
-- container recipe.
newPutContainerRecipePolicy :: Text -> Text -> PutContainerRecipePolicy
-- | The Amazon Resource Name (ARN) of the container recipe that this
-- policy should be applied to.
putContainerRecipePolicy_containerRecipeArn :: Lens' PutContainerRecipePolicy Text
-- | The policy to apply to the container recipe.
putContainerRecipePolicy_policy :: Lens' PutContainerRecipePolicy Text
-- | See: newPutContainerRecipePolicyResponse smart
-- constructor.
data PutContainerRecipePolicyResponse
PutContainerRecipePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> PutContainerRecipePolicyResponse
-- | The Amazon Resource Name (ARN) of the container recipe that this
-- policy was applied to.
[$sel:containerRecipeArn:PutContainerRecipePolicyResponse'] :: PutContainerRecipePolicyResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:PutContainerRecipePolicyResponse'] :: PutContainerRecipePolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:PutContainerRecipePolicyResponse'] :: PutContainerRecipePolicyResponse -> Int
-- | Create a value of PutContainerRecipePolicyResponse 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:
--
-- PutContainerRecipePolicy,
-- putContainerRecipePolicyResponse_containerRecipeArn - The
-- Amazon Resource Name (ARN) of the container recipe that this policy
-- was applied to.
--
-- $sel:requestId:PutContainerRecipePolicyResponse',
-- putContainerRecipePolicyResponse_requestId - The request ID
-- that uniquely identifies this request.
--
-- $sel:httpStatus:PutContainerRecipePolicyResponse',
-- putContainerRecipePolicyResponse_httpStatus - The response's
-- http status code.
newPutContainerRecipePolicyResponse :: Int -> PutContainerRecipePolicyResponse
-- | The Amazon Resource Name (ARN) of the container recipe that this
-- policy was applied to.
putContainerRecipePolicyResponse_containerRecipeArn :: Lens' PutContainerRecipePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
putContainerRecipePolicyResponse_requestId :: Lens' PutContainerRecipePolicyResponse (Maybe Text)
-- | The response's http status code.
putContainerRecipePolicyResponse_httpStatus :: Lens' PutContainerRecipePolicyResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicy
instance GHC.Show.Show Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicy
instance GHC.Read.Read Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicy
instance GHC.Classes.Eq Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicy
instance GHC.Generics.Generic Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicyResponse
instance GHC.Show.Show Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicyResponse
instance GHC.Read.Read Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicyResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicy
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.PutContainerRecipePolicy.PutContainerRecipePolicy
-- | Applies a policy to a component. We recommend that you call the RAM
-- API CreateResourceShare to share resources. If you call the
-- Image Builder API PutComponentPolicy, you must also call the
-- RAM API PromoteResourceShareCreatedFromPolicy in order for the
-- resource to be visible to all principals with whom the resource is
-- shared.
module Amazonka.ImageBuilder.PutComponentPolicy
-- | See: newPutComponentPolicy smart constructor.
data PutComponentPolicy
PutComponentPolicy' :: Text -> Text -> PutComponentPolicy
-- | The Amazon Resource Name (ARN) of the component that this policy
-- should be applied to.
[$sel:componentArn:PutComponentPolicy'] :: PutComponentPolicy -> Text
-- | The policy to apply.
[$sel:policy:PutComponentPolicy'] :: PutComponentPolicy -> Text
-- | Create a value of PutComponentPolicy 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:
--
-- PutComponentPolicy, putComponentPolicy_componentArn -
-- The Amazon Resource Name (ARN) of the component that this policy
-- should be applied to.
--
-- $sel:policy:PutComponentPolicy',
-- putComponentPolicy_policy - The policy to apply.
newPutComponentPolicy :: Text -> Text -> PutComponentPolicy
-- | The Amazon Resource Name (ARN) of the component that this policy
-- should be applied to.
putComponentPolicy_componentArn :: Lens' PutComponentPolicy Text
-- | The policy to apply.
putComponentPolicy_policy :: Lens' PutComponentPolicy Text
-- | See: newPutComponentPolicyResponse smart constructor.
data PutComponentPolicyResponse
PutComponentPolicyResponse' :: Maybe Text -> Maybe Text -> Int -> PutComponentPolicyResponse
-- | The Amazon Resource Name (ARN) of the component that this policy was
-- applied to.
[$sel:componentArn:PutComponentPolicyResponse'] :: PutComponentPolicyResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:PutComponentPolicyResponse'] :: PutComponentPolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:PutComponentPolicyResponse'] :: PutComponentPolicyResponse -> Int
-- | Create a value of PutComponentPolicyResponse 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:
--
-- PutComponentPolicy,
-- putComponentPolicyResponse_componentArn - The Amazon Resource
-- Name (ARN) of the component that this policy was applied to.
--
-- $sel:requestId:PutComponentPolicyResponse',
-- putComponentPolicyResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:PutComponentPolicyResponse',
-- putComponentPolicyResponse_httpStatus - The response's http
-- status code.
newPutComponentPolicyResponse :: Int -> PutComponentPolicyResponse
-- | The Amazon Resource Name (ARN) of the component that this policy was
-- applied to.
putComponentPolicyResponse_componentArn :: Lens' PutComponentPolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
putComponentPolicyResponse_requestId :: Lens' PutComponentPolicyResponse (Maybe Text)
-- | The response's http status code.
putComponentPolicyResponse_httpStatus :: Lens' PutComponentPolicyResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicy
instance GHC.Show.Show Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicy
instance GHC.Read.Read Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicy
instance GHC.Classes.Eq Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicy
instance GHC.Generics.Generic Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicyResponse
instance GHC.Show.Show Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicyResponse
instance GHC.Read.Read Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicyResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicy
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.PutComponentPolicy.PutComponentPolicy
-- | Returns the list of tags for the specified resource.
module Amazonka.ImageBuilder.ListTagsForResource
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | The Amazon Resource Name (ARN) of the resource whose tags you want to
-- retrieve.
[$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text
-- | Create a value of ListTagsForResource 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:resourceArn:ListTagsForResource',
-- listTagsForResource_resourceArn - The Amazon Resource Name
-- (ARN) of the resource whose tags you want to retrieve.
newListTagsForResource :: Text -> ListTagsForResource
-- | The Amazon Resource Name (ARN) of the resource whose tags you want to
-- retrieve.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse
-- | The tags for the specified resource.
[$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe (HashMap Text Text)
-- | The response's http status code.
[$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
-- | Create a value of ListTagsForResourceResponse 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:
--
-- ListTagsForResourceResponse,
-- listTagsForResourceResponse_tags - The tags for the specified
-- resource.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | The tags for the specified resource.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text))
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResource
instance GHC.Show.Show Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResource
instance GHC.Read.Read Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResource
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResource
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListTagsForResource.ListTagsForResource
-- | Returns a list of infrastructure configurations.
module Amazonka.ImageBuilder.ListInfrastructureConfigurations
-- | See: newListInfrastructureConfigurations smart
-- constructor.
data ListInfrastructureConfigurations
ListInfrastructureConfigurations' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> ListInfrastructureConfigurations
-- | You can filter on name to streamline results.
[$sel:filters:ListInfrastructureConfigurations'] :: ListInfrastructureConfigurations -> Maybe (NonEmpty Filter)
-- | The maximum items to return in a request.
[$sel:maxResults:ListInfrastructureConfigurations'] :: ListInfrastructureConfigurations -> Maybe Natural
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
[$sel:nextToken:ListInfrastructureConfigurations'] :: ListInfrastructureConfigurations -> Maybe Text
-- | Create a value of ListInfrastructureConfigurations 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:filters:ListInfrastructureConfigurations',
-- listInfrastructureConfigurations_filters - You can filter on
-- name to streamline results.
--
-- $sel:maxResults:ListInfrastructureConfigurations',
-- listInfrastructureConfigurations_maxResults - The maximum items
-- to return in a request.
--
-- ListInfrastructureConfigurations,
-- listInfrastructureConfigurations_nextToken - A token to specify
-- where to start paginating. This is the NextToken from a previously
-- truncated response.
newListInfrastructureConfigurations :: ListInfrastructureConfigurations
-- | You can filter on name to streamline results.
listInfrastructureConfigurations_filters :: Lens' ListInfrastructureConfigurations (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listInfrastructureConfigurations_maxResults :: Lens' ListInfrastructureConfigurations (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listInfrastructureConfigurations_nextToken :: Lens' ListInfrastructureConfigurations (Maybe Text)
-- | See: newListInfrastructureConfigurationsResponse smart
-- constructor.
data ListInfrastructureConfigurationsResponse
ListInfrastructureConfigurationsResponse' :: Maybe [InfrastructureConfigurationSummary] -> Maybe Text -> Maybe Text -> Int -> ListInfrastructureConfigurationsResponse
-- | The list of infrastructure configurations.
[$sel:infrastructureConfigurationSummaryList:ListInfrastructureConfigurationsResponse'] :: ListInfrastructureConfigurationsResponse -> Maybe [InfrastructureConfigurationSummary]
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
[$sel:nextToken:ListInfrastructureConfigurationsResponse'] :: ListInfrastructureConfigurationsResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ListInfrastructureConfigurationsResponse'] :: ListInfrastructureConfigurationsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListInfrastructureConfigurationsResponse'] :: ListInfrastructureConfigurationsResponse -> Int
-- | Create a value of ListInfrastructureConfigurationsResponse 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:infrastructureConfigurationSummaryList:ListInfrastructureConfigurationsResponse',
-- listInfrastructureConfigurationsResponse_infrastructureConfigurationSummaryList
-- - The list of infrastructure configurations.
--
-- ListInfrastructureConfigurations,
-- listInfrastructureConfigurationsResponse_nextToken - The next
-- token used for paginated responses. When this is not empty, there are
-- additional elements that the service has not included in this request.
-- Use this token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListInfrastructureConfigurationsResponse',
-- listInfrastructureConfigurationsResponse_requestId - The
-- request ID that uniquely identifies this request.
--
-- $sel:httpStatus:ListInfrastructureConfigurationsResponse',
-- listInfrastructureConfigurationsResponse_httpStatus - The
-- response's http status code.
newListInfrastructureConfigurationsResponse :: Int -> ListInfrastructureConfigurationsResponse
-- | The list of infrastructure configurations.
listInfrastructureConfigurationsResponse_infrastructureConfigurationSummaryList :: Lens' ListInfrastructureConfigurationsResponse (Maybe [InfrastructureConfigurationSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listInfrastructureConfigurationsResponse_nextToken :: Lens' ListInfrastructureConfigurationsResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listInfrastructureConfigurationsResponse_requestId :: Lens' ListInfrastructureConfigurationsResponse (Maybe Text)
-- | The response's http status code.
listInfrastructureConfigurationsResponse_httpStatus :: Lens' ListInfrastructureConfigurationsResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurations
instance GHC.Show.Show Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurations
instance GHC.Read.Read Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurations
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurations
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurationsResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurationsResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurationsResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurationsResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurations
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurationsResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurations
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurations
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurations
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurations
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurations
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListInfrastructureConfigurations.ListInfrastructureConfigurations
-- | Returns the list of images that you have access to.
module Amazonka.ImageBuilder.ListImages
-- | See: newListImages smart constructor.
data ListImages
ListImages' :: Maybe Bool -> Maybe (NonEmpty Filter) -> Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Ownership -> ListImages
-- | Requests a list of images with a specific recipe name.
[$sel:byName:ListImages'] :: ListImages -> Maybe Bool
-- | Use the following filters to streamline results:
--
--
-- name
-- osVersion
-- platform
-- type
-- version
--
[$sel:filters:ListImages'] :: ListImages -> Maybe (NonEmpty Filter)
-- | Includes deprecated images in the response list.
[$sel:includeDeprecated:ListImages'] :: ListImages -> Maybe Bool
-- | The maximum items to return in a request.
[$sel:maxResults:ListImages'] :: ListImages -> Maybe Natural
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
[$sel:nextToken:ListImages'] :: ListImages -> Maybe Text
-- | The owner defines which images you want to list. By default, this
-- request will only show images owned by your account. You can use this
-- field to specify if you want to view images owned by yourself, by
-- Amazon, or those images that have been shared with you by other
-- customers.
[$sel:owner:ListImages'] :: ListImages -> Maybe Ownership
-- | Create a value of ListImages 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:byName:ListImages', listImages_byName - Requests a
-- list of images with a specific recipe name.
--
-- $sel:filters:ListImages', listImages_filters - Use the
-- following filters to streamline results:
--
--
-- name
-- osVersion
-- platform
-- type
-- version
--
--
-- $sel:includeDeprecated:ListImages',
-- listImages_includeDeprecated - Includes deprecated images in
-- the response list.
--
-- $sel:maxResults:ListImages', listImages_maxResults - The
-- maximum items to return in a request.
--
-- ListImages, listImages_nextToken - A token to specify
-- where to start paginating. This is the NextToken from a previously
-- truncated response.
--
-- ListImages, listImages_owner - The owner defines which
-- images you want to list. By default, this request will only show
-- images owned by your account. You can use this field to specify if you
-- want to view images owned by yourself, by Amazon, or those images that
-- have been shared with you by other customers.
newListImages :: ListImages
-- | Requests a list of images with a specific recipe name.
listImages_byName :: Lens' ListImages (Maybe Bool)
-- | Use the following filters to streamline results:
--
--
-- name
-- osVersion
-- platform
-- type
-- version
--
listImages_filters :: Lens' ListImages (Maybe (NonEmpty Filter))
-- | Includes deprecated images in the response list.
listImages_includeDeprecated :: Lens' ListImages (Maybe Bool)
-- | The maximum items to return in a request.
listImages_maxResults :: Lens' ListImages (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImages_nextToken :: Lens' ListImages (Maybe Text)
-- | The owner defines which images you want to list. By default, this
-- request will only show images owned by your account. You can use this
-- field to specify if you want to view images owned by yourself, by
-- Amazon, or those images that have been shared with you by other
-- customers.
listImages_owner :: Lens' ListImages (Maybe Ownership)
-- | See: newListImagesResponse smart constructor.
data ListImagesResponse
ListImagesResponse' :: Maybe [ImageVersion] -> Maybe Text -> Maybe Text -> Int -> ListImagesResponse
-- | The list of image semantic versions.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
[$sel:imageVersionList:ListImagesResponse'] :: ListImagesResponse -> Maybe [ImageVersion]
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
[$sel:nextToken:ListImagesResponse'] :: ListImagesResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ListImagesResponse'] :: ListImagesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListImagesResponse'] :: ListImagesResponse -> Int
-- | Create a value of ListImagesResponse 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:imageVersionList:ListImagesResponse',
-- listImagesResponse_imageVersionList - The list of image
-- semantic versions.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
--
-- ListImages, listImagesResponse_nextToken - The next
-- token used for paginated responses. When this is not empty, there are
-- additional elements that the service has not included in this request.
-- Use this token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListImagesResponse',
-- listImagesResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:ListImagesResponse',
-- listImagesResponse_httpStatus - The response's http status
-- code.
newListImagesResponse :: Int -> ListImagesResponse
-- | The list of image semantic versions.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
listImagesResponse_imageVersionList :: Lens' ListImagesResponse (Maybe [ImageVersion])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listImagesResponse_nextToken :: Lens' ListImagesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImagesResponse_requestId :: Lens' ListImagesResponse (Maybe Text)
-- | The response's http status code.
listImagesResponse_httpStatus :: Lens' ListImagesResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImages.ListImages
instance GHC.Show.Show Amazonka.ImageBuilder.ListImages.ListImages
instance GHC.Read.Read Amazonka.ImageBuilder.ListImages.ListImages
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImages.ListImages
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImages.ListImagesResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListImages.ListImagesResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListImages.ListImagesResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImages.ListImagesResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListImages.ListImages
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImages.ListImagesResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListImages.ListImages
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImages.ListImages
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListImages.ListImages
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ListImages.ListImages
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListImages.ListImages
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListImages.ListImages
-- | Returns a list of image recipes.
module Amazonka.ImageBuilder.ListImageRecipes
-- | See: newListImageRecipes smart constructor.
data ListImageRecipes
ListImageRecipes' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> Maybe Ownership -> ListImageRecipes
-- | Use the following filters to streamline results:
--
--
-- name
-- parentImage
-- platform
--
[$sel:filters:ListImageRecipes'] :: ListImageRecipes -> Maybe (NonEmpty Filter)
-- | The maximum items to return in a request.
[$sel:maxResults:ListImageRecipes'] :: ListImageRecipes -> Maybe Natural
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
[$sel:nextToken:ListImageRecipes'] :: ListImageRecipes -> Maybe Text
-- | The owner defines which image recipes you want to list. By default,
-- this request will only show image recipes owned by your account. You
-- can use this field to specify if you want to view image recipes owned
-- by yourself, by Amazon, or those image recipes that have been shared
-- with you by other customers.
[$sel:owner:ListImageRecipes'] :: ListImageRecipes -> Maybe Ownership
-- | Create a value of ListImageRecipes 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:filters:ListImageRecipes', listImageRecipes_filters
-- - Use the following filters to streamline results:
--
--
-- name
-- parentImage
-- platform
--
--
-- $sel:maxResults:ListImageRecipes',
-- listImageRecipes_maxResults - The maximum items to return in a
-- request.
--
-- ListImageRecipes, listImageRecipes_nextToken - A token
-- to specify where to start paginating. This is the NextToken from a
-- previously truncated response.
--
-- ListImageRecipes, listImageRecipes_owner - The owner
-- defines which image recipes you want to list. By default, this request
-- will only show image recipes owned by your account. You can use this
-- field to specify if you want to view image recipes owned by yourself,
-- by Amazon, or those image recipes that have been shared with you by
-- other customers.
newListImageRecipes :: ListImageRecipes
-- | Use the following filters to streamline results:
--
--
-- name
-- parentImage
-- platform
--
listImageRecipes_filters :: Lens' ListImageRecipes (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listImageRecipes_maxResults :: Lens' ListImageRecipes (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImageRecipes_nextToken :: Lens' ListImageRecipes (Maybe Text)
-- | The owner defines which image recipes you want to list. By default,
-- this request will only show image recipes owned by your account. You
-- can use this field to specify if you want to view image recipes owned
-- by yourself, by Amazon, or those image recipes that have been shared
-- with you by other customers.
listImageRecipes_owner :: Lens' ListImageRecipes (Maybe Ownership)
-- | See: newListImageRecipesResponse smart constructor.
data ListImageRecipesResponse
ListImageRecipesResponse' :: Maybe [ImageRecipeSummary] -> Maybe Text -> Maybe Text -> Int -> ListImageRecipesResponse
-- | The list of image pipelines.
[$sel:imageRecipeSummaryList:ListImageRecipesResponse'] :: ListImageRecipesResponse -> Maybe [ImageRecipeSummary]
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
[$sel:nextToken:ListImageRecipesResponse'] :: ListImageRecipesResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ListImageRecipesResponse'] :: ListImageRecipesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListImageRecipesResponse'] :: ListImageRecipesResponse -> Int
-- | Create a value of ListImageRecipesResponse 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:imageRecipeSummaryList:ListImageRecipesResponse',
-- listImageRecipesResponse_imageRecipeSummaryList - The list of
-- image pipelines.
--
-- ListImageRecipes, listImageRecipesResponse_nextToken -
-- The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
--
-- $sel:requestId:ListImageRecipesResponse',
-- listImageRecipesResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListImageRecipesResponse',
-- listImageRecipesResponse_httpStatus - The response's http
-- status code.
newListImageRecipesResponse :: Int -> ListImageRecipesResponse
-- | The list of image pipelines.
listImageRecipesResponse_imageRecipeSummaryList :: Lens' ListImageRecipesResponse (Maybe [ImageRecipeSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listImageRecipesResponse_nextToken :: Lens' ListImageRecipesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImageRecipesResponse_requestId :: Lens' ListImageRecipesResponse (Maybe Text)
-- | The response's http status code.
listImageRecipesResponse_httpStatus :: Lens' ListImageRecipesResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipes
instance GHC.Show.Show Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipes
instance GHC.Read.Read Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipes
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipes
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipesResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipesResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipesResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipesResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipes
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipesResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipes
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipes
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipes
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipes
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipes
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListImageRecipes.ListImageRecipes
-- | Returns a list of image pipelines.
module Amazonka.ImageBuilder.ListImagePipelines
-- | See: newListImagePipelines smart constructor.
data ListImagePipelines
ListImagePipelines' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> ListImagePipelines
-- | Use the following filters to streamline results:
--
--
[$sel:filters:ListImagePipelines'] :: ListImagePipelines -> Maybe (NonEmpty Filter)
-- | The maximum items to return in a request.
[$sel:maxResults:ListImagePipelines'] :: ListImagePipelines -> Maybe Natural
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
[$sel:nextToken:ListImagePipelines'] :: ListImagePipelines -> Maybe Text
-- | Create a value of ListImagePipelines 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:filters:ListImagePipelines',
-- listImagePipelines_filters - Use the following filters to
-- streamline results:
--
--
--
-- $sel:maxResults:ListImagePipelines',
-- listImagePipelines_maxResults - The maximum items to return in
-- a request.
--
-- ListImagePipelines, listImagePipelines_nextToken - A
-- token to specify where to start paginating. This is the NextToken from
-- a previously truncated response.
newListImagePipelines :: ListImagePipelines
-- | Use the following filters to streamline results:
--
--
listImagePipelines_filters :: Lens' ListImagePipelines (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listImagePipelines_maxResults :: Lens' ListImagePipelines (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImagePipelines_nextToken :: Lens' ListImagePipelines (Maybe Text)
-- | See: newListImagePipelinesResponse smart constructor.
data ListImagePipelinesResponse
ListImagePipelinesResponse' :: Maybe [ImagePipeline] -> Maybe Text -> Maybe Text -> Int -> ListImagePipelinesResponse
-- | The list of image pipelines.
[$sel:imagePipelineList:ListImagePipelinesResponse'] :: ListImagePipelinesResponse -> Maybe [ImagePipeline]
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
[$sel:nextToken:ListImagePipelinesResponse'] :: ListImagePipelinesResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ListImagePipelinesResponse'] :: ListImagePipelinesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListImagePipelinesResponse'] :: ListImagePipelinesResponse -> Int
-- | Create a value of ListImagePipelinesResponse 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:imagePipelineList:ListImagePipelinesResponse',
-- listImagePipelinesResponse_imagePipelineList - The list of
-- image pipelines.
--
-- ListImagePipelines, listImagePipelinesResponse_nextToken
-- - The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
--
-- $sel:requestId:ListImagePipelinesResponse',
-- listImagePipelinesResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListImagePipelinesResponse',
-- listImagePipelinesResponse_httpStatus - The response's http
-- status code.
newListImagePipelinesResponse :: Int -> ListImagePipelinesResponse
-- | The list of image pipelines.
listImagePipelinesResponse_imagePipelineList :: Lens' ListImagePipelinesResponse (Maybe [ImagePipeline])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listImagePipelinesResponse_nextToken :: Lens' ListImagePipelinesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImagePipelinesResponse_requestId :: Lens' ListImagePipelinesResponse (Maybe Text)
-- | The response's http status code.
listImagePipelinesResponse_httpStatus :: Lens' ListImagePipelinesResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelines
instance GHC.Show.Show Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelines
instance GHC.Read.Read Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelines
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelines
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelinesResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelinesResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelinesResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelinesResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelines
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelinesResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelines
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelines
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelines
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelines
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelines
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListImagePipelines.ListImagePipelines
-- | Returns a list of images created by the specified pipeline.
module Amazonka.ImageBuilder.ListImagePipelineImages
-- | See: newListImagePipelineImages smart constructor.
data ListImagePipelineImages
ListImagePipelineImages' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> Text -> ListImagePipelineImages
-- | Use the following filters to streamline results:
--
--
[$sel:filters:ListImagePipelineImages'] :: ListImagePipelineImages -> Maybe (NonEmpty Filter)
-- | The maximum items to return in a request.
[$sel:maxResults:ListImagePipelineImages'] :: ListImagePipelineImages -> Maybe Natural
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
[$sel:nextToken:ListImagePipelineImages'] :: ListImagePipelineImages -> Maybe Text
-- | The Amazon Resource Name (ARN) of the image pipeline whose images you
-- want to view.
[$sel:imagePipelineArn:ListImagePipelineImages'] :: ListImagePipelineImages -> Text
-- | Create a value of ListImagePipelineImages 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:filters:ListImagePipelineImages',
-- listImagePipelineImages_filters - Use the following filters to
-- streamline results:
--
--
--
-- $sel:maxResults:ListImagePipelineImages',
-- listImagePipelineImages_maxResults - The maximum items to
-- return in a request.
--
-- ListImagePipelineImages,
-- listImagePipelineImages_nextToken - A token to specify where to
-- start paginating. This is the NextToken from a previously truncated
-- response.
--
-- $sel:imagePipelineArn:ListImagePipelineImages',
-- listImagePipelineImages_imagePipelineArn - The Amazon Resource
-- Name (ARN) of the image pipeline whose images you want to view.
newListImagePipelineImages :: Text -> ListImagePipelineImages
-- | Use the following filters to streamline results:
--
--
listImagePipelineImages_filters :: Lens' ListImagePipelineImages (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listImagePipelineImages_maxResults :: Lens' ListImagePipelineImages (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImagePipelineImages_nextToken :: Lens' ListImagePipelineImages (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image pipeline whose images you
-- want to view.
listImagePipelineImages_imagePipelineArn :: Lens' ListImagePipelineImages Text
-- | See: newListImagePipelineImagesResponse smart
-- constructor.
data ListImagePipelineImagesResponse
ListImagePipelineImagesResponse' :: Maybe [ImageSummary] -> Maybe Text -> Maybe Text -> Int -> ListImagePipelineImagesResponse
-- | The list of images built by this pipeline.
[$sel:imageSummaryList:ListImagePipelineImagesResponse'] :: ListImagePipelineImagesResponse -> Maybe [ImageSummary]
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
[$sel:nextToken:ListImagePipelineImagesResponse'] :: ListImagePipelineImagesResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ListImagePipelineImagesResponse'] :: ListImagePipelineImagesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListImagePipelineImagesResponse'] :: ListImagePipelineImagesResponse -> Int
-- | Create a value of ListImagePipelineImagesResponse 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:imageSummaryList:ListImagePipelineImagesResponse',
-- listImagePipelineImagesResponse_imageSummaryList - The list of
-- images built by this pipeline.
--
-- ListImagePipelineImages,
-- listImagePipelineImagesResponse_nextToken - The next token used
-- for paginated responses. When this is not empty, there are additional
-- elements that the service has not included in this request. Use this
-- token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListImagePipelineImagesResponse',
-- listImagePipelineImagesResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListImagePipelineImagesResponse',
-- listImagePipelineImagesResponse_httpStatus - The response's
-- http status code.
newListImagePipelineImagesResponse :: Int -> ListImagePipelineImagesResponse
-- | The list of images built by this pipeline.
listImagePipelineImagesResponse_imageSummaryList :: Lens' ListImagePipelineImagesResponse (Maybe [ImageSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listImagePipelineImagesResponse_nextToken :: Lens' ListImagePipelineImagesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImagePipelineImagesResponse_requestId :: Lens' ListImagePipelineImagesResponse (Maybe Text)
-- | The response's http status code.
listImagePipelineImagesResponse_httpStatus :: Lens' ListImagePipelineImagesResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImages
instance GHC.Show.Show Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImages
instance GHC.Read.Read Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImages
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImages
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImagesResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImagesResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImagesResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImagesResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImages
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImagesResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImages
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImages
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImages
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImages
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImages
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListImagePipelineImages.ListImagePipelineImages
-- | List the Packages that are associated with an Image Build Version, as
-- determined by Amazon Web Services Systems Manager Inventory at build
-- time.
module Amazonka.ImageBuilder.ListImagePackages
-- | See: newListImagePackages smart constructor.
data ListImagePackages
ListImagePackages' :: Maybe Natural -> Maybe Text -> Text -> ListImagePackages
-- | The maxiumum number of results to return from the ListImagePackages
-- request.
[$sel:maxResults:ListImagePackages'] :: ListImagePackages -> Maybe Natural
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
[$sel:nextToken:ListImagePackages'] :: ListImagePackages -> Maybe Text
-- | Filter results for the ListImagePackages request by the Image Build
-- Version ARN
[$sel:imageBuildVersionArn:ListImagePackages'] :: ListImagePackages -> Text
-- | Create a value of ListImagePackages 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:maxResults:ListImagePackages',
-- listImagePackages_maxResults - The maxiumum number of results
-- to return from the ListImagePackages request.
--
-- ListImagePackages, listImagePackages_nextToken - A token
-- to specify where to start paginating. This is the NextToken from a
-- previously truncated response.
--
-- $sel:imageBuildVersionArn:ListImagePackages',
-- listImagePackages_imageBuildVersionArn - Filter results for the
-- ListImagePackages request by the Image Build Version ARN
newListImagePackages :: Text -> ListImagePackages
-- | The maxiumum number of results to return from the ListImagePackages
-- request.
listImagePackages_maxResults :: Lens' ListImagePackages (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImagePackages_nextToken :: Lens' ListImagePackages (Maybe Text)
-- | Filter results for the ListImagePackages request by the Image Build
-- Version ARN
listImagePackages_imageBuildVersionArn :: Lens' ListImagePackages Text
-- | See: newListImagePackagesResponse smart constructor.
data ListImagePackagesResponse
ListImagePackagesResponse' :: Maybe [ImagePackage] -> Maybe Text -> Maybe Text -> Int -> ListImagePackagesResponse
-- | The list of Image Packages returned in the response.
[$sel:imagePackageList:ListImagePackagesResponse'] :: ListImagePackagesResponse -> Maybe [ImagePackage]
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
[$sel:nextToken:ListImagePackagesResponse'] :: ListImagePackagesResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ListImagePackagesResponse'] :: ListImagePackagesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListImagePackagesResponse'] :: ListImagePackagesResponse -> Int
-- | Create a value of ListImagePackagesResponse 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:imagePackageList:ListImagePackagesResponse',
-- listImagePackagesResponse_imagePackageList - The list of Image
-- Packages returned in the response.
--
-- ListImagePackages, listImagePackagesResponse_nextToken -
-- A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
--
-- $sel:requestId:ListImagePackagesResponse',
-- listImagePackagesResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListImagePackagesResponse',
-- listImagePackagesResponse_httpStatus - The response's http
-- status code.
newListImagePackagesResponse :: Int -> ListImagePackagesResponse
-- | The list of Image Packages returned in the response.
listImagePackagesResponse_imagePackageList :: Lens' ListImagePackagesResponse (Maybe [ImagePackage])
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImagePackagesResponse_nextToken :: Lens' ListImagePackagesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImagePackagesResponse_requestId :: Lens' ListImagePackagesResponse (Maybe Text)
-- | The response's http status code.
listImagePackagesResponse_httpStatus :: Lens' ListImagePackagesResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImagePackages.ListImagePackages
instance GHC.Show.Show Amazonka.ImageBuilder.ListImagePackages.ListImagePackages
instance GHC.Read.Read Amazonka.ImageBuilder.ListImagePackages.ListImagePackages
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImagePackages.ListImagePackages
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImagePackages.ListImagePackagesResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListImagePackages.ListImagePackagesResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListImagePackages.ListImagePackagesResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImagePackages.ListImagePackagesResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListImagePackages.ListImagePackages
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImagePackages.ListImagePackagesResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListImagePackages.ListImagePackages
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImagePackages.ListImagePackages
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListImagePackages.ListImagePackages
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ListImagePackages.ListImagePackages
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListImagePackages.ListImagePackages
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListImagePackages.ListImagePackages
-- | Returns a list of image build versions.
module Amazonka.ImageBuilder.ListImageBuildVersions
-- | See: newListImageBuildVersions smart constructor.
data ListImageBuildVersions
ListImageBuildVersions' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> Text -> ListImageBuildVersions
-- | Use the following filters to streamline results:
--
--
-- name
-- osVersion
-- platform
-- type
-- version
--
[$sel:filters:ListImageBuildVersions'] :: ListImageBuildVersions -> Maybe (NonEmpty Filter)
-- | The maximum items to return in a request.
[$sel:maxResults:ListImageBuildVersions'] :: ListImageBuildVersions -> Maybe Natural
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
[$sel:nextToken:ListImageBuildVersions'] :: ListImageBuildVersions -> Maybe Text
-- | The Amazon Resource Name (ARN) of the image whose build versions you
-- want to retrieve.
[$sel:imageVersionArn:ListImageBuildVersions'] :: ListImageBuildVersions -> Text
-- | Create a value of ListImageBuildVersions 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:filters:ListImageBuildVersions',
-- listImageBuildVersions_filters - Use the following filters to
-- streamline results:
--
--
-- name
-- osVersion
-- platform
-- type
-- version
--
--
-- $sel:maxResults:ListImageBuildVersions',
-- listImageBuildVersions_maxResults - The maximum items to return
-- in a request.
--
-- ListImageBuildVersions, listImageBuildVersions_nextToken
-- - A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
--
-- $sel:imageVersionArn:ListImageBuildVersions',
-- listImageBuildVersions_imageVersionArn - The Amazon Resource
-- Name (ARN) of the image whose build versions you want to retrieve.
newListImageBuildVersions :: Text -> ListImageBuildVersions
-- | Use the following filters to streamline results:
--
--
-- name
-- osVersion
-- platform
-- type
-- version
--
listImageBuildVersions_filters :: Lens' ListImageBuildVersions (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listImageBuildVersions_maxResults :: Lens' ListImageBuildVersions (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImageBuildVersions_nextToken :: Lens' ListImageBuildVersions (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image whose build versions you
-- want to retrieve.
listImageBuildVersions_imageVersionArn :: Lens' ListImageBuildVersions Text
-- | See: newListImageBuildVersionsResponse smart
-- constructor.
data ListImageBuildVersionsResponse
ListImageBuildVersionsResponse' :: Maybe [ImageSummary] -> Maybe Text -> Maybe Text -> Int -> ListImageBuildVersionsResponse
-- | The list of image build versions.
[$sel:imageSummaryList:ListImageBuildVersionsResponse'] :: ListImageBuildVersionsResponse -> Maybe [ImageSummary]
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
[$sel:nextToken:ListImageBuildVersionsResponse'] :: ListImageBuildVersionsResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ListImageBuildVersionsResponse'] :: ListImageBuildVersionsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListImageBuildVersionsResponse'] :: ListImageBuildVersionsResponse -> Int
-- | Create a value of ListImageBuildVersionsResponse 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:imageSummaryList:ListImageBuildVersionsResponse',
-- listImageBuildVersionsResponse_imageSummaryList - The list of
-- image build versions.
--
-- ListImageBuildVersions,
-- listImageBuildVersionsResponse_nextToken - The next token used
-- for paginated responses. When this is not empty, there are additional
-- elements that the service has not included in this request. Use this
-- token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListImageBuildVersionsResponse',
-- listImageBuildVersionsResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListImageBuildVersionsResponse',
-- listImageBuildVersionsResponse_httpStatus - The response's http
-- status code.
newListImageBuildVersionsResponse :: Int -> ListImageBuildVersionsResponse
-- | The list of image build versions.
listImageBuildVersionsResponse_imageSummaryList :: Lens' ListImageBuildVersionsResponse (Maybe [ImageSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listImageBuildVersionsResponse_nextToken :: Lens' ListImageBuildVersionsResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImageBuildVersionsResponse_requestId :: Lens' ListImageBuildVersionsResponse (Maybe Text)
-- | The response's http status code.
listImageBuildVersionsResponse_httpStatus :: Lens' ListImageBuildVersionsResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersions
instance GHC.Show.Show Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersions
instance GHC.Read.Read Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersions
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersions
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersionsResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersionsResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersionsResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersionsResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersions
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersionsResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersions
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersions
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersions
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersions
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListImageBuildVersions.ListImageBuildVersions
-- | Returns a list of distribution configurations.
module Amazonka.ImageBuilder.ListDistributionConfigurations
-- | See: newListDistributionConfigurations smart
-- constructor.
data ListDistributionConfigurations
ListDistributionConfigurations' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> ListDistributionConfigurations
-- | You can filter on name to streamline results.
[$sel:filters:ListDistributionConfigurations'] :: ListDistributionConfigurations -> Maybe (NonEmpty Filter)
-- | The maximum items to return in a request.
[$sel:maxResults:ListDistributionConfigurations'] :: ListDistributionConfigurations -> Maybe Natural
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
[$sel:nextToken:ListDistributionConfigurations'] :: ListDistributionConfigurations -> Maybe Text
-- | Create a value of ListDistributionConfigurations 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:filters:ListDistributionConfigurations',
-- listDistributionConfigurations_filters - You can filter on
-- name to streamline results.
--
-- $sel:maxResults:ListDistributionConfigurations',
-- listDistributionConfigurations_maxResults - The maximum items
-- to return in a request.
--
-- ListDistributionConfigurations,
-- listDistributionConfigurations_nextToken - A token to specify
-- where to start paginating. This is the NextToken from a previously
-- truncated response.
newListDistributionConfigurations :: ListDistributionConfigurations
-- | You can filter on name to streamline results.
listDistributionConfigurations_filters :: Lens' ListDistributionConfigurations (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listDistributionConfigurations_maxResults :: Lens' ListDistributionConfigurations (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listDistributionConfigurations_nextToken :: Lens' ListDistributionConfigurations (Maybe Text)
-- | See: newListDistributionConfigurationsResponse smart
-- constructor.
data ListDistributionConfigurationsResponse
ListDistributionConfigurationsResponse' :: Maybe [DistributionConfigurationSummary] -> Maybe Text -> Maybe Text -> Int -> ListDistributionConfigurationsResponse
-- | The list of distributions.
[$sel:distributionConfigurationSummaryList:ListDistributionConfigurationsResponse'] :: ListDistributionConfigurationsResponse -> Maybe [DistributionConfigurationSummary]
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
[$sel:nextToken:ListDistributionConfigurationsResponse'] :: ListDistributionConfigurationsResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ListDistributionConfigurationsResponse'] :: ListDistributionConfigurationsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListDistributionConfigurationsResponse'] :: ListDistributionConfigurationsResponse -> Int
-- | Create a value of ListDistributionConfigurationsResponse 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:distributionConfigurationSummaryList:ListDistributionConfigurationsResponse',
-- listDistributionConfigurationsResponse_distributionConfigurationSummaryList
-- - The list of distributions.
--
-- ListDistributionConfigurations,
-- listDistributionConfigurationsResponse_nextToken - The next
-- token used for paginated responses. When this is not empty, there are
-- additional elements that the service has not included in this request.
-- Use this token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListDistributionConfigurationsResponse',
-- listDistributionConfigurationsResponse_requestId - The request
-- ID that uniquely identifies this request.
--
-- $sel:httpStatus:ListDistributionConfigurationsResponse',
-- listDistributionConfigurationsResponse_httpStatus - The
-- response's http status code.
newListDistributionConfigurationsResponse :: Int -> ListDistributionConfigurationsResponse
-- | The list of distributions.
listDistributionConfigurationsResponse_distributionConfigurationSummaryList :: Lens' ListDistributionConfigurationsResponse (Maybe [DistributionConfigurationSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listDistributionConfigurationsResponse_nextToken :: Lens' ListDistributionConfigurationsResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listDistributionConfigurationsResponse_requestId :: Lens' ListDistributionConfigurationsResponse (Maybe Text)
-- | The response's http status code.
listDistributionConfigurationsResponse_httpStatus :: Lens' ListDistributionConfigurationsResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurations
instance GHC.Show.Show Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurations
instance GHC.Read.Read Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurations
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurations
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurationsResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurationsResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurationsResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurationsResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurations
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurationsResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurations
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurations
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurations
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurations
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurations
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListDistributionConfigurations.ListDistributionConfigurations
-- | Returns a list of container recipes.
module Amazonka.ImageBuilder.ListContainerRecipes
-- | See: newListContainerRecipes smart constructor.
data ListContainerRecipes
ListContainerRecipes' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> Maybe Ownership -> ListContainerRecipes
-- | Use the following filters to streamline results:
--
--
-- containerType
-- name
-- parentImage
-- platform
--
[$sel:filters:ListContainerRecipes'] :: ListContainerRecipes -> Maybe (NonEmpty Filter)
-- | The maximum number of results to return in the list.
[$sel:maxResults:ListContainerRecipes'] :: ListContainerRecipes -> Maybe Natural
-- | Provides a token for pagination, which determines where to begin the
-- next set of results when the current set reaches the maximum for one
-- request.
[$sel:nextToken:ListContainerRecipes'] :: ListContainerRecipes -> Maybe Text
-- | Returns container recipes belonging to the specified owner, that have
-- been shared with you. You can omit this field to return container
-- recipes belonging to your account.
[$sel:owner:ListContainerRecipes'] :: ListContainerRecipes -> Maybe Ownership
-- | Create a value of ListContainerRecipes 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:filters:ListContainerRecipes',
-- listContainerRecipes_filters - Use the following filters to
-- streamline results:
--
--
-- containerType
-- name
-- parentImage
-- platform
--
--
-- $sel:maxResults:ListContainerRecipes',
-- listContainerRecipes_maxResults - The maximum number of results
-- to return in the list.
--
-- ListContainerRecipes, listContainerRecipes_nextToken -
-- Provides a token for pagination, which determines where to begin the
-- next set of results when the current set reaches the maximum for one
-- request.
--
-- ListContainerRecipes, listContainerRecipes_owner -
-- Returns container recipes belonging to the specified owner, that have
-- been shared with you. You can omit this field to return container
-- recipes belonging to your account.
newListContainerRecipes :: ListContainerRecipes
-- | Use the following filters to streamline results:
--
--
-- containerType
-- name
-- parentImage
-- platform
--
listContainerRecipes_filters :: Lens' ListContainerRecipes (Maybe (NonEmpty Filter))
-- | The maximum number of results to return in the list.
listContainerRecipes_maxResults :: Lens' ListContainerRecipes (Maybe Natural)
-- | Provides a token for pagination, which determines where to begin the
-- next set of results when the current set reaches the maximum for one
-- request.
listContainerRecipes_nextToken :: Lens' ListContainerRecipes (Maybe Text)
-- | Returns container recipes belonging to the specified owner, that have
-- been shared with you. You can omit this field to return container
-- recipes belonging to your account.
listContainerRecipes_owner :: Lens' ListContainerRecipes (Maybe Ownership)
-- | See: newListContainerRecipesResponse smart constructor.
data ListContainerRecipesResponse
ListContainerRecipesResponse' :: Maybe [ContainerRecipeSummary] -> Maybe Text -> Maybe Text -> Int -> ListContainerRecipesResponse
-- | The list of container recipes returned for the request.
[$sel:containerRecipeSummaryList:ListContainerRecipesResponse'] :: ListContainerRecipesResponse -> Maybe [ContainerRecipeSummary]
-- | The next token field is used for paginated responses. When this is not
-- empty, there are additional container recipes that the service has not
-- included in this response. Use this token with the next request to
-- retrieve additional list items.
[$sel:nextToken:ListContainerRecipesResponse'] :: ListContainerRecipesResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ListContainerRecipesResponse'] :: ListContainerRecipesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListContainerRecipesResponse'] :: ListContainerRecipesResponse -> Int
-- | Create a value of ListContainerRecipesResponse 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:containerRecipeSummaryList:ListContainerRecipesResponse',
-- listContainerRecipesResponse_containerRecipeSummaryList - The
-- list of container recipes returned for the request.
--
-- ListContainerRecipes,
-- listContainerRecipesResponse_nextToken - The next token field
-- is used for paginated responses. When this is not empty, there are
-- additional container recipes that the service has not included in this
-- response. Use this token with the next request to retrieve additional
-- list items.
--
-- $sel:requestId:ListContainerRecipesResponse',
-- listContainerRecipesResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListContainerRecipesResponse',
-- listContainerRecipesResponse_httpStatus - The response's http
-- status code.
newListContainerRecipesResponse :: Int -> ListContainerRecipesResponse
-- | The list of container recipes returned for the request.
listContainerRecipesResponse_containerRecipeSummaryList :: Lens' ListContainerRecipesResponse (Maybe [ContainerRecipeSummary])
-- | The next token field is used for paginated responses. When this is not
-- empty, there are additional container recipes that the service has not
-- included in this response. Use this token with the next request to
-- retrieve additional list items.
listContainerRecipesResponse_nextToken :: Lens' ListContainerRecipesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listContainerRecipesResponse_requestId :: Lens' ListContainerRecipesResponse (Maybe Text)
-- | The response's http status code.
listContainerRecipesResponse_httpStatus :: Lens' ListContainerRecipesResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipes
instance GHC.Show.Show Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipes
instance GHC.Read.Read Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipes
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipes
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipesResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipesResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipesResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipesResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipes
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipesResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipes
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipes
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipes
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipes
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipes
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListContainerRecipes.ListContainerRecipes
-- | Returns the list of component build versions for the specified
-- semantic version.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
module Amazonka.ImageBuilder.ListComponents
-- | See: newListComponents smart constructor.
data ListComponents
ListComponents' :: Maybe Bool -> Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> Maybe Ownership -> ListComponents
-- | Returns the list of component build versions for the specified name.
[$sel:byName:ListComponents'] :: ListComponents -> Maybe Bool
-- | Use the following filters to streamline results:
--
--
-- description
-- name
-- platform
-- supportedOsVersion
-- type
-- version
--
[$sel:filters:ListComponents'] :: ListComponents -> Maybe (NonEmpty Filter)
-- | The maximum items to return in a request.
[$sel:maxResults:ListComponents'] :: ListComponents -> Maybe Natural
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
[$sel:nextToken:ListComponents'] :: ListComponents -> Maybe Text
-- | The owner defines which components you want to list. By default, this
-- request will only show components owned by your account. You can use
-- this field to specify if you want to view components owned by
-- yourself, by Amazon, or those components that have been shared with
-- you by other customers.
[$sel:owner:ListComponents'] :: ListComponents -> Maybe Ownership
-- | Create a value of ListComponents 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:byName:ListComponents', listComponents_byName -
-- Returns the list of component build versions for the specified name.
--
-- $sel:filters:ListComponents', listComponents_filters -
-- Use the following filters to streamline results:
--
--
-- description
-- name
-- platform
-- supportedOsVersion
-- type
-- version
--
--
-- $sel:maxResults:ListComponents',
-- listComponents_maxResults - The maximum items to return in a
-- request.
--
-- ListComponents, listComponents_nextToken - A token to
-- specify where to start paginating. This is the NextToken from a
-- previously truncated response.
--
-- ListComponents, listComponents_owner - The owner defines
-- which components you want to list. By default, this request will only
-- show components owned by your account. You can use this field to
-- specify if you want to view components owned by yourself, by Amazon,
-- or those components that have been shared with you by other customers.
newListComponents :: ListComponents
-- | Returns the list of component build versions for the specified name.
listComponents_byName :: Lens' ListComponents (Maybe Bool)
-- | Use the following filters to streamline results:
--
--
-- description
-- name
-- platform
-- supportedOsVersion
-- type
-- version
--
listComponents_filters :: Lens' ListComponents (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listComponents_maxResults :: Lens' ListComponents (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listComponents_nextToken :: Lens' ListComponents (Maybe Text)
-- | The owner defines which components you want to list. By default, this
-- request will only show components owned by your account. You can use
-- this field to specify if you want to view components owned by
-- yourself, by Amazon, or those components that have been shared with
-- you by other customers.
listComponents_owner :: Lens' ListComponents (Maybe Ownership)
-- | See: newListComponentsResponse smart constructor.
data ListComponentsResponse
ListComponentsResponse' :: Maybe [ComponentVersion] -> Maybe Text -> Maybe Text -> Int -> ListComponentsResponse
-- | The list of component semantic versions.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
[$sel:componentVersionList:ListComponentsResponse'] :: ListComponentsResponse -> Maybe [ComponentVersion]
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
[$sel:nextToken:ListComponentsResponse'] :: ListComponentsResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ListComponentsResponse'] :: ListComponentsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListComponentsResponse'] :: ListComponentsResponse -> Int
-- | Create a value of ListComponentsResponse 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:componentVersionList:ListComponentsResponse',
-- listComponentsResponse_componentVersionList - The list of
-- component semantic versions.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- ListComponents, listComponentsResponse_nextToken - The
-- next token used for paginated responses. When this is not empty, there
-- are additional elements that the service has not included in this
-- request. Use this token with the next request to retrieve additional
-- objects.
--
-- $sel:requestId:ListComponentsResponse',
-- listComponentsResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:ListComponentsResponse',
-- listComponentsResponse_httpStatus - The response's http status
-- code.
newListComponentsResponse :: Int -> ListComponentsResponse
-- | The list of component semantic versions.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
listComponentsResponse_componentVersionList :: Lens' ListComponentsResponse (Maybe [ComponentVersion])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listComponentsResponse_nextToken :: Lens' ListComponentsResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listComponentsResponse_requestId :: Lens' ListComponentsResponse (Maybe Text)
-- | The response's http status code.
listComponentsResponse_httpStatus :: Lens' ListComponentsResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListComponents.ListComponents
instance GHC.Show.Show Amazonka.ImageBuilder.ListComponents.ListComponents
instance GHC.Read.Read Amazonka.ImageBuilder.ListComponents.ListComponents
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListComponents.ListComponents
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListComponents.ListComponentsResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListComponents.ListComponentsResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListComponents.ListComponentsResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListComponents.ListComponentsResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListComponents.ListComponents
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListComponents.ListComponentsResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListComponents.ListComponents
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListComponents.ListComponents
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListComponents.ListComponents
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ListComponents.ListComponents
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListComponents.ListComponents
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListComponents.ListComponents
-- | Returns the list of component build versions for the specified
-- semantic version.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
module Amazonka.ImageBuilder.ListComponentBuildVersions
-- | See: newListComponentBuildVersions smart constructor.
data ListComponentBuildVersions
ListComponentBuildVersions' :: Maybe Natural -> Maybe Text -> Text -> ListComponentBuildVersions
-- | The maximum items to return in a request.
[$sel:maxResults:ListComponentBuildVersions'] :: ListComponentBuildVersions -> Maybe Natural
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
[$sel:nextToken:ListComponentBuildVersions'] :: ListComponentBuildVersions -> Maybe Text
-- | The component version Amazon Resource Name (ARN) whose versions you
-- want to list.
[$sel:componentVersionArn:ListComponentBuildVersions'] :: ListComponentBuildVersions -> Text
-- | Create a value of ListComponentBuildVersions 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:maxResults:ListComponentBuildVersions',
-- listComponentBuildVersions_maxResults - The maximum items to
-- return in a request.
--
-- ListComponentBuildVersions,
-- listComponentBuildVersions_nextToken - A token to specify where
-- to start paginating. This is the NextToken from a previously truncated
-- response.
--
-- $sel:componentVersionArn:ListComponentBuildVersions',
-- listComponentBuildVersions_componentVersionArn - The component
-- version Amazon Resource Name (ARN) whose versions you want to list.
newListComponentBuildVersions :: Text -> ListComponentBuildVersions
-- | The maximum items to return in a request.
listComponentBuildVersions_maxResults :: Lens' ListComponentBuildVersions (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listComponentBuildVersions_nextToken :: Lens' ListComponentBuildVersions (Maybe Text)
-- | The component version Amazon Resource Name (ARN) whose versions you
-- want to list.
listComponentBuildVersions_componentVersionArn :: Lens' ListComponentBuildVersions Text
-- | See: newListComponentBuildVersionsResponse smart
-- constructor.
data ListComponentBuildVersionsResponse
ListComponentBuildVersionsResponse' :: Maybe [ComponentSummary] -> Maybe Text -> Maybe Text -> Int -> ListComponentBuildVersionsResponse
-- | The list of component summaries for the specified semantic version.
[$sel:componentSummaryList:ListComponentBuildVersionsResponse'] :: ListComponentBuildVersionsResponse -> Maybe [ComponentSummary]
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
[$sel:nextToken:ListComponentBuildVersionsResponse'] :: ListComponentBuildVersionsResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ListComponentBuildVersionsResponse'] :: ListComponentBuildVersionsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListComponentBuildVersionsResponse'] :: ListComponentBuildVersionsResponse -> Int
-- | Create a value of ListComponentBuildVersionsResponse 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:componentSummaryList:ListComponentBuildVersionsResponse',
-- listComponentBuildVersionsResponse_componentSummaryList - The
-- list of component summaries for the specified semantic version.
--
-- ListComponentBuildVersions,
-- listComponentBuildVersionsResponse_nextToken - The next token
-- used for paginated responses. When this is not empty, there are
-- additional elements that the service has not included in this request.
-- Use this token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListComponentBuildVersionsResponse',
-- listComponentBuildVersionsResponse_requestId - The request ID
-- that uniquely identifies this request.
--
-- $sel:httpStatus:ListComponentBuildVersionsResponse',
-- listComponentBuildVersionsResponse_httpStatus - The response's
-- http status code.
newListComponentBuildVersionsResponse :: Int -> ListComponentBuildVersionsResponse
-- | The list of component summaries for the specified semantic version.
listComponentBuildVersionsResponse_componentSummaryList :: Lens' ListComponentBuildVersionsResponse (Maybe [ComponentSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listComponentBuildVersionsResponse_nextToken :: Lens' ListComponentBuildVersionsResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listComponentBuildVersionsResponse_requestId :: Lens' ListComponentBuildVersionsResponse (Maybe Text)
-- | The response's http status code.
listComponentBuildVersionsResponse_httpStatus :: Lens' ListComponentBuildVersionsResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersions
instance GHC.Show.Show Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersions
instance GHC.Read.Read Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersions
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersions
instance GHC.Generics.Generic Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersionsResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersionsResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersionsResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersionsResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersions
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersionsResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersions
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersions
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersions
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersions
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ListComponentBuildVersions.ListComponentBuildVersions
-- | When you export your virtual machine (VM) from its virtualization
-- environment, that process creates a set of one or more disk container
-- files that act as snapshots of your VM’s environment, settings, and
-- data. The Amazon EC2 API ImportImage action uses those files to
-- import your VM and create an AMI. To import using the CLI command, see
-- import-image
--
-- You can reference the task ID from the VM import to pull in the AMI
-- that the import created as the base image for your Image Builder
-- recipe.
module Amazonka.ImageBuilder.ImportVmImage
-- | See: newImportVmImage smart constructor.
data ImportVmImage
ImportVmImage' :: Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> Platform -> Text -> Text -> ImportVmImage
-- | The description for the base image that is created by the import
-- process.
[$sel:description:ImportVmImage'] :: ImportVmImage -> Maybe Text
-- | The operating system version for the imported VM.
[$sel:osVersion:ImportVmImage'] :: ImportVmImage -> Maybe Text
-- | Tags that are attached to the import resources.
[$sel:tags:ImportVmImage'] :: ImportVmImage -> Maybe (HashMap Text Text)
-- | The name of the base image that is created by the import process.
[$sel:name:ImportVmImage'] :: ImportVmImage -> Text
-- | The semantic version to attach to the base image that was created
-- during the import process. This version follows the semantic version
-- syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
[$sel:semanticVersion:ImportVmImage'] :: ImportVmImage -> Text
-- | The operating system platform for the imported VM.
[$sel:platform:ImportVmImage'] :: ImportVmImage -> Platform
-- | The importTaskId (API) or ImportTaskId (CLI) from
-- the Amazon EC2 VM import process. Image Builder retrieves information
-- from the import process to pull in the AMI that is created from the VM
-- source as the base image for your recipe.
[$sel:vmImportTaskId:ImportVmImage'] :: ImportVmImage -> Text
-- | Unique, case-sensitive identifier you provide to ensure idempotency of
-- the request. For more information, see Ensuring idempotency in
-- the Amazon EC2 API Reference.
[$sel:clientToken:ImportVmImage'] :: ImportVmImage -> Text
-- | Create a value of ImportVmImage 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:
--
-- ImportVmImage, importVmImage_description - The
-- description for the base image that is created by the import process.
--
-- ImportVmImage, importVmImage_osVersion - The operating
-- system version for the imported VM.
--
-- ImportVmImage, importVmImage_tags - Tags that are
-- attached to the import resources.
--
-- ImportVmImage, importVmImage_name - The name of the base
-- image that is created by the import process.
--
-- $sel:semanticVersion:ImportVmImage',
-- importVmImage_semanticVersion - The semantic version to attach
-- to the base image that was created during the import process. This
-- version follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- ImportVmImage, importVmImage_platform - The operating
-- system platform for the imported VM.
--
-- $sel:vmImportTaskId:ImportVmImage',
-- importVmImage_vmImportTaskId - The importTaskId (API)
-- or ImportTaskId (CLI) from the Amazon EC2 VM import process.
-- Image Builder retrieves information from the import process to pull in
-- the AMI that is created from the VM source as the base image for your
-- recipe.
--
-- ImportVmImage, importVmImage_clientToken - Unique,
-- case-sensitive identifier you provide to ensure idempotency of the
-- request. For more information, see Ensuring idempotency in the
-- Amazon EC2 API Reference.
newImportVmImage :: Text -> Text -> Platform -> Text -> Text -> ImportVmImage
-- | The description for the base image that is created by the import
-- process.
importVmImage_description :: Lens' ImportVmImage (Maybe Text)
-- | The operating system version for the imported VM.
importVmImage_osVersion :: Lens' ImportVmImage (Maybe Text)
-- | Tags that are attached to the import resources.
importVmImage_tags :: Lens' ImportVmImage (Maybe (HashMap Text Text))
-- | The name of the base image that is created by the import process.
importVmImage_name :: Lens' ImportVmImage Text
-- | The semantic version to attach to the base image that was created
-- during the import process. This version follows the semantic version
-- syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
importVmImage_semanticVersion :: Lens' ImportVmImage Text
-- | The operating system platform for the imported VM.
importVmImage_platform :: Lens' ImportVmImage Platform
-- | The importTaskId (API) or ImportTaskId (CLI) from
-- the Amazon EC2 VM import process. Image Builder retrieves information
-- from the import process to pull in the AMI that is created from the VM
-- source as the base image for your recipe.
importVmImage_vmImportTaskId :: Lens' ImportVmImage Text
-- | Unique, case-sensitive identifier you provide to ensure idempotency of
-- the request. For more information, see Ensuring idempotency in
-- the Amazon EC2 API Reference.
importVmImage_clientToken :: Lens' ImportVmImage Text
-- | See: newImportVmImageResponse smart constructor.
data ImportVmImageResponse
ImportVmImageResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> ImportVmImageResponse
-- | The idempotency token that was used for this request.
[$sel:clientToken:ImportVmImageResponse'] :: ImportVmImageResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the AMI that was created during the
-- VM import process. This AMI is used as the base image for the recipe
-- that imported the VM.
[$sel:imageArn:ImportVmImageResponse'] :: ImportVmImageResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ImportVmImageResponse'] :: ImportVmImageResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ImportVmImageResponse'] :: ImportVmImageResponse -> Int
-- | Create a value of ImportVmImageResponse 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:
--
-- ImportVmImage, importVmImageResponse_clientToken - The
-- idempotency token that was used for this request.
--
-- $sel:imageArn:ImportVmImageResponse',
-- importVmImageResponse_imageArn - The Amazon Resource Name (ARN)
-- of the AMI that was created during the VM import process. This AMI is
-- used as the base image for the recipe that imported the VM.
--
-- $sel:requestId:ImportVmImageResponse',
-- importVmImageResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:ImportVmImageResponse',
-- importVmImageResponse_httpStatus - The response's http status
-- code.
newImportVmImageResponse :: Int -> ImportVmImageResponse
-- | The idempotency token that was used for this request.
importVmImageResponse_clientToken :: Lens' ImportVmImageResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the AMI that was created during the
-- VM import process. This AMI is used as the base image for the recipe
-- that imported the VM.
importVmImageResponse_imageArn :: Lens' ImportVmImageResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
importVmImageResponse_requestId :: Lens' ImportVmImageResponse (Maybe Text)
-- | The response's http status code.
importVmImageResponse_httpStatus :: Lens' ImportVmImageResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ImportVmImage.ImportVmImage
instance GHC.Show.Show Amazonka.ImageBuilder.ImportVmImage.ImportVmImage
instance GHC.Read.Read Amazonka.ImageBuilder.ImportVmImage.ImportVmImage
instance GHC.Classes.Eq Amazonka.ImageBuilder.ImportVmImage.ImportVmImage
instance GHC.Generics.Generic Amazonka.ImageBuilder.ImportVmImage.ImportVmImageResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ImportVmImage.ImportVmImageResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ImportVmImage.ImportVmImageResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ImportVmImage.ImportVmImageResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ImportVmImage.ImportVmImage
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ImportVmImage.ImportVmImageResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ImportVmImage.ImportVmImage
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ImportVmImage.ImportVmImage
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ImportVmImage.ImportVmImage
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ImportVmImage.ImportVmImage
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ImportVmImage.ImportVmImage
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ImportVmImage.ImportVmImage
-- | Imports a component and transforms its data into a component document.
module Amazonka.ImageBuilder.ImportComponent
-- | See: newImportComponent smart constructor.
data ImportComponent
ImportComponent' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Text -> Text -> ComponentType -> ComponentFormat -> Platform -> Text -> ImportComponent
-- | The change description of the component. Describes what change has
-- been made in this version, or what makes this version different from
-- other versions of this component.
[$sel:changeDescription:ImportComponent'] :: ImportComponent -> Maybe Text
-- | The data of the component. Used to specify the data inline. Either
-- data or uri can be used to specify the data within
-- the component.
[$sel:data':ImportComponent'] :: ImportComponent -> Maybe Text
-- | The description of the component. Describes the contents of the
-- component.
[$sel:description:ImportComponent'] :: ImportComponent -> Maybe Text
-- | The ID of the KMS key that should be used to encrypt this component.
[$sel:kmsKeyId:ImportComponent'] :: ImportComponent -> Maybe Text
-- | The tags of the component.
[$sel:tags:ImportComponent'] :: ImportComponent -> Maybe (HashMap Text Text)
-- | The uri of the component. Must be an Amazon S3 URL and the requester
-- must have permission to access the Amazon S3 bucket. If you use Amazon
-- S3, you can specify component content up to your service quota. Either
-- data or uri can be used to specify the data within
-- the component.
[$sel:uri:ImportComponent'] :: ImportComponent -> Maybe Text
-- | The name of the component.
[$sel:name:ImportComponent'] :: ImportComponent -> Text
-- | The semantic version of the component. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
[$sel:semanticVersion:ImportComponent'] :: ImportComponent -> Text
-- | The type of the component denotes whether the component is used to
-- build the image, or only to test it.
[$sel:type':ImportComponent'] :: ImportComponent -> ComponentType
-- | The format of the resource that you want to import as a component.
[$sel:format:ImportComponent'] :: ImportComponent -> ComponentFormat
-- | The platform of the component.
[$sel:platform:ImportComponent'] :: ImportComponent -> Platform
-- | The idempotency token of the component.
[$sel:clientToken:ImportComponent'] :: ImportComponent -> Text
-- | Create a value of ImportComponent 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:
--
-- ImportComponent, importComponent_changeDescription - The
-- change description of the component. Describes what change has been
-- made in this version, or what makes this version different from other
-- versions of this component.
--
-- ImportComponent, importComponent_data - The data of the
-- component. Used to specify the data inline. Either data or
-- uri can be used to specify the data within the component.
--
-- ImportComponent, importComponent_description - The
-- description of the component. Describes the contents of the component.
--
-- ImportComponent, importComponent_kmsKeyId - The ID of
-- the KMS key that should be used to encrypt this component.
--
-- ImportComponent, importComponent_tags - The tags of the
-- component.
--
-- $sel:uri:ImportComponent', importComponent_uri - The uri
-- of the component. Must be an Amazon S3 URL and the requester must have
-- permission to access the Amazon S3 bucket. If you use Amazon S3, you
-- can specify component content up to your service quota. Either
-- data or uri can be used to specify the data within
-- the component.
--
-- ImportComponent, importComponent_name - The name of the
-- component.
--
-- $sel:semanticVersion:ImportComponent',
-- importComponent_semanticVersion - The semantic version of the
-- component. This version follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
--
-- ImportComponent, importComponent_type - The type of the
-- component denotes whether the component is used to build the image, or
-- only to test it.
--
-- $sel:format:ImportComponent', importComponent_format -
-- The format of the resource that you want to import as a component.
--
-- ImportComponent, importComponent_platform - The platform
-- of the component.
--
-- ImportComponent, importComponent_clientToken - The
-- idempotency token of the component.
newImportComponent :: Text -> Text -> ComponentType -> ComponentFormat -> Platform -> Text -> ImportComponent
-- | The change description of the component. Describes what change has
-- been made in this version, or what makes this version different from
-- other versions of this component.
importComponent_changeDescription :: Lens' ImportComponent (Maybe Text)
-- | The data of the component. Used to specify the data inline. Either
-- data or uri can be used to specify the data within
-- the component.
importComponent_data :: Lens' ImportComponent (Maybe Text)
-- | The description of the component. Describes the contents of the
-- component.
importComponent_description :: Lens' ImportComponent (Maybe Text)
-- | The ID of the KMS key that should be used to encrypt this component.
importComponent_kmsKeyId :: Lens' ImportComponent (Maybe Text)
-- | The tags of the component.
importComponent_tags :: Lens' ImportComponent (Maybe (HashMap Text Text))
-- | The uri of the component. Must be an Amazon S3 URL and the requester
-- must have permission to access the Amazon S3 bucket. If you use Amazon
-- S3, you can specify component content up to your service quota. Either
-- data or uri can be used to specify the data within
-- the component.
importComponent_uri :: Lens' ImportComponent (Maybe Text)
-- | The name of the component.
importComponent_name :: Lens' ImportComponent Text
-- | The semantic version of the component. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
importComponent_semanticVersion :: Lens' ImportComponent Text
-- | The type of the component denotes whether the component is used to
-- build the image, or only to test it.
importComponent_type :: Lens' ImportComponent ComponentType
-- | The format of the resource that you want to import as a component.
importComponent_format :: Lens' ImportComponent ComponentFormat
-- | The platform of the component.
importComponent_platform :: Lens' ImportComponent Platform
-- | The idempotency token of the component.
importComponent_clientToken :: Lens' ImportComponent Text
-- | See: newImportComponentResponse smart constructor.
data ImportComponentResponse
ImportComponentResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> ImportComponentResponse
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:ImportComponentResponse'] :: ImportComponentResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the imported component.
[$sel:componentBuildVersionArn:ImportComponentResponse'] :: ImportComponentResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:ImportComponentResponse'] :: ImportComponentResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ImportComponentResponse'] :: ImportComponentResponse -> Int
-- | Create a value of ImportComponentResponse 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:
--
-- ImportComponent, importComponentResponse_clientToken -
-- The idempotency token used to make this request idempotent.
--
-- $sel:componentBuildVersionArn:ImportComponentResponse',
-- importComponentResponse_componentBuildVersionArn - The Amazon
-- Resource Name (ARN) of the imported component.
--
-- $sel:requestId:ImportComponentResponse',
-- importComponentResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ImportComponentResponse',
-- importComponentResponse_httpStatus - The response's http status
-- code.
newImportComponentResponse :: Int -> ImportComponentResponse
-- | The idempotency token used to make this request idempotent.
importComponentResponse_clientToken :: Lens' ImportComponentResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the imported component.
importComponentResponse_componentBuildVersionArn :: Lens' ImportComponentResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
importComponentResponse_requestId :: Lens' ImportComponentResponse (Maybe Text)
-- | The response's http status code.
importComponentResponse_httpStatus :: Lens' ImportComponentResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.ImportComponent.ImportComponent
instance GHC.Show.Show Amazonka.ImageBuilder.ImportComponent.ImportComponent
instance GHC.Read.Read Amazonka.ImageBuilder.ImportComponent.ImportComponent
instance GHC.Classes.Eq Amazonka.ImageBuilder.ImportComponent.ImportComponent
instance GHC.Generics.Generic Amazonka.ImageBuilder.ImportComponent.ImportComponentResponse
instance GHC.Show.Show Amazonka.ImageBuilder.ImportComponent.ImportComponentResponse
instance GHC.Read.Read Amazonka.ImageBuilder.ImportComponent.ImportComponentResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.ImportComponent.ImportComponentResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.ImportComponent.ImportComponent
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ImportComponent.ImportComponentResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.ImportComponent.ImportComponent
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.ImportComponent.ImportComponent
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.ImportComponent.ImportComponent
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.ImportComponent.ImportComponent
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.ImportComponent.ImportComponent
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.ImportComponent.ImportComponent
-- | Gets an infrastructure configuration.
module Amazonka.ImageBuilder.GetInfrastructureConfiguration
-- | GetInfrastructureConfiguration request object.
--
-- See: newGetInfrastructureConfiguration smart
-- constructor.
data GetInfrastructureConfiguration
GetInfrastructureConfiguration' :: Text -> GetInfrastructureConfiguration
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that you want to retrieve.
[$sel:infrastructureConfigurationArn:GetInfrastructureConfiguration'] :: GetInfrastructureConfiguration -> Text
-- | Create a value of GetInfrastructureConfiguration 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:
--
-- GetInfrastructureConfiguration,
-- getInfrastructureConfiguration_infrastructureConfigurationArn -
-- The Amazon Resource Name (ARN) of the infrastructure configuration
-- that you want to retrieve.
newGetInfrastructureConfiguration :: Text -> GetInfrastructureConfiguration
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that you want to retrieve.
getInfrastructureConfiguration_infrastructureConfigurationArn :: Lens' GetInfrastructureConfiguration Text
-- | GetInfrastructureConfiguration response object.
--
-- See: newGetInfrastructureConfigurationResponse smart
-- constructor.
data GetInfrastructureConfigurationResponse
GetInfrastructureConfigurationResponse' :: Maybe InfrastructureConfiguration -> Maybe Text -> Int -> GetInfrastructureConfigurationResponse
-- | The infrastructure configuration object.
[$sel:infrastructureConfiguration:GetInfrastructureConfigurationResponse'] :: GetInfrastructureConfigurationResponse -> Maybe InfrastructureConfiguration
-- | The request ID that uniquely identifies this request.
[$sel:requestId:GetInfrastructureConfigurationResponse'] :: GetInfrastructureConfigurationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetInfrastructureConfigurationResponse'] :: GetInfrastructureConfigurationResponse -> Int
-- | Create a value of GetInfrastructureConfigurationResponse 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:
--
-- GetInfrastructureConfigurationResponse,
-- getInfrastructureConfigurationResponse_infrastructureConfiguration
-- - The infrastructure configuration object.
--
-- $sel:requestId:GetInfrastructureConfigurationResponse',
-- getInfrastructureConfigurationResponse_requestId - The request
-- ID that uniquely identifies this request.
--
-- $sel:httpStatus:GetInfrastructureConfigurationResponse',
-- getInfrastructureConfigurationResponse_httpStatus - The
-- response's http status code.
newGetInfrastructureConfigurationResponse :: Int -> GetInfrastructureConfigurationResponse
-- | The infrastructure configuration object.
getInfrastructureConfigurationResponse_infrastructureConfiguration :: Lens' GetInfrastructureConfigurationResponse (Maybe InfrastructureConfiguration)
-- | The request ID that uniquely identifies this request.
getInfrastructureConfigurationResponse_requestId :: Lens' GetInfrastructureConfigurationResponse (Maybe Text)
-- | The response's http status code.
getInfrastructureConfigurationResponse_httpStatus :: Lens' GetInfrastructureConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfiguration
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfigurationResponse
instance GHC.Show.Show Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfigurationResponse
instance GHC.Read.Read Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfigurationResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.GetInfrastructureConfiguration.GetInfrastructureConfiguration
-- | Gets an image recipe policy.
module Amazonka.ImageBuilder.GetImageRecipePolicy
-- | See: newGetImageRecipePolicy smart constructor.
data GetImageRecipePolicy
GetImageRecipePolicy' :: Text -> GetImageRecipePolicy
-- | The Amazon Resource Name (ARN) of the image recipe whose policy you
-- want to retrieve.
[$sel:imageRecipeArn:GetImageRecipePolicy'] :: GetImageRecipePolicy -> Text
-- | Create a value of GetImageRecipePolicy 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:
--
-- GetImageRecipePolicy,
-- getImageRecipePolicy_imageRecipeArn - The Amazon Resource Name
-- (ARN) of the image recipe whose policy you want to retrieve.
newGetImageRecipePolicy :: Text -> GetImageRecipePolicy
-- | The Amazon Resource Name (ARN) of the image recipe whose policy you
-- want to retrieve.
getImageRecipePolicy_imageRecipeArn :: Lens' GetImageRecipePolicy Text
-- | See: newGetImageRecipePolicyResponse smart constructor.
data GetImageRecipePolicyResponse
GetImageRecipePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetImageRecipePolicyResponse
-- | The image recipe policy object.
[$sel:policy:GetImageRecipePolicyResponse'] :: GetImageRecipePolicyResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:GetImageRecipePolicyResponse'] :: GetImageRecipePolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetImageRecipePolicyResponse'] :: GetImageRecipePolicyResponse -> Int
-- | Create a value of GetImageRecipePolicyResponse 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:policy:GetImageRecipePolicyResponse',
-- getImageRecipePolicyResponse_policy - The image recipe policy
-- object.
--
-- $sel:requestId:GetImageRecipePolicyResponse',
-- getImageRecipePolicyResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:GetImageRecipePolicyResponse',
-- getImageRecipePolicyResponse_httpStatus - The response's http
-- status code.
newGetImageRecipePolicyResponse :: Int -> GetImageRecipePolicyResponse
-- | The image recipe policy object.
getImageRecipePolicyResponse_policy :: Lens' GetImageRecipePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
getImageRecipePolicyResponse_requestId :: Lens' GetImageRecipePolicyResponse (Maybe Text)
-- | The response's http status code.
getImageRecipePolicyResponse_httpStatus :: Lens' GetImageRecipePolicyResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicy
instance GHC.Show.Show Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicy
instance GHC.Read.Read Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicy
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicy
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicyResponse
instance GHC.Show.Show Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicyResponse
instance GHC.Read.Read Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicyResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicy
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.GetImageRecipePolicy.GetImageRecipePolicy
-- | Gets an image recipe.
module Amazonka.ImageBuilder.GetImageRecipe
-- | See: newGetImageRecipe smart constructor.
data GetImageRecipe
GetImageRecipe' :: Text -> GetImageRecipe
-- | The Amazon Resource Name (ARN) of the image recipe that you want to
-- retrieve.
[$sel:imageRecipeArn:GetImageRecipe'] :: GetImageRecipe -> Text
-- | Create a value of GetImageRecipe 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:
--
-- GetImageRecipe, getImageRecipe_imageRecipeArn - The
-- Amazon Resource Name (ARN) of the image recipe that you want to
-- retrieve.
newGetImageRecipe :: Text -> GetImageRecipe
-- | The Amazon Resource Name (ARN) of the image recipe that you want to
-- retrieve.
getImageRecipe_imageRecipeArn :: Lens' GetImageRecipe Text
-- | See: newGetImageRecipeResponse smart constructor.
data GetImageRecipeResponse
GetImageRecipeResponse' :: Maybe ImageRecipe -> Maybe Text -> Int -> GetImageRecipeResponse
-- | The image recipe object.
[$sel:imageRecipe:GetImageRecipeResponse'] :: GetImageRecipeResponse -> Maybe ImageRecipe
-- | The request ID that uniquely identifies this request.
[$sel:requestId:GetImageRecipeResponse'] :: GetImageRecipeResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetImageRecipeResponse'] :: GetImageRecipeResponse -> Int
-- | Create a value of GetImageRecipeResponse 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:
--
-- GetImageRecipeResponse,
-- getImageRecipeResponse_imageRecipe - The image recipe object.
--
-- $sel:requestId:GetImageRecipeResponse',
-- getImageRecipeResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:GetImageRecipeResponse',
-- getImageRecipeResponse_httpStatus - The response's http status
-- code.
newGetImageRecipeResponse :: Int -> GetImageRecipeResponse
-- | The image recipe object.
getImageRecipeResponse_imageRecipe :: Lens' GetImageRecipeResponse (Maybe ImageRecipe)
-- | The request ID that uniquely identifies this request.
getImageRecipeResponse_requestId :: Lens' GetImageRecipeResponse (Maybe Text)
-- | The response's http status code.
getImageRecipeResponse_httpStatus :: Lens' GetImageRecipeResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipe
instance GHC.Show.Show Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipe
instance GHC.Read.Read Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipe
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipe
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipeResponse
instance GHC.Show.Show Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipeResponse
instance GHC.Read.Read Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipeResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipeResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipeResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipe
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipe
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipe
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.GetImageRecipe.GetImageRecipe
-- | Gets an image policy.
module Amazonka.ImageBuilder.GetImagePolicy
-- | See: newGetImagePolicy smart constructor.
data GetImagePolicy
GetImagePolicy' :: Text -> GetImagePolicy
-- | The Amazon Resource Name (ARN) of the image whose policy you want to
-- retrieve.
[$sel:imageArn:GetImagePolicy'] :: GetImagePolicy -> Text
-- | Create a value of GetImagePolicy 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:imageArn:GetImagePolicy', getImagePolicy_imageArn -
-- The Amazon Resource Name (ARN) of the image whose policy you want to
-- retrieve.
newGetImagePolicy :: Text -> GetImagePolicy
-- | The Amazon Resource Name (ARN) of the image whose policy you want to
-- retrieve.
getImagePolicy_imageArn :: Lens' GetImagePolicy Text
-- | See: newGetImagePolicyResponse smart constructor.
data GetImagePolicyResponse
GetImagePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetImagePolicyResponse
-- | The image policy object.
[$sel:policy:GetImagePolicyResponse'] :: GetImagePolicyResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:GetImagePolicyResponse'] :: GetImagePolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetImagePolicyResponse'] :: GetImagePolicyResponse -> Int
-- | Create a value of GetImagePolicyResponse 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:policy:GetImagePolicyResponse',
-- getImagePolicyResponse_policy - The image policy object.
--
-- $sel:requestId:GetImagePolicyResponse',
-- getImagePolicyResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:GetImagePolicyResponse',
-- getImagePolicyResponse_httpStatus - The response's http status
-- code.
newGetImagePolicyResponse :: Int -> GetImagePolicyResponse
-- | The image policy object.
getImagePolicyResponse_policy :: Lens' GetImagePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
getImagePolicyResponse_requestId :: Lens' GetImagePolicyResponse (Maybe Text)
-- | The response's http status code.
getImagePolicyResponse_httpStatus :: Lens' GetImagePolicyResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicy
instance GHC.Show.Show Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicy
instance GHC.Read.Read Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicy
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicy
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicyResponse
instance GHC.Show.Show Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicyResponse
instance GHC.Read.Read Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicyResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicy
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.GetImagePolicy.GetImagePolicy
-- | Gets an image pipeline.
module Amazonka.ImageBuilder.GetImagePipeline
-- | See: newGetImagePipeline smart constructor.
data GetImagePipeline
GetImagePipeline' :: Text -> GetImagePipeline
-- | The Amazon Resource Name (ARN) of the image pipeline that you want to
-- retrieve.
[$sel:imagePipelineArn:GetImagePipeline'] :: GetImagePipeline -> Text
-- | Create a value of GetImagePipeline 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:imagePipelineArn:GetImagePipeline',
-- getImagePipeline_imagePipelineArn - The Amazon Resource Name
-- (ARN) of the image pipeline that you want to retrieve.
newGetImagePipeline :: Text -> GetImagePipeline
-- | The Amazon Resource Name (ARN) of the image pipeline that you want to
-- retrieve.
getImagePipeline_imagePipelineArn :: Lens' GetImagePipeline Text
-- | See: newGetImagePipelineResponse smart constructor.
data GetImagePipelineResponse
GetImagePipelineResponse' :: Maybe ImagePipeline -> Maybe Text -> Int -> GetImagePipelineResponse
-- | The image pipeline object.
[$sel:imagePipeline:GetImagePipelineResponse'] :: GetImagePipelineResponse -> Maybe ImagePipeline
-- | The request ID that uniquely identifies this request.
[$sel:requestId:GetImagePipelineResponse'] :: GetImagePipelineResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetImagePipelineResponse'] :: GetImagePipelineResponse -> Int
-- | Create a value of GetImagePipelineResponse 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:imagePipeline:GetImagePipelineResponse',
-- getImagePipelineResponse_imagePipeline - The image pipeline
-- object.
--
-- $sel:requestId:GetImagePipelineResponse',
-- getImagePipelineResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:GetImagePipelineResponse',
-- getImagePipelineResponse_httpStatus - The response's http
-- status code.
newGetImagePipelineResponse :: Int -> GetImagePipelineResponse
-- | The image pipeline object.
getImagePipelineResponse_imagePipeline :: Lens' GetImagePipelineResponse (Maybe ImagePipeline)
-- | The request ID that uniquely identifies this request.
getImagePipelineResponse_requestId :: Lens' GetImagePipelineResponse (Maybe Text)
-- | The response's http status code.
getImagePipelineResponse_httpStatus :: Lens' GetImagePipelineResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetImagePipeline.GetImagePipeline
instance GHC.Show.Show Amazonka.ImageBuilder.GetImagePipeline.GetImagePipeline
instance GHC.Read.Read Amazonka.ImageBuilder.GetImagePipeline.GetImagePipeline
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetImagePipeline.GetImagePipeline
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetImagePipeline.GetImagePipelineResponse
instance GHC.Show.Show Amazonka.ImageBuilder.GetImagePipeline.GetImagePipelineResponse
instance GHC.Read.Read Amazonka.ImageBuilder.GetImagePipeline.GetImagePipelineResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetImagePipeline.GetImagePipelineResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.GetImagePipeline.GetImagePipeline
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetImagePipeline.GetImagePipelineResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.GetImagePipeline.GetImagePipeline
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetImagePipeline.GetImagePipeline
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.GetImagePipeline.GetImagePipeline
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.GetImagePipeline.GetImagePipeline
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.GetImagePipeline.GetImagePipeline
-- | Gets an image.
module Amazonka.ImageBuilder.GetImage
-- | See: newGetImage smart constructor.
data GetImage
GetImage' :: Text -> GetImage
-- | The Amazon Resource Name (ARN) of the image that you want to retrieve.
[$sel:imageBuildVersionArn:GetImage'] :: GetImage -> Text
-- | Create a value of GetImage 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:imageBuildVersionArn:GetImage',
-- getImage_imageBuildVersionArn - The Amazon Resource Name (ARN)
-- of the image that you want to retrieve.
newGetImage :: Text -> GetImage
-- | The Amazon Resource Name (ARN) of the image that you want to retrieve.
getImage_imageBuildVersionArn :: Lens' GetImage Text
-- | See: newGetImageResponse smart constructor.
data GetImageResponse
GetImageResponse' :: Maybe Image -> Maybe Text -> Int -> GetImageResponse
-- | The image object.
[$sel:image:GetImageResponse'] :: GetImageResponse -> Maybe Image
-- | The request ID that uniquely identifies this request.
[$sel:requestId:GetImageResponse'] :: GetImageResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetImageResponse'] :: GetImageResponse -> Int
-- | Create a value of GetImageResponse 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:
--
-- GetImageResponse, getImageResponse_image - The image
-- object.
--
-- $sel:requestId:GetImageResponse',
-- getImageResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:GetImageResponse',
-- getImageResponse_httpStatus - The response's http status code.
newGetImageResponse :: Int -> GetImageResponse
-- | The image object.
getImageResponse_image :: Lens' GetImageResponse (Maybe Image)
-- | The request ID that uniquely identifies this request.
getImageResponse_requestId :: Lens' GetImageResponse (Maybe Text)
-- | The response's http status code.
getImageResponse_httpStatus :: Lens' GetImageResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetImage.GetImage
instance GHC.Show.Show Amazonka.ImageBuilder.GetImage.GetImage
instance GHC.Read.Read Amazonka.ImageBuilder.GetImage.GetImage
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetImage.GetImage
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetImage.GetImageResponse
instance GHC.Show.Show Amazonka.ImageBuilder.GetImage.GetImageResponse
instance GHC.Read.Read Amazonka.ImageBuilder.GetImage.GetImageResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetImage.GetImageResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.GetImage.GetImage
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetImage.GetImageResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.GetImage.GetImage
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetImage.GetImage
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.GetImage.GetImage
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.GetImage.GetImage
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.GetImage.GetImage
-- | Gets a distribution configuration.
module Amazonka.ImageBuilder.GetDistributionConfiguration
-- | See: newGetDistributionConfiguration smart constructor.
data GetDistributionConfiguration
GetDistributionConfiguration' :: Text -> GetDistributionConfiguration
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- you want to retrieve.
[$sel:distributionConfigurationArn:GetDistributionConfiguration'] :: GetDistributionConfiguration -> Text
-- | Create a value of GetDistributionConfiguration 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:
--
-- GetDistributionConfiguration,
-- getDistributionConfiguration_distributionConfigurationArn - The
-- Amazon Resource Name (ARN) of the distribution configuration that you
-- want to retrieve.
newGetDistributionConfiguration :: Text -> GetDistributionConfiguration
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- you want to retrieve.
getDistributionConfiguration_distributionConfigurationArn :: Lens' GetDistributionConfiguration Text
-- | See: newGetDistributionConfigurationResponse smart
-- constructor.
data GetDistributionConfigurationResponse
GetDistributionConfigurationResponse' :: Maybe DistributionConfiguration -> Maybe Text -> Int -> GetDistributionConfigurationResponse
-- | The distribution configuration object.
[$sel:distributionConfiguration:GetDistributionConfigurationResponse'] :: GetDistributionConfigurationResponse -> Maybe DistributionConfiguration
-- | The request ID that uniquely identifies this request.
[$sel:requestId:GetDistributionConfigurationResponse'] :: GetDistributionConfigurationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetDistributionConfigurationResponse'] :: GetDistributionConfigurationResponse -> Int
-- | Create a value of GetDistributionConfigurationResponse 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:
--
-- GetDistributionConfigurationResponse,
-- getDistributionConfigurationResponse_distributionConfiguration
-- - The distribution configuration object.
--
-- $sel:requestId:GetDistributionConfigurationResponse',
-- getDistributionConfigurationResponse_requestId - The request ID
-- that uniquely identifies this request.
--
-- $sel:httpStatus:GetDistributionConfigurationResponse',
-- getDistributionConfigurationResponse_httpStatus - The
-- response's http status code.
newGetDistributionConfigurationResponse :: Int -> GetDistributionConfigurationResponse
-- | The distribution configuration object.
getDistributionConfigurationResponse_distributionConfiguration :: Lens' GetDistributionConfigurationResponse (Maybe DistributionConfiguration)
-- | The request ID that uniquely identifies this request.
getDistributionConfigurationResponse_requestId :: Lens' GetDistributionConfigurationResponse (Maybe Text)
-- | The response's http status code.
getDistributionConfigurationResponse_httpStatus :: Lens' GetDistributionConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfiguration
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfigurationResponse
instance GHC.Show.Show Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfigurationResponse
instance GHC.Read.Read Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfigurationResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.GetDistributionConfiguration.GetDistributionConfiguration
-- | Retrieves the policy for a container recipe.
module Amazonka.ImageBuilder.GetContainerRecipePolicy
-- | See: newGetContainerRecipePolicy smart constructor.
data GetContainerRecipePolicy
GetContainerRecipePolicy' :: Text -> GetContainerRecipePolicy
-- | The Amazon Resource Name (ARN) of the container recipe for the policy
-- being requested.
[$sel:containerRecipeArn:GetContainerRecipePolicy'] :: GetContainerRecipePolicy -> Text
-- | Create a value of GetContainerRecipePolicy 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:
--
-- GetContainerRecipePolicy,
-- getContainerRecipePolicy_containerRecipeArn - The Amazon
-- Resource Name (ARN) of the container recipe for the policy being
-- requested.
newGetContainerRecipePolicy :: Text -> GetContainerRecipePolicy
-- | The Amazon Resource Name (ARN) of the container recipe for the policy
-- being requested.
getContainerRecipePolicy_containerRecipeArn :: Lens' GetContainerRecipePolicy Text
-- | See: newGetContainerRecipePolicyResponse smart
-- constructor.
data GetContainerRecipePolicyResponse
GetContainerRecipePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetContainerRecipePolicyResponse
-- | The container recipe policy object that is returned.
[$sel:policy:GetContainerRecipePolicyResponse'] :: GetContainerRecipePolicyResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:GetContainerRecipePolicyResponse'] :: GetContainerRecipePolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetContainerRecipePolicyResponse'] :: GetContainerRecipePolicyResponse -> Int
-- | Create a value of GetContainerRecipePolicyResponse 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:policy:GetContainerRecipePolicyResponse',
-- getContainerRecipePolicyResponse_policy - The container recipe
-- policy object that is returned.
--
-- $sel:requestId:GetContainerRecipePolicyResponse',
-- getContainerRecipePolicyResponse_requestId - The request ID
-- that uniquely identifies this request.
--
-- $sel:httpStatus:GetContainerRecipePolicyResponse',
-- getContainerRecipePolicyResponse_httpStatus - The response's
-- http status code.
newGetContainerRecipePolicyResponse :: Int -> GetContainerRecipePolicyResponse
-- | The container recipe policy object that is returned.
getContainerRecipePolicyResponse_policy :: Lens' GetContainerRecipePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
getContainerRecipePolicyResponse_requestId :: Lens' GetContainerRecipePolicyResponse (Maybe Text)
-- | The response's http status code.
getContainerRecipePolicyResponse_httpStatus :: Lens' GetContainerRecipePolicyResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicy
instance GHC.Show.Show Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicy
instance GHC.Read.Read Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicy
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicy
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicyResponse
instance GHC.Show.Show Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicyResponse
instance GHC.Read.Read Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicyResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicy
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicy
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.GetContainerRecipePolicy.GetContainerRecipePolicy
-- | Retrieves a container recipe.
module Amazonka.ImageBuilder.GetContainerRecipe
-- | See: newGetContainerRecipe smart constructor.
data GetContainerRecipe
GetContainerRecipe' :: Text -> GetContainerRecipe
-- | The Amazon Resource Name (ARN) of the container recipe to retrieve.
[$sel:containerRecipeArn:GetContainerRecipe'] :: GetContainerRecipe -> Text
-- | Create a value of GetContainerRecipe 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:
--
-- GetContainerRecipe,
-- getContainerRecipe_containerRecipeArn - The Amazon Resource
-- Name (ARN) of the container recipe to retrieve.
newGetContainerRecipe :: Text -> GetContainerRecipe
-- | The Amazon Resource Name (ARN) of the container recipe to retrieve.
getContainerRecipe_containerRecipeArn :: Lens' GetContainerRecipe Text
-- | See: newGetContainerRecipeResponse smart constructor.
data GetContainerRecipeResponse
GetContainerRecipeResponse' :: Maybe ContainerRecipe -> Maybe Text -> Int -> GetContainerRecipeResponse
-- | The container recipe object that is returned.
[$sel:containerRecipe:GetContainerRecipeResponse'] :: GetContainerRecipeResponse -> Maybe ContainerRecipe
-- | The request ID that uniquely identifies this request.
[$sel:requestId:GetContainerRecipeResponse'] :: GetContainerRecipeResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetContainerRecipeResponse'] :: GetContainerRecipeResponse -> Int
-- | Create a value of GetContainerRecipeResponse 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:
--
-- GetContainerRecipeResponse,
-- getContainerRecipeResponse_containerRecipe - The container
-- recipe object that is returned.
--
-- $sel:requestId:GetContainerRecipeResponse',
-- getContainerRecipeResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:GetContainerRecipeResponse',
-- getContainerRecipeResponse_httpStatus - The response's http
-- status code.
newGetContainerRecipeResponse :: Int -> GetContainerRecipeResponse
-- | The container recipe object that is returned.
getContainerRecipeResponse_containerRecipe :: Lens' GetContainerRecipeResponse (Maybe ContainerRecipe)
-- | The request ID that uniquely identifies this request.
getContainerRecipeResponse_requestId :: Lens' GetContainerRecipeResponse (Maybe Text)
-- | The response's http status code.
getContainerRecipeResponse_httpStatus :: Lens' GetContainerRecipeResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipe
instance GHC.Show.Show Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipe
instance GHC.Read.Read Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipe
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipe
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipeResponse
instance GHC.Show.Show Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipeResponse
instance GHC.Read.Read Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipeResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipeResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipeResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipe
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipe
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipe
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.GetContainerRecipe.GetContainerRecipe
-- | Gets a component policy.
module Amazonka.ImageBuilder.GetComponentPolicy
-- | See: newGetComponentPolicy smart constructor.
data GetComponentPolicy
GetComponentPolicy' :: Text -> GetComponentPolicy
-- | The Amazon Resource Name (ARN) of the component whose policy you want
-- to retrieve.
[$sel:componentArn:GetComponentPolicy'] :: GetComponentPolicy -> Text
-- | Create a value of GetComponentPolicy 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:
--
-- GetComponentPolicy, getComponentPolicy_componentArn -
-- The Amazon Resource Name (ARN) of the component whose policy you want
-- to retrieve.
newGetComponentPolicy :: Text -> GetComponentPolicy
-- | The Amazon Resource Name (ARN) of the component whose policy you want
-- to retrieve.
getComponentPolicy_componentArn :: Lens' GetComponentPolicy Text
-- | See: newGetComponentPolicyResponse smart constructor.
data GetComponentPolicyResponse
GetComponentPolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetComponentPolicyResponse
-- | The component policy.
[$sel:policy:GetComponentPolicyResponse'] :: GetComponentPolicyResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:GetComponentPolicyResponse'] :: GetComponentPolicyResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetComponentPolicyResponse'] :: GetComponentPolicyResponse -> Int
-- | Create a value of GetComponentPolicyResponse 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:policy:GetComponentPolicyResponse',
-- getComponentPolicyResponse_policy - The component policy.
--
-- $sel:requestId:GetComponentPolicyResponse',
-- getComponentPolicyResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:GetComponentPolicyResponse',
-- getComponentPolicyResponse_httpStatus - The response's http
-- status code.
newGetComponentPolicyResponse :: Int -> GetComponentPolicyResponse
-- | The component policy.
getComponentPolicyResponse_policy :: Lens' GetComponentPolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
getComponentPolicyResponse_requestId :: Lens' GetComponentPolicyResponse (Maybe Text)
-- | The response's http status code.
getComponentPolicyResponse_httpStatus :: Lens' GetComponentPolicyResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicy
instance GHC.Show.Show Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicy
instance GHC.Read.Read Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicy
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicy
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicyResponse
instance GHC.Show.Show Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicyResponse
instance GHC.Read.Read Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicyResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicy
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicy
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.GetComponentPolicy.GetComponentPolicy
-- | Gets a component object.
module Amazonka.ImageBuilder.GetComponent
-- | See: newGetComponent smart constructor.
data GetComponent
GetComponent' :: Text -> GetComponent
-- | The Amazon Resource Name (ARN) of the component that you want to
-- retrieve. Regex requires "/\d+$" suffix.
[$sel:componentBuildVersionArn:GetComponent'] :: GetComponent -> Text
-- | Create a value of GetComponent 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:componentBuildVersionArn:GetComponent',
-- getComponent_componentBuildVersionArn - The Amazon Resource
-- Name (ARN) of the component that you want to retrieve. Regex requires
-- "/\d+$" suffix.
newGetComponent :: Text -> GetComponent
-- | The Amazon Resource Name (ARN) of the component that you want to
-- retrieve. Regex requires "/\d+$" suffix.
getComponent_componentBuildVersionArn :: Lens' GetComponent Text
-- | See: newGetComponentResponse smart constructor.
data GetComponentResponse
GetComponentResponse' :: Maybe Component -> Maybe Text -> Int -> GetComponentResponse
-- | The component object associated with the specified ARN.
[$sel:component:GetComponentResponse'] :: GetComponentResponse -> Maybe Component
-- | The request ID that uniquely identifies this request.
[$sel:requestId:GetComponentResponse'] :: GetComponentResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetComponentResponse'] :: GetComponentResponse -> Int
-- | Create a value of GetComponentResponse 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:component:GetComponentResponse',
-- getComponentResponse_component - The component object
-- associated with the specified ARN.
--
-- $sel:requestId:GetComponentResponse',
-- getComponentResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:GetComponentResponse',
-- getComponentResponse_httpStatus - The response's http status
-- code.
newGetComponentResponse :: Int -> GetComponentResponse
-- | The component object associated with the specified ARN.
getComponentResponse_component :: Lens' GetComponentResponse (Maybe Component)
-- | The request ID that uniquely identifies this request.
getComponentResponse_requestId :: Lens' GetComponentResponse (Maybe Text)
-- | The response's http status code.
getComponentResponse_httpStatus :: Lens' GetComponentResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetComponent.GetComponent
instance GHC.Show.Show Amazonka.ImageBuilder.GetComponent.GetComponent
instance GHC.Read.Read Amazonka.ImageBuilder.GetComponent.GetComponent
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetComponent.GetComponent
instance GHC.Generics.Generic Amazonka.ImageBuilder.GetComponent.GetComponentResponse
instance GHC.Show.Show Amazonka.ImageBuilder.GetComponent.GetComponentResponse
instance GHC.Read.Read Amazonka.ImageBuilder.GetComponent.GetComponentResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.GetComponent.GetComponentResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.GetComponent.GetComponent
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetComponent.GetComponentResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.GetComponent.GetComponent
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.GetComponent.GetComponent
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.GetComponent.GetComponent
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.GetComponent.GetComponent
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.GetComponent.GetComponent
-- | Deletes an infrastructure configuration.
module Amazonka.ImageBuilder.DeleteInfrastructureConfiguration
-- | See: newDeleteInfrastructureConfiguration smart
-- constructor.
data DeleteInfrastructureConfiguration
DeleteInfrastructureConfiguration' :: Text -> DeleteInfrastructureConfiguration
-- | The Amazon Resource Name (ARN) of the infrastructure configuration to
-- delete.
[$sel:infrastructureConfigurationArn:DeleteInfrastructureConfiguration'] :: DeleteInfrastructureConfiguration -> Text
-- | Create a value of DeleteInfrastructureConfiguration 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:
--
-- DeleteInfrastructureConfiguration,
-- deleteInfrastructureConfiguration_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- to delete.
newDeleteInfrastructureConfiguration :: Text -> DeleteInfrastructureConfiguration
-- | The Amazon Resource Name (ARN) of the infrastructure configuration to
-- delete.
deleteInfrastructureConfiguration_infrastructureConfigurationArn :: Lens' DeleteInfrastructureConfiguration Text
-- | See: newDeleteInfrastructureConfigurationResponse smart
-- constructor.
data DeleteInfrastructureConfigurationResponse
DeleteInfrastructureConfigurationResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteInfrastructureConfigurationResponse
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was deleted.
[$sel:infrastructureConfigurationArn:DeleteInfrastructureConfigurationResponse'] :: DeleteInfrastructureConfigurationResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:DeleteInfrastructureConfigurationResponse'] :: DeleteInfrastructureConfigurationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DeleteInfrastructureConfigurationResponse'] :: DeleteInfrastructureConfigurationResponse -> Int
-- | Create a value of DeleteInfrastructureConfigurationResponse
-- 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:
--
-- DeleteInfrastructureConfiguration,
-- deleteInfrastructureConfigurationResponse_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was deleted.
--
-- $sel:requestId:DeleteInfrastructureConfigurationResponse',
-- deleteInfrastructureConfigurationResponse_requestId - The
-- request ID that uniquely identifies this request.
--
-- $sel:httpStatus:DeleteInfrastructureConfigurationResponse',
-- deleteInfrastructureConfigurationResponse_httpStatus - The
-- response's http status code.
newDeleteInfrastructureConfigurationResponse :: Int -> DeleteInfrastructureConfigurationResponse
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was deleted.
deleteInfrastructureConfigurationResponse_infrastructureConfigurationArn :: Lens' DeleteInfrastructureConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteInfrastructureConfigurationResponse_requestId :: Lens' DeleteInfrastructureConfigurationResponse (Maybe Text)
-- | The response's http status code.
deleteInfrastructureConfigurationResponse_httpStatus :: Lens' DeleteInfrastructureConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfiguration
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfigurationResponse
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfigurationResponse
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfigurationResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.DeleteInfrastructureConfiguration.DeleteInfrastructureConfiguration
-- | Deletes an image recipe.
module Amazonka.ImageBuilder.DeleteImageRecipe
-- | See: newDeleteImageRecipe smart constructor.
data DeleteImageRecipe
DeleteImageRecipe' :: Text -> DeleteImageRecipe
-- | The Amazon Resource Name (ARN) of the image recipe to delete.
[$sel:imageRecipeArn:DeleteImageRecipe'] :: DeleteImageRecipe -> Text
-- | Create a value of DeleteImageRecipe 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:
--
-- DeleteImageRecipe, deleteImageRecipe_imageRecipeArn -
-- The Amazon Resource Name (ARN) of the image recipe to delete.
newDeleteImageRecipe :: Text -> DeleteImageRecipe
-- | The Amazon Resource Name (ARN) of the image recipe to delete.
deleteImageRecipe_imageRecipeArn :: Lens' DeleteImageRecipe Text
-- | See: newDeleteImageRecipeResponse smart constructor.
data DeleteImageRecipeResponse
DeleteImageRecipeResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteImageRecipeResponse
-- | The Amazon Resource Name (ARN) of the image recipe that was deleted.
[$sel:imageRecipeArn:DeleteImageRecipeResponse'] :: DeleteImageRecipeResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:DeleteImageRecipeResponse'] :: DeleteImageRecipeResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DeleteImageRecipeResponse'] :: DeleteImageRecipeResponse -> Int
-- | Create a value of DeleteImageRecipeResponse 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:
--
-- DeleteImageRecipe,
-- deleteImageRecipeResponse_imageRecipeArn - The Amazon Resource
-- Name (ARN) of the image recipe that was deleted.
--
-- $sel:requestId:DeleteImageRecipeResponse',
-- deleteImageRecipeResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:DeleteImageRecipeResponse',
-- deleteImageRecipeResponse_httpStatus - The response's http
-- status code.
newDeleteImageRecipeResponse :: Int -> DeleteImageRecipeResponse
-- | The Amazon Resource Name (ARN) of the image recipe that was deleted.
deleteImageRecipeResponse_imageRecipeArn :: Lens' DeleteImageRecipeResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteImageRecipeResponse_requestId :: Lens' DeleteImageRecipeResponse (Maybe Text)
-- | The response's http status code.
deleteImageRecipeResponse_httpStatus :: Lens' DeleteImageRecipeResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipe
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipe
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipe
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipe
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipeResponse
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipeResponse
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipeResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipeResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipeResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipe
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipe
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipe
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.DeleteImageRecipe.DeleteImageRecipe
-- | Deletes an image pipeline.
module Amazonka.ImageBuilder.DeleteImagePipeline
-- | See: newDeleteImagePipeline smart constructor.
data DeleteImagePipeline
DeleteImagePipeline' :: Text -> DeleteImagePipeline
-- | The Amazon Resource Name (ARN) of the image pipeline to delete.
[$sel:imagePipelineArn:DeleteImagePipeline'] :: DeleteImagePipeline -> Text
-- | Create a value of DeleteImagePipeline 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:
--
-- DeleteImagePipeline,
-- deleteImagePipeline_imagePipelineArn - The Amazon Resource Name
-- (ARN) of the image pipeline to delete.
newDeleteImagePipeline :: Text -> DeleteImagePipeline
-- | The Amazon Resource Name (ARN) of the image pipeline to delete.
deleteImagePipeline_imagePipelineArn :: Lens' DeleteImagePipeline Text
-- | See: newDeleteImagePipelineResponse smart constructor.
data DeleteImagePipelineResponse
DeleteImagePipelineResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteImagePipelineResponse
-- | The Amazon Resource Name (ARN) of the image pipeline that was deleted.
[$sel:imagePipelineArn:DeleteImagePipelineResponse'] :: DeleteImagePipelineResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:DeleteImagePipelineResponse'] :: DeleteImagePipelineResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DeleteImagePipelineResponse'] :: DeleteImagePipelineResponse -> Int
-- | Create a value of DeleteImagePipelineResponse 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:
--
-- DeleteImagePipeline,
-- deleteImagePipelineResponse_imagePipelineArn - The Amazon
-- Resource Name (ARN) of the image pipeline that was deleted.
--
-- $sel:requestId:DeleteImagePipelineResponse',
-- deleteImagePipelineResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:DeleteImagePipelineResponse',
-- deleteImagePipelineResponse_httpStatus - The response's http
-- status code.
newDeleteImagePipelineResponse :: Int -> DeleteImagePipelineResponse
-- | The Amazon Resource Name (ARN) of the image pipeline that was deleted.
deleteImagePipelineResponse_imagePipelineArn :: Lens' DeleteImagePipelineResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteImagePipelineResponse_requestId :: Lens' DeleteImagePipelineResponse (Maybe Text)
-- | The response's http status code.
deleteImagePipelineResponse_httpStatus :: Lens' DeleteImagePipelineResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipeline
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipeline
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipeline
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipeline
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipelineResponse
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipelineResponse
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipelineResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipelineResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipeline
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipelineResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipeline
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipeline
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipeline
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipeline
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.DeleteImagePipeline.DeleteImagePipeline
-- | Deletes an Image Builder image resource. This does not delete any EC2
-- AMIs or ECR container images that are created during the image build
-- process. You must clean those up separately, using the appropriate
-- Amazon EC2 or Amazon ECR console actions, or API or CLI commands.
--
--
module Amazonka.ImageBuilder.DeleteImage
-- | See: newDeleteImage smart constructor.
data DeleteImage
DeleteImage' :: Text -> DeleteImage
-- | The Amazon Resource Name (ARN) of the Image Builder image resource to
-- delete.
[$sel:imageBuildVersionArn:DeleteImage'] :: DeleteImage -> Text
-- | Create a value of DeleteImage 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:
--
-- DeleteImage, deleteImage_imageBuildVersionArn - The
-- Amazon Resource Name (ARN) of the Image Builder image resource to
-- delete.
newDeleteImage :: Text -> DeleteImage
-- | The Amazon Resource Name (ARN) of the Image Builder image resource to
-- delete.
deleteImage_imageBuildVersionArn :: Lens' DeleteImage Text
-- | See: newDeleteImageResponse smart constructor.
data DeleteImageResponse
DeleteImageResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteImageResponse
-- | The Amazon Resource Name (ARN) of the Image Builder image resource
-- that was deleted.
[$sel:imageBuildVersionArn:DeleteImageResponse'] :: DeleteImageResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:DeleteImageResponse'] :: DeleteImageResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DeleteImageResponse'] :: DeleteImageResponse -> Int
-- | Create a value of DeleteImageResponse 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:
--
-- DeleteImage, deleteImageResponse_imageBuildVersionArn -
-- The Amazon Resource Name (ARN) of the Image Builder image resource
-- that was deleted.
--
-- $sel:requestId:DeleteImageResponse',
-- deleteImageResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:DeleteImageResponse',
-- deleteImageResponse_httpStatus - The response's http status
-- code.
newDeleteImageResponse :: Int -> DeleteImageResponse
-- | The Amazon Resource Name (ARN) of the Image Builder image resource
-- that was deleted.
deleteImageResponse_imageBuildVersionArn :: Lens' DeleteImageResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteImageResponse_requestId :: Lens' DeleteImageResponse (Maybe Text)
-- | The response's http status code.
deleteImageResponse_httpStatus :: Lens' DeleteImageResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteImage.DeleteImage
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteImage.DeleteImage
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteImage.DeleteImage
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteImage.DeleteImage
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteImage.DeleteImageResponse
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteImage.DeleteImageResponse
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteImage.DeleteImageResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteImage.DeleteImageResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.DeleteImage.DeleteImage
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteImage.DeleteImageResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.DeleteImage.DeleteImage
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteImage.DeleteImage
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.DeleteImage.DeleteImage
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.DeleteImage.DeleteImage
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.DeleteImage.DeleteImage
-- | Deletes a distribution configuration.
module Amazonka.ImageBuilder.DeleteDistributionConfiguration
-- | See: newDeleteDistributionConfiguration smart
-- constructor.
data DeleteDistributionConfiguration
DeleteDistributionConfiguration' :: Text -> DeleteDistributionConfiguration
-- | The Amazon Resource Name (ARN) of the distribution configuration to
-- delete.
[$sel:distributionConfigurationArn:DeleteDistributionConfiguration'] :: DeleteDistributionConfiguration -> Text
-- | Create a value of DeleteDistributionConfiguration 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:
--
-- DeleteDistributionConfiguration,
-- deleteDistributionConfiguration_distributionConfigurationArn -
-- The Amazon Resource Name (ARN) of the distribution configuration to
-- delete.
newDeleteDistributionConfiguration :: Text -> DeleteDistributionConfiguration
-- | The Amazon Resource Name (ARN) of the distribution configuration to
-- delete.
deleteDistributionConfiguration_distributionConfigurationArn :: Lens' DeleteDistributionConfiguration Text
-- | See: newDeleteDistributionConfigurationResponse smart
-- constructor.
data DeleteDistributionConfigurationResponse
DeleteDistributionConfigurationResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteDistributionConfigurationResponse
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- was deleted.
[$sel:distributionConfigurationArn:DeleteDistributionConfigurationResponse'] :: DeleteDistributionConfigurationResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:DeleteDistributionConfigurationResponse'] :: DeleteDistributionConfigurationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DeleteDistributionConfigurationResponse'] :: DeleteDistributionConfigurationResponse -> Int
-- | Create a value of DeleteDistributionConfigurationResponse 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:
--
-- DeleteDistributionConfiguration,
-- deleteDistributionConfigurationResponse_distributionConfigurationArn
-- - The Amazon Resource Name (ARN) of the distribution configuration
-- that was deleted.
--
-- $sel:requestId:DeleteDistributionConfigurationResponse',
-- deleteDistributionConfigurationResponse_requestId - The request
-- ID that uniquely identifies this request.
--
-- $sel:httpStatus:DeleteDistributionConfigurationResponse',
-- deleteDistributionConfigurationResponse_httpStatus - The
-- response's http status code.
newDeleteDistributionConfigurationResponse :: Int -> DeleteDistributionConfigurationResponse
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- was deleted.
deleteDistributionConfigurationResponse_distributionConfigurationArn :: Lens' DeleteDistributionConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteDistributionConfigurationResponse_requestId :: Lens' DeleteDistributionConfigurationResponse (Maybe Text)
-- | The response's http status code.
deleteDistributionConfigurationResponse_httpStatus :: Lens' DeleteDistributionConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfiguration
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfigurationResponse
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfigurationResponse
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfigurationResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.DeleteDistributionConfiguration.DeleteDistributionConfiguration
-- | Deletes a container recipe.
module Amazonka.ImageBuilder.DeleteContainerRecipe
-- | See: newDeleteContainerRecipe smart constructor.
data DeleteContainerRecipe
DeleteContainerRecipe' :: Text -> DeleteContainerRecipe
-- | The Amazon Resource Name (ARN) of the container recipe to delete.
[$sel:containerRecipeArn:DeleteContainerRecipe'] :: DeleteContainerRecipe -> Text
-- | Create a value of DeleteContainerRecipe 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:
--
-- DeleteContainerRecipe,
-- deleteContainerRecipe_containerRecipeArn - The Amazon Resource
-- Name (ARN) of the container recipe to delete.
newDeleteContainerRecipe :: Text -> DeleteContainerRecipe
-- | The Amazon Resource Name (ARN) of the container recipe to delete.
deleteContainerRecipe_containerRecipeArn :: Lens' DeleteContainerRecipe Text
-- | See: newDeleteContainerRecipeResponse smart constructor.
data DeleteContainerRecipeResponse
DeleteContainerRecipeResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteContainerRecipeResponse
-- | The Amazon Resource Name (ARN) of the container recipe that was
-- deleted.
[$sel:containerRecipeArn:DeleteContainerRecipeResponse'] :: DeleteContainerRecipeResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:DeleteContainerRecipeResponse'] :: DeleteContainerRecipeResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DeleteContainerRecipeResponse'] :: DeleteContainerRecipeResponse -> Int
-- | Create a value of DeleteContainerRecipeResponse 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:
--
-- DeleteContainerRecipe,
-- deleteContainerRecipeResponse_containerRecipeArn - The Amazon
-- Resource Name (ARN) of the container recipe that was deleted.
--
-- $sel:requestId:DeleteContainerRecipeResponse',
-- deleteContainerRecipeResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:DeleteContainerRecipeResponse',
-- deleteContainerRecipeResponse_httpStatus - The response's http
-- status code.
newDeleteContainerRecipeResponse :: Int -> DeleteContainerRecipeResponse
-- | The Amazon Resource Name (ARN) of the container recipe that was
-- deleted.
deleteContainerRecipeResponse_containerRecipeArn :: Lens' DeleteContainerRecipeResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteContainerRecipeResponse_requestId :: Lens' DeleteContainerRecipeResponse (Maybe Text)
-- | The response's http status code.
deleteContainerRecipeResponse_httpStatus :: Lens' DeleteContainerRecipeResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipe
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipe
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipe
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipe
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipeResponse
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipeResponse
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipeResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipeResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipeResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipe
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipe
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipe
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.DeleteContainerRecipe.DeleteContainerRecipe
-- | Deletes a component build version.
module Amazonka.ImageBuilder.DeleteComponent
-- | See: newDeleteComponent smart constructor.
data DeleteComponent
DeleteComponent' :: Text -> DeleteComponent
-- | The Amazon Resource Name (ARN) of the component build version to
-- delete.
[$sel:componentBuildVersionArn:DeleteComponent'] :: DeleteComponent -> Text
-- | Create a value of DeleteComponent 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:
--
-- DeleteComponent,
-- deleteComponent_componentBuildVersionArn - The Amazon Resource
-- Name (ARN) of the component build version to delete.
newDeleteComponent :: Text -> DeleteComponent
-- | The Amazon Resource Name (ARN) of the component build version to
-- delete.
deleteComponent_componentBuildVersionArn :: Lens' DeleteComponent Text
-- | See: newDeleteComponentResponse smart constructor.
data DeleteComponentResponse
DeleteComponentResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteComponentResponse
-- | The Amazon Resource Name (ARN) of the component build version that was
-- deleted.
[$sel:componentBuildVersionArn:DeleteComponentResponse'] :: DeleteComponentResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:DeleteComponentResponse'] :: DeleteComponentResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DeleteComponentResponse'] :: DeleteComponentResponse -> Int
-- | Create a value of DeleteComponentResponse 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:
--
-- DeleteComponent,
-- deleteComponentResponse_componentBuildVersionArn - The Amazon
-- Resource Name (ARN) of the component build version that was deleted.
--
-- $sel:requestId:DeleteComponentResponse',
-- deleteComponentResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:DeleteComponentResponse',
-- deleteComponentResponse_httpStatus - The response's http status
-- code.
newDeleteComponentResponse :: Int -> DeleteComponentResponse
-- | The Amazon Resource Name (ARN) of the component build version that was
-- deleted.
deleteComponentResponse_componentBuildVersionArn :: Lens' DeleteComponentResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteComponentResponse_requestId :: Lens' DeleteComponentResponse (Maybe Text)
-- | The response's http status code.
deleteComponentResponse_httpStatus :: Lens' DeleteComponentResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteComponent.DeleteComponent
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteComponent.DeleteComponent
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteComponent.DeleteComponent
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteComponent.DeleteComponent
instance GHC.Generics.Generic Amazonka.ImageBuilder.DeleteComponent.DeleteComponentResponse
instance GHC.Show.Show Amazonka.ImageBuilder.DeleteComponent.DeleteComponentResponse
instance GHC.Read.Read Amazonka.ImageBuilder.DeleteComponent.DeleteComponentResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.DeleteComponent.DeleteComponentResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.DeleteComponent.DeleteComponent
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteComponent.DeleteComponentResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.DeleteComponent.DeleteComponent
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.DeleteComponent.DeleteComponent
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.DeleteComponent.DeleteComponent
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.DeleteComponent.DeleteComponent
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.DeleteComponent.DeleteComponent
-- | Creates a new infrastructure configuration. An infrastructure
-- configuration defines the environment in which your image will be
-- built and tested.
module Amazonka.ImageBuilder.CreateInfrastructureConfiguration
-- | See: newCreateInfrastructureConfiguration smart
-- constructor.
data CreateInfrastructureConfiguration
CreateInfrastructureConfiguration' :: Maybe Text -> Maybe InstanceMetadataOptions -> Maybe [Text] -> Maybe Text -> Maybe Logging -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Bool -> Text -> Text -> Text -> CreateInfrastructureConfiguration
-- | The description of the infrastructure configuration.
[$sel:description:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Maybe Text
-- | The instance metadata options that you can set for the HTTP requests
-- that pipeline builds use to launch EC2 build and test instances.
[$sel:instanceMetadataOptions:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Maybe InstanceMetadataOptions
-- | The instance types of the infrastructure configuration. You can
-- specify one or more instance types to use for this build. The service
-- will pick one of these instance types based on availability.
[$sel:instanceTypes:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Maybe [Text]
-- | The key pair of the infrastructure configuration. You can use this to
-- log on to and debug the instance used to create your image.
[$sel:keyPair:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Maybe Text
-- | The logging configuration of the infrastructure configuration.
[$sel:logging:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Maybe Logging
-- | The tags attached to the resource created by Image Builder.
[$sel:resourceTags:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Maybe (HashMap Text Text)
-- | The security group IDs to associate with the instance used to
-- customize your Amazon EC2 AMI.
[$sel:securityGroupIds:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Maybe [Text]
-- | The Amazon Resource Name (ARN) for the SNS topic to which we send
-- image build event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
[$sel:snsTopicArn:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Maybe Text
-- | The subnet ID in which to place the instance used to customize your
-- Amazon EC2 AMI.
[$sel:subnetId:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Maybe Text
-- | The tags of the infrastructure configuration.
[$sel:tags:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Maybe (HashMap Text Text)
-- | The terminate instance on failure setting of the infrastructure
-- configuration. Set to false if you want Image Builder to retain the
-- instance used to configure your AMI if the build or test phase of your
-- workflow fails.
[$sel:terminateInstanceOnFailure:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Maybe Bool
-- | The name of the infrastructure configuration.
[$sel:name:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Text
-- | The instance profile to associate with the instance used to customize
-- your Amazon EC2 AMI.
[$sel:instanceProfileName:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Text
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:CreateInfrastructureConfiguration'] :: CreateInfrastructureConfiguration -> Text
-- | Create a value of CreateInfrastructureConfiguration 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:
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_description - The description
-- of the infrastructure configuration.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_instanceMetadataOptions - The
-- instance metadata options that you can set for the HTTP requests that
-- pipeline builds use to launch EC2 build and test instances.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_instanceTypes - The instance
-- types of the infrastructure configuration. You can specify one or more
-- instance types to use for this build. The service will pick one of
-- these instance types based on availability.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_keyPair - The key pair of the
-- infrastructure configuration. You can use this to log on to and debug
-- the instance used to create your image.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_logging - The logging
-- configuration of the infrastructure configuration.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_resourceTags - The tags
-- attached to the resource created by Image Builder.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_securityGroupIds - The
-- security group IDs to associate with the instance used to customize
-- your Amazon EC2 AMI.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_snsTopicArn - The Amazon
-- Resource Name (ARN) for the SNS topic to which we send image build
-- event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_subnetId - The subnet ID in
-- which to place the instance used to customize your Amazon EC2 AMI.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_tags - The tags of the
-- infrastructure configuration.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_terminateInstanceOnFailure -
-- The terminate instance on failure setting of the infrastructure
-- configuration. Set to false if you want Image Builder to retain the
-- instance used to configure your AMI if the build or test phase of your
-- workflow fails.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_name - The name of the
-- infrastructure configuration.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_instanceProfileName - The
-- instance profile to associate with the instance used to customize your
-- Amazon EC2 AMI.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_clientToken - The idempotency
-- token used to make this request idempotent.
newCreateInfrastructureConfiguration :: Text -> Text -> Text -> CreateInfrastructureConfiguration
-- | The description of the infrastructure configuration.
createInfrastructureConfiguration_description :: Lens' CreateInfrastructureConfiguration (Maybe Text)
-- | The instance metadata options that you can set for the HTTP requests
-- that pipeline builds use to launch EC2 build and test instances.
createInfrastructureConfiguration_instanceMetadataOptions :: Lens' CreateInfrastructureConfiguration (Maybe InstanceMetadataOptions)
-- | The instance types of the infrastructure configuration. You can
-- specify one or more instance types to use for this build. The service
-- will pick one of these instance types based on availability.
createInfrastructureConfiguration_instanceTypes :: Lens' CreateInfrastructureConfiguration (Maybe [Text])
-- | The key pair of the infrastructure configuration. You can use this to
-- log on to and debug the instance used to create your image.
createInfrastructureConfiguration_keyPair :: Lens' CreateInfrastructureConfiguration (Maybe Text)
-- | The logging configuration of the infrastructure configuration.
createInfrastructureConfiguration_logging :: Lens' CreateInfrastructureConfiguration (Maybe Logging)
-- | The tags attached to the resource created by Image Builder.
createInfrastructureConfiguration_resourceTags :: Lens' CreateInfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The security group IDs to associate with the instance used to
-- customize your Amazon EC2 AMI.
createInfrastructureConfiguration_securityGroupIds :: Lens' CreateInfrastructureConfiguration (Maybe [Text])
-- | The Amazon Resource Name (ARN) for the SNS topic to which we send
-- image build event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
createInfrastructureConfiguration_snsTopicArn :: Lens' CreateInfrastructureConfiguration (Maybe Text)
-- | The subnet ID in which to place the instance used to customize your
-- Amazon EC2 AMI.
createInfrastructureConfiguration_subnetId :: Lens' CreateInfrastructureConfiguration (Maybe Text)
-- | The tags of the infrastructure configuration.
createInfrastructureConfiguration_tags :: Lens' CreateInfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The terminate instance on failure setting of the infrastructure
-- configuration. Set to false if you want Image Builder to retain the
-- instance used to configure your AMI if the build or test phase of your
-- workflow fails.
createInfrastructureConfiguration_terminateInstanceOnFailure :: Lens' CreateInfrastructureConfiguration (Maybe Bool)
-- | The name of the infrastructure configuration.
createInfrastructureConfiguration_name :: Lens' CreateInfrastructureConfiguration Text
-- | The instance profile to associate with the instance used to customize
-- your Amazon EC2 AMI.
createInfrastructureConfiguration_instanceProfileName :: Lens' CreateInfrastructureConfiguration Text
-- | The idempotency token used to make this request idempotent.
createInfrastructureConfiguration_clientToken :: Lens' CreateInfrastructureConfiguration Text
-- | See: newCreateInfrastructureConfigurationResponse smart
-- constructor.
data CreateInfrastructureConfigurationResponse
CreateInfrastructureConfigurationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateInfrastructureConfigurationResponse
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:CreateInfrastructureConfigurationResponse'] :: CreateInfrastructureConfigurationResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was created by this request.
[$sel:infrastructureConfigurationArn:CreateInfrastructureConfigurationResponse'] :: CreateInfrastructureConfigurationResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:CreateInfrastructureConfigurationResponse'] :: CreateInfrastructureConfigurationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateInfrastructureConfigurationResponse'] :: CreateInfrastructureConfigurationResponse -> Int
-- | Create a value of CreateInfrastructureConfigurationResponse
-- 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:
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfigurationResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- CreateInfrastructureConfigurationResponse,
-- createInfrastructureConfigurationResponse_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was created by this request.
--
-- $sel:requestId:CreateInfrastructureConfigurationResponse',
-- createInfrastructureConfigurationResponse_requestId - The
-- request ID that uniquely identifies this request.
--
-- $sel:httpStatus:CreateInfrastructureConfigurationResponse',
-- createInfrastructureConfigurationResponse_httpStatus - The
-- response's http status code.
newCreateInfrastructureConfigurationResponse :: Int -> CreateInfrastructureConfigurationResponse
-- | The idempotency token used to make this request idempotent.
createInfrastructureConfigurationResponse_clientToken :: Lens' CreateInfrastructureConfigurationResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was created by this request.
createInfrastructureConfigurationResponse_infrastructureConfigurationArn :: Lens' CreateInfrastructureConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createInfrastructureConfigurationResponse_requestId :: Lens' CreateInfrastructureConfigurationResponse (Maybe Text)
-- | The response's http status code.
createInfrastructureConfigurationResponse_httpStatus :: Lens' CreateInfrastructureConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfiguration
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfigurationResponse
instance GHC.Show.Show Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfigurationResponse
instance GHC.Read.Read Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfigurationResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.CreateInfrastructureConfiguration.CreateInfrastructureConfiguration
-- | Creates a new image recipe. Image recipes define how images are
-- configured, tested, and assessed.
module Amazonka.ImageBuilder.CreateImageRecipe
-- | See: newCreateImageRecipe smart constructor.
data CreateImageRecipe
CreateImageRecipe' :: Maybe AdditionalInstanceConfiguration -> Maybe [InstanceBlockDeviceMapping] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Text -> Text -> NonEmpty ComponentConfiguration -> Text -> Text -> CreateImageRecipe
-- | Specify additional settings and launch scripts for your build
-- instances.
[$sel:additionalInstanceConfiguration:CreateImageRecipe'] :: CreateImageRecipe -> Maybe AdditionalInstanceConfiguration
-- | The block device mappings of the image recipe.
[$sel:blockDeviceMappings:CreateImageRecipe'] :: CreateImageRecipe -> Maybe [InstanceBlockDeviceMapping]
-- | The description of the image recipe.
[$sel:description:CreateImageRecipe'] :: CreateImageRecipe -> Maybe Text
-- | The tags of the image recipe.
[$sel:tags:CreateImageRecipe'] :: CreateImageRecipe -> Maybe (HashMap Text Text)
-- | The working directory used during build and test workflows.
[$sel:workingDirectory:CreateImageRecipe'] :: CreateImageRecipe -> Maybe Text
-- | The name of the image recipe.
[$sel:name:CreateImageRecipe'] :: CreateImageRecipe -> Text
-- | The semantic version of the image recipe. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
[$sel:semanticVersion:CreateImageRecipe'] :: CreateImageRecipe -> Text
-- | The components of the image recipe.
[$sel:components:CreateImageRecipe'] :: CreateImageRecipe -> NonEmpty ComponentConfiguration
-- | The base image of the image recipe. The value of the string can be the
-- ARN of the base image or an AMI ID. The format for the ARN follows
-- this example:
-- arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x.
-- You can provide the specific version that you want to use, or you can
-- use a wildcard in all of the fields. If you enter an AMI ID for the
-- string value, you must have access to the AMI, and the AMI must be in
-- the same Region in which you are using Image Builder.
[$sel:parentImage:CreateImageRecipe'] :: CreateImageRecipe -> Text
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:CreateImageRecipe'] :: CreateImageRecipe -> Text
-- | Create a value of CreateImageRecipe 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:
--
-- CreateImageRecipe,
-- createImageRecipe_additionalInstanceConfiguration - Specify
-- additional settings and launch scripts for your build instances.
--
-- CreateImageRecipe, createImageRecipe_blockDeviceMappings
-- - The block device mappings of the image recipe.
--
-- CreateImageRecipe, createImageRecipe_description - The
-- description of the image recipe.
--
-- CreateImageRecipe, createImageRecipe_tags - The tags of
-- the image recipe.
--
-- CreateImageRecipe, createImageRecipe_workingDirectory -
-- The working directory used during build and test workflows.
--
-- CreateImageRecipe, createImageRecipe_name - The name of
-- the image recipe.
--
-- $sel:semanticVersion:CreateImageRecipe',
-- createImageRecipe_semanticVersion - The semantic version of the
-- image recipe. This version follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- CreateImageRecipe, createImageRecipe_components - The
-- components of the image recipe.
--
-- CreateImageRecipe, createImageRecipe_parentImage - The
-- base image of the image recipe. The value of the string can be the ARN
-- of the base image or an AMI ID. The format for the ARN follows this
-- example:
-- arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x.
-- You can provide the specific version that you want to use, or you can
-- use a wildcard in all of the fields. If you enter an AMI ID for the
-- string value, you must have access to the AMI, and the AMI must be in
-- the same Region in which you are using Image Builder.
--
-- CreateImageRecipe, createImageRecipe_clientToken - The
-- idempotency token used to make this request idempotent.
newCreateImageRecipe :: Text -> Text -> NonEmpty ComponentConfiguration -> Text -> Text -> CreateImageRecipe
-- | Specify additional settings and launch scripts for your build
-- instances.
createImageRecipe_additionalInstanceConfiguration :: Lens' CreateImageRecipe (Maybe AdditionalInstanceConfiguration)
-- | The block device mappings of the image recipe.
createImageRecipe_blockDeviceMappings :: Lens' CreateImageRecipe (Maybe [InstanceBlockDeviceMapping])
-- | The description of the image recipe.
createImageRecipe_description :: Lens' CreateImageRecipe (Maybe Text)
-- | The tags of the image recipe.
createImageRecipe_tags :: Lens' CreateImageRecipe (Maybe (HashMap Text Text))
-- | The working directory used during build and test workflows.
createImageRecipe_workingDirectory :: Lens' CreateImageRecipe (Maybe Text)
-- | The name of the image recipe.
createImageRecipe_name :: Lens' CreateImageRecipe Text
-- | The semantic version of the image recipe. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
createImageRecipe_semanticVersion :: Lens' CreateImageRecipe Text
-- | The components of the image recipe.
createImageRecipe_components :: Lens' CreateImageRecipe (NonEmpty ComponentConfiguration)
-- | The base image of the image recipe. The value of the string can be the
-- ARN of the base image or an AMI ID. The format for the ARN follows
-- this example:
-- arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x.
-- You can provide the specific version that you want to use, or you can
-- use a wildcard in all of the fields. If you enter an AMI ID for the
-- string value, you must have access to the AMI, and the AMI must be in
-- the same Region in which you are using Image Builder.
createImageRecipe_parentImage :: Lens' CreateImageRecipe Text
-- | The idempotency token used to make this request idempotent.
createImageRecipe_clientToken :: Lens' CreateImageRecipe Text
-- | See: newCreateImageRecipeResponse smart constructor.
data CreateImageRecipeResponse
CreateImageRecipeResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateImageRecipeResponse
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:CreateImageRecipeResponse'] :: CreateImageRecipeResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the image recipe that was created by
-- this request.
[$sel:imageRecipeArn:CreateImageRecipeResponse'] :: CreateImageRecipeResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:CreateImageRecipeResponse'] :: CreateImageRecipeResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateImageRecipeResponse'] :: CreateImageRecipeResponse -> Int
-- | Create a value of CreateImageRecipeResponse 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:
--
-- CreateImageRecipe, createImageRecipeResponse_clientToken
-- - The idempotency token used to make this request idempotent.
--
-- CreateImageRecipeResponse,
-- createImageRecipeResponse_imageRecipeArn - The Amazon Resource
-- Name (ARN) of the image recipe that was created by this request.
--
-- $sel:requestId:CreateImageRecipeResponse',
-- createImageRecipeResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:CreateImageRecipeResponse',
-- createImageRecipeResponse_httpStatus - The response's http
-- status code.
newCreateImageRecipeResponse :: Int -> CreateImageRecipeResponse
-- | The idempotency token used to make this request idempotent.
createImageRecipeResponse_clientToken :: Lens' CreateImageRecipeResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image recipe that was created by
-- this request.
createImageRecipeResponse_imageRecipeArn :: Lens' CreateImageRecipeResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createImageRecipeResponse_requestId :: Lens' CreateImageRecipeResponse (Maybe Text)
-- | The response's http status code.
createImageRecipeResponse_httpStatus :: Lens' CreateImageRecipeResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipe
instance GHC.Show.Show Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipe
instance GHC.Read.Read Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipe
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipe
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipeResponse
instance GHC.Show.Show Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipeResponse
instance GHC.Read.Read Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipeResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipeResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipeResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipe
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipe
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipe
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipe
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.CreateImageRecipe.CreateImageRecipe
-- | Creates a new image pipeline. Image pipelines enable you to automate
-- the creation and distribution of images.
module Amazonka.ImageBuilder.CreateImagePipeline
-- | See: newCreateImagePipeline smart constructor.
data CreateImagePipeline
CreateImagePipeline' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ImageTestsConfiguration -> Maybe Schedule -> Maybe PipelineStatus -> Maybe (HashMap Text Text) -> Text -> Text -> Text -> CreateImagePipeline
-- | The Amazon Resource Name (ARN) of the container recipe that is used to
-- configure images created by this container pipeline.
[$sel:containerRecipeArn:CreateImagePipeline'] :: CreateImagePipeline -> Maybe Text
-- | The description of the image pipeline.
[$sel:description:CreateImagePipeline'] :: CreateImagePipeline -> Maybe Text
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- will be used to configure and distribute images created by this image
-- pipeline.
[$sel:distributionConfigurationArn:CreateImagePipeline'] :: CreateImagePipeline -> Maybe Text
-- | 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:enhancedImageMetadataEnabled:CreateImagePipeline'] :: CreateImagePipeline -> Maybe Bool
-- | The Amazon Resource Name (ARN) of the image recipe that will be used
-- to configure images created by this image pipeline.
[$sel:imageRecipeArn:CreateImagePipeline'] :: CreateImagePipeline -> Maybe Text
-- | The image test configuration of the image pipeline.
[$sel:imageTestsConfiguration:CreateImagePipeline'] :: CreateImagePipeline -> Maybe ImageTestsConfiguration
-- | The schedule of the image pipeline.
[$sel:schedule:CreateImagePipeline'] :: CreateImagePipeline -> Maybe Schedule
-- | The status of the image pipeline.
[$sel:status:CreateImagePipeline'] :: CreateImagePipeline -> Maybe PipelineStatus
-- | The tags of the image pipeline.
[$sel:tags:CreateImagePipeline'] :: CreateImagePipeline -> Maybe (HashMap Text Text)
-- | The name of the image pipeline.
[$sel:name:CreateImagePipeline'] :: CreateImagePipeline -> Text
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that will be used to build images created by this image pipeline.
[$sel:infrastructureConfigurationArn:CreateImagePipeline'] :: CreateImagePipeline -> Text
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:CreateImagePipeline'] :: CreateImagePipeline -> Text
-- | 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:
--
-- CreateImagePipeline,
-- createImagePipeline_containerRecipeArn - The Amazon Resource
-- Name (ARN) of the container recipe that is used to configure images
-- created by this container pipeline.
--
-- CreateImagePipeline, createImagePipeline_description -
-- The description of the image pipeline.
--
-- 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.
--
-- 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.
--
-- CreateImagePipeline, createImagePipeline_imageRecipeArn
-- - The Amazon Resource Name (ARN) of the image recipe that will be used
-- to configure images created by this image pipeline.
--
-- CreateImagePipeline,
-- createImagePipeline_imageTestsConfiguration - The image test
-- configuration of the image pipeline.
--
-- CreateImagePipeline, createImagePipeline_schedule - The
-- schedule of the image pipeline.
--
-- CreateImagePipeline, createImagePipeline_status - The
-- status of the image pipeline.
--
-- CreateImagePipeline, createImagePipeline_tags - The tags
-- of the image pipeline.
--
-- CreateImagePipeline, createImagePipeline_name - The name
-- of the image pipeline.
--
-- CreateImagePipeline,
-- createImagePipeline_infrastructureConfigurationArn - The Amazon
-- Resource Name (ARN) of the infrastructure configuration that will be
-- used to build images created by this image pipeline.
--
-- CreateImagePipeline, createImagePipeline_clientToken -
-- The idempotency token used to make this request idempotent.
newCreateImagePipeline :: Text -> Text -> Text -> CreateImagePipeline
-- | The Amazon Resource Name (ARN) of the container recipe that is used to
-- configure images created by this container pipeline.
createImagePipeline_containerRecipeArn :: Lens' CreateImagePipeline (Maybe Text)
-- | The description of the image pipeline.
createImagePipeline_description :: Lens' CreateImagePipeline (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- will be used to configure and distribute images created by this image
-- pipeline.
createImagePipeline_distributionConfigurationArn :: Lens' CreateImagePipeline (Maybe Text)
-- | 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_enhancedImageMetadataEnabled :: Lens' CreateImagePipeline (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the image recipe that will be used
-- to configure images created by this image pipeline.
createImagePipeline_imageRecipeArn :: Lens' CreateImagePipeline (Maybe Text)
-- | The image test configuration of the image pipeline.
createImagePipeline_imageTestsConfiguration :: Lens' CreateImagePipeline (Maybe ImageTestsConfiguration)
-- | The schedule of the image pipeline.
createImagePipeline_schedule :: Lens' CreateImagePipeline (Maybe Schedule)
-- | The status of the image pipeline.
createImagePipeline_status :: Lens' CreateImagePipeline (Maybe PipelineStatus)
-- | The tags of the image pipeline.
createImagePipeline_tags :: Lens' CreateImagePipeline (Maybe (HashMap Text Text))
-- | The name of the image pipeline.
createImagePipeline_name :: Lens' CreateImagePipeline Text
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that will be used to build images created by this image pipeline.
createImagePipeline_infrastructureConfigurationArn :: Lens' CreateImagePipeline Text
-- | The idempotency token used to make this request idempotent.
createImagePipeline_clientToken :: Lens' CreateImagePipeline Text
-- | See: newCreateImagePipelineResponse smart constructor.
data CreateImagePipelineResponse
CreateImagePipelineResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateImagePipelineResponse
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:CreateImagePipelineResponse'] :: CreateImagePipelineResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the image pipeline that was created
-- by this request.
[$sel:imagePipelineArn:CreateImagePipelineResponse'] :: CreateImagePipelineResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:CreateImagePipelineResponse'] :: CreateImagePipelineResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateImagePipelineResponse'] :: CreateImagePipelineResponse -> Int
-- | 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:
--
-- 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:requestId:CreateImagePipelineResponse',
-- createImagePipelineResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:CreateImagePipelineResponse',
-- createImagePipelineResponse_httpStatus - The response's http
-- status code.
newCreateImagePipelineResponse :: Int -> CreateImagePipelineResponse
-- | The idempotency token used to make this request idempotent.
createImagePipelineResponse_clientToken :: Lens' CreateImagePipelineResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image pipeline that was created
-- by this request.
createImagePipelineResponse_imagePipelineArn :: Lens' CreateImagePipelineResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createImagePipelineResponse_requestId :: Lens' CreateImagePipelineResponse (Maybe Text)
-- | The response's http status code.
createImagePipelineResponse_httpStatus :: Lens' CreateImagePipelineResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipeline
instance GHC.Show.Show Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipeline
instance GHC.Read.Read Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipeline
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipeline
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipelineResponse
instance GHC.Show.Show Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipelineResponse
instance GHC.Read.Read Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipelineResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipelineResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipeline
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipelineResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipeline
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipeline
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipeline
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipeline
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipeline
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.CreateImagePipeline.CreateImagePipeline
-- | Creates a new image. This request will create a new image along with
-- all of the configured output resources defined in the distribution
-- configuration. You must specify exactly one recipe for your image,
-- using either a ContainerRecipeArn or an ImageRecipeArn.
module Amazonka.ImageBuilder.CreateImage
-- | See: newCreateImage smart constructor.
data CreateImage
CreateImage' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ImageTestsConfiguration -> Maybe (HashMap Text Text) -> Text -> Text -> CreateImage
-- | The Amazon Resource Name (ARN) of the container recipe that defines
-- how images are configured and tested.
[$sel:containerRecipeArn:CreateImage'] :: CreateImage -> Maybe Text
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- defines and configures the outputs of your pipeline.
[$sel:distributionConfigurationArn:CreateImage'] :: CreateImage -> Maybe Text
-- | 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:enhancedImageMetadataEnabled:CreateImage'] :: CreateImage -> Maybe Bool
-- | The Amazon Resource Name (ARN) of the image recipe that defines how
-- images are configured, tested, and assessed.
[$sel:imageRecipeArn:CreateImage'] :: CreateImage -> Maybe Text
-- | The image tests configuration of the image.
[$sel:imageTestsConfiguration:CreateImage'] :: CreateImage -> Maybe ImageTestsConfiguration
-- | The tags of the image.
[$sel:tags:CreateImage'] :: CreateImage -> Maybe (HashMap Text Text)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that defines the environment in which your image will be built and
-- tested.
[$sel:infrastructureConfigurationArn:CreateImage'] :: CreateImage -> Text
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:CreateImage'] :: CreateImage -> Text
-- | Create a value of CreateImage 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:
--
-- CreateImage, createImage_containerRecipeArn - The Amazon
-- Resource Name (ARN) of the container recipe that defines how images
-- are configured and tested.
--
-- CreateImage, createImage_distributionConfigurationArn -
-- The Amazon Resource Name (ARN) of the distribution configuration that
-- defines and configures the outputs of your pipeline.
--
-- CreateImage, createImage_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.
--
-- CreateImage, createImage_imageRecipeArn - The Amazon
-- Resource Name (ARN) of the image recipe that defines how images are
-- configured, tested, and assessed.
--
-- CreateImage, createImage_imageTestsConfiguration - The
-- image tests configuration of the image.
--
-- CreateImage, createImage_tags - The tags of the image.
--
-- CreateImage, createImage_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- that defines the environment in which your image will be built and
-- tested.
--
-- CreateImage, createImage_clientToken - The idempotency
-- token used to make this request idempotent.
newCreateImage :: Text -> Text -> CreateImage
-- | The Amazon Resource Name (ARN) of the container recipe that defines
-- how images are configured and tested.
createImage_containerRecipeArn :: Lens' CreateImage (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- defines and configures the outputs of your pipeline.
createImage_distributionConfigurationArn :: Lens' CreateImage (Maybe Text)
-- | 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.
createImage_enhancedImageMetadataEnabled :: Lens' CreateImage (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the image recipe that defines how
-- images are configured, tested, and assessed.
createImage_imageRecipeArn :: Lens' CreateImage (Maybe Text)
-- | The image tests configuration of the image.
createImage_imageTestsConfiguration :: Lens' CreateImage (Maybe ImageTestsConfiguration)
-- | The tags of the image.
createImage_tags :: Lens' CreateImage (Maybe (HashMap Text Text))
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that defines the environment in which your image will be built and
-- tested.
createImage_infrastructureConfigurationArn :: Lens' CreateImage Text
-- | The idempotency token used to make this request idempotent.
createImage_clientToken :: Lens' CreateImage Text
-- | See: newCreateImageResponse smart constructor.
data CreateImageResponse
CreateImageResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateImageResponse
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:CreateImageResponse'] :: CreateImageResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the image that was created by this
-- request.
[$sel:imageBuildVersionArn:CreateImageResponse'] :: CreateImageResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:CreateImageResponse'] :: CreateImageResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateImageResponse'] :: CreateImageResponse -> Int
-- | Create a value of CreateImageResponse 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:
--
-- CreateImage, createImageResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- $sel:imageBuildVersionArn:CreateImageResponse',
-- createImageResponse_imageBuildVersionArn - The Amazon Resource
-- Name (ARN) of the image that was created by this request.
--
-- $sel:requestId:CreateImageResponse',
-- createImageResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:CreateImageResponse',
-- createImageResponse_httpStatus - The response's http status
-- code.
newCreateImageResponse :: Int -> CreateImageResponse
-- | The idempotency token used to make this request idempotent.
createImageResponse_clientToken :: Lens' CreateImageResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image that was created by this
-- request.
createImageResponse_imageBuildVersionArn :: Lens' CreateImageResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createImageResponse_requestId :: Lens' CreateImageResponse (Maybe Text)
-- | The response's http status code.
createImageResponse_httpStatus :: Lens' CreateImageResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateImage.CreateImage
instance GHC.Show.Show Amazonka.ImageBuilder.CreateImage.CreateImage
instance GHC.Read.Read Amazonka.ImageBuilder.CreateImage.CreateImage
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateImage.CreateImage
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateImage.CreateImageResponse
instance GHC.Show.Show Amazonka.ImageBuilder.CreateImage.CreateImageResponse
instance GHC.Read.Read Amazonka.ImageBuilder.CreateImage.CreateImageResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateImage.CreateImageResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.CreateImage.CreateImage
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateImage.CreateImageResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.CreateImage.CreateImage
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateImage.CreateImage
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.CreateImage.CreateImage
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.CreateImage.CreateImage
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.CreateImage.CreateImage
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.CreateImage.CreateImage
-- | Creates a new distribution configuration. Distribution configurations
-- define and configure the outputs of your pipeline.
module Amazonka.ImageBuilder.CreateDistributionConfiguration
-- | See: newCreateDistributionConfiguration smart
-- constructor.
data CreateDistributionConfiguration
CreateDistributionConfiguration' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> [Distribution] -> Text -> CreateDistributionConfiguration
-- | The description of the distribution configuration.
[$sel:description:CreateDistributionConfiguration'] :: CreateDistributionConfiguration -> Maybe Text
-- | The tags of the distribution configuration.
[$sel:tags:CreateDistributionConfiguration'] :: CreateDistributionConfiguration -> Maybe (HashMap Text Text)
-- | The name of the distribution configuration.
[$sel:name:CreateDistributionConfiguration'] :: CreateDistributionConfiguration -> Text
-- | The distributions of the distribution configuration.
[$sel:distributions:CreateDistributionConfiguration'] :: CreateDistributionConfiguration -> [Distribution]
-- | The idempotency token of the distribution configuration.
[$sel:clientToken:CreateDistributionConfiguration'] :: CreateDistributionConfiguration -> Text
-- | Create a value of CreateDistributionConfiguration 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:
--
-- CreateDistributionConfiguration,
-- createDistributionConfiguration_description - The description
-- of the distribution configuration.
--
-- CreateDistributionConfiguration,
-- createDistributionConfiguration_tags - The tags of the
-- distribution configuration.
--
-- CreateDistributionConfiguration,
-- createDistributionConfiguration_name - The name of the
-- distribution configuration.
--
-- CreateDistributionConfiguration,
-- createDistributionConfiguration_distributions - The
-- distributions of the distribution configuration.
--
-- CreateDistributionConfiguration,
-- createDistributionConfiguration_clientToken - The idempotency
-- token of the distribution configuration.
newCreateDistributionConfiguration :: Text -> Text -> CreateDistributionConfiguration
-- | The description of the distribution configuration.
createDistributionConfiguration_description :: Lens' CreateDistributionConfiguration (Maybe Text)
-- | The tags of the distribution configuration.
createDistributionConfiguration_tags :: Lens' CreateDistributionConfiguration (Maybe (HashMap Text Text))
-- | The name of the distribution configuration.
createDistributionConfiguration_name :: Lens' CreateDistributionConfiguration Text
-- | The distributions of the distribution configuration.
createDistributionConfiguration_distributions :: Lens' CreateDistributionConfiguration [Distribution]
-- | The idempotency token of the distribution configuration.
createDistributionConfiguration_clientToken :: Lens' CreateDistributionConfiguration Text
-- | See: newCreateDistributionConfigurationResponse smart
-- constructor.
data CreateDistributionConfigurationResponse
CreateDistributionConfigurationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateDistributionConfigurationResponse
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:CreateDistributionConfigurationResponse'] :: CreateDistributionConfigurationResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- was created by this request.
[$sel:distributionConfigurationArn:CreateDistributionConfigurationResponse'] :: CreateDistributionConfigurationResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:CreateDistributionConfigurationResponse'] :: CreateDistributionConfigurationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateDistributionConfigurationResponse'] :: CreateDistributionConfigurationResponse -> Int
-- | Create a value of CreateDistributionConfigurationResponse 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:
--
-- CreateDistributionConfiguration,
-- createDistributionConfigurationResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- CreateDistributionConfigurationResponse,
-- createDistributionConfigurationResponse_distributionConfigurationArn
-- - The Amazon Resource Name (ARN) of the distribution configuration
-- that was created by this request.
--
-- $sel:requestId:CreateDistributionConfigurationResponse',
-- createDistributionConfigurationResponse_requestId - The request
-- ID that uniquely identifies this request.
--
-- $sel:httpStatus:CreateDistributionConfigurationResponse',
-- createDistributionConfigurationResponse_httpStatus - The
-- response's http status code.
newCreateDistributionConfigurationResponse :: Int -> CreateDistributionConfigurationResponse
-- | The idempotency token used to make this request idempotent.
createDistributionConfigurationResponse_clientToken :: Lens' CreateDistributionConfigurationResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- was created by this request.
createDistributionConfigurationResponse_distributionConfigurationArn :: Lens' CreateDistributionConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createDistributionConfigurationResponse_requestId :: Lens' CreateDistributionConfigurationResponse (Maybe Text)
-- | The response's http status code.
createDistributionConfigurationResponse_httpStatus :: Lens' CreateDistributionConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfiguration
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfigurationResponse
instance GHC.Show.Show Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfigurationResponse
instance GHC.Read.Read Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfigurationResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.CreateDistributionConfiguration.CreateDistributionConfiguration
-- | Creates a new container recipe. Container recipes define how images
-- are configured, tested, and assessed.
module Amazonka.ImageBuilder.CreateContainerRecipe
-- | See: newCreateContainerRecipe smart constructor.
data CreateContainerRecipe
CreateContainerRecipe' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InstanceConfiguration -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> Maybe Text -> ContainerType -> Text -> Text -> NonEmpty ComponentConfiguration -> Text -> TargetContainerRepository -> Text -> CreateContainerRecipe
-- | The description of the container recipe.
[$sel:description:CreateContainerRecipe'] :: CreateContainerRecipe -> Maybe Text
-- | The Dockerfile template used to build your image as an inline data
-- blob.
[$sel:dockerfileTemplateData:CreateContainerRecipe'] :: CreateContainerRecipe -> Maybe Text
-- | The Amazon S3 URI for the Dockerfile that will be used to build your
-- container image.
[$sel:dockerfileTemplateUri:CreateContainerRecipe'] :: CreateContainerRecipe -> Maybe Text
-- | Specifies the operating system version for the base image.
[$sel:imageOsVersionOverride:CreateContainerRecipe'] :: CreateContainerRecipe -> Maybe Text
-- | A group of options that can be used to configure an instance for
-- building and testing container images.
[$sel:instanceConfiguration:CreateContainerRecipe'] :: CreateContainerRecipe -> Maybe InstanceConfiguration
-- | Identifies which KMS key is used to encrypt the container image.
[$sel:kmsKeyId:CreateContainerRecipe'] :: CreateContainerRecipe -> Maybe Text
-- | Specifies the operating system platform when you use a custom base
-- image.
[$sel:platformOverride:CreateContainerRecipe'] :: CreateContainerRecipe -> Maybe Platform
-- | Tags that are attached to the container recipe.
[$sel:tags:CreateContainerRecipe'] :: CreateContainerRecipe -> Maybe (HashMap Text Text)
-- | The working directory for use during build and test workflows.
[$sel:workingDirectory:CreateContainerRecipe'] :: CreateContainerRecipe -> Maybe Text
-- | The type of container to create.
[$sel:containerType:CreateContainerRecipe'] :: CreateContainerRecipe -> ContainerType
-- | The name of the container recipe.
[$sel:name:CreateContainerRecipe'] :: CreateContainerRecipe -> Text
-- | The semantic version of the container recipe. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
[$sel:semanticVersion:CreateContainerRecipe'] :: CreateContainerRecipe -> Text
-- | Components for build and test that are included in the container
-- recipe.
[$sel:components:CreateContainerRecipe'] :: CreateContainerRecipe -> NonEmpty ComponentConfiguration
-- | The base image for the container recipe.
[$sel:parentImage:CreateContainerRecipe'] :: CreateContainerRecipe -> Text
-- | The destination repository for the container image.
[$sel:targetRepository:CreateContainerRecipe'] :: CreateContainerRecipe -> TargetContainerRepository
-- | The client token used to make this request idempotent.
[$sel:clientToken:CreateContainerRecipe'] :: CreateContainerRecipe -> Text
-- | Create a value of CreateContainerRecipe 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:
--
-- CreateContainerRecipe, createContainerRecipe_description
-- - The description of the container recipe.
--
-- CreateContainerRecipe,
-- createContainerRecipe_dockerfileTemplateData - The Dockerfile
-- template used to build your image as an inline data blob.
--
-- $sel:dockerfileTemplateUri:CreateContainerRecipe',
-- createContainerRecipe_dockerfileTemplateUri - The Amazon S3 URI
-- for the Dockerfile that will be used to build your container image.
--
-- $sel:imageOsVersionOverride:CreateContainerRecipe',
-- createContainerRecipe_imageOsVersionOverride - Specifies the
-- operating system version for the base image.
--
-- CreateContainerRecipe,
-- createContainerRecipe_instanceConfiguration - A group of
-- options that can be used to configure an instance for building and
-- testing container images.
--
-- CreateContainerRecipe, createContainerRecipe_kmsKeyId -
-- Identifies which KMS key is used to encrypt the container image.
--
-- $sel:platformOverride:CreateContainerRecipe',
-- createContainerRecipe_platformOverride - Specifies the
-- operating system platform when you use a custom base image.
--
-- CreateContainerRecipe, createContainerRecipe_tags - Tags
-- that are attached to the container recipe.
--
-- CreateContainerRecipe,
-- createContainerRecipe_workingDirectory - The working directory
-- for use during build and test workflows.
--
-- CreateContainerRecipe,
-- createContainerRecipe_containerType - The type of container to
-- create.
--
-- CreateContainerRecipe, createContainerRecipe_name - The
-- name of the container recipe.
--
-- $sel:semanticVersion:CreateContainerRecipe',
-- createContainerRecipe_semanticVersion - The semantic version of
-- the container recipe. This version follows the semantic version
-- syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- CreateContainerRecipe, createContainerRecipe_components
-- - Components for build and test that are included in the container
-- recipe.
--
-- CreateContainerRecipe, createContainerRecipe_parentImage
-- - The base image for the container recipe.
--
-- CreateContainerRecipe,
-- createContainerRecipe_targetRepository - The destination
-- repository for the container image.
--
-- CreateContainerRecipe, createContainerRecipe_clientToken
-- - The client token used to make this request idempotent.
newCreateContainerRecipe :: ContainerType -> Text -> Text -> NonEmpty ComponentConfiguration -> Text -> TargetContainerRepository -> Text -> CreateContainerRecipe
-- | The description of the container recipe.
createContainerRecipe_description :: Lens' CreateContainerRecipe (Maybe Text)
-- | The Dockerfile template used to build your image as an inline data
-- blob.
createContainerRecipe_dockerfileTemplateData :: Lens' CreateContainerRecipe (Maybe Text)
-- | The Amazon S3 URI for the Dockerfile that will be used to build your
-- container image.
createContainerRecipe_dockerfileTemplateUri :: Lens' CreateContainerRecipe (Maybe Text)
-- | Specifies the operating system version for the base image.
createContainerRecipe_imageOsVersionOverride :: Lens' CreateContainerRecipe (Maybe Text)
-- | A group of options that can be used to configure an instance for
-- building and testing container images.
createContainerRecipe_instanceConfiguration :: Lens' CreateContainerRecipe (Maybe InstanceConfiguration)
-- | Identifies which KMS key is used to encrypt the container image.
createContainerRecipe_kmsKeyId :: Lens' CreateContainerRecipe (Maybe Text)
-- | Specifies the operating system platform when you use a custom base
-- image.
createContainerRecipe_platformOverride :: Lens' CreateContainerRecipe (Maybe Platform)
-- | Tags that are attached to the container recipe.
createContainerRecipe_tags :: Lens' CreateContainerRecipe (Maybe (HashMap Text Text))
-- | The working directory for use during build and test workflows.
createContainerRecipe_workingDirectory :: Lens' CreateContainerRecipe (Maybe Text)
-- | The type of container to create.
createContainerRecipe_containerType :: Lens' CreateContainerRecipe ContainerType
-- | The name of the container recipe.
createContainerRecipe_name :: Lens' CreateContainerRecipe Text
-- | The semantic version of the container recipe. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
createContainerRecipe_semanticVersion :: Lens' CreateContainerRecipe Text
-- | Components for build and test that are included in the container
-- recipe.
createContainerRecipe_components :: Lens' CreateContainerRecipe (NonEmpty ComponentConfiguration)
-- | The base image for the container recipe.
createContainerRecipe_parentImage :: Lens' CreateContainerRecipe Text
-- | The destination repository for the container image.
createContainerRecipe_targetRepository :: Lens' CreateContainerRecipe TargetContainerRepository
-- | The client token used to make this request idempotent.
createContainerRecipe_clientToken :: Lens' CreateContainerRecipe Text
-- | See: newCreateContainerRecipeResponse smart constructor.
data CreateContainerRecipeResponse
CreateContainerRecipeResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateContainerRecipeResponse
-- | The client token used to make this request idempotent.
[$sel:clientToken:CreateContainerRecipeResponse'] :: CreateContainerRecipeResponse -> Maybe Text
-- | Returns the Amazon Resource Name (ARN) of the container recipe that
-- the request created.
[$sel:containerRecipeArn:CreateContainerRecipeResponse'] :: CreateContainerRecipeResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:CreateContainerRecipeResponse'] :: CreateContainerRecipeResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateContainerRecipeResponse'] :: CreateContainerRecipeResponse -> Int
-- | Create a value of CreateContainerRecipeResponse 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:
--
-- CreateContainerRecipe,
-- createContainerRecipeResponse_clientToken - The client token
-- used to make this request idempotent.
--
-- CreateContainerRecipeResponse,
-- createContainerRecipeResponse_containerRecipeArn - Returns the
-- Amazon Resource Name (ARN) of the container recipe that the request
-- created.
--
-- $sel:requestId:CreateContainerRecipeResponse',
-- createContainerRecipeResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:CreateContainerRecipeResponse',
-- createContainerRecipeResponse_httpStatus - The response's http
-- status code.
newCreateContainerRecipeResponse :: Int -> CreateContainerRecipeResponse
-- | The client token used to make this request idempotent.
createContainerRecipeResponse_clientToken :: Lens' CreateContainerRecipeResponse (Maybe Text)
-- | Returns the Amazon Resource Name (ARN) of the container recipe that
-- the request created.
createContainerRecipeResponse_containerRecipeArn :: Lens' CreateContainerRecipeResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createContainerRecipeResponse_requestId :: Lens' CreateContainerRecipeResponse (Maybe Text)
-- | The response's http status code.
createContainerRecipeResponse_httpStatus :: Lens' CreateContainerRecipeResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipe
instance GHC.Show.Show Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipe
instance GHC.Read.Read Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipe
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipe
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipeResponse
instance GHC.Show.Show Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipeResponse
instance GHC.Read.Read Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipeResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipeResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipeResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipe
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipe
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipe
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipe
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipe
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.CreateContainerRecipe.CreateContainerRecipe
-- | Creates a new component that can be used to build, validate, test, and
-- assess your image. The component is based on a YAML document that you
-- specify using exactly one of the following methods:
--
--
-- - Inline, using the data property in the request body.
-- - A URL that points to a YAML document file stored in Amazon S3,
-- using the uri property in the request body.
--
module Amazonka.ImageBuilder.CreateComponent
-- | See: newCreateComponent smart constructor.
data CreateComponent
CreateComponent' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (HashMap Text Text) -> Maybe Text -> Text -> Text -> Platform -> Text -> CreateComponent
-- | The change description of the component. Describes what change has
-- been made in this version, or what makes this version different from
-- other versions of this component.
[$sel:changeDescription:CreateComponent'] :: CreateComponent -> Maybe Text
-- | Component data contains inline YAML document content for the
-- component. Alternatively, you can specify the uri of a YAML
-- document file stored in Amazon S3. However, you cannot specify both
-- properties.
[$sel:data':CreateComponent'] :: CreateComponent -> Maybe Text
-- | The description of the component. Describes the contents of the
-- component.
[$sel:description:CreateComponent'] :: CreateComponent -> Maybe Text
-- | The ID of the KMS key that should be used to encrypt this component.
[$sel:kmsKeyId:CreateComponent'] :: CreateComponent -> Maybe Text
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
[$sel:supportedOsVersions:CreateComponent'] :: CreateComponent -> Maybe (NonEmpty Text)
-- | The tags of the component.
[$sel:tags:CreateComponent'] :: CreateComponent -> Maybe (HashMap Text Text)
-- | The uri of a YAML component document file. This must be an S3
-- URL (s3://bucket/key), and the requester must have permission
-- to access the S3 bucket it points to. If you use Amazon S3, you can
-- specify component content up to your service quota.
--
-- Alternatively, you can specify the YAML document inline, using the
-- component data property. You cannot specify both properties.
[$sel:uri:CreateComponent'] :: CreateComponent -> Maybe Text
-- | The name of the component.
[$sel:name:CreateComponent'] :: CreateComponent -> Text
-- | The semantic version of the component. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
[$sel:semanticVersion:CreateComponent'] :: CreateComponent -> Text
-- | The platform of the component.
[$sel:platform:CreateComponent'] :: CreateComponent -> Platform
-- | The idempotency token of the component.
[$sel:clientToken:CreateComponent'] :: CreateComponent -> Text
-- | Create a value of CreateComponent 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:
--
-- CreateComponent, createComponent_changeDescription - The
-- change description of the component. Describes what change has been
-- made in this version, or what makes this version different from other
-- versions of this component.
--
-- CreateComponent, createComponent_data - Component
-- data contains inline YAML document content for the component.
-- Alternatively, you can specify the uri of a YAML document
-- file stored in Amazon S3. However, you cannot specify both properties.
--
-- CreateComponent, createComponent_description - The
-- description of the component. Describes the contents of the component.
--
-- CreateComponent, createComponent_kmsKeyId - The ID of
-- the KMS key that should be used to encrypt this component.
--
-- CreateComponent, createComponent_supportedOsVersions -
-- The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
--
-- CreateComponent, createComponent_tags - The tags of the
-- component.
--
-- $sel:uri:CreateComponent', createComponent_uri - The
-- uri of a YAML component document file. This must be an S3 URL
-- (s3://bucket/key), and the requester must have permission to
-- access the S3 bucket it points to. If you use Amazon S3, you can
-- specify component content up to your service quota.
--
-- Alternatively, you can specify the YAML document inline, using the
-- component data property. You cannot specify both properties.
--
-- CreateComponent, createComponent_name - The name of the
-- component.
--
-- $sel:semanticVersion:CreateComponent',
-- createComponent_semanticVersion - The semantic version of the
-- component. This version follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- CreateComponent, createComponent_platform - The platform
-- of the component.
--
-- CreateComponent, createComponent_clientToken - The
-- idempotency token of the component.
newCreateComponent :: Text -> Text -> Platform -> Text -> CreateComponent
-- | The change description of the component. Describes what change has
-- been made in this version, or what makes this version different from
-- other versions of this component.
createComponent_changeDescription :: Lens' CreateComponent (Maybe Text)
-- | Component data contains inline YAML document content for the
-- component. Alternatively, you can specify the uri of a YAML
-- document file stored in Amazon S3. However, you cannot specify both
-- properties.
createComponent_data :: Lens' CreateComponent (Maybe Text)
-- | The description of the component. Describes the contents of the
-- component.
createComponent_description :: Lens' CreateComponent (Maybe Text)
-- | The ID of the KMS key that should be used to encrypt this component.
createComponent_kmsKeyId :: Lens' CreateComponent (Maybe Text)
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
createComponent_supportedOsVersions :: Lens' CreateComponent (Maybe (NonEmpty Text))
-- | The tags of the component.
createComponent_tags :: Lens' CreateComponent (Maybe (HashMap Text Text))
-- | The uri of a YAML component document file. This must be an S3
-- URL (s3://bucket/key), and the requester must have permission
-- to access the S3 bucket it points to. If you use Amazon S3, you can
-- specify component content up to your service quota.
--
-- Alternatively, you can specify the YAML document inline, using the
-- component data property. You cannot specify both properties.
createComponent_uri :: Lens' CreateComponent (Maybe Text)
-- | The name of the component.
createComponent_name :: Lens' CreateComponent Text
-- | The semantic version of the component. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
createComponent_semanticVersion :: Lens' CreateComponent Text
-- | The platform of the component.
createComponent_platform :: Lens' CreateComponent Platform
-- | The idempotency token of the component.
createComponent_clientToken :: Lens' CreateComponent Text
-- | See: newCreateComponentResponse smart constructor.
data CreateComponentResponse
CreateComponentResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateComponentResponse
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:CreateComponentResponse'] :: CreateComponentResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the component that was created by
-- this request.
[$sel:componentBuildVersionArn:CreateComponentResponse'] :: CreateComponentResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:CreateComponentResponse'] :: CreateComponentResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateComponentResponse'] :: CreateComponentResponse -> Int
-- | Create a value of CreateComponentResponse 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:
--
-- CreateComponent, createComponentResponse_clientToken -
-- The idempotency token used to make this request idempotent.
--
-- $sel:componentBuildVersionArn:CreateComponentResponse',
-- createComponentResponse_componentBuildVersionArn - The Amazon
-- Resource Name (ARN) of the component that was created by this request.
--
-- $sel:requestId:CreateComponentResponse',
-- createComponentResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:CreateComponentResponse',
-- createComponentResponse_httpStatus - The response's http status
-- code.
newCreateComponentResponse :: Int -> CreateComponentResponse
-- | The idempotency token used to make this request idempotent.
createComponentResponse_clientToken :: Lens' CreateComponentResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the component that was created by
-- this request.
createComponentResponse_componentBuildVersionArn :: Lens' CreateComponentResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createComponentResponse_requestId :: Lens' CreateComponentResponse (Maybe Text)
-- | The response's http status code.
createComponentResponse_httpStatus :: Lens' CreateComponentResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateComponent.CreateComponent
instance GHC.Show.Show Amazonka.ImageBuilder.CreateComponent.CreateComponent
instance GHC.Read.Read Amazonka.ImageBuilder.CreateComponent.CreateComponent
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateComponent.CreateComponent
instance GHC.Generics.Generic Amazonka.ImageBuilder.CreateComponent.CreateComponentResponse
instance GHC.Show.Show Amazonka.ImageBuilder.CreateComponent.CreateComponentResponse
instance GHC.Read.Read Amazonka.ImageBuilder.CreateComponent.CreateComponentResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.CreateComponent.CreateComponentResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.CreateComponent.CreateComponent
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateComponent.CreateComponentResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.CreateComponent.CreateComponent
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CreateComponent.CreateComponent
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.CreateComponent.CreateComponent
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.CreateComponent.CreateComponent
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.CreateComponent.CreateComponent
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.CreateComponent.CreateComponent
-- | CancelImageCreation cancels the creation of Image. This operation can
-- only be used on images in a non-terminal state.
module Amazonka.ImageBuilder.CancelImageCreation
-- | See: newCancelImageCreation smart constructor.
data CancelImageCreation
CancelImageCreation' :: Text -> Text -> CancelImageCreation
-- | The Amazon Resource Name (ARN) of the image whose creation you want to
-- cancel.
[$sel:imageBuildVersionArn:CancelImageCreation'] :: CancelImageCreation -> Text
-- | Unique, case-sensitive identifier you provide to ensure idempotency of
-- the request. For more information, see Ensuring idempotency in
-- the Amazon EC2 API Reference.
[$sel:clientToken:CancelImageCreation'] :: CancelImageCreation -> Text
-- | Create a value of CancelImageCreation 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:
--
-- CancelImageCreation,
-- cancelImageCreation_imageBuildVersionArn - The Amazon Resource
-- Name (ARN) of the image whose creation you want to cancel.
--
-- CancelImageCreation, cancelImageCreation_clientToken -
-- Unique, case-sensitive identifier you provide to ensure idempotency of
-- the request. For more information, see Ensuring idempotency in
-- the Amazon EC2 API Reference.
newCancelImageCreation :: Text -> Text -> CancelImageCreation
-- | The Amazon Resource Name (ARN) of the image whose creation you want to
-- cancel.
cancelImageCreation_imageBuildVersionArn :: Lens' CancelImageCreation Text
-- | Unique, case-sensitive identifier you provide to ensure idempotency of
-- the request. For more information, see Ensuring idempotency in
-- the Amazon EC2 API Reference.
cancelImageCreation_clientToken :: Lens' CancelImageCreation Text
-- | See: newCancelImageCreationResponse smart constructor.
data CancelImageCreationResponse
CancelImageCreationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CancelImageCreationResponse
-- | The idempotency token that was used for this request.
[$sel:clientToken:CancelImageCreationResponse'] :: CancelImageCreationResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the image whose creation has been
-- cancelled.
[$sel:imageBuildVersionArn:CancelImageCreationResponse'] :: CancelImageCreationResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:CancelImageCreationResponse'] :: CancelImageCreationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CancelImageCreationResponse'] :: CancelImageCreationResponse -> Int
-- | Create a value of CancelImageCreationResponse 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:
--
-- CancelImageCreation,
-- cancelImageCreationResponse_clientToken - The idempotency token
-- that was used for this request.
--
-- CancelImageCreation,
-- cancelImageCreationResponse_imageBuildVersionArn - The Amazon
-- Resource Name (ARN) of the image whose creation has been cancelled.
--
-- $sel:requestId:CancelImageCreationResponse',
-- cancelImageCreationResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:CancelImageCreationResponse',
-- cancelImageCreationResponse_httpStatus - The response's http
-- status code.
newCancelImageCreationResponse :: Int -> CancelImageCreationResponse
-- | The idempotency token that was used for this request.
cancelImageCreationResponse_clientToken :: Lens' CancelImageCreationResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image whose creation has been
-- cancelled.
cancelImageCreationResponse_imageBuildVersionArn :: Lens' CancelImageCreationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
cancelImageCreationResponse_requestId :: Lens' CancelImageCreationResponse (Maybe Text)
-- | The response's http status code.
cancelImageCreationResponse_httpStatus :: Lens' CancelImageCreationResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreation
instance GHC.Show.Show Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreation
instance GHC.Read.Read Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreation
instance GHC.Classes.Eq Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreation
instance GHC.Generics.Generic Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreationResponse
instance GHC.Show.Show Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreationResponse
instance GHC.Read.Read Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreationResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreationResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreation
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreationResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreation
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreation
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreation
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreation
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreation
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.CancelImageCreation.CancelImageCreation
-- | Removes a tag from a resource.
module Amazonka.ImageBuilder.UntagResource
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> NonEmpty Text -> UntagResource
-- | The Amazon Resource Name (ARN) of the resource that you want to untag.
[$sel:resourceArn:UntagResource'] :: UntagResource -> Text
-- | The tag keys to remove from the resource.
[$sel:tagKeys:UntagResource'] :: UntagResource -> NonEmpty Text
-- | Create a value of UntagResource 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:resourceArn:UntagResource',
-- untagResource_resourceArn - The Amazon Resource Name (ARN) of
-- the resource that you want to untag.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- tag keys to remove from the resource.
newUntagResource :: Text -> NonEmpty Text -> UntagResource
-- | The Amazon Resource Name (ARN) of the resource that you want to untag.
untagResource_resourceArn :: Lens' UntagResource Text
-- | The tag keys to remove from the resource.
untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text)
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
-- | Create a value of UntagResourceResponse 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:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.UntagResource.UntagResource
instance GHC.Show.Show Amazonka.ImageBuilder.UntagResource.UntagResource
instance GHC.Read.Read Amazonka.ImageBuilder.UntagResource.UntagResource
instance GHC.Classes.Eq Amazonka.ImageBuilder.UntagResource.UntagResource
instance GHC.Generics.Generic Amazonka.ImageBuilder.UntagResource.UntagResourceResponse
instance GHC.Show.Show Amazonka.ImageBuilder.UntagResource.UntagResourceResponse
instance GHC.Read.Read Amazonka.ImageBuilder.UntagResource.UntagResourceResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.UntagResource.UntagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.UntagResource.UntagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.UntagResource.UntagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.UntagResource.UntagResource
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.UntagResource.UntagResource
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.UntagResource.UntagResource
-- | Updates a new distribution configuration. Distribution configurations
-- define and configure the outputs of your pipeline.
module Amazonka.ImageBuilder.UpdateDistributionConfiguration
-- | See: newUpdateDistributionConfiguration smart
-- constructor.
data UpdateDistributionConfiguration
UpdateDistributionConfiguration' :: Maybe Text -> Text -> [Distribution] -> Text -> UpdateDistributionConfiguration
-- | The description of the distribution configuration.
[$sel:description:UpdateDistributionConfiguration'] :: UpdateDistributionConfiguration -> Maybe Text
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- you want to update.
[$sel:distributionConfigurationArn:UpdateDistributionConfiguration'] :: UpdateDistributionConfiguration -> Text
-- | The distributions of the distribution configuration.
[$sel:distributions:UpdateDistributionConfiguration'] :: UpdateDistributionConfiguration -> [Distribution]
-- | The idempotency token of the distribution configuration.
[$sel:clientToken:UpdateDistributionConfiguration'] :: UpdateDistributionConfiguration -> Text
-- | Create a value of UpdateDistributionConfiguration 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:
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfiguration_description - The description
-- of the distribution configuration.
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfiguration_distributionConfigurationArn -
-- The Amazon Resource Name (ARN) of the distribution configuration that
-- you want to update.
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfiguration_distributions - The
-- distributions of the distribution configuration.
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfiguration_clientToken - The idempotency
-- token of the distribution configuration.
newUpdateDistributionConfiguration :: Text -> Text -> UpdateDistributionConfiguration
-- | The description of the distribution configuration.
updateDistributionConfiguration_description :: Lens' UpdateDistributionConfiguration (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- you want to update.
updateDistributionConfiguration_distributionConfigurationArn :: Lens' UpdateDistributionConfiguration Text
-- | The distributions of the distribution configuration.
updateDistributionConfiguration_distributions :: Lens' UpdateDistributionConfiguration [Distribution]
-- | The idempotency token of the distribution configuration.
updateDistributionConfiguration_clientToken :: Lens' UpdateDistributionConfiguration Text
-- | See: newUpdateDistributionConfigurationResponse smart
-- constructor.
data UpdateDistributionConfigurationResponse
UpdateDistributionConfigurationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> UpdateDistributionConfigurationResponse
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:UpdateDistributionConfigurationResponse'] :: UpdateDistributionConfigurationResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- was updated by this request.
[$sel:distributionConfigurationArn:UpdateDistributionConfigurationResponse'] :: UpdateDistributionConfigurationResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:UpdateDistributionConfigurationResponse'] :: UpdateDistributionConfigurationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:UpdateDistributionConfigurationResponse'] :: UpdateDistributionConfigurationResponse -> Int
-- | Create a value of UpdateDistributionConfigurationResponse 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:
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfigurationResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfigurationResponse_distributionConfigurationArn
-- - The Amazon Resource Name (ARN) of the distribution configuration
-- that was updated by this request.
--
-- $sel:requestId:UpdateDistributionConfigurationResponse',
-- updateDistributionConfigurationResponse_requestId - The request
-- ID that uniquely identifies this request.
--
-- $sel:httpStatus:UpdateDistributionConfigurationResponse',
-- updateDistributionConfigurationResponse_httpStatus - The
-- response's http status code.
newUpdateDistributionConfigurationResponse :: Int -> UpdateDistributionConfigurationResponse
-- | The idempotency token used to make this request idempotent.
updateDistributionConfigurationResponse_clientToken :: Lens' UpdateDistributionConfigurationResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- was updated by this request.
updateDistributionConfigurationResponse_distributionConfigurationArn :: Lens' UpdateDistributionConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
updateDistributionConfigurationResponse_requestId :: Lens' UpdateDistributionConfigurationResponse (Maybe Text)
-- | The response's http status code.
updateDistributionConfigurationResponse_httpStatus :: Lens' UpdateDistributionConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfiguration
instance GHC.Generics.Generic Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfigurationResponse
instance GHC.Show.Show Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfigurationResponse
instance GHC.Read.Read Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfigurationResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.UpdateDistributionConfiguration.UpdateDistributionConfiguration
-- | Updates an image pipeline. Image pipelines enable you to automate the
-- creation and distribution of images.
--
-- UpdateImagePipeline does not support selective updates for the
-- pipeline. You must specify all of the required properties in the
-- update request, not just the properties that have changed.
module Amazonka.ImageBuilder.UpdateImagePipeline
-- | See: newUpdateImagePipeline smart constructor.
data UpdateImagePipeline
UpdateImagePipeline' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ImageTestsConfiguration -> Maybe Schedule -> Maybe PipelineStatus -> Text -> Text -> Text -> UpdateImagePipeline
-- | The Amazon Resource Name (ARN) of the container pipeline to update.
[$sel:containerRecipeArn:UpdateImagePipeline'] :: UpdateImagePipeline -> Maybe Text
-- | The description of the image pipeline.
[$sel:description:UpdateImagePipeline'] :: UpdateImagePipeline -> Maybe Text
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- will be used to configure and distribute images updated by this image
-- pipeline.
[$sel:distributionConfigurationArn:UpdateImagePipeline'] :: UpdateImagePipeline -> Maybe Text
-- | 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:enhancedImageMetadataEnabled:UpdateImagePipeline'] :: UpdateImagePipeline -> Maybe Bool
-- | The Amazon Resource Name (ARN) of the image recipe that will be used
-- to configure images updated by this image pipeline.
[$sel:imageRecipeArn:UpdateImagePipeline'] :: UpdateImagePipeline -> Maybe Text
-- | The image test configuration of the image pipeline.
[$sel:imageTestsConfiguration:UpdateImagePipeline'] :: UpdateImagePipeline -> Maybe ImageTestsConfiguration
-- | The schedule of the image pipeline.
[$sel:schedule:UpdateImagePipeline'] :: UpdateImagePipeline -> Maybe Schedule
-- | The status of the image pipeline.
[$sel:status:UpdateImagePipeline'] :: UpdateImagePipeline -> Maybe PipelineStatus
-- | The Amazon Resource Name (ARN) of the image pipeline that you want to
-- update.
[$sel:imagePipelineArn:UpdateImagePipeline'] :: UpdateImagePipeline -> Text
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that will be used to build images updated by this image pipeline.
[$sel:infrastructureConfigurationArn:UpdateImagePipeline'] :: UpdateImagePipeline -> Text
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:UpdateImagePipeline'] :: UpdateImagePipeline -> Text
-- | Create a value of UpdateImagePipeline 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:
--
-- UpdateImagePipeline,
-- updateImagePipeline_containerRecipeArn - The Amazon Resource
-- Name (ARN) of the container pipeline to update.
--
-- UpdateImagePipeline, updateImagePipeline_description -
-- The description of the image pipeline.
--
-- UpdateImagePipeline,
-- updateImagePipeline_distributionConfigurationArn - The Amazon
-- Resource Name (ARN) of the distribution configuration that will be
-- used to configure and distribute images updated by this image
-- pipeline.
--
-- UpdateImagePipeline,
-- updateImagePipeline_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.
--
-- UpdateImagePipeline, updateImagePipeline_imageRecipeArn
-- - The Amazon Resource Name (ARN) of the image recipe that will be used
-- to configure images updated by this image pipeline.
--
-- UpdateImagePipeline,
-- updateImagePipeline_imageTestsConfiguration - The image test
-- configuration of the image pipeline.
--
-- UpdateImagePipeline, updateImagePipeline_schedule - The
-- schedule of the image pipeline.
--
-- UpdateImagePipeline, updateImagePipeline_status - The
-- status of the image pipeline.
--
-- UpdateImagePipeline,
-- updateImagePipeline_imagePipelineArn - The Amazon Resource Name
-- (ARN) of the image pipeline that you want to update.
--
-- UpdateImagePipeline,
-- updateImagePipeline_infrastructureConfigurationArn - The Amazon
-- Resource Name (ARN) of the infrastructure configuration that will be
-- used to build images updated by this image pipeline.
--
-- UpdateImagePipeline, updateImagePipeline_clientToken -
-- The idempotency token used to make this request idempotent.
newUpdateImagePipeline :: Text -> Text -> Text -> UpdateImagePipeline
-- | The Amazon Resource Name (ARN) of the container pipeline to update.
updateImagePipeline_containerRecipeArn :: Lens' UpdateImagePipeline (Maybe Text)
-- | The description of the image pipeline.
updateImagePipeline_description :: Lens' UpdateImagePipeline (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- will be used to configure and distribute images updated by this image
-- pipeline.
updateImagePipeline_distributionConfigurationArn :: Lens' UpdateImagePipeline (Maybe Text)
-- | 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.
updateImagePipeline_enhancedImageMetadataEnabled :: Lens' UpdateImagePipeline (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the image recipe that will be used
-- to configure images updated by this image pipeline.
updateImagePipeline_imageRecipeArn :: Lens' UpdateImagePipeline (Maybe Text)
-- | The image test configuration of the image pipeline.
updateImagePipeline_imageTestsConfiguration :: Lens' UpdateImagePipeline (Maybe ImageTestsConfiguration)
-- | The schedule of the image pipeline.
updateImagePipeline_schedule :: Lens' UpdateImagePipeline (Maybe Schedule)
-- | The status of the image pipeline.
updateImagePipeline_status :: Lens' UpdateImagePipeline (Maybe PipelineStatus)
-- | The Amazon Resource Name (ARN) of the image pipeline that you want to
-- update.
updateImagePipeline_imagePipelineArn :: Lens' UpdateImagePipeline Text
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that will be used to build images updated by this image pipeline.
updateImagePipeline_infrastructureConfigurationArn :: Lens' UpdateImagePipeline Text
-- | The idempotency token used to make this request idempotent.
updateImagePipeline_clientToken :: Lens' UpdateImagePipeline Text
-- | See: newUpdateImagePipelineResponse smart constructor.
data UpdateImagePipelineResponse
UpdateImagePipelineResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> UpdateImagePipelineResponse
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:UpdateImagePipelineResponse'] :: UpdateImagePipelineResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the image pipeline that was updated
-- by this request.
[$sel:imagePipelineArn:UpdateImagePipelineResponse'] :: UpdateImagePipelineResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:UpdateImagePipelineResponse'] :: UpdateImagePipelineResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:UpdateImagePipelineResponse'] :: UpdateImagePipelineResponse -> Int
-- | Create a value of UpdateImagePipelineResponse 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:
--
-- UpdateImagePipeline,
-- updateImagePipelineResponse_clientToken - The idempotency token
-- used to make this request idempotent.
--
-- UpdateImagePipeline,
-- updateImagePipelineResponse_imagePipelineArn - The Amazon
-- Resource Name (ARN) of the image pipeline that was updated by this
-- request.
--
-- $sel:requestId:UpdateImagePipelineResponse',
-- updateImagePipelineResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:UpdateImagePipelineResponse',
-- updateImagePipelineResponse_httpStatus - The response's http
-- status code.
newUpdateImagePipelineResponse :: Int -> UpdateImagePipelineResponse
-- | The idempotency token used to make this request idempotent.
updateImagePipelineResponse_clientToken :: Lens' UpdateImagePipelineResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image pipeline that was updated
-- by this request.
updateImagePipelineResponse_imagePipelineArn :: Lens' UpdateImagePipelineResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
updateImagePipelineResponse_requestId :: Lens' UpdateImagePipelineResponse (Maybe Text)
-- | The response's http status code.
updateImagePipelineResponse_httpStatus :: Lens' UpdateImagePipelineResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipeline
instance GHC.Show.Show Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipeline
instance GHC.Read.Read Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipeline
instance GHC.Classes.Eq Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipeline
instance GHC.Generics.Generic Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipelineResponse
instance GHC.Show.Show Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipelineResponse
instance GHC.Read.Read Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipelineResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipelineResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipeline
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipelineResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipeline
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipeline
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipeline
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipeline
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipeline
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.UpdateImagePipeline.UpdateImagePipeline
-- | Updates a new infrastructure configuration. An infrastructure
-- configuration defines the environment in which your image will be
-- built and tested.
module Amazonka.ImageBuilder.UpdateInfrastructureConfiguration
-- | See: newUpdateInfrastructureConfiguration smart
-- constructor.
data UpdateInfrastructureConfiguration
UpdateInfrastructureConfiguration' :: Maybe Text -> Maybe InstanceMetadataOptions -> Maybe [Text] -> Maybe Text -> Maybe Logging -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Bool -> Text -> Text -> Text -> UpdateInfrastructureConfiguration
-- | The description of the infrastructure configuration.
[$sel:description:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Maybe Text
-- | The instance metadata options that you can set for the HTTP requests
-- that pipeline builds use to launch EC2 build and test instances. For
-- more information about instance metadata options, see one of the
-- following links:
--
--
[$sel:instanceMetadataOptions:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Maybe InstanceMetadataOptions
-- | The instance types of the infrastructure configuration. You can
-- specify one or more instance types to use for this build. The service
-- will pick one of these instance types based on availability.
[$sel:instanceTypes:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Maybe [Text]
-- | The key pair of the infrastructure configuration. You can use this to
-- log on to and debug the instance used to create your image.
[$sel:keyPair:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Maybe Text
-- | The logging configuration of the infrastructure configuration.
[$sel:logging:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Maybe Logging
-- | The tags attached to the resource created by Image Builder.
[$sel:resourceTags:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Maybe (HashMap Text Text)
-- | The security group IDs to associate with the instance used to
-- customize your Amazon EC2 AMI.
[$sel:securityGroupIds:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Maybe [Text]
-- | The Amazon Resource Name (ARN) for the SNS topic to which we send
-- image build event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
[$sel:snsTopicArn:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Maybe Text
-- | The subnet ID to place the instance used to customize your Amazon EC2
-- AMI in.
[$sel:subnetId:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Maybe Text
-- | The terminate instance on failure setting of the infrastructure
-- configuration. Set to false if you want Image Builder to retain the
-- instance used to configure your AMI if the build or test phase of your
-- workflow fails.
[$sel:terminateInstanceOnFailure:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Maybe Bool
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that you want to update.
[$sel:infrastructureConfigurationArn:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Text
-- | The instance profile to associate with the instance used to customize
-- your Amazon EC2 AMI.
[$sel:instanceProfileName:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Text
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:UpdateInfrastructureConfiguration'] :: UpdateInfrastructureConfiguration -> Text
-- | Create a value of UpdateInfrastructureConfiguration 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:
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_description - The description
-- of the infrastructure configuration.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_instanceMetadataOptions - The
-- instance metadata options that you can set for the HTTP requests that
-- pipeline builds use to launch EC2 build and test instances. For more
-- information about instance metadata options, see one of the following
-- links:
--
--
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_instanceTypes - The instance
-- types of the infrastructure configuration. You can specify one or more
-- instance types to use for this build. The service will pick one of
-- these instance types based on availability.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_keyPair - The key pair of the
-- infrastructure configuration. You can use this to log on to and debug
-- the instance used to create your image.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_logging - The logging
-- configuration of the infrastructure configuration.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_resourceTags - The tags
-- attached to the resource created by Image Builder.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_securityGroupIds - The
-- security group IDs to associate with the instance used to customize
-- your Amazon EC2 AMI.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_snsTopicArn - The Amazon
-- Resource Name (ARN) for the SNS topic to which we send image build
-- event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_subnetId - The subnet ID to
-- place the instance used to customize your Amazon EC2 AMI in.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_terminateInstanceOnFailure -
-- The terminate instance on failure setting of the infrastructure
-- configuration. Set to false if you want Image Builder to retain the
-- instance used to configure your AMI if the build or test phase of your
-- workflow fails.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- that you want to update.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_instanceProfileName - The
-- instance profile to associate with the instance used to customize your
-- Amazon EC2 AMI.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_clientToken - The idempotency
-- token used to make this request idempotent.
newUpdateInfrastructureConfiguration :: Text -> Text -> Text -> UpdateInfrastructureConfiguration
-- | The description of the infrastructure configuration.
updateInfrastructureConfiguration_description :: Lens' UpdateInfrastructureConfiguration (Maybe Text)
-- | The instance metadata options that you can set for the HTTP requests
-- that pipeline builds use to launch EC2 build and test instances. For
-- more information about instance metadata options, see one of the
-- following links:
--
--
updateInfrastructureConfiguration_instanceMetadataOptions :: Lens' UpdateInfrastructureConfiguration (Maybe InstanceMetadataOptions)
-- | The instance types of the infrastructure configuration. You can
-- specify one or more instance types to use for this build. The service
-- will pick one of these instance types based on availability.
updateInfrastructureConfiguration_instanceTypes :: Lens' UpdateInfrastructureConfiguration (Maybe [Text])
-- | The key pair of the infrastructure configuration. You can use this to
-- log on to and debug the instance used to create your image.
updateInfrastructureConfiguration_keyPair :: Lens' UpdateInfrastructureConfiguration (Maybe Text)
-- | The logging configuration of the infrastructure configuration.
updateInfrastructureConfiguration_logging :: Lens' UpdateInfrastructureConfiguration (Maybe Logging)
-- | The tags attached to the resource created by Image Builder.
updateInfrastructureConfiguration_resourceTags :: Lens' UpdateInfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The security group IDs to associate with the instance used to
-- customize your Amazon EC2 AMI.
updateInfrastructureConfiguration_securityGroupIds :: Lens' UpdateInfrastructureConfiguration (Maybe [Text])
-- | The Amazon Resource Name (ARN) for the SNS topic to which we send
-- image build event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
updateInfrastructureConfiguration_snsTopicArn :: Lens' UpdateInfrastructureConfiguration (Maybe Text)
-- | The subnet ID to place the instance used to customize your Amazon EC2
-- AMI in.
updateInfrastructureConfiguration_subnetId :: Lens' UpdateInfrastructureConfiguration (Maybe Text)
-- | The terminate instance on failure setting of the infrastructure
-- configuration. Set to false if you want Image Builder to retain the
-- instance used to configure your AMI if the build or test phase of your
-- workflow fails.
updateInfrastructureConfiguration_terminateInstanceOnFailure :: Lens' UpdateInfrastructureConfiguration (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that you want to update.
updateInfrastructureConfiguration_infrastructureConfigurationArn :: Lens' UpdateInfrastructureConfiguration Text
-- | The instance profile to associate with the instance used to customize
-- your Amazon EC2 AMI.
updateInfrastructureConfiguration_instanceProfileName :: Lens' UpdateInfrastructureConfiguration Text
-- | The idempotency token used to make this request idempotent.
updateInfrastructureConfiguration_clientToken :: Lens' UpdateInfrastructureConfiguration Text
-- | See: newUpdateInfrastructureConfigurationResponse smart
-- constructor.
data UpdateInfrastructureConfigurationResponse
UpdateInfrastructureConfigurationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> UpdateInfrastructureConfigurationResponse
-- | The idempotency token used to make this request idempotent.
[$sel:clientToken:UpdateInfrastructureConfigurationResponse'] :: UpdateInfrastructureConfigurationResponse -> Maybe Text
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was updated by this request.
[$sel:infrastructureConfigurationArn:UpdateInfrastructureConfigurationResponse'] :: UpdateInfrastructureConfigurationResponse -> Maybe Text
-- | The request ID that uniquely identifies this request.
[$sel:requestId:UpdateInfrastructureConfigurationResponse'] :: UpdateInfrastructureConfigurationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:UpdateInfrastructureConfigurationResponse'] :: UpdateInfrastructureConfigurationResponse -> Int
-- | Create a value of UpdateInfrastructureConfigurationResponse
-- 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:
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfigurationResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfigurationResponse_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was updated by this request.
--
-- $sel:requestId:UpdateInfrastructureConfigurationResponse',
-- updateInfrastructureConfigurationResponse_requestId - The
-- request ID that uniquely identifies this request.
--
-- $sel:httpStatus:UpdateInfrastructureConfigurationResponse',
-- updateInfrastructureConfigurationResponse_httpStatus - The
-- response's http status code.
newUpdateInfrastructureConfigurationResponse :: Int -> UpdateInfrastructureConfigurationResponse
-- | The idempotency token used to make this request idempotent.
updateInfrastructureConfigurationResponse_clientToken :: Lens' UpdateInfrastructureConfigurationResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was updated by this request.
updateInfrastructureConfigurationResponse_infrastructureConfigurationArn :: Lens' UpdateInfrastructureConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
updateInfrastructureConfigurationResponse_requestId :: Lens' UpdateInfrastructureConfigurationResponse (Maybe Text)
-- | The response's http status code.
updateInfrastructureConfigurationResponse_httpStatus :: Lens' UpdateInfrastructureConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfiguration
instance GHC.Show.Show Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfiguration
instance GHC.Read.Read Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfiguration
instance GHC.Classes.Eq Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfiguration
instance GHC.Generics.Generic Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfigurationResponse
instance GHC.Show.Show Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfigurationResponse
instance GHC.Read.Read Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfigurationResponse
instance GHC.Classes.Eq Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfiguration
instance Control.DeepSeq.NFData Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.ImageBuilder.UpdateInfrastructureConfiguration.UpdateInfrastructureConfiguration
module Amazonka.ImageBuilder.Lens
-- | The Amazon Resource Name (ARN) of the image whose creation you want to
-- cancel.
cancelImageCreation_imageBuildVersionArn :: Lens' CancelImageCreation Text
-- | Unique, case-sensitive identifier you provide to ensure idempotency of
-- the request. For more information, see Ensuring idempotency in
-- the Amazon EC2 API Reference.
cancelImageCreation_clientToken :: Lens' CancelImageCreation Text
-- | The idempotency token that was used for this request.
cancelImageCreationResponse_clientToken :: Lens' CancelImageCreationResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image whose creation has been
-- cancelled.
cancelImageCreationResponse_imageBuildVersionArn :: Lens' CancelImageCreationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
cancelImageCreationResponse_requestId :: Lens' CancelImageCreationResponse (Maybe Text)
-- | The response's http status code.
cancelImageCreationResponse_httpStatus :: Lens' CancelImageCreationResponse Int
-- | The change description of the component. Describes what change has
-- been made in this version, or what makes this version different from
-- other versions of this component.
createComponent_changeDescription :: Lens' CreateComponent (Maybe Text)
-- | Component data contains inline YAML document content for the
-- component. Alternatively, you can specify the uri of a YAML
-- document file stored in Amazon S3. However, you cannot specify both
-- properties.
createComponent_data :: Lens' CreateComponent (Maybe Text)
-- | The description of the component. Describes the contents of the
-- component.
createComponent_description :: Lens' CreateComponent (Maybe Text)
-- | The ID of the KMS key that should be used to encrypt this component.
createComponent_kmsKeyId :: Lens' CreateComponent (Maybe Text)
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
createComponent_supportedOsVersions :: Lens' CreateComponent (Maybe (NonEmpty Text))
-- | The tags of the component.
createComponent_tags :: Lens' CreateComponent (Maybe (HashMap Text Text))
-- | The uri of a YAML component document file. This must be an S3
-- URL (s3://bucket/key), and the requester must have permission
-- to access the S3 bucket it points to. If you use Amazon S3, you can
-- specify component content up to your service quota.
--
-- Alternatively, you can specify the YAML document inline, using the
-- component data property. You cannot specify both properties.
createComponent_uri :: Lens' CreateComponent (Maybe Text)
-- | The name of the component.
createComponent_name :: Lens' CreateComponent Text
-- | The semantic version of the component. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
createComponent_semanticVersion :: Lens' CreateComponent Text
-- | The platform of the component.
createComponent_platform :: Lens' CreateComponent Platform
-- | The idempotency token of the component.
createComponent_clientToken :: Lens' CreateComponent Text
-- | The idempotency token used to make this request idempotent.
createComponentResponse_clientToken :: Lens' CreateComponentResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the component that was created by
-- this request.
createComponentResponse_componentBuildVersionArn :: Lens' CreateComponentResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createComponentResponse_requestId :: Lens' CreateComponentResponse (Maybe Text)
-- | The response's http status code.
createComponentResponse_httpStatus :: Lens' CreateComponentResponse Int
-- | The description of the container recipe.
createContainerRecipe_description :: Lens' CreateContainerRecipe (Maybe Text)
-- | The Dockerfile template used to build your image as an inline data
-- blob.
createContainerRecipe_dockerfileTemplateData :: Lens' CreateContainerRecipe (Maybe Text)
-- | The Amazon S3 URI for the Dockerfile that will be used to build your
-- container image.
createContainerRecipe_dockerfileTemplateUri :: Lens' CreateContainerRecipe (Maybe Text)
-- | Specifies the operating system version for the base image.
createContainerRecipe_imageOsVersionOverride :: Lens' CreateContainerRecipe (Maybe Text)
-- | A group of options that can be used to configure an instance for
-- building and testing container images.
createContainerRecipe_instanceConfiguration :: Lens' CreateContainerRecipe (Maybe InstanceConfiguration)
-- | Identifies which KMS key is used to encrypt the container image.
createContainerRecipe_kmsKeyId :: Lens' CreateContainerRecipe (Maybe Text)
-- | Specifies the operating system platform when you use a custom base
-- image.
createContainerRecipe_platformOverride :: Lens' CreateContainerRecipe (Maybe Platform)
-- | Tags that are attached to the container recipe.
createContainerRecipe_tags :: Lens' CreateContainerRecipe (Maybe (HashMap Text Text))
-- | The working directory for use during build and test workflows.
createContainerRecipe_workingDirectory :: Lens' CreateContainerRecipe (Maybe Text)
-- | The type of container to create.
createContainerRecipe_containerType :: Lens' CreateContainerRecipe ContainerType
-- | The name of the container recipe.
createContainerRecipe_name :: Lens' CreateContainerRecipe Text
-- | The semantic version of the container recipe. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
createContainerRecipe_semanticVersion :: Lens' CreateContainerRecipe Text
-- | Components for build and test that are included in the container
-- recipe.
createContainerRecipe_components :: Lens' CreateContainerRecipe (NonEmpty ComponentConfiguration)
-- | The base image for the container recipe.
createContainerRecipe_parentImage :: Lens' CreateContainerRecipe Text
-- | The destination repository for the container image.
createContainerRecipe_targetRepository :: Lens' CreateContainerRecipe TargetContainerRepository
-- | The client token used to make this request idempotent.
createContainerRecipe_clientToken :: Lens' CreateContainerRecipe Text
-- | The client token used to make this request idempotent.
createContainerRecipeResponse_clientToken :: Lens' CreateContainerRecipeResponse (Maybe Text)
-- | Returns the Amazon Resource Name (ARN) of the container recipe that
-- the request created.
createContainerRecipeResponse_containerRecipeArn :: Lens' CreateContainerRecipeResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createContainerRecipeResponse_requestId :: Lens' CreateContainerRecipeResponse (Maybe Text)
-- | The response's http status code.
createContainerRecipeResponse_httpStatus :: Lens' CreateContainerRecipeResponse Int
-- | The description of the distribution configuration.
createDistributionConfiguration_description :: Lens' CreateDistributionConfiguration (Maybe Text)
-- | The tags of the distribution configuration.
createDistributionConfiguration_tags :: Lens' CreateDistributionConfiguration (Maybe (HashMap Text Text))
-- | The name of the distribution configuration.
createDistributionConfiguration_name :: Lens' CreateDistributionConfiguration Text
-- | The distributions of the distribution configuration.
createDistributionConfiguration_distributions :: Lens' CreateDistributionConfiguration [Distribution]
-- | The idempotency token of the distribution configuration.
createDistributionConfiguration_clientToken :: Lens' CreateDistributionConfiguration Text
-- | The idempotency token used to make this request idempotent.
createDistributionConfigurationResponse_clientToken :: Lens' CreateDistributionConfigurationResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- was created by this request.
createDistributionConfigurationResponse_distributionConfigurationArn :: Lens' CreateDistributionConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createDistributionConfigurationResponse_requestId :: Lens' CreateDistributionConfigurationResponse (Maybe Text)
-- | The response's http status code.
createDistributionConfigurationResponse_httpStatus :: Lens' CreateDistributionConfigurationResponse Int
-- | The Amazon Resource Name (ARN) of the container recipe that defines
-- how images are configured and tested.
createImage_containerRecipeArn :: Lens' CreateImage (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- defines and configures the outputs of your pipeline.
createImage_distributionConfigurationArn :: Lens' CreateImage (Maybe Text)
-- | 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.
createImage_enhancedImageMetadataEnabled :: Lens' CreateImage (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the image recipe that defines how
-- images are configured, tested, and assessed.
createImage_imageRecipeArn :: Lens' CreateImage (Maybe Text)
-- | The image tests configuration of the image.
createImage_imageTestsConfiguration :: Lens' CreateImage (Maybe ImageTestsConfiguration)
-- | The tags of the image.
createImage_tags :: Lens' CreateImage (Maybe (HashMap Text Text))
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that defines the environment in which your image will be built and
-- tested.
createImage_infrastructureConfigurationArn :: Lens' CreateImage Text
-- | The idempotency token used to make this request idempotent.
createImage_clientToken :: Lens' CreateImage Text
-- | The idempotency token used to make this request idempotent.
createImageResponse_clientToken :: Lens' CreateImageResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image that was created by this
-- request.
createImageResponse_imageBuildVersionArn :: Lens' CreateImageResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createImageResponse_requestId :: Lens' CreateImageResponse (Maybe Text)
-- | The response's http status code.
createImageResponse_httpStatus :: Lens' CreateImageResponse Int
-- | The Amazon Resource Name (ARN) of the container recipe that is used to
-- configure images created by this container pipeline.
createImagePipeline_containerRecipeArn :: Lens' CreateImagePipeline (Maybe Text)
-- | The description of the image pipeline.
createImagePipeline_description :: Lens' CreateImagePipeline (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- will be used to configure and distribute images created by this image
-- pipeline.
createImagePipeline_distributionConfigurationArn :: Lens' CreateImagePipeline (Maybe Text)
-- | 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_enhancedImageMetadataEnabled :: Lens' CreateImagePipeline (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the image recipe that will be used
-- to configure images created by this image pipeline.
createImagePipeline_imageRecipeArn :: Lens' CreateImagePipeline (Maybe Text)
-- | The image test configuration of the image pipeline.
createImagePipeline_imageTestsConfiguration :: Lens' CreateImagePipeline (Maybe ImageTestsConfiguration)
-- | The schedule of the image pipeline.
createImagePipeline_schedule :: Lens' CreateImagePipeline (Maybe Schedule)
-- | The status of the image pipeline.
createImagePipeline_status :: Lens' CreateImagePipeline (Maybe PipelineStatus)
-- | The tags of the image pipeline.
createImagePipeline_tags :: Lens' CreateImagePipeline (Maybe (HashMap Text Text))
-- | The name of the image pipeline.
createImagePipeline_name :: Lens' CreateImagePipeline Text
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that will be used to build images created by this image pipeline.
createImagePipeline_infrastructureConfigurationArn :: Lens' CreateImagePipeline Text
-- | The idempotency token used to make this request idempotent.
createImagePipeline_clientToken :: Lens' CreateImagePipeline Text
-- | The idempotency token used to make this request idempotent.
createImagePipelineResponse_clientToken :: Lens' CreateImagePipelineResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image pipeline that was created
-- by this request.
createImagePipelineResponse_imagePipelineArn :: Lens' CreateImagePipelineResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createImagePipelineResponse_requestId :: Lens' CreateImagePipelineResponse (Maybe Text)
-- | The response's http status code.
createImagePipelineResponse_httpStatus :: Lens' CreateImagePipelineResponse Int
-- | Specify additional settings and launch scripts for your build
-- instances.
createImageRecipe_additionalInstanceConfiguration :: Lens' CreateImageRecipe (Maybe AdditionalInstanceConfiguration)
-- | The block device mappings of the image recipe.
createImageRecipe_blockDeviceMappings :: Lens' CreateImageRecipe (Maybe [InstanceBlockDeviceMapping])
-- | The description of the image recipe.
createImageRecipe_description :: Lens' CreateImageRecipe (Maybe Text)
-- | The tags of the image recipe.
createImageRecipe_tags :: Lens' CreateImageRecipe (Maybe (HashMap Text Text))
-- | The working directory used during build and test workflows.
createImageRecipe_workingDirectory :: Lens' CreateImageRecipe (Maybe Text)
-- | The name of the image recipe.
createImageRecipe_name :: Lens' CreateImageRecipe Text
-- | The semantic version of the image recipe. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
createImageRecipe_semanticVersion :: Lens' CreateImageRecipe Text
-- | The components of the image recipe.
createImageRecipe_components :: Lens' CreateImageRecipe (NonEmpty ComponentConfiguration)
-- | The base image of the image recipe. The value of the string can be the
-- ARN of the base image or an AMI ID. The format for the ARN follows
-- this example:
-- arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x.
-- You can provide the specific version that you want to use, or you can
-- use a wildcard in all of the fields. If you enter an AMI ID for the
-- string value, you must have access to the AMI, and the AMI must be in
-- the same Region in which you are using Image Builder.
createImageRecipe_parentImage :: Lens' CreateImageRecipe Text
-- | The idempotency token used to make this request idempotent.
createImageRecipe_clientToken :: Lens' CreateImageRecipe Text
-- | The idempotency token used to make this request idempotent.
createImageRecipeResponse_clientToken :: Lens' CreateImageRecipeResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image recipe that was created by
-- this request.
createImageRecipeResponse_imageRecipeArn :: Lens' CreateImageRecipeResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createImageRecipeResponse_requestId :: Lens' CreateImageRecipeResponse (Maybe Text)
-- | The response's http status code.
createImageRecipeResponse_httpStatus :: Lens' CreateImageRecipeResponse Int
-- | The description of the infrastructure configuration.
createInfrastructureConfiguration_description :: Lens' CreateInfrastructureConfiguration (Maybe Text)
-- | The instance metadata options that you can set for the HTTP requests
-- that pipeline builds use to launch EC2 build and test instances.
createInfrastructureConfiguration_instanceMetadataOptions :: Lens' CreateInfrastructureConfiguration (Maybe InstanceMetadataOptions)
-- | The instance types of the infrastructure configuration. You can
-- specify one or more instance types to use for this build. The service
-- will pick one of these instance types based on availability.
createInfrastructureConfiguration_instanceTypes :: Lens' CreateInfrastructureConfiguration (Maybe [Text])
-- | The key pair of the infrastructure configuration. You can use this to
-- log on to and debug the instance used to create your image.
createInfrastructureConfiguration_keyPair :: Lens' CreateInfrastructureConfiguration (Maybe Text)
-- | The logging configuration of the infrastructure configuration.
createInfrastructureConfiguration_logging :: Lens' CreateInfrastructureConfiguration (Maybe Logging)
-- | The tags attached to the resource created by Image Builder.
createInfrastructureConfiguration_resourceTags :: Lens' CreateInfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The security group IDs to associate with the instance used to
-- customize your Amazon EC2 AMI.
createInfrastructureConfiguration_securityGroupIds :: Lens' CreateInfrastructureConfiguration (Maybe [Text])
-- | The Amazon Resource Name (ARN) for the SNS topic to which we send
-- image build event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
createInfrastructureConfiguration_snsTopicArn :: Lens' CreateInfrastructureConfiguration (Maybe Text)
-- | The subnet ID in which to place the instance used to customize your
-- Amazon EC2 AMI.
createInfrastructureConfiguration_subnetId :: Lens' CreateInfrastructureConfiguration (Maybe Text)
-- | The tags of the infrastructure configuration.
createInfrastructureConfiguration_tags :: Lens' CreateInfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The terminate instance on failure setting of the infrastructure
-- configuration. Set to false if you want Image Builder to retain the
-- instance used to configure your AMI if the build or test phase of your
-- workflow fails.
createInfrastructureConfiguration_terminateInstanceOnFailure :: Lens' CreateInfrastructureConfiguration (Maybe Bool)
-- | The name of the infrastructure configuration.
createInfrastructureConfiguration_name :: Lens' CreateInfrastructureConfiguration Text
-- | The instance profile to associate with the instance used to customize
-- your Amazon EC2 AMI.
createInfrastructureConfiguration_instanceProfileName :: Lens' CreateInfrastructureConfiguration Text
-- | The idempotency token used to make this request idempotent.
createInfrastructureConfiguration_clientToken :: Lens' CreateInfrastructureConfiguration Text
-- | The idempotency token used to make this request idempotent.
createInfrastructureConfigurationResponse_clientToken :: Lens' CreateInfrastructureConfigurationResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was created by this request.
createInfrastructureConfigurationResponse_infrastructureConfigurationArn :: Lens' CreateInfrastructureConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
createInfrastructureConfigurationResponse_requestId :: Lens' CreateInfrastructureConfigurationResponse (Maybe Text)
-- | The response's http status code.
createInfrastructureConfigurationResponse_httpStatus :: Lens' CreateInfrastructureConfigurationResponse Int
-- | The Amazon Resource Name (ARN) of the component build version to
-- delete.
deleteComponent_componentBuildVersionArn :: Lens' DeleteComponent Text
-- | The Amazon Resource Name (ARN) of the component build version that was
-- deleted.
deleteComponentResponse_componentBuildVersionArn :: Lens' DeleteComponentResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteComponentResponse_requestId :: Lens' DeleteComponentResponse (Maybe Text)
-- | The response's http status code.
deleteComponentResponse_httpStatus :: Lens' DeleteComponentResponse Int
-- | The Amazon Resource Name (ARN) of the container recipe to delete.
deleteContainerRecipe_containerRecipeArn :: Lens' DeleteContainerRecipe Text
-- | The Amazon Resource Name (ARN) of the container recipe that was
-- deleted.
deleteContainerRecipeResponse_containerRecipeArn :: Lens' DeleteContainerRecipeResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteContainerRecipeResponse_requestId :: Lens' DeleteContainerRecipeResponse (Maybe Text)
-- | The response's http status code.
deleteContainerRecipeResponse_httpStatus :: Lens' DeleteContainerRecipeResponse Int
-- | The Amazon Resource Name (ARN) of the distribution configuration to
-- delete.
deleteDistributionConfiguration_distributionConfigurationArn :: Lens' DeleteDistributionConfiguration Text
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- was deleted.
deleteDistributionConfigurationResponse_distributionConfigurationArn :: Lens' DeleteDistributionConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteDistributionConfigurationResponse_requestId :: Lens' DeleteDistributionConfigurationResponse (Maybe Text)
-- | The response's http status code.
deleteDistributionConfigurationResponse_httpStatus :: Lens' DeleteDistributionConfigurationResponse Int
-- | The Amazon Resource Name (ARN) of the Image Builder image resource to
-- delete.
deleteImage_imageBuildVersionArn :: Lens' DeleteImage Text
-- | The Amazon Resource Name (ARN) of the Image Builder image resource
-- that was deleted.
deleteImageResponse_imageBuildVersionArn :: Lens' DeleteImageResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteImageResponse_requestId :: Lens' DeleteImageResponse (Maybe Text)
-- | The response's http status code.
deleteImageResponse_httpStatus :: Lens' DeleteImageResponse Int
-- | The Amazon Resource Name (ARN) of the image pipeline to delete.
deleteImagePipeline_imagePipelineArn :: Lens' DeleteImagePipeline Text
-- | The Amazon Resource Name (ARN) of the image pipeline that was deleted.
deleteImagePipelineResponse_imagePipelineArn :: Lens' DeleteImagePipelineResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteImagePipelineResponse_requestId :: Lens' DeleteImagePipelineResponse (Maybe Text)
-- | The response's http status code.
deleteImagePipelineResponse_httpStatus :: Lens' DeleteImagePipelineResponse Int
-- | The Amazon Resource Name (ARN) of the image recipe to delete.
deleteImageRecipe_imageRecipeArn :: Lens' DeleteImageRecipe Text
-- | The Amazon Resource Name (ARN) of the image recipe that was deleted.
deleteImageRecipeResponse_imageRecipeArn :: Lens' DeleteImageRecipeResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteImageRecipeResponse_requestId :: Lens' DeleteImageRecipeResponse (Maybe Text)
-- | The response's http status code.
deleteImageRecipeResponse_httpStatus :: Lens' DeleteImageRecipeResponse Int
-- | The Amazon Resource Name (ARN) of the infrastructure configuration to
-- delete.
deleteInfrastructureConfiguration_infrastructureConfigurationArn :: Lens' DeleteInfrastructureConfiguration Text
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was deleted.
deleteInfrastructureConfigurationResponse_infrastructureConfigurationArn :: Lens' DeleteInfrastructureConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
deleteInfrastructureConfigurationResponse_requestId :: Lens' DeleteInfrastructureConfigurationResponse (Maybe Text)
-- | The response's http status code.
deleteInfrastructureConfigurationResponse_httpStatus :: Lens' DeleteInfrastructureConfigurationResponse Int
-- | The Amazon Resource Name (ARN) of the component that you want to
-- retrieve. Regex requires "/\d+$" suffix.
getComponent_componentBuildVersionArn :: Lens' GetComponent Text
-- | The component object associated with the specified ARN.
getComponentResponse_component :: Lens' GetComponentResponse (Maybe Component)
-- | The request ID that uniquely identifies this request.
getComponentResponse_requestId :: Lens' GetComponentResponse (Maybe Text)
-- | The response's http status code.
getComponentResponse_httpStatus :: Lens' GetComponentResponse Int
-- | The Amazon Resource Name (ARN) of the component whose policy you want
-- to retrieve.
getComponentPolicy_componentArn :: Lens' GetComponentPolicy Text
-- | The component policy.
getComponentPolicyResponse_policy :: Lens' GetComponentPolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
getComponentPolicyResponse_requestId :: Lens' GetComponentPolicyResponse (Maybe Text)
-- | The response's http status code.
getComponentPolicyResponse_httpStatus :: Lens' GetComponentPolicyResponse Int
-- | The Amazon Resource Name (ARN) of the container recipe to retrieve.
getContainerRecipe_containerRecipeArn :: Lens' GetContainerRecipe Text
-- | The container recipe object that is returned.
getContainerRecipeResponse_containerRecipe :: Lens' GetContainerRecipeResponse (Maybe ContainerRecipe)
-- | The request ID that uniquely identifies this request.
getContainerRecipeResponse_requestId :: Lens' GetContainerRecipeResponse (Maybe Text)
-- | The response's http status code.
getContainerRecipeResponse_httpStatus :: Lens' GetContainerRecipeResponse Int
-- | The Amazon Resource Name (ARN) of the container recipe for the policy
-- being requested.
getContainerRecipePolicy_containerRecipeArn :: Lens' GetContainerRecipePolicy Text
-- | The container recipe policy object that is returned.
getContainerRecipePolicyResponse_policy :: Lens' GetContainerRecipePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
getContainerRecipePolicyResponse_requestId :: Lens' GetContainerRecipePolicyResponse (Maybe Text)
-- | The response's http status code.
getContainerRecipePolicyResponse_httpStatus :: Lens' GetContainerRecipePolicyResponse Int
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- you want to retrieve.
getDistributionConfiguration_distributionConfigurationArn :: Lens' GetDistributionConfiguration Text
-- | The distribution configuration object.
getDistributionConfigurationResponse_distributionConfiguration :: Lens' GetDistributionConfigurationResponse (Maybe DistributionConfiguration)
-- | The request ID that uniquely identifies this request.
getDistributionConfigurationResponse_requestId :: Lens' GetDistributionConfigurationResponse (Maybe Text)
-- | The response's http status code.
getDistributionConfigurationResponse_httpStatus :: Lens' GetDistributionConfigurationResponse Int
-- | The Amazon Resource Name (ARN) of the image that you want to retrieve.
getImage_imageBuildVersionArn :: Lens' GetImage Text
-- | The image object.
getImageResponse_image :: Lens' GetImageResponse (Maybe Image)
-- | The request ID that uniquely identifies this request.
getImageResponse_requestId :: Lens' GetImageResponse (Maybe Text)
-- | The response's http status code.
getImageResponse_httpStatus :: Lens' GetImageResponse Int
-- | The Amazon Resource Name (ARN) of the image pipeline that you want to
-- retrieve.
getImagePipeline_imagePipelineArn :: Lens' GetImagePipeline Text
-- | The image pipeline object.
getImagePipelineResponse_imagePipeline :: Lens' GetImagePipelineResponse (Maybe ImagePipeline)
-- | The request ID that uniquely identifies this request.
getImagePipelineResponse_requestId :: Lens' GetImagePipelineResponse (Maybe Text)
-- | The response's http status code.
getImagePipelineResponse_httpStatus :: Lens' GetImagePipelineResponse Int
-- | The Amazon Resource Name (ARN) of the image whose policy you want to
-- retrieve.
getImagePolicy_imageArn :: Lens' GetImagePolicy Text
-- | The image policy object.
getImagePolicyResponse_policy :: Lens' GetImagePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
getImagePolicyResponse_requestId :: Lens' GetImagePolicyResponse (Maybe Text)
-- | The response's http status code.
getImagePolicyResponse_httpStatus :: Lens' GetImagePolicyResponse Int
-- | The Amazon Resource Name (ARN) of the image recipe that you want to
-- retrieve.
getImageRecipe_imageRecipeArn :: Lens' GetImageRecipe Text
-- | The image recipe object.
getImageRecipeResponse_imageRecipe :: Lens' GetImageRecipeResponse (Maybe ImageRecipe)
-- | The request ID that uniquely identifies this request.
getImageRecipeResponse_requestId :: Lens' GetImageRecipeResponse (Maybe Text)
-- | The response's http status code.
getImageRecipeResponse_httpStatus :: Lens' GetImageRecipeResponse Int
-- | The Amazon Resource Name (ARN) of the image recipe whose policy you
-- want to retrieve.
getImageRecipePolicy_imageRecipeArn :: Lens' GetImageRecipePolicy Text
-- | The image recipe policy object.
getImageRecipePolicyResponse_policy :: Lens' GetImageRecipePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
getImageRecipePolicyResponse_requestId :: Lens' GetImageRecipePolicyResponse (Maybe Text)
-- | The response's http status code.
getImageRecipePolicyResponse_httpStatus :: Lens' GetImageRecipePolicyResponse Int
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that you want to retrieve.
getInfrastructureConfiguration_infrastructureConfigurationArn :: Lens' GetInfrastructureConfiguration Text
-- | The infrastructure configuration object.
getInfrastructureConfigurationResponse_infrastructureConfiguration :: Lens' GetInfrastructureConfigurationResponse (Maybe InfrastructureConfiguration)
-- | The request ID that uniquely identifies this request.
getInfrastructureConfigurationResponse_requestId :: Lens' GetInfrastructureConfigurationResponse (Maybe Text)
-- | The response's http status code.
getInfrastructureConfigurationResponse_httpStatus :: Lens' GetInfrastructureConfigurationResponse Int
-- | The change description of the component. Describes what change has
-- been made in this version, or what makes this version different from
-- other versions of this component.
importComponent_changeDescription :: Lens' ImportComponent (Maybe Text)
-- | The data of the component. Used to specify the data inline. Either
-- data or uri can be used to specify the data within
-- the component.
importComponent_data :: Lens' ImportComponent (Maybe Text)
-- | The description of the component. Describes the contents of the
-- component.
importComponent_description :: Lens' ImportComponent (Maybe Text)
-- | The ID of the KMS key that should be used to encrypt this component.
importComponent_kmsKeyId :: Lens' ImportComponent (Maybe Text)
-- | The tags of the component.
importComponent_tags :: Lens' ImportComponent (Maybe (HashMap Text Text))
-- | The uri of the component. Must be an Amazon S3 URL and the requester
-- must have permission to access the Amazon S3 bucket. If you use Amazon
-- S3, you can specify component content up to your service quota. Either
-- data or uri can be used to specify the data within
-- the component.
importComponent_uri :: Lens' ImportComponent (Maybe Text)
-- | The name of the component.
importComponent_name :: Lens' ImportComponent Text
-- | The semantic version of the component. This version follows the
-- semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
importComponent_semanticVersion :: Lens' ImportComponent Text
-- | The type of the component denotes whether the component is used to
-- build the image, or only to test it.
importComponent_type :: Lens' ImportComponent ComponentType
-- | The format of the resource that you want to import as a component.
importComponent_format :: Lens' ImportComponent ComponentFormat
-- | The platform of the component.
importComponent_platform :: Lens' ImportComponent Platform
-- | The idempotency token of the component.
importComponent_clientToken :: Lens' ImportComponent Text
-- | The idempotency token used to make this request idempotent.
importComponentResponse_clientToken :: Lens' ImportComponentResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the imported component.
importComponentResponse_componentBuildVersionArn :: Lens' ImportComponentResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
importComponentResponse_requestId :: Lens' ImportComponentResponse (Maybe Text)
-- | The response's http status code.
importComponentResponse_httpStatus :: Lens' ImportComponentResponse Int
-- | The description for the base image that is created by the import
-- process.
importVmImage_description :: Lens' ImportVmImage (Maybe Text)
-- | The operating system version for the imported VM.
importVmImage_osVersion :: Lens' ImportVmImage (Maybe Text)
-- | Tags that are attached to the import resources.
importVmImage_tags :: Lens' ImportVmImage (Maybe (HashMap Text Text))
-- | The name of the base image that is created by the import process.
importVmImage_name :: Lens' ImportVmImage Text
-- | The semantic version to attach to the base image that was created
-- during the import process. This version follows the semantic version
-- syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
importVmImage_semanticVersion :: Lens' ImportVmImage Text
-- | The operating system platform for the imported VM.
importVmImage_platform :: Lens' ImportVmImage Platform
-- | The importTaskId (API) or ImportTaskId (CLI) from
-- the Amazon EC2 VM import process. Image Builder retrieves information
-- from the import process to pull in the AMI that is created from the VM
-- source as the base image for your recipe.
importVmImage_vmImportTaskId :: Lens' ImportVmImage Text
-- | Unique, case-sensitive identifier you provide to ensure idempotency of
-- the request. For more information, see Ensuring idempotency in
-- the Amazon EC2 API Reference.
importVmImage_clientToken :: Lens' ImportVmImage Text
-- | The idempotency token that was used for this request.
importVmImageResponse_clientToken :: Lens' ImportVmImageResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the AMI that was created during the
-- VM import process. This AMI is used as the base image for the recipe
-- that imported the VM.
importVmImageResponse_imageArn :: Lens' ImportVmImageResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
importVmImageResponse_requestId :: Lens' ImportVmImageResponse (Maybe Text)
-- | The response's http status code.
importVmImageResponse_httpStatus :: Lens' ImportVmImageResponse Int
-- | The maximum items to return in a request.
listComponentBuildVersions_maxResults :: Lens' ListComponentBuildVersions (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listComponentBuildVersions_nextToken :: Lens' ListComponentBuildVersions (Maybe Text)
-- | The component version Amazon Resource Name (ARN) whose versions you
-- want to list.
listComponentBuildVersions_componentVersionArn :: Lens' ListComponentBuildVersions Text
-- | The list of component summaries for the specified semantic version.
listComponentBuildVersionsResponse_componentSummaryList :: Lens' ListComponentBuildVersionsResponse (Maybe [ComponentSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listComponentBuildVersionsResponse_nextToken :: Lens' ListComponentBuildVersionsResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listComponentBuildVersionsResponse_requestId :: Lens' ListComponentBuildVersionsResponse (Maybe Text)
-- | The response's http status code.
listComponentBuildVersionsResponse_httpStatus :: Lens' ListComponentBuildVersionsResponse Int
-- | Returns the list of component build versions for the specified name.
listComponents_byName :: Lens' ListComponents (Maybe Bool)
-- | Use the following filters to streamline results:
--
--
-- description
-- name
-- platform
-- supportedOsVersion
-- type
-- version
--
listComponents_filters :: Lens' ListComponents (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listComponents_maxResults :: Lens' ListComponents (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listComponents_nextToken :: Lens' ListComponents (Maybe Text)
-- | The owner defines which components you want to list. By default, this
-- request will only show components owned by your account. You can use
-- this field to specify if you want to view components owned by
-- yourself, by Amazon, or those components that have been shared with
-- you by other customers.
listComponents_owner :: Lens' ListComponents (Maybe Ownership)
-- | The list of component semantic versions.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
listComponentsResponse_componentVersionList :: Lens' ListComponentsResponse (Maybe [ComponentVersion])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listComponentsResponse_nextToken :: Lens' ListComponentsResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listComponentsResponse_requestId :: Lens' ListComponentsResponse (Maybe Text)
-- | The response's http status code.
listComponentsResponse_httpStatus :: Lens' ListComponentsResponse Int
-- | Use the following filters to streamline results:
--
--
-- containerType
-- name
-- parentImage
-- platform
--
listContainerRecipes_filters :: Lens' ListContainerRecipes (Maybe (NonEmpty Filter))
-- | The maximum number of results to return in the list.
listContainerRecipes_maxResults :: Lens' ListContainerRecipes (Maybe Natural)
-- | Provides a token for pagination, which determines where to begin the
-- next set of results when the current set reaches the maximum for one
-- request.
listContainerRecipes_nextToken :: Lens' ListContainerRecipes (Maybe Text)
-- | Returns container recipes belonging to the specified owner, that have
-- been shared with you. You can omit this field to return container
-- recipes belonging to your account.
listContainerRecipes_owner :: Lens' ListContainerRecipes (Maybe Ownership)
-- | The list of container recipes returned for the request.
listContainerRecipesResponse_containerRecipeSummaryList :: Lens' ListContainerRecipesResponse (Maybe [ContainerRecipeSummary])
-- | The next token field is used for paginated responses. When this is not
-- empty, there are additional container recipes that the service has not
-- included in this response. Use this token with the next request to
-- retrieve additional list items.
listContainerRecipesResponse_nextToken :: Lens' ListContainerRecipesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listContainerRecipesResponse_requestId :: Lens' ListContainerRecipesResponse (Maybe Text)
-- | The response's http status code.
listContainerRecipesResponse_httpStatus :: Lens' ListContainerRecipesResponse Int
-- | You can filter on name to streamline results.
listDistributionConfigurations_filters :: Lens' ListDistributionConfigurations (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listDistributionConfigurations_maxResults :: Lens' ListDistributionConfigurations (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listDistributionConfigurations_nextToken :: Lens' ListDistributionConfigurations (Maybe Text)
-- | The list of distributions.
listDistributionConfigurationsResponse_distributionConfigurationSummaryList :: Lens' ListDistributionConfigurationsResponse (Maybe [DistributionConfigurationSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listDistributionConfigurationsResponse_nextToken :: Lens' ListDistributionConfigurationsResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listDistributionConfigurationsResponse_requestId :: Lens' ListDistributionConfigurationsResponse (Maybe Text)
-- | The response's http status code.
listDistributionConfigurationsResponse_httpStatus :: Lens' ListDistributionConfigurationsResponse Int
-- | Use the following filters to streamline results:
--
--
-- name
-- osVersion
-- platform
-- type
-- version
--
listImageBuildVersions_filters :: Lens' ListImageBuildVersions (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listImageBuildVersions_maxResults :: Lens' ListImageBuildVersions (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImageBuildVersions_nextToken :: Lens' ListImageBuildVersions (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image whose build versions you
-- want to retrieve.
listImageBuildVersions_imageVersionArn :: Lens' ListImageBuildVersions Text
-- | The list of image build versions.
listImageBuildVersionsResponse_imageSummaryList :: Lens' ListImageBuildVersionsResponse (Maybe [ImageSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listImageBuildVersionsResponse_nextToken :: Lens' ListImageBuildVersionsResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImageBuildVersionsResponse_requestId :: Lens' ListImageBuildVersionsResponse (Maybe Text)
-- | The response's http status code.
listImageBuildVersionsResponse_httpStatus :: Lens' ListImageBuildVersionsResponse Int
-- | The maxiumum number of results to return from the ListImagePackages
-- request.
listImagePackages_maxResults :: Lens' ListImagePackages (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImagePackages_nextToken :: Lens' ListImagePackages (Maybe Text)
-- | Filter results for the ListImagePackages request by the Image Build
-- Version ARN
listImagePackages_imageBuildVersionArn :: Lens' ListImagePackages Text
-- | The list of Image Packages returned in the response.
listImagePackagesResponse_imagePackageList :: Lens' ListImagePackagesResponse (Maybe [ImagePackage])
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImagePackagesResponse_nextToken :: Lens' ListImagePackagesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImagePackagesResponse_requestId :: Lens' ListImagePackagesResponse (Maybe Text)
-- | The response's http status code.
listImagePackagesResponse_httpStatus :: Lens' ListImagePackagesResponse Int
-- | Use the following filters to streamline results:
--
--
listImagePipelineImages_filters :: Lens' ListImagePipelineImages (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listImagePipelineImages_maxResults :: Lens' ListImagePipelineImages (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImagePipelineImages_nextToken :: Lens' ListImagePipelineImages (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image pipeline whose images you
-- want to view.
listImagePipelineImages_imagePipelineArn :: Lens' ListImagePipelineImages Text
-- | The list of images built by this pipeline.
listImagePipelineImagesResponse_imageSummaryList :: Lens' ListImagePipelineImagesResponse (Maybe [ImageSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listImagePipelineImagesResponse_nextToken :: Lens' ListImagePipelineImagesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImagePipelineImagesResponse_requestId :: Lens' ListImagePipelineImagesResponse (Maybe Text)
-- | The response's http status code.
listImagePipelineImagesResponse_httpStatus :: Lens' ListImagePipelineImagesResponse Int
-- | Use the following filters to streamline results:
--
--
listImagePipelines_filters :: Lens' ListImagePipelines (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listImagePipelines_maxResults :: Lens' ListImagePipelines (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImagePipelines_nextToken :: Lens' ListImagePipelines (Maybe Text)
-- | The list of image pipelines.
listImagePipelinesResponse_imagePipelineList :: Lens' ListImagePipelinesResponse (Maybe [ImagePipeline])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listImagePipelinesResponse_nextToken :: Lens' ListImagePipelinesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImagePipelinesResponse_requestId :: Lens' ListImagePipelinesResponse (Maybe Text)
-- | The response's http status code.
listImagePipelinesResponse_httpStatus :: Lens' ListImagePipelinesResponse Int
-- | Use the following filters to streamline results:
--
--
-- name
-- parentImage
-- platform
--
listImageRecipes_filters :: Lens' ListImageRecipes (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listImageRecipes_maxResults :: Lens' ListImageRecipes (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImageRecipes_nextToken :: Lens' ListImageRecipes (Maybe Text)
-- | The owner defines which image recipes you want to list. By default,
-- this request will only show image recipes owned by your account. You
-- can use this field to specify if you want to view image recipes owned
-- by yourself, by Amazon, or those image recipes that have been shared
-- with you by other customers.
listImageRecipes_owner :: Lens' ListImageRecipes (Maybe Ownership)
-- | The list of image pipelines.
listImageRecipesResponse_imageRecipeSummaryList :: Lens' ListImageRecipesResponse (Maybe [ImageRecipeSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listImageRecipesResponse_nextToken :: Lens' ListImageRecipesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImageRecipesResponse_requestId :: Lens' ListImageRecipesResponse (Maybe Text)
-- | The response's http status code.
listImageRecipesResponse_httpStatus :: Lens' ListImageRecipesResponse Int
-- | Requests a list of images with a specific recipe name.
listImages_byName :: Lens' ListImages (Maybe Bool)
-- | Use the following filters to streamline results:
--
--
-- name
-- osVersion
-- platform
-- type
-- version
--
listImages_filters :: Lens' ListImages (Maybe (NonEmpty Filter))
-- | Includes deprecated images in the response list.
listImages_includeDeprecated :: Lens' ListImages (Maybe Bool)
-- | The maximum items to return in a request.
listImages_maxResults :: Lens' ListImages (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listImages_nextToken :: Lens' ListImages (Maybe Text)
-- | The owner defines which images you want to list. By default, this
-- request will only show images owned by your account. You can use this
-- field to specify if you want to view images owned by yourself, by
-- Amazon, or those images that have been shared with you by other
-- customers.
listImages_owner :: Lens' ListImages (Maybe Ownership)
-- | The list of image semantic versions.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
listImagesResponse_imageVersionList :: Lens' ListImagesResponse (Maybe [ImageVersion])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listImagesResponse_nextToken :: Lens' ListImagesResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listImagesResponse_requestId :: Lens' ListImagesResponse (Maybe Text)
-- | The response's http status code.
listImagesResponse_httpStatus :: Lens' ListImagesResponse Int
-- | You can filter on name to streamline results.
listInfrastructureConfigurations_filters :: Lens' ListInfrastructureConfigurations (Maybe (NonEmpty Filter))
-- | The maximum items to return in a request.
listInfrastructureConfigurations_maxResults :: Lens' ListInfrastructureConfigurations (Maybe Natural)
-- | A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
listInfrastructureConfigurations_nextToken :: Lens' ListInfrastructureConfigurations (Maybe Text)
-- | The list of infrastructure configurations.
listInfrastructureConfigurationsResponse_infrastructureConfigurationSummaryList :: Lens' ListInfrastructureConfigurationsResponse (Maybe [InfrastructureConfigurationSummary])
-- | The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
listInfrastructureConfigurationsResponse_nextToken :: Lens' ListInfrastructureConfigurationsResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
listInfrastructureConfigurationsResponse_requestId :: Lens' ListInfrastructureConfigurationsResponse (Maybe Text)
-- | The response's http status code.
listInfrastructureConfigurationsResponse_httpStatus :: Lens' ListInfrastructureConfigurationsResponse Int
-- | The Amazon Resource Name (ARN) of the resource whose tags you want to
-- retrieve.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | The tags for the specified resource.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text))
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
-- | The Amazon Resource Name (ARN) of the component that this policy
-- should be applied to.
putComponentPolicy_componentArn :: Lens' PutComponentPolicy Text
-- | The policy to apply.
putComponentPolicy_policy :: Lens' PutComponentPolicy Text
-- | The Amazon Resource Name (ARN) of the component that this policy was
-- applied to.
putComponentPolicyResponse_componentArn :: Lens' PutComponentPolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
putComponentPolicyResponse_requestId :: Lens' PutComponentPolicyResponse (Maybe Text)
-- | The response's http status code.
putComponentPolicyResponse_httpStatus :: Lens' PutComponentPolicyResponse Int
-- | The Amazon Resource Name (ARN) of the container recipe that this
-- policy should be applied to.
putContainerRecipePolicy_containerRecipeArn :: Lens' PutContainerRecipePolicy Text
-- | The policy to apply to the container recipe.
putContainerRecipePolicy_policy :: Lens' PutContainerRecipePolicy Text
-- | The Amazon Resource Name (ARN) of the container recipe that this
-- policy was applied to.
putContainerRecipePolicyResponse_containerRecipeArn :: Lens' PutContainerRecipePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
putContainerRecipePolicyResponse_requestId :: Lens' PutContainerRecipePolicyResponse (Maybe Text)
-- | The response's http status code.
putContainerRecipePolicyResponse_httpStatus :: Lens' PutContainerRecipePolicyResponse Int
-- | The Amazon Resource Name (ARN) of the image that this policy should be
-- applied to.
putImagePolicy_imageArn :: Lens' PutImagePolicy Text
-- | The policy to apply.
putImagePolicy_policy :: Lens' PutImagePolicy Text
-- | The Amazon Resource Name (ARN) of the image that this policy was
-- applied to.
putImagePolicyResponse_imageArn :: Lens' PutImagePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
putImagePolicyResponse_requestId :: Lens' PutImagePolicyResponse (Maybe Text)
-- | The response's http status code.
putImagePolicyResponse_httpStatus :: Lens' PutImagePolicyResponse Int
-- | The Amazon Resource Name (ARN) of the image recipe that this policy
-- should be applied to.
putImageRecipePolicy_imageRecipeArn :: Lens' PutImageRecipePolicy Text
-- | The policy to apply.
putImageRecipePolicy_policy :: Lens' PutImageRecipePolicy Text
-- | The Amazon Resource Name (ARN) of the image recipe that this policy
-- was applied to.
putImageRecipePolicyResponse_imageRecipeArn :: Lens' PutImageRecipePolicyResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
putImageRecipePolicyResponse_requestId :: Lens' PutImageRecipePolicyResponse (Maybe Text)
-- | The response's http status code.
putImageRecipePolicyResponse_httpStatus :: Lens' PutImageRecipePolicyResponse Int
-- | The Amazon Resource Name (ARN) of the image pipeline that you want to
-- manually invoke.
startImagePipelineExecution_imagePipelineArn :: Lens' StartImagePipelineExecution Text
-- | The idempotency token used to make this request idempotent.
startImagePipelineExecution_clientToken :: Lens' StartImagePipelineExecution Text
-- | The idempotency token used to make this request idempotent.
startImagePipelineExecutionResponse_clientToken :: Lens' StartImagePipelineExecutionResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image that was created by this
-- request.
startImagePipelineExecutionResponse_imageBuildVersionArn :: Lens' StartImagePipelineExecutionResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
startImagePipelineExecutionResponse_requestId :: Lens' StartImagePipelineExecutionResponse (Maybe Text)
-- | The response's http status code.
startImagePipelineExecutionResponse_httpStatus :: Lens' StartImagePipelineExecutionResponse Int
-- | The Amazon Resource Name (ARN) of the resource that you want to tag.
tagResource_resourceArn :: Lens' TagResource Text
-- | The tags to apply to the resource.
tagResource_tags :: Lens' TagResource (HashMap Text Text)
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
-- | The Amazon Resource Name (ARN) of the resource that you want to untag.
untagResource_resourceArn :: Lens' UntagResource Text
-- | The tag keys to remove from the resource.
untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text)
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
-- | The description of the distribution configuration.
updateDistributionConfiguration_description :: Lens' UpdateDistributionConfiguration (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- you want to update.
updateDistributionConfiguration_distributionConfigurationArn :: Lens' UpdateDistributionConfiguration Text
-- | The distributions of the distribution configuration.
updateDistributionConfiguration_distributions :: Lens' UpdateDistributionConfiguration [Distribution]
-- | The idempotency token of the distribution configuration.
updateDistributionConfiguration_clientToken :: Lens' UpdateDistributionConfiguration Text
-- | The idempotency token used to make this request idempotent.
updateDistributionConfigurationResponse_clientToken :: Lens' UpdateDistributionConfigurationResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- was updated by this request.
updateDistributionConfigurationResponse_distributionConfigurationArn :: Lens' UpdateDistributionConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
updateDistributionConfigurationResponse_requestId :: Lens' UpdateDistributionConfigurationResponse (Maybe Text)
-- | The response's http status code.
updateDistributionConfigurationResponse_httpStatus :: Lens' UpdateDistributionConfigurationResponse Int
-- | The Amazon Resource Name (ARN) of the container pipeline to update.
updateImagePipeline_containerRecipeArn :: Lens' UpdateImagePipeline (Maybe Text)
-- | The description of the image pipeline.
updateImagePipeline_description :: Lens' UpdateImagePipeline (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration that
-- will be used to configure and distribute images updated by this image
-- pipeline.
updateImagePipeline_distributionConfigurationArn :: Lens' UpdateImagePipeline (Maybe Text)
-- | 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.
updateImagePipeline_enhancedImageMetadataEnabled :: Lens' UpdateImagePipeline (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the image recipe that will be used
-- to configure images updated by this image pipeline.
updateImagePipeline_imageRecipeArn :: Lens' UpdateImagePipeline (Maybe Text)
-- | The image test configuration of the image pipeline.
updateImagePipeline_imageTestsConfiguration :: Lens' UpdateImagePipeline (Maybe ImageTestsConfiguration)
-- | The schedule of the image pipeline.
updateImagePipeline_schedule :: Lens' UpdateImagePipeline (Maybe Schedule)
-- | The status of the image pipeline.
updateImagePipeline_status :: Lens' UpdateImagePipeline (Maybe PipelineStatus)
-- | The Amazon Resource Name (ARN) of the image pipeline that you want to
-- update.
updateImagePipeline_imagePipelineArn :: Lens' UpdateImagePipeline Text
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that will be used to build images updated by this image pipeline.
updateImagePipeline_infrastructureConfigurationArn :: Lens' UpdateImagePipeline Text
-- | The idempotency token used to make this request idempotent.
updateImagePipeline_clientToken :: Lens' UpdateImagePipeline Text
-- | The idempotency token used to make this request idempotent.
updateImagePipelineResponse_clientToken :: Lens' UpdateImagePipelineResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image pipeline that was updated
-- by this request.
updateImagePipelineResponse_imagePipelineArn :: Lens' UpdateImagePipelineResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
updateImagePipelineResponse_requestId :: Lens' UpdateImagePipelineResponse (Maybe Text)
-- | The response's http status code.
updateImagePipelineResponse_httpStatus :: Lens' UpdateImagePipelineResponse Int
-- | The description of the infrastructure configuration.
updateInfrastructureConfiguration_description :: Lens' UpdateInfrastructureConfiguration (Maybe Text)
-- | The instance metadata options that you can set for the HTTP requests
-- that pipeline builds use to launch EC2 build and test instances. For
-- more information about instance metadata options, see one of the
-- following links:
--
--
updateInfrastructureConfiguration_instanceMetadataOptions :: Lens' UpdateInfrastructureConfiguration (Maybe InstanceMetadataOptions)
-- | The instance types of the infrastructure configuration. You can
-- specify one or more instance types to use for this build. The service
-- will pick one of these instance types based on availability.
updateInfrastructureConfiguration_instanceTypes :: Lens' UpdateInfrastructureConfiguration (Maybe [Text])
-- | The key pair of the infrastructure configuration. You can use this to
-- log on to and debug the instance used to create your image.
updateInfrastructureConfiguration_keyPair :: Lens' UpdateInfrastructureConfiguration (Maybe Text)
-- | The logging configuration of the infrastructure configuration.
updateInfrastructureConfiguration_logging :: Lens' UpdateInfrastructureConfiguration (Maybe Logging)
-- | The tags attached to the resource created by Image Builder.
updateInfrastructureConfiguration_resourceTags :: Lens' UpdateInfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The security group IDs to associate with the instance used to
-- customize your Amazon EC2 AMI.
updateInfrastructureConfiguration_securityGroupIds :: Lens' UpdateInfrastructureConfiguration (Maybe [Text])
-- | The Amazon Resource Name (ARN) for the SNS topic to which we send
-- image build event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
updateInfrastructureConfiguration_snsTopicArn :: Lens' UpdateInfrastructureConfiguration (Maybe Text)
-- | The subnet ID to place the instance used to customize your Amazon EC2
-- AMI in.
updateInfrastructureConfiguration_subnetId :: Lens' UpdateInfrastructureConfiguration (Maybe Text)
-- | The terminate instance on failure setting of the infrastructure
-- configuration. Set to false if you want Image Builder to retain the
-- instance used to configure your AMI if the build or test phase of your
-- workflow fails.
updateInfrastructureConfiguration_terminateInstanceOnFailure :: Lens' UpdateInfrastructureConfiguration (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that you want to update.
updateInfrastructureConfiguration_infrastructureConfigurationArn :: Lens' UpdateInfrastructureConfiguration Text
-- | The instance profile to associate with the instance used to customize
-- your Amazon EC2 AMI.
updateInfrastructureConfiguration_instanceProfileName :: Lens' UpdateInfrastructureConfiguration Text
-- | The idempotency token used to make this request idempotent.
updateInfrastructureConfiguration_clientToken :: Lens' UpdateInfrastructureConfiguration Text
-- | The idempotency token used to make this request idempotent.
updateInfrastructureConfigurationResponse_clientToken :: Lens' UpdateInfrastructureConfigurationResponse (Maybe Text)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was updated by this request.
updateInfrastructureConfigurationResponse_infrastructureConfigurationArn :: Lens' UpdateInfrastructureConfigurationResponse (Maybe Text)
-- | The request ID that uniquely identifies this request.
updateInfrastructureConfigurationResponse_requestId :: Lens' UpdateInfrastructureConfigurationResponse (Maybe Text)
-- | The response's http status code.
updateInfrastructureConfigurationResponse_httpStatus :: Lens' UpdateInfrastructureConfigurationResponse Int
-- | Contains settings for the Systems Manager agent on your build
-- instance.
additionalInstanceConfiguration_systemsManagerAgent :: Lens' AdditionalInstanceConfiguration (Maybe SystemsManagerAgent)
-- | Use this property to provide commands or a command script to run when
-- you launch your build instance.
--
-- The userDataOverride property replaces any commands that Image Builder
-- might have added to ensure that Systems Manager is installed on your
-- Linux build instance. If you override the user data, make sure that
-- you add commands to install Systems Manager, if it is not
-- pre-installed on your base image.
--
-- The user data is always base 64 encoded. For example, the following
-- commands are encoded as
-- IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$:
--
-- #!/bin/bash
--
-- mkdir -p /var/bb/
--
-- touch /var
additionalInstanceConfiguration_userDataOverride :: Lens' AdditionalInstanceConfiguration (Maybe Text)
-- | The account ID of the owner of the AMI.
ami_accountId :: Lens' Ami (Maybe Text)
-- | The description of the Amazon EC2 AMI. Minimum and maximum length are
-- in characters.
ami_description :: Lens' Ami (Maybe Text)
-- | The AMI ID of the Amazon EC2 AMI.
ami_image :: Lens' Ami (Maybe Text)
-- | The name of the Amazon EC2 AMI.
ami_name :: Lens' Ami (Maybe Text)
-- | The Amazon Web Services Region of the Amazon EC2 AMI.
ami_region :: Lens' Ami (Maybe Text)
-- | Undocumented member.
ami_state :: Lens' Ami (Maybe ImageState)
-- | The tags to apply to AMIs distributed to this Region.
amiDistributionConfiguration_amiTags :: Lens' AmiDistributionConfiguration (Maybe (HashMap Text Text))
-- | The description of the AMI distribution configuration. Minimum and
-- maximum length are in characters.
amiDistributionConfiguration_description :: Lens' AmiDistributionConfiguration (Maybe Text)
-- | The KMS key identifier used to encrypt the distributed image.
amiDistributionConfiguration_kmsKeyId :: Lens' AmiDistributionConfiguration (Maybe Text)
-- | Launch permissions can be used to configure which Amazon Web Services
-- accounts can use the AMI to launch instances.
amiDistributionConfiguration_launchPermission :: Lens' AmiDistributionConfiguration (Maybe LaunchPermissionConfiguration)
-- | The name of the output AMI.
amiDistributionConfiguration_name :: Lens' AmiDistributionConfiguration (Maybe Text)
-- | The ID of an account to which you want to distribute an image.
amiDistributionConfiguration_targetAccountIds :: Lens' AmiDistributionConfiguration (Maybe (NonEmpty Text))
-- | The Amazon Resource Name (ARN) of the component.
component_arn :: Lens' Component (Maybe Text)
-- | The change description of the component.
component_changeDescription :: Lens' Component (Maybe Text)
-- | Component data contains the YAML document content for the component.
component_data :: Lens' Component (Maybe Text)
-- | The date that the component was created.
component_dateCreated :: Lens' Component (Maybe Text)
-- | The description of the component.
component_description :: Lens' Component (Maybe Text)
-- | The encryption status of the component.
component_encrypted :: Lens' Component (Maybe Bool)
-- | The KMS key identifier used to encrypt the component.
component_kmsKeyId :: Lens' Component (Maybe Text)
-- | The name of the component.
component_name :: Lens' Component (Maybe Text)
-- | The owner of the component.
component_owner :: Lens' Component (Maybe Text)
-- | Contains parameter details for each of the parameters that are defined
-- for the component.
component_parameters :: Lens' Component (Maybe [ComponentParameterDetail])
-- | The platform of the component.
component_platform :: Lens' Component (Maybe Platform)
-- | Describes the current status of the component. This is used for
-- components that are no longer active.
component_state :: Lens' Component (Maybe ComponentState)
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
component_supportedOsVersions :: Lens' Component (Maybe (NonEmpty Text))
-- | The tags associated with the component.
component_tags :: Lens' Component (Maybe (HashMap Text Text))
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
component_type :: Lens' Component (Maybe ComponentType)
-- | The version of the component.
component_version :: Lens' Component (Maybe Text)
-- | A group of parameter settings that are used to configure the component
-- for a specific recipe.
componentConfiguration_parameters :: Lens' ComponentConfiguration (Maybe (NonEmpty ComponentParameter))
-- | The Amazon Resource Name (ARN) of the component.
componentConfiguration_componentArn :: Lens' ComponentConfiguration Text
-- | The name of the component parameter to set.
componentParameter_name :: Lens' ComponentParameter Text
-- | Sets the value for the named component parameter.
componentParameter_value :: Lens' ComponentParameter [Text]
-- | The default value of this parameter if no input is provided.
componentParameterDetail_defaultValue :: Lens' ComponentParameterDetail (Maybe [Text])
-- | Describes this parameter.
componentParameterDetail_description :: Lens' ComponentParameterDetail (Maybe Text)
-- | The name of this input parameter.
componentParameterDetail_name :: Lens' ComponentParameterDetail Text
-- | The type of input this parameter provides. The currently supported
-- value is "string".
componentParameterDetail_type :: Lens' ComponentParameterDetail Text
-- | Describes how or why the component changed state.
componentState_reason :: Lens' ComponentState (Maybe Text)
-- | The current state of the component.
componentState_status :: Lens' ComponentState (Maybe ComponentStatus)
-- | The Amazon Resource Name (ARN) of the component.
componentSummary_arn :: Lens' ComponentSummary (Maybe Text)
-- | The change description of the component.
componentSummary_changeDescription :: Lens' ComponentSummary (Maybe Text)
-- | The date that the component was created.
componentSummary_dateCreated :: Lens' ComponentSummary (Maybe Text)
-- | The description of the component.
componentSummary_description :: Lens' ComponentSummary (Maybe Text)
-- | The name of the component.
componentSummary_name :: Lens' ComponentSummary (Maybe Text)
-- | The owner of the component.
componentSummary_owner :: Lens' ComponentSummary (Maybe Text)
-- | The platform of the component.
componentSummary_platform :: Lens' ComponentSummary (Maybe Platform)
-- | Describes the current status of the component.
componentSummary_state :: Lens' ComponentSummary (Maybe ComponentState)
-- | The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
componentSummary_supportedOsVersions :: Lens' ComponentSummary (Maybe (NonEmpty Text))
-- | The tags associated with the component.
componentSummary_tags :: Lens' ComponentSummary (Maybe (HashMap Text Text))
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
componentSummary_type :: Lens' ComponentSummary (Maybe ComponentType)
-- | The version of the component.
componentSummary_version :: Lens' ComponentSummary (Maybe Text)
-- | The Amazon Resource Name (ARN) of the component.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
componentVersion_arn :: Lens' ComponentVersion (Maybe Text)
-- | The date that the component was created.
componentVersion_dateCreated :: Lens' ComponentVersion (Maybe Text)
-- | The description of the component.
componentVersion_description :: Lens' ComponentVersion (Maybe Text)
-- | The name of the component.
componentVersion_name :: Lens' ComponentVersion (Maybe Text)
-- | The owner of the component.
componentVersion_owner :: Lens' ComponentVersion (Maybe Text)
-- | The platform of the component.
componentVersion_platform :: Lens' ComponentVersion (Maybe Platform)
-- | he operating system (OS) version supported by the component. If the OS
-- information is available, a prefix match is performed against the base
-- image OS version during image recipe creation.
componentVersion_supportedOsVersions :: Lens' ComponentVersion (Maybe (NonEmpty Text))
-- | The type of the component denotes whether the component is used to
-- build the image or only to test it.
componentVersion_type :: Lens' ComponentVersion (Maybe ComponentType)
-- | The semantic version of the component.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
componentVersion_version :: Lens' ComponentVersion (Maybe Text)
-- | A list of URIs for containers created in the context Region.
container_imageUris :: Lens' Container (Maybe [Text])
-- | Containers and container images are Region-specific. This is the
-- Region context for the container.
container_region :: Lens' Container (Maybe Text)
-- | Tags that are attached to the container distribution configuration.
containerDistributionConfiguration_containerTags :: Lens' ContainerDistributionConfiguration (Maybe [Text])
-- | The description of the container distribution configuration.
containerDistributionConfiguration_description :: Lens' ContainerDistributionConfiguration (Maybe Text)
-- | The destination repository for the container distribution
-- configuration.
containerDistributionConfiguration_targetRepository :: Lens' ContainerDistributionConfiguration TargetContainerRepository
-- | The Amazon Resource Name (ARN) of the container recipe.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
containerRecipe_arn :: Lens' ContainerRecipe (Maybe Text)
-- | Components for build and test that are included in the container
-- recipe.
containerRecipe_components :: Lens' ContainerRecipe (Maybe (NonEmpty ComponentConfiguration))
-- | Specifies the type of container, such as Docker.
containerRecipe_containerType :: Lens' ContainerRecipe (Maybe ContainerType)
-- | The date when this container recipe was created.
containerRecipe_dateCreated :: Lens' ContainerRecipe (Maybe Text)
-- | The description of the container recipe.
containerRecipe_description :: Lens' ContainerRecipe (Maybe Text)
-- | Dockerfiles are text documents that are used to build Docker
-- containers, and ensure that they contain all of the elements required
-- by the application running inside. The template data consists of
-- contextual variables where Image Builder places build information or
-- scripts, based on your container image recipe.
containerRecipe_dockerfileTemplateData :: Lens' ContainerRecipe (Maybe Text)
-- | A flag that indicates if the target container is encrypted.
containerRecipe_encrypted :: Lens' ContainerRecipe (Maybe Bool)
-- | A group of options that can be used to configure an instance for
-- building and testing container images.
containerRecipe_instanceConfiguration :: Lens' ContainerRecipe (Maybe InstanceConfiguration)
-- | Identifies which KMS key is used to encrypt the container image for
-- distribution to the target Region.
containerRecipe_kmsKeyId :: Lens' ContainerRecipe (Maybe Text)
-- | The name of the container recipe.
containerRecipe_name :: Lens' ContainerRecipe (Maybe Text)
-- | The owner of the container recipe.
containerRecipe_owner :: Lens' ContainerRecipe (Maybe Text)
-- | The base image for the container recipe.
containerRecipe_parentImage :: Lens' ContainerRecipe (Maybe Text)
-- | The system platform for the container, such as Windows or Linux.
containerRecipe_platform :: Lens' ContainerRecipe (Maybe Platform)
-- | Tags that are attached to the container recipe.
containerRecipe_tags :: Lens' ContainerRecipe (Maybe (HashMap Text Text))
-- | The destination repository for the container image.
containerRecipe_targetRepository :: Lens' ContainerRecipe (Maybe TargetContainerRepository)
-- | The semantic version of the container recipe.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
containerRecipe_version :: Lens' ContainerRecipe (Maybe Text)
-- | The working directory for use during build and test workflows.
containerRecipe_workingDirectory :: Lens' ContainerRecipe (Maybe Text)
-- | The Amazon Resource Name (ARN) of the container recipe.
containerRecipeSummary_arn :: Lens' ContainerRecipeSummary (Maybe Text)
-- | Specifies the type of container, such as "Docker".
containerRecipeSummary_containerType :: Lens' ContainerRecipeSummary (Maybe ContainerType)
-- | The date when this container recipe was created.
containerRecipeSummary_dateCreated :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The name of the container recipe.
containerRecipeSummary_name :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The owner of the container recipe.
containerRecipeSummary_owner :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The base image for the container recipe.
containerRecipeSummary_parentImage :: Lens' ContainerRecipeSummary (Maybe Text)
-- | The system platform for the container, such as Windows or Linux.
containerRecipeSummary_platform :: Lens' ContainerRecipeSummary (Maybe Platform)
-- | Tags that are attached to the container recipe.
containerRecipeSummary_tags :: Lens' ContainerRecipeSummary (Maybe (HashMap Text Text))
-- | The specific AMI settings; for example, launch permissions or AMI
-- tags.
distribution_amiDistributionConfiguration :: Lens' Distribution (Maybe AmiDistributionConfiguration)
-- | Container distribution settings for encryption, licensing, and sharing
-- in a specific Region.
distribution_containerDistributionConfiguration :: Lens' Distribution (Maybe ContainerDistributionConfiguration)
-- | The Windows faster-launching configurations to use for AMI
-- distribution.
distribution_fastLaunchConfigurations :: Lens' Distribution (Maybe (NonEmpty FastLaunchConfiguration))
-- | A group of launchTemplateConfiguration settings that apply to image
-- distribution for specified accounts.
distribution_launchTemplateConfigurations :: Lens' Distribution (Maybe (NonEmpty LaunchTemplateConfiguration))
-- | The License Manager Configuration to associate with the AMI in the
-- specified Region.
distribution_licenseConfigurationArns :: Lens' Distribution (Maybe (NonEmpty Text))
-- | Configure export settings to deliver disk images created from your
-- image build, using a file format that is compatible with your VMs in
-- that Region.
distribution_s3ExportConfiguration :: Lens' Distribution (Maybe S3ExportConfiguration)
-- | The target Region.
distribution_region :: Lens' Distribution Text
-- | The Amazon Resource Name (ARN) of the distribution configuration.
distributionConfiguration_arn :: Lens' DistributionConfiguration (Maybe Text)
-- | The date on which this distribution configuration was created.
distributionConfiguration_dateCreated :: Lens' DistributionConfiguration (Maybe Text)
-- | The date on which this distribution configuration was last updated.
distributionConfiguration_dateUpdated :: Lens' DistributionConfiguration (Maybe Text)
-- | The description of the distribution configuration.
distributionConfiguration_description :: Lens' DistributionConfiguration (Maybe Text)
-- | The distribution objects that apply Region-specific settings for the
-- deployment of the image to targeted Regions.
distributionConfiguration_distributions :: Lens' DistributionConfiguration (Maybe [Distribution])
-- | The name of the distribution configuration.
distributionConfiguration_name :: Lens' DistributionConfiguration (Maybe Text)
-- | The tags of the distribution configuration.
distributionConfiguration_tags :: Lens' DistributionConfiguration (Maybe (HashMap Text Text))
-- | The maximum duration in minutes for this distribution configuration.
distributionConfiguration_timeoutMinutes :: Lens' DistributionConfiguration Natural
-- | The Amazon Resource Name (ARN) of the distribution configuration.
distributionConfigurationSummary_arn :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The date on which the distribution configuration was created.
distributionConfigurationSummary_dateCreated :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The date on which the distribution configuration was updated.
distributionConfigurationSummary_dateUpdated :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The description of the distribution configuration.
distributionConfigurationSummary_description :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | The name of the distribution configuration.
distributionConfigurationSummary_name :: Lens' DistributionConfigurationSummary (Maybe Text)
-- | A list of Regions where the container image is distributed to.
distributionConfigurationSummary_regions :: Lens' DistributionConfigurationSummary (Maybe [Text])
-- | The tags associated with the distribution configuration.
distributionConfigurationSummary_tags :: Lens' DistributionConfigurationSummary (Maybe (HashMap Text Text))
-- | Use to configure delete on termination of the associated device.
ebsInstanceBlockDeviceSpecification_deleteOnTermination :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Bool)
-- | Use to configure device encryption.
ebsInstanceBlockDeviceSpecification_encrypted :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Bool)
-- | Use to configure device IOPS.
ebsInstanceBlockDeviceSpecification_iops :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Natural)
-- | Use to configure the KMS key to use when encrypting the device.
ebsInstanceBlockDeviceSpecification_kmsKeyId :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Text)
-- | The snapshot that defines the device contents.
ebsInstanceBlockDeviceSpecification_snapshotId :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Text)
-- | For GP3 volumes only – The throughput in MiB/s that the volume
-- supports.
ebsInstanceBlockDeviceSpecification_throughput :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Natural)
-- | Use to override the device's volume size.
ebsInstanceBlockDeviceSpecification_volumeSize :: Lens' EbsInstanceBlockDeviceSpecification (Maybe Natural)
-- | Use to override the device's volume type.
ebsInstanceBlockDeviceSpecification_volumeType :: Lens' EbsInstanceBlockDeviceSpecification (Maybe EbsVolumeType)
-- | The owner account ID for the fast-launch enabled Windows AMI.
fastLaunchConfiguration_accountId :: Lens' FastLaunchConfiguration (Maybe Text)
-- | The launch template that the fast-launch enabled Windows AMI uses when
-- it launches Windows instances to create pre-provisioned snapshots.
fastLaunchConfiguration_launchTemplate :: Lens' FastLaunchConfiguration (Maybe FastLaunchLaunchTemplateSpecification)
-- | The maximum number of parallel instances that are launched for
-- creating resources.
fastLaunchConfiguration_maxParallelLaunches :: Lens' FastLaunchConfiguration (Maybe Natural)
-- | Configuration settings for managing the number of snapshots that are
-- created from pre-provisioned instances for the Windows AMI when faster
-- launching is enabled.
fastLaunchConfiguration_snapshotConfiguration :: Lens' FastLaunchConfiguration (Maybe FastLaunchSnapshotConfiguration)
-- | A Boolean that represents the current state of faster launching for
-- the Windows AMI. Set to true to start using Windows faster
-- launching, or false to stop using it.
fastLaunchConfiguration_enabled :: Lens' FastLaunchConfiguration Bool
-- | The ID of the launch template to use for faster launching for a
-- Windows AMI.
fastLaunchLaunchTemplateSpecification_launchTemplateId :: Lens' FastLaunchLaunchTemplateSpecification (Maybe Text)
-- | The name of the launch template to use for faster launching for a
-- Windows AMI.
fastLaunchLaunchTemplateSpecification_launchTemplateName :: Lens' FastLaunchLaunchTemplateSpecification (Maybe Text)
-- | The version of the launch template to use for faster launching for a
-- Windows AMI.
fastLaunchLaunchTemplateSpecification_launchTemplateVersion :: Lens' FastLaunchLaunchTemplateSpecification (Maybe Text)
-- | The number of pre-provisioned snapshots to keep on hand for a
-- fast-launch enabled Windows AMI.
fastLaunchSnapshotConfiguration_targetResourceCount :: Lens' FastLaunchSnapshotConfiguration (Maybe Natural)
-- | The name of the filter. Filter names are case-sensitive.
filter_name :: Lens' Filter (Maybe Text)
-- | The filter values. Filter values are case-sensitive.
filter_values :: Lens' Filter (Maybe (NonEmpty Text))
-- | The Amazon Resource Name (ARN) of the image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
image_arn :: Lens' Image (Maybe Text)
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
image_buildType :: Lens' Image (Maybe BuildType)
-- | The recipe that is used to create an Image Builder container image.
image_containerRecipe :: Lens' Image (Maybe ContainerRecipe)
-- | The date on which this image was created.
image_dateCreated :: Lens' Image (Maybe Text)
-- | The distribution configuration used when creating this image.
image_distributionConfiguration :: Lens' Image (Maybe DistributionConfiguration)
-- | 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.
image_enhancedImageMetadataEnabled :: Lens' Image (Maybe Bool)
-- | The image recipe used when creating the image.
image_imageRecipe :: Lens' Image (Maybe ImageRecipe)
-- | The image tests configuration used when creating this image.
image_imageTestsConfiguration :: Lens' Image (Maybe ImageTestsConfiguration)
-- | The infrastructure used when creating this image.
image_infrastructureConfiguration :: Lens' Image (Maybe InfrastructureConfiguration)
-- | The name of the image.
image_name :: Lens' Image (Maybe Text)
-- | The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
image_osVersion :: Lens' Image (Maybe Text)
-- | The output resources produced when creating this image.
image_outputResources :: Lens' Image (Maybe OutputResources)
-- | The platform of the image.
image_platform :: Lens' Image (Maybe Platform)
-- | The Amazon Resource Name (ARN) of the image pipeline that created this
-- image.
image_sourcePipelineArn :: Lens' Image (Maybe Text)
-- | The name of the image pipeline that created this image.
image_sourcePipelineName :: Lens' Image (Maybe Text)
-- | The state of the image.
image_state :: Lens' Image (Maybe ImageState)
-- | The tags of the image.
image_tags :: Lens' Image (Maybe (HashMap Text Text))
-- | Specifies whether this is an AMI or container image.
image_type :: Lens' Image (Maybe ImageType)
-- | The semantic version of the image.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
image_version :: Lens' Image (Maybe Text)
-- | The name of the package as reported to the operating system package
-- manager.
imagePackage_packageName :: Lens' ImagePackage (Maybe Text)
-- | The version of the package as reported to the operating system package
-- manager.
imagePackage_packageVersion :: Lens' ImagePackage (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image pipeline.
imagePipeline_arn :: Lens' ImagePipeline (Maybe Text)
-- | The Amazon Resource Name (ARN) of the container recipe that is used
-- for this pipeline.
imagePipeline_containerRecipeArn :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline was created.
imagePipeline_dateCreated :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline was last run.
imagePipeline_dateLastRun :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline will next be run.
imagePipeline_dateNextRun :: Lens' ImagePipeline (Maybe Text)
-- | The date on which this image pipeline was last updated.
imagePipeline_dateUpdated :: Lens' ImagePipeline (Maybe Text)
-- | The description of the image pipeline.
imagePipeline_description :: Lens' ImagePipeline (Maybe Text)
-- | The Amazon Resource Name (ARN) of the distribution configuration
-- associated with this image pipeline.
imagePipeline_distributionConfigurationArn :: Lens' ImagePipeline (Maybe Text)
-- | 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.
imagePipeline_enhancedImageMetadataEnabled :: Lens' ImagePipeline (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the image recipe associated with
-- this image pipeline.
imagePipeline_imageRecipeArn :: Lens' ImagePipeline (Maybe Text)
-- | The image tests configuration of the image pipeline.
imagePipeline_imageTestsConfiguration :: Lens' ImagePipeline (Maybe ImageTestsConfiguration)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration
-- associated with this image pipeline.
imagePipeline_infrastructureConfigurationArn :: Lens' ImagePipeline (Maybe Text)
-- | The name of the image pipeline.
imagePipeline_name :: Lens' ImagePipeline (Maybe Text)
-- | The platform of the image pipeline.
imagePipeline_platform :: Lens' ImagePipeline (Maybe Platform)
-- | The schedule of the image pipeline.
imagePipeline_schedule :: Lens' ImagePipeline (Maybe Schedule)
-- | The status of the image pipeline.
imagePipeline_status :: Lens' ImagePipeline (Maybe PipelineStatus)
-- | The tags of this image pipeline.
imagePipeline_tags :: Lens' ImagePipeline (Maybe (HashMap Text Text))
-- | Before you create a new AMI, Image Builder launches temporary Amazon
-- EC2 instances to build and test your image configuration. Instance
-- configuration adds a layer of control over those instances. You can
-- define settings and add scripts to run when an instance is launched
-- from your AMI.
imageRecipe_additionalInstanceConfiguration :: Lens' ImageRecipe (Maybe AdditionalInstanceConfiguration)
-- | The Amazon Resource Name (ARN) of the image recipe.
imageRecipe_arn :: Lens' ImageRecipe (Maybe Text)
-- | The block device mappings to apply when creating images from this
-- recipe.
imageRecipe_blockDeviceMappings :: Lens' ImageRecipe (Maybe [InstanceBlockDeviceMapping])
-- | The components of the image recipe.
imageRecipe_components :: Lens' ImageRecipe (Maybe (NonEmpty ComponentConfiguration))
-- | The date on which this image recipe was created.
imageRecipe_dateCreated :: Lens' ImageRecipe (Maybe Text)
-- | The description of the image recipe.
imageRecipe_description :: Lens' ImageRecipe (Maybe Text)
-- | The name of the image recipe.
imageRecipe_name :: Lens' ImageRecipe (Maybe Text)
-- | The owner of the image recipe.
imageRecipe_owner :: Lens' ImageRecipe (Maybe Text)
-- | The base image of the image recipe.
imageRecipe_parentImage :: Lens' ImageRecipe (Maybe Text)
-- | The platform of the image recipe.
imageRecipe_platform :: Lens' ImageRecipe (Maybe Platform)
-- | The tags of the image recipe.
imageRecipe_tags :: Lens' ImageRecipe (Maybe (HashMap Text Text))
-- | Specifies which type of image is created by the recipe - an AMI or a
-- container image.
imageRecipe_type :: Lens' ImageRecipe (Maybe ImageType)
-- | The version of the image recipe.
imageRecipe_version :: Lens' ImageRecipe (Maybe Text)
-- | The working directory to be used during build and test workflows.
imageRecipe_workingDirectory :: Lens' ImageRecipe (Maybe Text)
-- | The Amazon Resource Name (ARN) of the image recipe.
imageRecipeSummary_arn :: Lens' ImageRecipeSummary (Maybe Text)
-- | The date on which this image recipe was created.
imageRecipeSummary_dateCreated :: Lens' ImageRecipeSummary (Maybe Text)
-- | The name of the image recipe.
imageRecipeSummary_name :: Lens' ImageRecipeSummary (Maybe Text)
-- | The owner of the image recipe.
imageRecipeSummary_owner :: Lens' ImageRecipeSummary (Maybe Text)
-- | The base image of the image recipe.
imageRecipeSummary_parentImage :: Lens' ImageRecipeSummary (Maybe Text)
-- | The platform of the image recipe.
imageRecipeSummary_platform :: Lens' ImageRecipeSummary (Maybe Platform)
-- | The tags of the image recipe.
imageRecipeSummary_tags :: Lens' ImageRecipeSummary (Maybe (HashMap Text Text))
-- | The reason for the image's status.
imageState_reason :: Lens' ImageState (Maybe Text)
-- | The status of the image.
imageState_status :: Lens' ImageState (Maybe ImageStatus)
-- | The Amazon Resource Name (ARN) of the image.
imageSummary_arn :: Lens' ImageSummary (Maybe Text)
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
imageSummary_buildType :: Lens' ImageSummary (Maybe BuildType)
-- | The date on which this image was created.
imageSummary_dateCreated :: Lens' ImageSummary (Maybe Text)
-- | The name of the image.
imageSummary_name :: Lens' ImageSummary (Maybe Text)
-- | The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
imageSummary_osVersion :: Lens' ImageSummary (Maybe Text)
-- | The output resources produced when creating this image.
imageSummary_outputResources :: Lens' ImageSummary (Maybe OutputResources)
-- | The owner of the image.
imageSummary_owner :: Lens' ImageSummary (Maybe Text)
-- | The platform of the image.
imageSummary_platform :: Lens' ImageSummary (Maybe Platform)
-- | The state of the image.
imageSummary_state :: Lens' ImageSummary (Maybe ImageState)
-- | The tags of the image.
imageSummary_tags :: Lens' ImageSummary (Maybe (HashMap Text Text))
-- | Specifies whether this is an AMI or container image.
imageSummary_type :: Lens' ImageSummary (Maybe ImageType)
-- | The version of the image.
imageSummary_version :: Lens' ImageSummary (Maybe Text)
-- | Determines if tests should run after building the image. Image Builder
-- defaults to enable tests to run following the image build, before
-- image distribution.
imageTestsConfiguration_imageTestsEnabled :: Lens' ImageTestsConfiguration (Maybe Bool)
-- | The maximum time in minutes that tests are permitted to run.
imageTestsConfiguration_timeoutMinutes :: Lens' ImageTestsConfiguration (Maybe Natural)
-- | The Amazon Resource Name (ARN) of a specific version of an Image
-- Builder image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
imageVersion_arn :: Lens' ImageVersion (Maybe Text)
-- | Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
imageVersion_buildType :: Lens' ImageVersion (Maybe BuildType)
-- | The date on which this specific version of the Image Builder image was
-- created.
imageVersion_dateCreated :: Lens' ImageVersion (Maybe Text)
-- | The name of this specific version of an Image Builder image.
imageVersion_name :: Lens' ImageVersion (Maybe Text)
-- | The operating system version of the Amazon EC2 build instance. For
-- example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
imageVersion_osVersion :: Lens' ImageVersion (Maybe Text)
-- | The owner of the image version.
imageVersion_owner :: Lens' ImageVersion (Maybe Text)
-- | The platform of the image version, for example "Windows" or "Linux".
imageVersion_platform :: Lens' ImageVersion (Maybe Platform)
-- | Specifies whether this image is an AMI or a container image.
imageVersion_type :: Lens' ImageVersion (Maybe ImageType)
-- | Details for a specific version of an Image Builder image. This version
-- follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
imageVersion_version :: Lens' ImageVersion (Maybe Text)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration.
infrastructureConfiguration_arn :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The date on which the infrastructure configuration was created.
infrastructureConfiguration_dateCreated :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The date on which the infrastructure configuration was last updated.
infrastructureConfiguration_dateUpdated :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The description of the infrastructure configuration.
infrastructureConfiguration_description :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The instance metadata option settings for the infrastructure
-- configuration.
infrastructureConfiguration_instanceMetadataOptions :: Lens' InfrastructureConfiguration (Maybe InstanceMetadataOptions)
-- | The instance profile of the infrastructure configuration.
infrastructureConfiguration_instanceProfileName :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The instance types of the infrastructure configuration.
infrastructureConfiguration_instanceTypes :: Lens' InfrastructureConfiguration (Maybe [Text])
-- | The Amazon EC2 key pair of the infrastructure configuration.
infrastructureConfiguration_keyPair :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The logging configuration of the infrastructure configuration.
infrastructureConfiguration_logging :: Lens' InfrastructureConfiguration (Maybe Logging)
-- | The name of the infrastructure configuration.
infrastructureConfiguration_name :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The tags attached to the resource created by Image Builder.
infrastructureConfiguration_resourceTags :: Lens' InfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The security group IDs of the infrastructure configuration.
infrastructureConfiguration_securityGroupIds :: Lens' InfrastructureConfiguration (Maybe [Text])
-- | The Amazon Resource Name (ARN) for the SNS topic to which we send
-- image build event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
infrastructureConfiguration_snsTopicArn :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The subnet ID of the infrastructure configuration.
infrastructureConfiguration_subnetId :: Lens' InfrastructureConfiguration (Maybe Text)
-- | The tags of the infrastructure configuration.
infrastructureConfiguration_tags :: Lens' InfrastructureConfiguration (Maybe (HashMap Text Text))
-- | The terminate instance on failure configuration of the infrastructure
-- configuration.
infrastructureConfiguration_terminateInstanceOnFailure :: Lens' InfrastructureConfiguration (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the infrastructure configuration.
infrastructureConfigurationSummary_arn :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The date on which the infrastructure configuration was created.
infrastructureConfigurationSummary_dateCreated :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The date on which the infrastructure configuration was last updated.
infrastructureConfigurationSummary_dateUpdated :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The description of the infrastructure configuration.
infrastructureConfigurationSummary_description :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The instance profile of the infrastructure configuration.
infrastructureConfigurationSummary_instanceProfileName :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The instance types of the infrastructure configuration.
infrastructureConfigurationSummary_instanceTypes :: Lens' InfrastructureConfigurationSummary (Maybe [Text])
-- | The name of the infrastructure configuration.
infrastructureConfigurationSummary_name :: Lens' InfrastructureConfigurationSummary (Maybe Text)
-- | The tags attached to the image created by Image Builder.
infrastructureConfigurationSummary_resourceTags :: Lens' InfrastructureConfigurationSummary (Maybe (HashMap Text Text))
-- | The tags of the infrastructure configuration.
infrastructureConfigurationSummary_tags :: Lens' InfrastructureConfigurationSummary (Maybe (HashMap Text Text))
-- | The device to which these mappings apply.
instanceBlockDeviceMapping_deviceName :: Lens' InstanceBlockDeviceMapping (Maybe Text)
-- | Use to manage Amazon EBS-specific configuration for this mapping.
instanceBlockDeviceMapping_ebs :: Lens' InstanceBlockDeviceMapping (Maybe EbsInstanceBlockDeviceSpecification)
-- | Use to remove a mapping from the base image.
instanceBlockDeviceMapping_noDevice :: Lens' InstanceBlockDeviceMapping (Maybe Text)
-- | Use to manage instance ephemeral devices.
instanceBlockDeviceMapping_virtualName :: Lens' InstanceBlockDeviceMapping (Maybe Text)
-- | Defines the block devices to attach for building an instance from this
-- Image Builder AMI.
instanceConfiguration_blockDeviceMappings :: Lens' InstanceConfiguration (Maybe [InstanceBlockDeviceMapping])
-- | The AMI ID to use as the base image for a container build and test
-- instance. If not specified, Image Builder will use the appropriate
-- ECS-optimized AMI as a base image.
instanceConfiguration_image :: Lens' InstanceConfiguration (Maybe Text)
-- | Limit the number of hops that an instance metadata request can
-- traverse to reach its destination.
instanceMetadataOptions_httpPutResponseHopLimit :: Lens' InstanceMetadataOptions (Maybe Natural)
-- | Indicates whether a signed token header is required for instance
-- metadata retrieval requests. The values affect the response as
-- follows:
--
--
-- - required – When you retrieve the IAM role credentials,
-- version 2.0 credentials are returned in all cases.
-- - optional – You can include a signed token header in your
-- request to retrieve instance metadata, or you can leave it out. If you
-- include it, version 2.0 credentials are returned for the IAM role.
-- Otherwise, version 1.0 credentials are returned.
--
--
-- The default setting is optional.
instanceMetadataOptions_httpTokens :: Lens' InstanceMetadataOptions (Maybe Text)
-- | The ARN for an Amazon Web Services Organization that you want to share
-- your AMI with. For more information, see What is
-- Organizations?.
launchPermissionConfiguration_organizationArns :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text))
-- | The ARN for an Organizations organizational unit (OU) that you want to
-- share your AMI with. For more information about key concepts for
-- Organizations, see Organizations terminology and concepts.
launchPermissionConfiguration_organizationalUnitArns :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text))
-- | The name of the group.
launchPermissionConfiguration_userGroups :: Lens' LaunchPermissionConfiguration (Maybe [Text])
-- | The Amazon Web Services account ID.
launchPermissionConfiguration_userIds :: Lens' LaunchPermissionConfiguration (Maybe (NonEmpty Text))
-- | The account ID that this configuration applies to.
launchTemplateConfiguration_accountId :: Lens' LaunchTemplateConfiguration (Maybe Text)
-- | Set the specified Amazon EC2 launch template as the default launch
-- template for the specified account.
launchTemplateConfiguration_setDefaultVersion :: Lens' LaunchTemplateConfiguration (Maybe Bool)
-- | Identifies the Amazon EC2 launch template to use.
launchTemplateConfiguration_launchTemplateId :: Lens' LaunchTemplateConfiguration Text
-- | The Amazon S3 logging configuration.
logging_s3Logs :: Lens' Logging (Maybe S3Logs)
-- | The Amazon EC2 AMIs created by this image.
outputResources_amis :: Lens' OutputResources (Maybe [Ami])
-- | Container images that the pipeline has generated and stored in the
-- output repository.
outputResources_containers :: Lens' OutputResources (Maybe [Container])
-- | The Amazon S3 path for the bucket where the output disk images for
-- your VM are stored.
s3ExportConfiguration_s3Prefix :: Lens' S3ExportConfiguration (Maybe Text)
-- | The name of the role that grants VM Import/Export permission to export
-- images to your S3 bucket.
s3ExportConfiguration_roleName :: Lens' S3ExportConfiguration Text
-- | Export the updated image to one of the following supported disk image
-- formats:
--
--
-- - Virtual Hard Disk (VHD) – Compatible with Citrix Xen and
-- Microsoft Hyper-V virtualization products.
-- - Stream-optimized ESX Virtual Machine Disk (VMDK) –
-- Compatible with VMware ESX and VMware vSphere versions 4, 5, and
-- 6.
-- - Raw – Raw format.
--
s3ExportConfiguration_diskImageFormat :: Lens' S3ExportConfiguration DiskImageFormat
-- | The S3 bucket in which to store the output disk images for your VM.
s3ExportConfiguration_s3Bucket :: Lens' S3ExportConfiguration Text
-- | The S3 bucket in which to store the logs.
s3Logs_s3BucketName :: Lens' S3Logs (Maybe Text)
-- | The Amazon S3 path to the bucket where the logs are stored.
s3Logs_s3KeyPrefix :: Lens' S3Logs (Maybe Text)
-- | The condition configures when the pipeline should trigger a new image
-- build. When the pipelineExecutionStartCondition is set to
-- EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you
-- use semantic version filters on the base image or components in your
-- image recipe, EC2 Image Builder will build a new image only when there
-- are new versions of the image or components in your recipe that match
-- the semantic version filter. When it is set to
-- EXPRESSION_MATCH_ONLY, it will build a new image every time
-- the CRON expression matches the current time. For semantic version
-- syntax, see CreateComponent in the EC2 Image Builder API
-- Reference.
schedule_pipelineExecutionStartCondition :: Lens' Schedule (Maybe PipelineExecutionStartCondition)
-- | The cron expression determines how often EC2 Image Builder evaluates
-- your pipelineExecutionStartCondition.
--
-- For information on how to format a cron expression in Image Builder,
-- see Use cron expressions in EC2 Image Builder.
schedule_scheduleExpression :: Lens' Schedule (Maybe Text)
-- | The timezone that applies to the scheduling expression. For example,
-- "Etc/UTC", "America/Los_Angeles" in the IANA timezone format.
-- If not specified this defaults to UTC.
schedule_timezone :: Lens' Schedule (Maybe Text)
-- | Controls whether the Systems Manager agent is removed from your final
-- build image, prior to creating the new AMI. If this is set to true,
-- then the agent is removed from the final image. If it's set to false,
-- then the agent is left in, so that it is included in the new AMI. The
-- default value is false.
systemsManagerAgent_uninstallAfterBuild :: Lens' SystemsManagerAgent (Maybe Bool)
-- | Specifies the service in which this image was registered.
targetContainerRepository_service :: Lens' TargetContainerRepository ContainerRepositoryService
-- | The name of the container repository where the output container image
-- is stored. This name is prefixed by the repository location.
targetContainerRepository_repositoryName :: Lens' TargetContainerRepository Text
module Amazonka.ImageBuilder.Waiters
-- | Derived from API version 2019-12-02 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- EC2 Image Builder is a fully managed Amazon Web Services service that
-- makes it easier to automate the creation, management, and deployment
-- of customized, secure, and up-to-date "golden" server images that are
-- pre-installed and pre-configured with software and settings to meet
-- specific IT standards.
module Amazonka.ImageBuilder
-- | API version 2019-12-02 of the Amazon EC2 Image Builder SDK
-- configuration.
defaultService :: Service
-- | You have exceeded the permitted request rate for the specific
-- operation.
_CallRateLimitExceededException :: AsError a => Fold a ServiceError
-- | These errors are usually caused by a client action, such as using an
-- action or resource on behalf of a user that doesn't have permissions
-- to use the action or resource, or specifying an invalid resource
-- identifier.
_ClientException :: AsError a => Fold a ServiceError
-- | You are not authorized to perform the requested operation.
_ForbiddenException :: AsError a => Fold a ServiceError
-- | You have specified a client token for an operation using parameter
-- values that differ from a previous request that used the same client
-- token.
_IdempotentParameterMismatchException :: AsError a => Fold a ServiceError
-- | You have provided an invalid pagination token in your request.
_InvalidPaginationTokenException :: AsError a => Fold a ServiceError
-- | You have specified two or more mutually exclusive parameters. Review
-- the error message for details.
_InvalidParameterCombinationException :: AsError a => Fold a ServiceError
-- | The specified parameter is invalid. Review the available parameters
-- for the API request.
_InvalidParameterException :: AsError a => Fold a ServiceError
-- | The value that you provided for the specified parameter is invalid.
_InvalidParameterValueException :: AsError a => Fold a ServiceError
-- | You have made a request for an action that is not supported by the
-- service.
_InvalidRequestException :: AsError a => Fold a ServiceError
-- | Your version number is out of bounds or does not follow the required
-- syntax.
_InvalidVersionNumberException :: AsError a => Fold a ServiceError
-- | The resource that you are trying to create already exists.
_ResourceAlreadyExistsException :: AsError a => Fold a ServiceError
-- | You have attempted to mutate or delete a resource with a dependency
-- that prohibits this action. See the error message for more details.
_ResourceDependencyException :: AsError a => Fold a ServiceError
-- | The resource that you are trying to operate on is currently in use.
-- Review the message details and retry later.
_ResourceInUseException :: AsError a => Fold a ServiceError
-- | At least one of the resources referenced by your request does not
-- exist.
_ResourceNotFoundException :: AsError a => Fold a ServiceError
-- | This exception is thrown when the service encounters an unrecoverable
-- exception.
_ServiceException :: AsError a => Fold a ServiceError
-- | You have exceeded the number of permitted resources or operations for
-- this service. For service quotas, see EC2 Image Builder endpoints
-- and quotas.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError
-- | The service is unable to process your request at this time.
_ServiceUnavailableException :: AsError a => Fold a ServiceError
-- | See: newCancelImageCreation smart constructor.
data CancelImageCreation
CancelImageCreation' :: Text -> Text -> CancelImageCreation
-- | Create a value of CancelImageCreation 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:
--
-- CancelImageCreation,
-- cancelImageCreation_imageBuildVersionArn - The Amazon Resource
-- Name (ARN) of the image whose creation you want to cancel.
--
-- CancelImageCreation, cancelImageCreation_clientToken -
-- Unique, case-sensitive identifier you provide to ensure idempotency of
-- the request. For more information, see Ensuring idempotency in
-- the Amazon EC2 API Reference.
newCancelImageCreation :: Text -> Text -> CancelImageCreation
-- | See: newCancelImageCreationResponse smart constructor.
data CancelImageCreationResponse
CancelImageCreationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CancelImageCreationResponse
-- | Create a value of CancelImageCreationResponse 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:
--
-- CancelImageCreation,
-- cancelImageCreationResponse_clientToken - The idempotency token
-- that was used for this request.
--
-- CancelImageCreation,
-- cancelImageCreationResponse_imageBuildVersionArn - The Amazon
-- Resource Name (ARN) of the image whose creation has been cancelled.
--
-- $sel:requestId:CancelImageCreationResponse',
-- cancelImageCreationResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:CancelImageCreationResponse',
-- cancelImageCreationResponse_httpStatus - The response's http
-- status code.
newCancelImageCreationResponse :: Int -> CancelImageCreationResponse
-- | See: newCreateComponent smart constructor.
data CreateComponent
CreateComponent' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (NonEmpty Text) -> Maybe (HashMap Text Text) -> Maybe Text -> Text -> Text -> Platform -> Text -> CreateComponent
-- | Create a value of CreateComponent 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:
--
-- CreateComponent, createComponent_changeDescription - The
-- change description of the component. Describes what change has been
-- made in this version, or what makes this version different from other
-- versions of this component.
--
-- CreateComponent, createComponent_data - Component
-- data contains inline YAML document content for the component.
-- Alternatively, you can specify the uri of a YAML document
-- file stored in Amazon S3. However, you cannot specify both properties.
--
-- CreateComponent, createComponent_description - The
-- description of the component. Describes the contents of the component.
--
-- CreateComponent, createComponent_kmsKeyId - The ID of
-- the KMS key that should be used to encrypt this component.
--
-- CreateComponent, createComponent_supportedOsVersions -
-- The operating system (OS) version supported by the component. If the
-- OS information is available, a prefix match is performed against the
-- base image OS version during image recipe creation.
--
-- CreateComponent, createComponent_tags - The tags of the
-- component.
--
-- $sel:uri:CreateComponent', createComponent_uri - The
-- uri of a YAML component document file. This must be an S3 URL
-- (s3://bucket/key), and the requester must have permission to
-- access the S3 bucket it points to. If you use Amazon S3, you can
-- specify component content up to your service quota.
--
-- Alternatively, you can specify the YAML document inline, using the
-- component data property. You cannot specify both properties.
--
-- CreateComponent, createComponent_name - The name of the
-- component.
--
-- $sel:semanticVersion:CreateComponent',
-- createComponent_semanticVersion - The semantic version of the
-- component. This version follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- CreateComponent, createComponent_platform - The platform
-- of the component.
--
-- CreateComponent, createComponent_clientToken - The
-- idempotency token of the component.
newCreateComponent :: Text -> Text -> Platform -> Text -> CreateComponent
-- | See: newCreateComponentResponse smart constructor.
data CreateComponentResponse
CreateComponentResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateComponentResponse
-- | Create a value of CreateComponentResponse 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:
--
-- CreateComponent, createComponentResponse_clientToken -
-- The idempotency token used to make this request idempotent.
--
-- $sel:componentBuildVersionArn:CreateComponentResponse',
-- createComponentResponse_componentBuildVersionArn - The Amazon
-- Resource Name (ARN) of the component that was created by this request.
--
-- $sel:requestId:CreateComponentResponse',
-- createComponentResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:CreateComponentResponse',
-- createComponentResponse_httpStatus - The response's http status
-- code.
newCreateComponentResponse :: Int -> CreateComponentResponse
-- | See: newCreateContainerRecipe smart constructor.
data CreateContainerRecipe
CreateContainerRecipe' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InstanceConfiguration -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> Maybe Text -> ContainerType -> Text -> Text -> NonEmpty ComponentConfiguration -> Text -> TargetContainerRepository -> Text -> CreateContainerRecipe
-- | Create a value of CreateContainerRecipe 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:
--
-- CreateContainerRecipe, createContainerRecipe_description
-- - The description of the container recipe.
--
-- CreateContainerRecipe,
-- createContainerRecipe_dockerfileTemplateData - The Dockerfile
-- template used to build your image as an inline data blob.
--
-- $sel:dockerfileTemplateUri:CreateContainerRecipe',
-- createContainerRecipe_dockerfileTemplateUri - The Amazon S3 URI
-- for the Dockerfile that will be used to build your container image.
--
-- $sel:imageOsVersionOverride:CreateContainerRecipe',
-- createContainerRecipe_imageOsVersionOverride - Specifies the
-- operating system version for the base image.
--
-- CreateContainerRecipe,
-- createContainerRecipe_instanceConfiguration - A group of
-- options that can be used to configure an instance for building and
-- testing container images.
--
-- CreateContainerRecipe, createContainerRecipe_kmsKeyId -
-- Identifies which KMS key is used to encrypt the container image.
--
-- $sel:platformOverride:CreateContainerRecipe',
-- createContainerRecipe_platformOverride - Specifies the
-- operating system platform when you use a custom base image.
--
-- CreateContainerRecipe, createContainerRecipe_tags - Tags
-- that are attached to the container recipe.
--
-- CreateContainerRecipe,
-- createContainerRecipe_workingDirectory - The working directory
-- for use during build and test workflows.
--
-- CreateContainerRecipe,
-- createContainerRecipe_containerType - The type of container to
-- create.
--
-- CreateContainerRecipe, createContainerRecipe_name - The
-- name of the container recipe.
--
-- $sel:semanticVersion:CreateContainerRecipe',
-- createContainerRecipe_semanticVersion - The semantic version of
-- the container recipe. This version follows the semantic version
-- syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- CreateContainerRecipe, createContainerRecipe_components
-- - Components for build and test that are included in the container
-- recipe.
--
-- CreateContainerRecipe, createContainerRecipe_parentImage
-- - The base image for the container recipe.
--
-- CreateContainerRecipe,
-- createContainerRecipe_targetRepository - The destination
-- repository for the container image.
--
-- CreateContainerRecipe, createContainerRecipe_clientToken
-- - The client token used to make this request idempotent.
newCreateContainerRecipe :: ContainerType -> Text -> Text -> NonEmpty ComponentConfiguration -> Text -> TargetContainerRepository -> Text -> CreateContainerRecipe
-- | See: newCreateContainerRecipeResponse smart constructor.
data CreateContainerRecipeResponse
CreateContainerRecipeResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateContainerRecipeResponse
-- | Create a value of CreateContainerRecipeResponse 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:
--
-- CreateContainerRecipe,
-- createContainerRecipeResponse_clientToken - The client token
-- used to make this request idempotent.
--
-- CreateContainerRecipeResponse,
-- createContainerRecipeResponse_containerRecipeArn - Returns the
-- Amazon Resource Name (ARN) of the container recipe that the request
-- created.
--
-- $sel:requestId:CreateContainerRecipeResponse',
-- createContainerRecipeResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:CreateContainerRecipeResponse',
-- createContainerRecipeResponse_httpStatus - The response's http
-- status code.
newCreateContainerRecipeResponse :: Int -> CreateContainerRecipeResponse
-- | See: newCreateDistributionConfiguration smart
-- constructor.
data CreateDistributionConfiguration
CreateDistributionConfiguration' :: Maybe Text -> Maybe (HashMap Text Text) -> Text -> [Distribution] -> Text -> CreateDistributionConfiguration
-- | Create a value of CreateDistributionConfiguration 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:
--
-- CreateDistributionConfiguration,
-- createDistributionConfiguration_description - The description
-- of the distribution configuration.
--
-- CreateDistributionConfiguration,
-- createDistributionConfiguration_tags - The tags of the
-- distribution configuration.
--
-- CreateDistributionConfiguration,
-- createDistributionConfiguration_name - The name of the
-- distribution configuration.
--
-- CreateDistributionConfiguration,
-- createDistributionConfiguration_distributions - The
-- distributions of the distribution configuration.
--
-- CreateDistributionConfiguration,
-- createDistributionConfiguration_clientToken - The idempotency
-- token of the distribution configuration.
newCreateDistributionConfiguration :: Text -> Text -> CreateDistributionConfiguration
-- | See: newCreateDistributionConfigurationResponse smart
-- constructor.
data CreateDistributionConfigurationResponse
CreateDistributionConfigurationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateDistributionConfigurationResponse
-- | Create a value of CreateDistributionConfigurationResponse 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:
--
-- CreateDistributionConfiguration,
-- createDistributionConfigurationResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- CreateDistributionConfigurationResponse,
-- createDistributionConfigurationResponse_distributionConfigurationArn
-- - The Amazon Resource Name (ARN) of the distribution configuration
-- that was created by this request.
--
-- $sel:requestId:CreateDistributionConfigurationResponse',
-- createDistributionConfigurationResponse_requestId - The request
-- ID that uniquely identifies this request.
--
-- $sel:httpStatus:CreateDistributionConfigurationResponse',
-- createDistributionConfigurationResponse_httpStatus - The
-- response's http status code.
newCreateDistributionConfigurationResponse :: Int -> CreateDistributionConfigurationResponse
-- | See: newCreateImage smart constructor.
data CreateImage
CreateImage' :: Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ImageTestsConfiguration -> Maybe (HashMap Text Text) -> Text -> Text -> CreateImage
-- | Create a value of CreateImage 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:
--
-- CreateImage, createImage_containerRecipeArn - The Amazon
-- Resource Name (ARN) of the container recipe that defines how images
-- are configured and tested.
--
-- CreateImage, createImage_distributionConfigurationArn -
-- The Amazon Resource Name (ARN) of the distribution configuration that
-- defines and configures the outputs of your pipeline.
--
-- CreateImage, createImage_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.
--
-- CreateImage, createImage_imageRecipeArn - The Amazon
-- Resource Name (ARN) of the image recipe that defines how images are
-- configured, tested, and assessed.
--
-- CreateImage, createImage_imageTestsConfiguration - The
-- image tests configuration of the image.
--
-- CreateImage, createImage_tags - The tags of the image.
--
-- CreateImage, createImage_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- that defines the environment in which your image will be built and
-- tested.
--
-- CreateImage, createImage_clientToken - The idempotency
-- token used to make this request idempotent.
newCreateImage :: Text -> Text -> CreateImage
-- | See: newCreateImageResponse smart constructor.
data CreateImageResponse
CreateImageResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateImageResponse
-- | Create a value of CreateImageResponse 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:
--
-- CreateImage, createImageResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- $sel:imageBuildVersionArn:CreateImageResponse',
-- createImageResponse_imageBuildVersionArn - The Amazon Resource
-- Name (ARN) of the image that was created by this request.
--
-- $sel:requestId:CreateImageResponse',
-- createImageResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:CreateImageResponse',
-- createImageResponse_httpStatus - The response's http status
-- code.
newCreateImageResponse :: Int -> CreateImageResponse
-- | See: newCreateImagePipeline smart constructor.
data CreateImagePipeline
CreateImagePipeline' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ImageTestsConfiguration -> Maybe Schedule -> Maybe PipelineStatus -> Maybe (HashMap Text Text) -> 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:
--
-- CreateImagePipeline,
-- createImagePipeline_containerRecipeArn - The Amazon Resource
-- Name (ARN) of the container recipe that is used to configure images
-- created by this container pipeline.
--
-- CreateImagePipeline, createImagePipeline_description -
-- The description of the image pipeline.
--
-- 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.
--
-- 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.
--
-- CreateImagePipeline, createImagePipeline_imageRecipeArn
-- - The Amazon Resource Name (ARN) of the image recipe that will be used
-- to configure images created by this image pipeline.
--
-- CreateImagePipeline,
-- createImagePipeline_imageTestsConfiguration - The image test
-- configuration of the image pipeline.
--
-- CreateImagePipeline, createImagePipeline_schedule - The
-- schedule of the image pipeline.
--
-- CreateImagePipeline, createImagePipeline_status - The
-- status of the image pipeline.
--
-- CreateImagePipeline, createImagePipeline_tags - The tags
-- of the image pipeline.
--
-- CreateImagePipeline, createImagePipeline_name - The name
-- of the image pipeline.
--
-- CreateImagePipeline,
-- createImagePipeline_infrastructureConfigurationArn - The Amazon
-- Resource Name (ARN) of the infrastructure configuration that will be
-- used to build images created by this image pipeline.
--
-- CreateImagePipeline, createImagePipeline_clientToken -
-- The idempotency token used to make this request idempotent.
newCreateImagePipeline :: Text -> Text -> Text -> CreateImagePipeline
-- | See: newCreateImagePipelineResponse smart constructor.
data CreateImagePipelineResponse
CreateImagePipelineResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateImagePipelineResponse
-- | 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:
--
-- 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:requestId:CreateImagePipelineResponse',
-- createImagePipelineResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:CreateImagePipelineResponse',
-- createImagePipelineResponse_httpStatus - The response's http
-- status code.
newCreateImagePipelineResponse :: Int -> CreateImagePipelineResponse
-- | See: newCreateImageRecipe smart constructor.
data CreateImageRecipe
CreateImageRecipe' :: Maybe AdditionalInstanceConfiguration -> Maybe [InstanceBlockDeviceMapping] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Text -> Text -> NonEmpty ComponentConfiguration -> Text -> Text -> CreateImageRecipe
-- | Create a value of CreateImageRecipe 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:
--
-- CreateImageRecipe,
-- createImageRecipe_additionalInstanceConfiguration - Specify
-- additional settings and launch scripts for your build instances.
--
-- CreateImageRecipe, createImageRecipe_blockDeviceMappings
-- - The block device mappings of the image recipe.
--
-- CreateImageRecipe, createImageRecipe_description - The
-- description of the image recipe.
--
-- CreateImageRecipe, createImageRecipe_tags - The tags of
-- the image recipe.
--
-- CreateImageRecipe, createImageRecipe_workingDirectory -
-- The working directory used during build and test workflows.
--
-- CreateImageRecipe, createImageRecipe_name - The name of
-- the image recipe.
--
-- $sel:semanticVersion:CreateImageRecipe',
-- createImageRecipe_semanticVersion - The semantic version of the
-- image recipe. This version follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- CreateImageRecipe, createImageRecipe_components - The
-- components of the image recipe.
--
-- CreateImageRecipe, createImageRecipe_parentImage - The
-- base image of the image recipe. The value of the string can be the ARN
-- of the base image or an AMI ID. The format for the ARN follows this
-- example:
-- arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x.
-- You can provide the specific version that you want to use, or you can
-- use a wildcard in all of the fields. If you enter an AMI ID for the
-- string value, you must have access to the AMI, and the AMI must be in
-- the same Region in which you are using Image Builder.
--
-- CreateImageRecipe, createImageRecipe_clientToken - The
-- idempotency token used to make this request idempotent.
newCreateImageRecipe :: Text -> Text -> NonEmpty ComponentConfiguration -> Text -> Text -> CreateImageRecipe
-- | See: newCreateImageRecipeResponse smart constructor.
data CreateImageRecipeResponse
CreateImageRecipeResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateImageRecipeResponse
-- | Create a value of CreateImageRecipeResponse 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:
--
-- CreateImageRecipe, createImageRecipeResponse_clientToken
-- - The idempotency token used to make this request idempotent.
--
-- CreateImageRecipeResponse,
-- createImageRecipeResponse_imageRecipeArn - The Amazon Resource
-- Name (ARN) of the image recipe that was created by this request.
--
-- $sel:requestId:CreateImageRecipeResponse',
-- createImageRecipeResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:CreateImageRecipeResponse',
-- createImageRecipeResponse_httpStatus - The response's http
-- status code.
newCreateImageRecipeResponse :: Int -> CreateImageRecipeResponse
-- | See: newCreateInfrastructureConfiguration smart
-- constructor.
data CreateInfrastructureConfiguration
CreateInfrastructureConfiguration' :: Maybe Text -> Maybe InstanceMetadataOptions -> Maybe [Text] -> Maybe Text -> Maybe Logging -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Bool -> Text -> Text -> Text -> CreateInfrastructureConfiguration
-- | Create a value of CreateInfrastructureConfiguration 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:
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_description - The description
-- of the infrastructure configuration.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_instanceMetadataOptions - The
-- instance metadata options that you can set for the HTTP requests that
-- pipeline builds use to launch EC2 build and test instances.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_instanceTypes - The instance
-- types of the infrastructure configuration. You can specify one or more
-- instance types to use for this build. The service will pick one of
-- these instance types based on availability.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_keyPair - The key pair of the
-- infrastructure configuration. You can use this to log on to and debug
-- the instance used to create your image.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_logging - The logging
-- configuration of the infrastructure configuration.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_resourceTags - The tags
-- attached to the resource created by Image Builder.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_securityGroupIds - The
-- security group IDs to associate with the instance used to customize
-- your Amazon EC2 AMI.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_snsTopicArn - The Amazon
-- Resource Name (ARN) for the SNS topic to which we send image build
-- event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_subnetId - The subnet ID in
-- which to place the instance used to customize your Amazon EC2 AMI.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_tags - The tags of the
-- infrastructure configuration.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_terminateInstanceOnFailure -
-- The terminate instance on failure setting of the infrastructure
-- configuration. Set to false if you want Image Builder to retain the
-- instance used to configure your AMI if the build or test phase of your
-- workflow fails.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_name - The name of the
-- infrastructure configuration.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_instanceProfileName - The
-- instance profile to associate with the instance used to customize your
-- Amazon EC2 AMI.
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfiguration_clientToken - The idempotency
-- token used to make this request idempotent.
newCreateInfrastructureConfiguration :: Text -> Text -> Text -> CreateInfrastructureConfiguration
-- | See: newCreateInfrastructureConfigurationResponse smart
-- constructor.
data CreateInfrastructureConfigurationResponse
CreateInfrastructureConfigurationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateInfrastructureConfigurationResponse
-- | Create a value of CreateInfrastructureConfigurationResponse
-- 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:
--
-- CreateInfrastructureConfiguration,
-- createInfrastructureConfigurationResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- CreateInfrastructureConfigurationResponse,
-- createInfrastructureConfigurationResponse_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was created by this request.
--
-- $sel:requestId:CreateInfrastructureConfigurationResponse',
-- createInfrastructureConfigurationResponse_requestId - The
-- request ID that uniquely identifies this request.
--
-- $sel:httpStatus:CreateInfrastructureConfigurationResponse',
-- createInfrastructureConfigurationResponse_httpStatus - The
-- response's http status code.
newCreateInfrastructureConfigurationResponse :: Int -> CreateInfrastructureConfigurationResponse
-- | See: newDeleteComponent smart constructor.
data DeleteComponent
DeleteComponent' :: Text -> DeleteComponent
-- | Create a value of DeleteComponent 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:
--
-- DeleteComponent,
-- deleteComponent_componentBuildVersionArn - The Amazon Resource
-- Name (ARN) of the component build version to delete.
newDeleteComponent :: Text -> DeleteComponent
-- | See: newDeleteComponentResponse smart constructor.
data DeleteComponentResponse
DeleteComponentResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteComponentResponse
-- | Create a value of DeleteComponentResponse 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:
--
-- DeleteComponent,
-- deleteComponentResponse_componentBuildVersionArn - The Amazon
-- Resource Name (ARN) of the component build version that was deleted.
--
-- $sel:requestId:DeleteComponentResponse',
-- deleteComponentResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:DeleteComponentResponse',
-- deleteComponentResponse_httpStatus - The response's http status
-- code.
newDeleteComponentResponse :: Int -> DeleteComponentResponse
-- | See: newDeleteContainerRecipe smart constructor.
data DeleteContainerRecipe
DeleteContainerRecipe' :: Text -> DeleteContainerRecipe
-- | Create a value of DeleteContainerRecipe 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:
--
-- DeleteContainerRecipe,
-- deleteContainerRecipe_containerRecipeArn - The Amazon Resource
-- Name (ARN) of the container recipe to delete.
newDeleteContainerRecipe :: Text -> DeleteContainerRecipe
-- | See: newDeleteContainerRecipeResponse smart constructor.
data DeleteContainerRecipeResponse
DeleteContainerRecipeResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteContainerRecipeResponse
-- | Create a value of DeleteContainerRecipeResponse 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:
--
-- DeleteContainerRecipe,
-- deleteContainerRecipeResponse_containerRecipeArn - The Amazon
-- Resource Name (ARN) of the container recipe that was deleted.
--
-- $sel:requestId:DeleteContainerRecipeResponse',
-- deleteContainerRecipeResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:DeleteContainerRecipeResponse',
-- deleteContainerRecipeResponse_httpStatus - The response's http
-- status code.
newDeleteContainerRecipeResponse :: Int -> DeleteContainerRecipeResponse
-- | See: newDeleteDistributionConfiguration smart
-- constructor.
data DeleteDistributionConfiguration
DeleteDistributionConfiguration' :: Text -> DeleteDistributionConfiguration
-- | Create a value of DeleteDistributionConfiguration 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:
--
-- DeleteDistributionConfiguration,
-- deleteDistributionConfiguration_distributionConfigurationArn -
-- The Amazon Resource Name (ARN) of the distribution configuration to
-- delete.
newDeleteDistributionConfiguration :: Text -> DeleteDistributionConfiguration
-- | See: newDeleteDistributionConfigurationResponse smart
-- constructor.
data DeleteDistributionConfigurationResponse
DeleteDistributionConfigurationResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteDistributionConfigurationResponse
-- | Create a value of DeleteDistributionConfigurationResponse 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:
--
-- DeleteDistributionConfiguration,
-- deleteDistributionConfigurationResponse_distributionConfigurationArn
-- - The Amazon Resource Name (ARN) of the distribution configuration
-- that was deleted.
--
-- $sel:requestId:DeleteDistributionConfigurationResponse',
-- deleteDistributionConfigurationResponse_requestId - The request
-- ID that uniquely identifies this request.
--
-- $sel:httpStatus:DeleteDistributionConfigurationResponse',
-- deleteDistributionConfigurationResponse_httpStatus - The
-- response's http status code.
newDeleteDistributionConfigurationResponse :: Int -> DeleteDistributionConfigurationResponse
-- | See: newDeleteImage smart constructor.
data DeleteImage
DeleteImage' :: Text -> DeleteImage
-- | Create a value of DeleteImage 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:
--
-- DeleteImage, deleteImage_imageBuildVersionArn - The
-- Amazon Resource Name (ARN) of the Image Builder image resource to
-- delete.
newDeleteImage :: Text -> DeleteImage
-- | See: newDeleteImageResponse smart constructor.
data DeleteImageResponse
DeleteImageResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteImageResponse
-- | Create a value of DeleteImageResponse 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:
--
-- DeleteImage, deleteImageResponse_imageBuildVersionArn -
-- The Amazon Resource Name (ARN) of the Image Builder image resource
-- that was deleted.
--
-- $sel:requestId:DeleteImageResponse',
-- deleteImageResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:DeleteImageResponse',
-- deleteImageResponse_httpStatus - The response's http status
-- code.
newDeleteImageResponse :: Int -> DeleteImageResponse
-- | See: newDeleteImagePipeline smart constructor.
data DeleteImagePipeline
DeleteImagePipeline' :: Text -> DeleteImagePipeline
-- | Create a value of DeleteImagePipeline 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:
--
-- DeleteImagePipeline,
-- deleteImagePipeline_imagePipelineArn - The Amazon Resource Name
-- (ARN) of the image pipeline to delete.
newDeleteImagePipeline :: Text -> DeleteImagePipeline
-- | See: newDeleteImagePipelineResponse smart constructor.
data DeleteImagePipelineResponse
DeleteImagePipelineResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteImagePipelineResponse
-- | Create a value of DeleteImagePipelineResponse 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:
--
-- DeleteImagePipeline,
-- deleteImagePipelineResponse_imagePipelineArn - The Amazon
-- Resource Name (ARN) of the image pipeline that was deleted.
--
-- $sel:requestId:DeleteImagePipelineResponse',
-- deleteImagePipelineResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:DeleteImagePipelineResponse',
-- deleteImagePipelineResponse_httpStatus - The response's http
-- status code.
newDeleteImagePipelineResponse :: Int -> DeleteImagePipelineResponse
-- | See: newDeleteImageRecipe smart constructor.
data DeleteImageRecipe
DeleteImageRecipe' :: Text -> DeleteImageRecipe
-- | Create a value of DeleteImageRecipe 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:
--
-- DeleteImageRecipe, deleteImageRecipe_imageRecipeArn -
-- The Amazon Resource Name (ARN) of the image recipe to delete.
newDeleteImageRecipe :: Text -> DeleteImageRecipe
-- | See: newDeleteImageRecipeResponse smart constructor.
data DeleteImageRecipeResponse
DeleteImageRecipeResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteImageRecipeResponse
-- | Create a value of DeleteImageRecipeResponse 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:
--
-- DeleteImageRecipe,
-- deleteImageRecipeResponse_imageRecipeArn - The Amazon Resource
-- Name (ARN) of the image recipe that was deleted.
--
-- $sel:requestId:DeleteImageRecipeResponse',
-- deleteImageRecipeResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:DeleteImageRecipeResponse',
-- deleteImageRecipeResponse_httpStatus - The response's http
-- status code.
newDeleteImageRecipeResponse :: Int -> DeleteImageRecipeResponse
-- | See: newDeleteInfrastructureConfiguration smart
-- constructor.
data DeleteInfrastructureConfiguration
DeleteInfrastructureConfiguration' :: Text -> DeleteInfrastructureConfiguration
-- | Create a value of DeleteInfrastructureConfiguration 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:
--
-- DeleteInfrastructureConfiguration,
-- deleteInfrastructureConfiguration_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- to delete.
newDeleteInfrastructureConfiguration :: Text -> DeleteInfrastructureConfiguration
-- | See: newDeleteInfrastructureConfigurationResponse smart
-- constructor.
data DeleteInfrastructureConfigurationResponse
DeleteInfrastructureConfigurationResponse' :: Maybe Text -> Maybe Text -> Int -> DeleteInfrastructureConfigurationResponse
-- | Create a value of DeleteInfrastructureConfigurationResponse
-- 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:
--
-- DeleteInfrastructureConfiguration,
-- deleteInfrastructureConfigurationResponse_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was deleted.
--
-- $sel:requestId:DeleteInfrastructureConfigurationResponse',
-- deleteInfrastructureConfigurationResponse_requestId - The
-- request ID that uniquely identifies this request.
--
-- $sel:httpStatus:DeleteInfrastructureConfigurationResponse',
-- deleteInfrastructureConfigurationResponse_httpStatus - The
-- response's http status code.
newDeleteInfrastructureConfigurationResponse :: Int -> DeleteInfrastructureConfigurationResponse
-- | See: newGetComponent smart constructor.
data GetComponent
GetComponent' :: Text -> GetComponent
-- | Create a value of GetComponent 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:componentBuildVersionArn:GetComponent',
-- getComponent_componentBuildVersionArn - The Amazon Resource
-- Name (ARN) of the component that you want to retrieve. Regex requires
-- "/\d+$" suffix.
newGetComponent :: Text -> GetComponent
-- | See: newGetComponentResponse smart constructor.
data GetComponentResponse
GetComponentResponse' :: Maybe Component -> Maybe Text -> Int -> GetComponentResponse
-- | Create a value of GetComponentResponse 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:component:GetComponentResponse',
-- getComponentResponse_component - The component object
-- associated with the specified ARN.
--
-- $sel:requestId:GetComponentResponse',
-- getComponentResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:GetComponentResponse',
-- getComponentResponse_httpStatus - The response's http status
-- code.
newGetComponentResponse :: Int -> GetComponentResponse
-- | See: newGetComponentPolicy smart constructor.
data GetComponentPolicy
GetComponentPolicy' :: Text -> GetComponentPolicy
-- | Create a value of GetComponentPolicy 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:
--
-- GetComponentPolicy, getComponentPolicy_componentArn -
-- The Amazon Resource Name (ARN) of the component whose policy you want
-- to retrieve.
newGetComponentPolicy :: Text -> GetComponentPolicy
-- | See: newGetComponentPolicyResponse smart constructor.
data GetComponentPolicyResponse
GetComponentPolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetComponentPolicyResponse
-- | Create a value of GetComponentPolicyResponse 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:policy:GetComponentPolicyResponse',
-- getComponentPolicyResponse_policy - The component policy.
--
-- $sel:requestId:GetComponentPolicyResponse',
-- getComponentPolicyResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:GetComponentPolicyResponse',
-- getComponentPolicyResponse_httpStatus - The response's http
-- status code.
newGetComponentPolicyResponse :: Int -> GetComponentPolicyResponse
-- | See: newGetContainerRecipe smart constructor.
data GetContainerRecipe
GetContainerRecipe' :: Text -> GetContainerRecipe
-- | Create a value of GetContainerRecipe 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:
--
-- GetContainerRecipe,
-- getContainerRecipe_containerRecipeArn - The Amazon Resource
-- Name (ARN) of the container recipe to retrieve.
newGetContainerRecipe :: Text -> GetContainerRecipe
-- | See: newGetContainerRecipeResponse smart constructor.
data GetContainerRecipeResponse
GetContainerRecipeResponse' :: Maybe ContainerRecipe -> Maybe Text -> Int -> GetContainerRecipeResponse
-- | Create a value of GetContainerRecipeResponse 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:
--
-- GetContainerRecipeResponse,
-- getContainerRecipeResponse_containerRecipe - The container
-- recipe object that is returned.
--
-- $sel:requestId:GetContainerRecipeResponse',
-- getContainerRecipeResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:GetContainerRecipeResponse',
-- getContainerRecipeResponse_httpStatus - The response's http
-- status code.
newGetContainerRecipeResponse :: Int -> GetContainerRecipeResponse
-- | See: newGetContainerRecipePolicy smart constructor.
data GetContainerRecipePolicy
GetContainerRecipePolicy' :: Text -> GetContainerRecipePolicy
-- | Create a value of GetContainerRecipePolicy 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:
--
-- GetContainerRecipePolicy,
-- getContainerRecipePolicy_containerRecipeArn - The Amazon
-- Resource Name (ARN) of the container recipe for the policy being
-- requested.
newGetContainerRecipePolicy :: Text -> GetContainerRecipePolicy
-- | See: newGetContainerRecipePolicyResponse smart
-- constructor.
data GetContainerRecipePolicyResponse
GetContainerRecipePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetContainerRecipePolicyResponse
-- | Create a value of GetContainerRecipePolicyResponse 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:policy:GetContainerRecipePolicyResponse',
-- getContainerRecipePolicyResponse_policy - The container recipe
-- policy object that is returned.
--
-- $sel:requestId:GetContainerRecipePolicyResponse',
-- getContainerRecipePolicyResponse_requestId - The request ID
-- that uniquely identifies this request.
--
-- $sel:httpStatus:GetContainerRecipePolicyResponse',
-- getContainerRecipePolicyResponse_httpStatus - The response's
-- http status code.
newGetContainerRecipePolicyResponse :: Int -> GetContainerRecipePolicyResponse
-- | See: newGetDistributionConfiguration smart constructor.
data GetDistributionConfiguration
GetDistributionConfiguration' :: Text -> GetDistributionConfiguration
-- | Create a value of GetDistributionConfiguration 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:
--
-- GetDistributionConfiguration,
-- getDistributionConfiguration_distributionConfigurationArn - The
-- Amazon Resource Name (ARN) of the distribution configuration that you
-- want to retrieve.
newGetDistributionConfiguration :: Text -> GetDistributionConfiguration
-- | See: newGetDistributionConfigurationResponse smart
-- constructor.
data GetDistributionConfigurationResponse
GetDistributionConfigurationResponse' :: Maybe DistributionConfiguration -> Maybe Text -> Int -> GetDistributionConfigurationResponse
-- | Create a value of GetDistributionConfigurationResponse 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:
--
-- GetDistributionConfigurationResponse,
-- getDistributionConfigurationResponse_distributionConfiguration
-- - The distribution configuration object.
--
-- $sel:requestId:GetDistributionConfigurationResponse',
-- getDistributionConfigurationResponse_requestId - The request ID
-- that uniquely identifies this request.
--
-- $sel:httpStatus:GetDistributionConfigurationResponse',
-- getDistributionConfigurationResponse_httpStatus - The
-- response's http status code.
newGetDistributionConfigurationResponse :: Int -> GetDistributionConfigurationResponse
-- | See: newGetImage smart constructor.
data GetImage
GetImage' :: Text -> GetImage
-- | Create a value of GetImage 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:imageBuildVersionArn:GetImage',
-- getImage_imageBuildVersionArn - The Amazon Resource Name (ARN)
-- of the image that you want to retrieve.
newGetImage :: Text -> GetImage
-- | See: newGetImageResponse smart constructor.
data GetImageResponse
GetImageResponse' :: Maybe Image -> Maybe Text -> Int -> GetImageResponse
-- | Create a value of GetImageResponse 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:
--
-- GetImageResponse, getImageResponse_image - The image
-- object.
--
-- $sel:requestId:GetImageResponse',
-- getImageResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:GetImageResponse',
-- getImageResponse_httpStatus - The response's http status code.
newGetImageResponse :: Int -> GetImageResponse
-- | See: newGetImagePipeline smart constructor.
data GetImagePipeline
GetImagePipeline' :: Text -> GetImagePipeline
-- | Create a value of GetImagePipeline 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:imagePipelineArn:GetImagePipeline',
-- getImagePipeline_imagePipelineArn - The Amazon Resource Name
-- (ARN) of the image pipeline that you want to retrieve.
newGetImagePipeline :: Text -> GetImagePipeline
-- | See: newGetImagePipelineResponse smart constructor.
data GetImagePipelineResponse
GetImagePipelineResponse' :: Maybe ImagePipeline -> Maybe Text -> Int -> GetImagePipelineResponse
-- | Create a value of GetImagePipelineResponse 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:imagePipeline:GetImagePipelineResponse',
-- getImagePipelineResponse_imagePipeline - The image pipeline
-- object.
--
-- $sel:requestId:GetImagePipelineResponse',
-- getImagePipelineResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:GetImagePipelineResponse',
-- getImagePipelineResponse_httpStatus - The response's http
-- status code.
newGetImagePipelineResponse :: Int -> GetImagePipelineResponse
-- | See: newGetImagePolicy smart constructor.
data GetImagePolicy
GetImagePolicy' :: Text -> GetImagePolicy
-- | Create a value of GetImagePolicy 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:imageArn:GetImagePolicy', getImagePolicy_imageArn -
-- The Amazon Resource Name (ARN) of the image whose policy you want to
-- retrieve.
newGetImagePolicy :: Text -> GetImagePolicy
-- | See: newGetImagePolicyResponse smart constructor.
data GetImagePolicyResponse
GetImagePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetImagePolicyResponse
-- | Create a value of GetImagePolicyResponse 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:policy:GetImagePolicyResponse',
-- getImagePolicyResponse_policy - The image policy object.
--
-- $sel:requestId:GetImagePolicyResponse',
-- getImagePolicyResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:GetImagePolicyResponse',
-- getImagePolicyResponse_httpStatus - The response's http status
-- code.
newGetImagePolicyResponse :: Int -> GetImagePolicyResponse
-- | See: newGetImageRecipe smart constructor.
data GetImageRecipe
GetImageRecipe' :: Text -> GetImageRecipe
-- | Create a value of GetImageRecipe 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:
--
-- GetImageRecipe, getImageRecipe_imageRecipeArn - The
-- Amazon Resource Name (ARN) of the image recipe that you want to
-- retrieve.
newGetImageRecipe :: Text -> GetImageRecipe
-- | See: newGetImageRecipeResponse smart constructor.
data GetImageRecipeResponse
GetImageRecipeResponse' :: Maybe ImageRecipe -> Maybe Text -> Int -> GetImageRecipeResponse
-- | Create a value of GetImageRecipeResponse 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:
--
-- GetImageRecipeResponse,
-- getImageRecipeResponse_imageRecipe - The image recipe object.
--
-- $sel:requestId:GetImageRecipeResponse',
-- getImageRecipeResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:GetImageRecipeResponse',
-- getImageRecipeResponse_httpStatus - The response's http status
-- code.
newGetImageRecipeResponse :: Int -> GetImageRecipeResponse
-- | See: newGetImageRecipePolicy smart constructor.
data GetImageRecipePolicy
GetImageRecipePolicy' :: Text -> GetImageRecipePolicy
-- | Create a value of GetImageRecipePolicy 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:
--
-- GetImageRecipePolicy,
-- getImageRecipePolicy_imageRecipeArn - The Amazon Resource Name
-- (ARN) of the image recipe whose policy you want to retrieve.
newGetImageRecipePolicy :: Text -> GetImageRecipePolicy
-- | See: newGetImageRecipePolicyResponse smart constructor.
data GetImageRecipePolicyResponse
GetImageRecipePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> GetImageRecipePolicyResponse
-- | Create a value of GetImageRecipePolicyResponse 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:policy:GetImageRecipePolicyResponse',
-- getImageRecipePolicyResponse_policy - The image recipe policy
-- object.
--
-- $sel:requestId:GetImageRecipePolicyResponse',
-- getImageRecipePolicyResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:GetImageRecipePolicyResponse',
-- getImageRecipePolicyResponse_httpStatus - The response's http
-- status code.
newGetImageRecipePolicyResponse :: Int -> GetImageRecipePolicyResponse
-- | GetInfrastructureConfiguration request object.
--
-- See: newGetInfrastructureConfiguration smart
-- constructor.
data GetInfrastructureConfiguration
GetInfrastructureConfiguration' :: Text -> GetInfrastructureConfiguration
-- | Create a value of GetInfrastructureConfiguration 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:
--
-- GetInfrastructureConfiguration,
-- getInfrastructureConfiguration_infrastructureConfigurationArn -
-- The Amazon Resource Name (ARN) of the infrastructure configuration
-- that you want to retrieve.
newGetInfrastructureConfiguration :: Text -> GetInfrastructureConfiguration
-- | GetInfrastructureConfiguration response object.
--
-- See: newGetInfrastructureConfigurationResponse smart
-- constructor.
data GetInfrastructureConfigurationResponse
GetInfrastructureConfigurationResponse' :: Maybe InfrastructureConfiguration -> Maybe Text -> Int -> GetInfrastructureConfigurationResponse
-- | Create a value of GetInfrastructureConfigurationResponse 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:
--
-- GetInfrastructureConfigurationResponse,
-- getInfrastructureConfigurationResponse_infrastructureConfiguration
-- - The infrastructure configuration object.
--
-- $sel:requestId:GetInfrastructureConfigurationResponse',
-- getInfrastructureConfigurationResponse_requestId - The request
-- ID that uniquely identifies this request.
--
-- $sel:httpStatus:GetInfrastructureConfigurationResponse',
-- getInfrastructureConfigurationResponse_httpStatus - The
-- response's http status code.
newGetInfrastructureConfigurationResponse :: Int -> GetInfrastructureConfigurationResponse
-- | See: newImportComponent smart constructor.
data ImportComponent
ImportComponent' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Text -> Text -> Text -> ComponentType -> ComponentFormat -> Platform -> Text -> ImportComponent
-- | Create a value of ImportComponent 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:
--
-- ImportComponent, importComponent_changeDescription - The
-- change description of the component. Describes what change has been
-- made in this version, or what makes this version different from other
-- versions of this component.
--
-- ImportComponent, importComponent_data - The data of the
-- component. Used to specify the data inline. Either data or
-- uri can be used to specify the data within the component.
--
-- ImportComponent, importComponent_description - The
-- description of the component. Describes the contents of the component.
--
-- ImportComponent, importComponent_kmsKeyId - The ID of
-- the KMS key that should be used to encrypt this component.
--
-- ImportComponent, importComponent_tags - The tags of the
-- component.
--
-- $sel:uri:ImportComponent', importComponent_uri - The uri
-- of the component. Must be an Amazon S3 URL and the requester must have
-- permission to access the Amazon S3 bucket. If you use Amazon S3, you
-- can specify component content up to your service quota. Either
-- data or uri can be used to specify the data within
-- the component.
--
-- ImportComponent, importComponent_name - The name of the
-- component.
--
-- $sel:semanticVersion:ImportComponent',
-- importComponent_semanticVersion - The semantic version of the
-- component. This version follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
--
-- ImportComponent, importComponent_type - The type of the
-- component denotes whether the component is used to build the image, or
-- only to test it.
--
-- $sel:format:ImportComponent', importComponent_format -
-- The format of the resource that you want to import as a component.
--
-- ImportComponent, importComponent_platform - The platform
-- of the component.
--
-- ImportComponent, importComponent_clientToken - The
-- idempotency token of the component.
newImportComponent :: Text -> Text -> ComponentType -> ComponentFormat -> Platform -> Text -> ImportComponent
-- | See: newImportComponentResponse smart constructor.
data ImportComponentResponse
ImportComponentResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> ImportComponentResponse
-- | Create a value of ImportComponentResponse 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:
--
-- ImportComponent, importComponentResponse_clientToken -
-- The idempotency token used to make this request idempotent.
--
-- $sel:componentBuildVersionArn:ImportComponentResponse',
-- importComponentResponse_componentBuildVersionArn - The Amazon
-- Resource Name (ARN) of the imported component.
--
-- $sel:requestId:ImportComponentResponse',
-- importComponentResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ImportComponentResponse',
-- importComponentResponse_httpStatus - The response's http status
-- code.
newImportComponentResponse :: Int -> ImportComponentResponse
-- | See: newImportVmImage smart constructor.
data ImportVmImage
ImportVmImage' :: Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> Platform -> Text -> Text -> ImportVmImage
-- | Create a value of ImportVmImage 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:
--
-- ImportVmImage, importVmImage_description - The
-- description for the base image that is created by the import process.
--
-- ImportVmImage, importVmImage_osVersion - The operating
-- system version for the imported VM.
--
-- ImportVmImage, importVmImage_tags - Tags that are
-- attached to the import resources.
--
-- ImportVmImage, importVmImage_name - The name of the base
-- image that is created by the import process.
--
-- $sel:semanticVersion:ImportVmImage',
-- importVmImage_semanticVersion - The semantic version to attach
-- to the base image that was created during the import process. This
-- version follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- ImportVmImage, importVmImage_platform - The operating
-- system platform for the imported VM.
--
-- $sel:vmImportTaskId:ImportVmImage',
-- importVmImage_vmImportTaskId - The importTaskId (API)
-- or ImportTaskId (CLI) from the Amazon EC2 VM import process.
-- Image Builder retrieves information from the import process to pull in
-- the AMI that is created from the VM source as the base image for your
-- recipe.
--
-- ImportVmImage, importVmImage_clientToken - Unique,
-- case-sensitive identifier you provide to ensure idempotency of the
-- request. For more information, see Ensuring idempotency in the
-- Amazon EC2 API Reference.
newImportVmImage :: Text -> Text -> Platform -> Text -> Text -> ImportVmImage
-- | See: newImportVmImageResponse smart constructor.
data ImportVmImageResponse
ImportVmImageResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> ImportVmImageResponse
-- | Create a value of ImportVmImageResponse 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:
--
-- ImportVmImage, importVmImageResponse_clientToken - The
-- idempotency token that was used for this request.
--
-- $sel:imageArn:ImportVmImageResponse',
-- importVmImageResponse_imageArn - The Amazon Resource Name (ARN)
-- of the AMI that was created during the VM import process. This AMI is
-- used as the base image for the recipe that imported the VM.
--
-- $sel:requestId:ImportVmImageResponse',
-- importVmImageResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:ImportVmImageResponse',
-- importVmImageResponse_httpStatus - The response's http status
-- code.
newImportVmImageResponse :: Int -> ImportVmImageResponse
-- | See: newListComponentBuildVersions smart constructor.
data ListComponentBuildVersions
ListComponentBuildVersions' :: Maybe Natural -> Maybe Text -> Text -> ListComponentBuildVersions
-- | Create a value of ListComponentBuildVersions 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:maxResults:ListComponentBuildVersions',
-- listComponentBuildVersions_maxResults - The maximum items to
-- return in a request.
--
-- ListComponentBuildVersions,
-- listComponentBuildVersions_nextToken - A token to specify where
-- to start paginating. This is the NextToken from a previously truncated
-- response.
--
-- $sel:componentVersionArn:ListComponentBuildVersions',
-- listComponentBuildVersions_componentVersionArn - The component
-- version Amazon Resource Name (ARN) whose versions you want to list.
newListComponentBuildVersions :: Text -> ListComponentBuildVersions
-- | See: newListComponentBuildVersionsResponse smart
-- constructor.
data ListComponentBuildVersionsResponse
ListComponentBuildVersionsResponse' :: Maybe [ComponentSummary] -> Maybe Text -> Maybe Text -> Int -> ListComponentBuildVersionsResponse
-- | Create a value of ListComponentBuildVersionsResponse 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:componentSummaryList:ListComponentBuildVersionsResponse',
-- listComponentBuildVersionsResponse_componentSummaryList - The
-- list of component summaries for the specified semantic version.
--
-- ListComponentBuildVersions,
-- listComponentBuildVersionsResponse_nextToken - The next token
-- used for paginated responses. When this is not empty, there are
-- additional elements that the service has not included in this request.
-- Use this token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListComponentBuildVersionsResponse',
-- listComponentBuildVersionsResponse_requestId - The request ID
-- that uniquely identifies this request.
--
-- $sel:httpStatus:ListComponentBuildVersionsResponse',
-- listComponentBuildVersionsResponse_httpStatus - The response's
-- http status code.
newListComponentBuildVersionsResponse :: Int -> ListComponentBuildVersionsResponse
-- | See: newListComponents smart constructor.
data ListComponents
ListComponents' :: Maybe Bool -> Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> Maybe Ownership -> ListComponents
-- | Create a value of ListComponents 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:byName:ListComponents', listComponents_byName -
-- Returns the list of component build versions for the specified name.
--
-- $sel:filters:ListComponents', listComponents_filters -
-- Use the following filters to streamline results:
--
--
-- description
-- name
-- platform
-- supportedOsVersion
-- type
-- version
--
--
-- $sel:maxResults:ListComponents',
-- listComponents_maxResults - The maximum items to return in a
-- request.
--
-- ListComponents, listComponents_nextToken - A token to
-- specify where to start paginating. This is the NextToken from a
-- previously truncated response.
--
-- ListComponents, listComponents_owner - The owner defines
-- which components you want to list. By default, this request will only
-- show components owned by your account. You can use this field to
-- specify if you want to view components owned by yourself, by Amazon,
-- or those components that have been shared with you by other customers.
newListComponents :: ListComponents
-- | See: newListComponentsResponse smart constructor.
data ListComponentsResponse
ListComponentsResponse' :: Maybe [ComponentVersion] -> Maybe Text -> Maybe Text -> Int -> ListComponentsResponse
-- | Create a value of ListComponentsResponse 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:componentVersionList:ListComponentsResponse',
-- listComponentsResponse_componentVersionList - The list of
-- component semantic versions.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- ListComponents, listComponentsResponse_nextToken - The
-- next token used for paginated responses. When this is not empty, there
-- are additional elements that the service has not included in this
-- request. Use this token with the next request to retrieve additional
-- objects.
--
-- $sel:requestId:ListComponentsResponse',
-- listComponentsResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:ListComponentsResponse',
-- listComponentsResponse_httpStatus - The response's http status
-- code.
newListComponentsResponse :: Int -> ListComponentsResponse
-- | See: newListContainerRecipes smart constructor.
data ListContainerRecipes
ListContainerRecipes' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> Maybe Ownership -> ListContainerRecipes
-- | Create a value of ListContainerRecipes 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:filters:ListContainerRecipes',
-- listContainerRecipes_filters - Use the following filters to
-- streamline results:
--
--
-- containerType
-- name
-- parentImage
-- platform
--
--
-- $sel:maxResults:ListContainerRecipes',
-- listContainerRecipes_maxResults - The maximum number of results
-- to return in the list.
--
-- ListContainerRecipes, listContainerRecipes_nextToken -
-- Provides a token for pagination, which determines where to begin the
-- next set of results when the current set reaches the maximum for one
-- request.
--
-- ListContainerRecipes, listContainerRecipes_owner -
-- Returns container recipes belonging to the specified owner, that have
-- been shared with you. You can omit this field to return container
-- recipes belonging to your account.
newListContainerRecipes :: ListContainerRecipes
-- | See: newListContainerRecipesResponse smart constructor.
data ListContainerRecipesResponse
ListContainerRecipesResponse' :: Maybe [ContainerRecipeSummary] -> Maybe Text -> Maybe Text -> Int -> ListContainerRecipesResponse
-- | Create a value of ListContainerRecipesResponse 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:containerRecipeSummaryList:ListContainerRecipesResponse',
-- listContainerRecipesResponse_containerRecipeSummaryList - The
-- list of container recipes returned for the request.
--
-- ListContainerRecipes,
-- listContainerRecipesResponse_nextToken - The next token field
-- is used for paginated responses. When this is not empty, there are
-- additional container recipes that the service has not included in this
-- response. Use this token with the next request to retrieve additional
-- list items.
--
-- $sel:requestId:ListContainerRecipesResponse',
-- listContainerRecipesResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListContainerRecipesResponse',
-- listContainerRecipesResponse_httpStatus - The response's http
-- status code.
newListContainerRecipesResponse :: Int -> ListContainerRecipesResponse
-- | See: newListDistributionConfigurations smart
-- constructor.
data ListDistributionConfigurations
ListDistributionConfigurations' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> ListDistributionConfigurations
-- | Create a value of ListDistributionConfigurations 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:filters:ListDistributionConfigurations',
-- listDistributionConfigurations_filters - You can filter on
-- name to streamline results.
--
-- $sel:maxResults:ListDistributionConfigurations',
-- listDistributionConfigurations_maxResults - The maximum items
-- to return in a request.
--
-- ListDistributionConfigurations,
-- listDistributionConfigurations_nextToken - A token to specify
-- where to start paginating. This is the NextToken from a previously
-- truncated response.
newListDistributionConfigurations :: ListDistributionConfigurations
-- | See: newListDistributionConfigurationsResponse smart
-- constructor.
data ListDistributionConfigurationsResponse
ListDistributionConfigurationsResponse' :: Maybe [DistributionConfigurationSummary] -> Maybe Text -> Maybe Text -> Int -> ListDistributionConfigurationsResponse
-- | Create a value of ListDistributionConfigurationsResponse 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:distributionConfigurationSummaryList:ListDistributionConfigurationsResponse',
-- listDistributionConfigurationsResponse_distributionConfigurationSummaryList
-- - The list of distributions.
--
-- ListDistributionConfigurations,
-- listDistributionConfigurationsResponse_nextToken - The next
-- token used for paginated responses. When this is not empty, there are
-- additional elements that the service has not included in this request.
-- Use this token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListDistributionConfigurationsResponse',
-- listDistributionConfigurationsResponse_requestId - The request
-- ID that uniquely identifies this request.
--
-- $sel:httpStatus:ListDistributionConfigurationsResponse',
-- listDistributionConfigurationsResponse_httpStatus - The
-- response's http status code.
newListDistributionConfigurationsResponse :: Int -> ListDistributionConfigurationsResponse
-- | See: newListImageBuildVersions smart constructor.
data ListImageBuildVersions
ListImageBuildVersions' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> Text -> ListImageBuildVersions
-- | Create a value of ListImageBuildVersions 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:filters:ListImageBuildVersions',
-- listImageBuildVersions_filters - Use the following filters to
-- streamline results:
--
--
-- name
-- osVersion
-- platform
-- type
-- version
--
--
-- $sel:maxResults:ListImageBuildVersions',
-- listImageBuildVersions_maxResults - The maximum items to return
-- in a request.
--
-- ListImageBuildVersions, listImageBuildVersions_nextToken
-- - A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
--
-- $sel:imageVersionArn:ListImageBuildVersions',
-- listImageBuildVersions_imageVersionArn - The Amazon Resource
-- Name (ARN) of the image whose build versions you want to retrieve.
newListImageBuildVersions :: Text -> ListImageBuildVersions
-- | See: newListImageBuildVersionsResponse smart
-- constructor.
data ListImageBuildVersionsResponse
ListImageBuildVersionsResponse' :: Maybe [ImageSummary] -> Maybe Text -> Maybe Text -> Int -> ListImageBuildVersionsResponse
-- | Create a value of ListImageBuildVersionsResponse 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:imageSummaryList:ListImageBuildVersionsResponse',
-- listImageBuildVersionsResponse_imageSummaryList - The list of
-- image build versions.
--
-- ListImageBuildVersions,
-- listImageBuildVersionsResponse_nextToken - The next token used
-- for paginated responses. When this is not empty, there are additional
-- elements that the service has not included in this request. Use this
-- token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListImageBuildVersionsResponse',
-- listImageBuildVersionsResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListImageBuildVersionsResponse',
-- listImageBuildVersionsResponse_httpStatus - The response's http
-- status code.
newListImageBuildVersionsResponse :: Int -> ListImageBuildVersionsResponse
-- | See: newListImagePackages smart constructor.
data ListImagePackages
ListImagePackages' :: Maybe Natural -> Maybe Text -> Text -> ListImagePackages
-- | Create a value of ListImagePackages 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:maxResults:ListImagePackages',
-- listImagePackages_maxResults - The maxiumum number of results
-- to return from the ListImagePackages request.
--
-- ListImagePackages, listImagePackages_nextToken - A token
-- to specify where to start paginating. This is the NextToken from a
-- previously truncated response.
--
-- $sel:imageBuildVersionArn:ListImagePackages',
-- listImagePackages_imageBuildVersionArn - Filter results for the
-- ListImagePackages request by the Image Build Version ARN
newListImagePackages :: Text -> ListImagePackages
-- | See: newListImagePackagesResponse smart constructor.
data ListImagePackagesResponse
ListImagePackagesResponse' :: Maybe [ImagePackage] -> Maybe Text -> Maybe Text -> Int -> ListImagePackagesResponse
-- | Create a value of ListImagePackagesResponse 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:imagePackageList:ListImagePackagesResponse',
-- listImagePackagesResponse_imagePackageList - The list of Image
-- Packages returned in the response.
--
-- ListImagePackages, listImagePackagesResponse_nextToken -
-- A token to specify where to start paginating. This is the NextToken
-- from a previously truncated response.
--
-- $sel:requestId:ListImagePackagesResponse',
-- listImagePackagesResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListImagePackagesResponse',
-- listImagePackagesResponse_httpStatus - The response's http
-- status code.
newListImagePackagesResponse :: Int -> ListImagePackagesResponse
-- | See: newListImagePipelineImages smart constructor.
data ListImagePipelineImages
ListImagePipelineImages' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> Text -> ListImagePipelineImages
-- | Create a value of ListImagePipelineImages 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:filters:ListImagePipelineImages',
-- listImagePipelineImages_filters - Use the following filters to
-- streamline results:
--
--
--
-- $sel:maxResults:ListImagePipelineImages',
-- listImagePipelineImages_maxResults - The maximum items to
-- return in a request.
--
-- ListImagePipelineImages,
-- listImagePipelineImages_nextToken - A token to specify where to
-- start paginating. This is the NextToken from a previously truncated
-- response.
--
-- $sel:imagePipelineArn:ListImagePipelineImages',
-- listImagePipelineImages_imagePipelineArn - The Amazon Resource
-- Name (ARN) of the image pipeline whose images you want to view.
newListImagePipelineImages :: Text -> ListImagePipelineImages
-- | See: newListImagePipelineImagesResponse smart
-- constructor.
data ListImagePipelineImagesResponse
ListImagePipelineImagesResponse' :: Maybe [ImageSummary] -> Maybe Text -> Maybe Text -> Int -> ListImagePipelineImagesResponse
-- | Create a value of ListImagePipelineImagesResponse 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:imageSummaryList:ListImagePipelineImagesResponse',
-- listImagePipelineImagesResponse_imageSummaryList - The list of
-- images built by this pipeline.
--
-- ListImagePipelineImages,
-- listImagePipelineImagesResponse_nextToken - The next token used
-- for paginated responses. When this is not empty, there are additional
-- elements that the service has not included in this request. Use this
-- token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListImagePipelineImagesResponse',
-- listImagePipelineImagesResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListImagePipelineImagesResponse',
-- listImagePipelineImagesResponse_httpStatus - The response's
-- http status code.
newListImagePipelineImagesResponse :: Int -> ListImagePipelineImagesResponse
-- | See: newListImagePipelines smart constructor.
data ListImagePipelines
ListImagePipelines' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> ListImagePipelines
-- | Create a value of ListImagePipelines 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:filters:ListImagePipelines',
-- listImagePipelines_filters - Use the following filters to
-- streamline results:
--
--
--
-- $sel:maxResults:ListImagePipelines',
-- listImagePipelines_maxResults - The maximum items to return in
-- a request.
--
-- ListImagePipelines, listImagePipelines_nextToken - A
-- token to specify where to start paginating. This is the NextToken from
-- a previously truncated response.
newListImagePipelines :: ListImagePipelines
-- | See: newListImagePipelinesResponse smart constructor.
data ListImagePipelinesResponse
ListImagePipelinesResponse' :: Maybe [ImagePipeline] -> Maybe Text -> Maybe Text -> Int -> ListImagePipelinesResponse
-- | Create a value of ListImagePipelinesResponse 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:imagePipelineList:ListImagePipelinesResponse',
-- listImagePipelinesResponse_imagePipelineList - The list of
-- image pipelines.
--
-- ListImagePipelines, listImagePipelinesResponse_nextToken
-- - The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
--
-- $sel:requestId:ListImagePipelinesResponse',
-- listImagePipelinesResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListImagePipelinesResponse',
-- listImagePipelinesResponse_httpStatus - The response's http
-- status code.
newListImagePipelinesResponse :: Int -> ListImagePipelinesResponse
-- | See: newListImageRecipes smart constructor.
data ListImageRecipes
ListImageRecipes' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> Maybe Ownership -> ListImageRecipes
-- | Create a value of ListImageRecipes 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:filters:ListImageRecipes', listImageRecipes_filters
-- - Use the following filters to streamline results:
--
--
-- name
-- parentImage
-- platform
--
--
-- $sel:maxResults:ListImageRecipes',
-- listImageRecipes_maxResults - The maximum items to return in a
-- request.
--
-- ListImageRecipes, listImageRecipes_nextToken - A token
-- to specify where to start paginating. This is the NextToken from a
-- previously truncated response.
--
-- ListImageRecipes, listImageRecipes_owner - The owner
-- defines which image recipes you want to list. By default, this request
-- will only show image recipes owned by your account. You can use this
-- field to specify if you want to view image recipes owned by yourself,
-- by Amazon, or those image recipes that have been shared with you by
-- other customers.
newListImageRecipes :: ListImageRecipes
-- | See: newListImageRecipesResponse smart constructor.
data ListImageRecipesResponse
ListImageRecipesResponse' :: Maybe [ImageRecipeSummary] -> Maybe Text -> Maybe Text -> Int -> ListImageRecipesResponse
-- | Create a value of ListImageRecipesResponse 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:imageRecipeSummaryList:ListImageRecipesResponse',
-- listImageRecipesResponse_imageRecipeSummaryList - The list of
-- image pipelines.
--
-- ListImageRecipes, listImageRecipesResponse_nextToken -
-- The next token used for paginated responses. When this is not empty,
-- there are additional elements that the service has not included in
-- this request. Use this token with the next request to retrieve
-- additional objects.
--
-- $sel:requestId:ListImageRecipesResponse',
-- listImageRecipesResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:ListImageRecipesResponse',
-- listImageRecipesResponse_httpStatus - The response's http
-- status code.
newListImageRecipesResponse :: Int -> ListImageRecipesResponse
-- | See: newListImages smart constructor.
data ListImages
ListImages' :: Maybe Bool -> Maybe (NonEmpty Filter) -> Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Ownership -> ListImages
-- | Create a value of ListImages 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:byName:ListImages', listImages_byName - Requests a
-- list of images with a specific recipe name.
--
-- $sel:filters:ListImages', listImages_filters - Use the
-- following filters to streamline results:
--
--
-- name
-- osVersion
-- platform
-- type
-- version
--
--
-- $sel:includeDeprecated:ListImages',
-- listImages_includeDeprecated - Includes deprecated images in
-- the response list.
--
-- $sel:maxResults:ListImages', listImages_maxResults - The
-- maximum items to return in a request.
--
-- ListImages, listImages_nextToken - A token to specify
-- where to start paginating. This is the NextToken from a previously
-- truncated response.
--
-- ListImages, listImages_owner - The owner defines which
-- images you want to list. By default, this request will only show
-- images owned by your account. You can use this field to specify if you
-- want to view images owned by yourself, by Amazon, or those images that
-- have been shared with you by other customers.
newListImages :: ListImages
-- | See: newListImagesResponse smart constructor.
data ListImagesResponse
ListImagesResponse' :: Maybe [ImageVersion] -> Maybe Text -> Maybe Text -> Int -> ListImagesResponse
-- | Create a value of ListImagesResponse 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:imageVersionList:ListImagesResponse',
-- listImagesResponse_imageVersionList - The list of image
-- semantic versions.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
--
-- ListImages, listImagesResponse_nextToken - The next
-- token used for paginated responses. When this is not empty, there are
-- additional elements that the service has not included in this request.
-- Use this token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListImagesResponse',
-- listImagesResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:ListImagesResponse',
-- listImagesResponse_httpStatus - The response's http status
-- code.
newListImagesResponse :: Int -> ListImagesResponse
-- | See: newListInfrastructureConfigurations smart
-- constructor.
data ListInfrastructureConfigurations
ListInfrastructureConfigurations' :: Maybe (NonEmpty Filter) -> Maybe Natural -> Maybe Text -> ListInfrastructureConfigurations
-- | Create a value of ListInfrastructureConfigurations 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:filters:ListInfrastructureConfigurations',
-- listInfrastructureConfigurations_filters - You can filter on
-- name to streamline results.
--
-- $sel:maxResults:ListInfrastructureConfigurations',
-- listInfrastructureConfigurations_maxResults - The maximum items
-- to return in a request.
--
-- ListInfrastructureConfigurations,
-- listInfrastructureConfigurations_nextToken - A token to specify
-- where to start paginating. This is the NextToken from a previously
-- truncated response.
newListInfrastructureConfigurations :: ListInfrastructureConfigurations
-- | See: newListInfrastructureConfigurationsResponse smart
-- constructor.
data ListInfrastructureConfigurationsResponse
ListInfrastructureConfigurationsResponse' :: Maybe [InfrastructureConfigurationSummary] -> Maybe Text -> Maybe Text -> Int -> ListInfrastructureConfigurationsResponse
-- | Create a value of ListInfrastructureConfigurationsResponse 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:infrastructureConfigurationSummaryList:ListInfrastructureConfigurationsResponse',
-- listInfrastructureConfigurationsResponse_infrastructureConfigurationSummaryList
-- - The list of infrastructure configurations.
--
-- ListInfrastructureConfigurations,
-- listInfrastructureConfigurationsResponse_nextToken - The next
-- token used for paginated responses. When this is not empty, there are
-- additional elements that the service has not included in this request.
-- Use this token with the next request to retrieve additional objects.
--
-- $sel:requestId:ListInfrastructureConfigurationsResponse',
-- listInfrastructureConfigurationsResponse_requestId - The
-- request ID that uniquely identifies this request.
--
-- $sel:httpStatus:ListInfrastructureConfigurationsResponse',
-- listInfrastructureConfigurationsResponse_httpStatus - The
-- response's http status code.
newListInfrastructureConfigurationsResponse :: Int -> ListInfrastructureConfigurationsResponse
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | Create a value of ListTagsForResource 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:resourceArn:ListTagsForResource',
-- listTagsForResource_resourceArn - The Amazon Resource Name
-- (ARN) of the resource whose tags you want to retrieve.
newListTagsForResource :: Text -> ListTagsForResource
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe (HashMap Text Text) -> Int -> ListTagsForResourceResponse
-- | Create a value of ListTagsForResourceResponse 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:
--
-- ListTagsForResourceResponse,
-- listTagsForResourceResponse_tags - The tags for the specified
-- resource.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | See: newPutComponentPolicy smart constructor.
data PutComponentPolicy
PutComponentPolicy' :: Text -> Text -> PutComponentPolicy
-- | Create a value of PutComponentPolicy 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:
--
-- PutComponentPolicy, putComponentPolicy_componentArn -
-- The Amazon Resource Name (ARN) of the component that this policy
-- should be applied to.
--
-- $sel:policy:PutComponentPolicy',
-- putComponentPolicy_policy - The policy to apply.
newPutComponentPolicy :: Text -> Text -> PutComponentPolicy
-- | See: newPutComponentPolicyResponse smart constructor.
data PutComponentPolicyResponse
PutComponentPolicyResponse' :: Maybe Text -> Maybe Text -> Int -> PutComponentPolicyResponse
-- | Create a value of PutComponentPolicyResponse 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:
--
-- PutComponentPolicy,
-- putComponentPolicyResponse_componentArn - The Amazon Resource
-- Name (ARN) of the component that this policy was applied to.
--
-- $sel:requestId:PutComponentPolicyResponse',
-- putComponentPolicyResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:PutComponentPolicyResponse',
-- putComponentPolicyResponse_httpStatus - The response's http
-- status code.
newPutComponentPolicyResponse :: Int -> PutComponentPolicyResponse
-- | See: newPutContainerRecipePolicy smart constructor.
data PutContainerRecipePolicy
PutContainerRecipePolicy' :: Text -> Text -> PutContainerRecipePolicy
-- | Create a value of PutContainerRecipePolicy 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:
--
-- PutContainerRecipePolicy,
-- putContainerRecipePolicy_containerRecipeArn - The Amazon
-- Resource Name (ARN) of the container recipe that this policy should be
-- applied to.
--
-- $sel:policy:PutContainerRecipePolicy',
-- putContainerRecipePolicy_policy - The policy to apply to the
-- container recipe.
newPutContainerRecipePolicy :: Text -> Text -> PutContainerRecipePolicy
-- | See: newPutContainerRecipePolicyResponse smart
-- constructor.
data PutContainerRecipePolicyResponse
PutContainerRecipePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> PutContainerRecipePolicyResponse
-- | Create a value of PutContainerRecipePolicyResponse 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:
--
-- PutContainerRecipePolicy,
-- putContainerRecipePolicyResponse_containerRecipeArn - The
-- Amazon Resource Name (ARN) of the container recipe that this policy
-- was applied to.
--
-- $sel:requestId:PutContainerRecipePolicyResponse',
-- putContainerRecipePolicyResponse_requestId - The request ID
-- that uniquely identifies this request.
--
-- $sel:httpStatus:PutContainerRecipePolicyResponse',
-- putContainerRecipePolicyResponse_httpStatus - The response's
-- http status code.
newPutContainerRecipePolicyResponse :: Int -> PutContainerRecipePolicyResponse
-- | See: newPutImagePolicy smart constructor.
data PutImagePolicy
PutImagePolicy' :: Text -> Text -> PutImagePolicy
-- | Create a value of PutImagePolicy 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:
--
-- PutImagePolicy, putImagePolicy_imageArn - The Amazon
-- Resource Name (ARN) of the image that this policy should be applied
-- to.
--
-- $sel:policy:PutImagePolicy', putImagePolicy_policy - The
-- policy to apply.
newPutImagePolicy :: Text -> Text -> PutImagePolicy
-- | See: newPutImagePolicyResponse smart constructor.
data PutImagePolicyResponse
PutImagePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> PutImagePolicyResponse
-- | Create a value of PutImagePolicyResponse 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:
--
-- PutImagePolicy, putImagePolicyResponse_imageArn - The
-- Amazon Resource Name (ARN) of the image that this policy was applied
-- to.
--
-- $sel:requestId:PutImagePolicyResponse',
-- putImagePolicyResponse_requestId - The request ID that uniquely
-- identifies this request.
--
-- $sel:httpStatus:PutImagePolicyResponse',
-- putImagePolicyResponse_httpStatus - The response's http status
-- code.
newPutImagePolicyResponse :: Int -> PutImagePolicyResponse
-- | See: newPutImageRecipePolicy smart constructor.
data PutImageRecipePolicy
PutImageRecipePolicy' :: Text -> Text -> PutImageRecipePolicy
-- | Create a value of PutImageRecipePolicy 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:
--
-- PutImageRecipePolicy,
-- putImageRecipePolicy_imageRecipeArn - The Amazon Resource Name
-- (ARN) of the image recipe that this policy should be applied to.
--
-- $sel:policy:PutImageRecipePolicy',
-- putImageRecipePolicy_policy - The policy to apply.
newPutImageRecipePolicy :: Text -> Text -> PutImageRecipePolicy
-- | See: newPutImageRecipePolicyResponse smart constructor.
data PutImageRecipePolicyResponse
PutImageRecipePolicyResponse' :: Maybe Text -> Maybe Text -> Int -> PutImageRecipePolicyResponse
-- | Create a value of PutImageRecipePolicyResponse 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:
--
-- PutImageRecipePolicy,
-- putImageRecipePolicyResponse_imageRecipeArn - The Amazon
-- Resource Name (ARN) of the image recipe that this policy was applied
-- to.
--
-- $sel:requestId:PutImageRecipePolicyResponse',
-- putImageRecipePolicyResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:PutImageRecipePolicyResponse',
-- putImageRecipePolicyResponse_httpStatus - The response's http
-- status code.
newPutImageRecipePolicyResponse :: Int -> PutImageRecipePolicyResponse
-- | See: newStartImagePipelineExecution smart constructor.
data StartImagePipelineExecution
StartImagePipelineExecution' :: Text -> Text -> StartImagePipelineExecution
-- | Create a value of StartImagePipelineExecution 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:imagePipelineArn:StartImagePipelineExecution',
-- startImagePipelineExecution_imagePipelineArn - The Amazon
-- Resource Name (ARN) of the image pipeline that you want to manually
-- invoke.
--
-- StartImagePipelineExecution,
-- startImagePipelineExecution_clientToken - The idempotency token
-- used to make this request idempotent.
newStartImagePipelineExecution :: Text -> Text -> StartImagePipelineExecution
-- | See: newStartImagePipelineExecutionResponse smart
-- constructor.
data StartImagePipelineExecutionResponse
StartImagePipelineExecutionResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> StartImagePipelineExecutionResponse
-- | Create a value of StartImagePipelineExecutionResponse 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:
--
-- StartImagePipelineExecution,
-- startImagePipelineExecutionResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- $sel:imageBuildVersionArn:StartImagePipelineExecutionResponse',
-- startImagePipelineExecutionResponse_imageBuildVersionArn - The
-- Amazon Resource Name (ARN) of the image that was created by this
-- request.
--
-- $sel:requestId:StartImagePipelineExecutionResponse',
-- startImagePipelineExecutionResponse_requestId - The request ID
-- that uniquely identifies this request.
--
-- $sel:httpStatus:StartImagePipelineExecutionResponse',
-- startImagePipelineExecutionResponse_httpStatus - The response's
-- http status code.
newStartImagePipelineExecutionResponse :: Int -> StartImagePipelineExecutionResponse
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> HashMap Text Text -> TagResource
-- | Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn -
-- The Amazon Resource Name (ARN) of the resource that you want to tag.
--
-- TagResource, tagResource_tags - The tags to apply to the
-- resource.
newTagResource :: Text -> TagResource
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | Create a value of TagResourceResponse 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:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> NonEmpty Text -> UntagResource
-- | Create a value of UntagResource 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:resourceArn:UntagResource',
-- untagResource_resourceArn - The Amazon Resource Name (ARN) of
-- the resource that you want to untag.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- tag keys to remove from the resource.
newUntagResource :: Text -> NonEmpty Text -> UntagResource
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | Create a value of UntagResourceResponse 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:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | See: newUpdateDistributionConfiguration smart
-- constructor.
data UpdateDistributionConfiguration
UpdateDistributionConfiguration' :: Maybe Text -> Text -> [Distribution] -> Text -> UpdateDistributionConfiguration
-- | Create a value of UpdateDistributionConfiguration 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:
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfiguration_description - The description
-- of the distribution configuration.
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfiguration_distributionConfigurationArn -
-- The Amazon Resource Name (ARN) of the distribution configuration that
-- you want to update.
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfiguration_distributions - The
-- distributions of the distribution configuration.
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfiguration_clientToken - The idempotency
-- token of the distribution configuration.
newUpdateDistributionConfiguration :: Text -> Text -> UpdateDistributionConfiguration
-- | See: newUpdateDistributionConfigurationResponse smart
-- constructor.
data UpdateDistributionConfigurationResponse
UpdateDistributionConfigurationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> UpdateDistributionConfigurationResponse
-- | Create a value of UpdateDistributionConfigurationResponse 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:
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfigurationResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- UpdateDistributionConfiguration,
-- updateDistributionConfigurationResponse_distributionConfigurationArn
-- - The Amazon Resource Name (ARN) of the distribution configuration
-- that was updated by this request.
--
-- $sel:requestId:UpdateDistributionConfigurationResponse',
-- updateDistributionConfigurationResponse_requestId - The request
-- ID that uniquely identifies this request.
--
-- $sel:httpStatus:UpdateDistributionConfigurationResponse',
-- updateDistributionConfigurationResponse_httpStatus - The
-- response's http status code.
newUpdateDistributionConfigurationResponse :: Int -> UpdateDistributionConfigurationResponse
-- | See: newUpdateImagePipeline smart constructor.
data UpdateImagePipeline
UpdateImagePipeline' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ImageTestsConfiguration -> Maybe Schedule -> Maybe PipelineStatus -> Text -> Text -> Text -> UpdateImagePipeline
-- | Create a value of UpdateImagePipeline 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:
--
-- UpdateImagePipeline,
-- updateImagePipeline_containerRecipeArn - The Amazon Resource
-- Name (ARN) of the container pipeline to update.
--
-- UpdateImagePipeline, updateImagePipeline_description -
-- The description of the image pipeline.
--
-- UpdateImagePipeline,
-- updateImagePipeline_distributionConfigurationArn - The Amazon
-- Resource Name (ARN) of the distribution configuration that will be
-- used to configure and distribute images updated by this image
-- pipeline.
--
-- UpdateImagePipeline,
-- updateImagePipeline_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.
--
-- UpdateImagePipeline, updateImagePipeline_imageRecipeArn
-- - The Amazon Resource Name (ARN) of the image recipe that will be used
-- to configure images updated by this image pipeline.
--
-- UpdateImagePipeline,
-- updateImagePipeline_imageTestsConfiguration - The image test
-- configuration of the image pipeline.
--
-- UpdateImagePipeline, updateImagePipeline_schedule - The
-- schedule of the image pipeline.
--
-- UpdateImagePipeline, updateImagePipeline_status - The
-- status of the image pipeline.
--
-- UpdateImagePipeline,
-- updateImagePipeline_imagePipelineArn - The Amazon Resource Name
-- (ARN) of the image pipeline that you want to update.
--
-- UpdateImagePipeline,
-- updateImagePipeline_infrastructureConfigurationArn - The Amazon
-- Resource Name (ARN) of the infrastructure configuration that will be
-- used to build images updated by this image pipeline.
--
-- UpdateImagePipeline, updateImagePipeline_clientToken -
-- The idempotency token used to make this request idempotent.
newUpdateImagePipeline :: Text -> Text -> Text -> UpdateImagePipeline
-- | See: newUpdateImagePipelineResponse smart constructor.
data UpdateImagePipelineResponse
UpdateImagePipelineResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> UpdateImagePipelineResponse
-- | Create a value of UpdateImagePipelineResponse 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:
--
-- UpdateImagePipeline,
-- updateImagePipelineResponse_clientToken - The idempotency token
-- used to make this request idempotent.
--
-- UpdateImagePipeline,
-- updateImagePipelineResponse_imagePipelineArn - The Amazon
-- Resource Name (ARN) of the image pipeline that was updated by this
-- request.
--
-- $sel:requestId:UpdateImagePipelineResponse',
-- updateImagePipelineResponse_requestId - The request ID that
-- uniquely identifies this request.
--
-- $sel:httpStatus:UpdateImagePipelineResponse',
-- updateImagePipelineResponse_httpStatus - The response's http
-- status code.
newUpdateImagePipelineResponse :: Int -> UpdateImagePipelineResponse
-- | See: newUpdateInfrastructureConfiguration smart
-- constructor.
data UpdateInfrastructureConfiguration
UpdateInfrastructureConfiguration' :: Maybe Text -> Maybe InstanceMetadataOptions -> Maybe [Text] -> Maybe Text -> Maybe Logging -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe Bool -> Text -> Text -> Text -> UpdateInfrastructureConfiguration
-- | Create a value of UpdateInfrastructureConfiguration 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:
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_description - The description
-- of the infrastructure configuration.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_instanceMetadataOptions - The
-- instance metadata options that you can set for the HTTP requests that
-- pipeline builds use to launch EC2 build and test instances. For more
-- information about instance metadata options, see one of the following
-- links:
--
--
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_instanceTypes - The instance
-- types of the infrastructure configuration. You can specify one or more
-- instance types to use for this build. The service will pick one of
-- these instance types based on availability.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_keyPair - The key pair of the
-- infrastructure configuration. You can use this to log on to and debug
-- the instance used to create your image.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_logging - The logging
-- configuration of the infrastructure configuration.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_resourceTags - The tags
-- attached to the resource created by Image Builder.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_securityGroupIds - The
-- security group IDs to associate with the instance used to customize
-- your Amazon EC2 AMI.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_snsTopicArn - The Amazon
-- Resource Name (ARN) for the SNS topic to which we send image build
-- event notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_subnetId - The subnet ID to
-- place the instance used to customize your Amazon EC2 AMI in.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_terminateInstanceOnFailure -
-- The terminate instance on failure setting of the infrastructure
-- configuration. Set to false if you want Image Builder to retain the
-- instance used to configure your AMI if the build or test phase of your
-- workflow fails.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- that you want to update.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_instanceProfileName - The
-- instance profile to associate with the instance used to customize your
-- Amazon EC2 AMI.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfiguration_clientToken - The idempotency
-- token used to make this request idempotent.
newUpdateInfrastructureConfiguration :: Text -> Text -> Text -> UpdateInfrastructureConfiguration
-- | See: newUpdateInfrastructureConfigurationResponse smart
-- constructor.
data UpdateInfrastructureConfigurationResponse
UpdateInfrastructureConfigurationResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> UpdateInfrastructureConfigurationResponse
-- | Create a value of UpdateInfrastructureConfigurationResponse
-- 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:
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfigurationResponse_clientToken - The
-- idempotency token used to make this request idempotent.
--
-- UpdateInfrastructureConfiguration,
-- updateInfrastructureConfigurationResponse_infrastructureConfigurationArn
-- - The Amazon Resource Name (ARN) of the infrastructure configuration
-- that was updated by this request.
--
-- $sel:requestId:UpdateInfrastructureConfigurationResponse',
-- updateInfrastructureConfigurationResponse_requestId - The
-- request ID that uniquely identifies this request.
--
-- $sel:httpStatus:UpdateInfrastructureConfigurationResponse',
-- updateInfrastructureConfigurationResponse_httpStatus - The
-- response's http status code.
newUpdateInfrastructureConfigurationResponse :: Int -> UpdateInfrastructureConfigurationResponse
newtype BuildType
BuildType' :: Text -> BuildType
[fromBuildType] :: BuildType -> Text
pattern BuildType_IMPORT :: BuildType
pattern BuildType_SCHEDULED :: BuildType
pattern BuildType_USER_INITIATED :: BuildType
newtype ComponentFormat
ComponentFormat' :: Text -> ComponentFormat
[fromComponentFormat] :: ComponentFormat -> Text
pattern ComponentFormat_SHELL :: ComponentFormat
newtype ComponentStatus
ComponentStatus' :: Text -> ComponentStatus
[fromComponentStatus] :: ComponentStatus -> Text
pattern ComponentStatus_DEPRECATED :: ComponentStatus
newtype ComponentType
ComponentType' :: Text -> ComponentType
[fromComponentType] :: ComponentType -> Text
pattern ComponentType_BUILD :: ComponentType
pattern ComponentType_TEST :: ComponentType
newtype ContainerRepositoryService
ContainerRepositoryService' :: Text -> ContainerRepositoryService
[fromContainerRepositoryService] :: ContainerRepositoryService -> Text
pattern ContainerRepositoryService_ECR :: ContainerRepositoryService
newtype ContainerType
ContainerType' :: Text -> ContainerType
[fromContainerType] :: ContainerType -> Text
pattern ContainerType_DOCKER :: ContainerType
newtype DiskImageFormat
DiskImageFormat' :: Text -> DiskImageFormat
[fromDiskImageFormat] :: DiskImageFormat -> Text
pattern DiskImageFormat_RAW :: DiskImageFormat
pattern DiskImageFormat_VHD :: DiskImageFormat
pattern DiskImageFormat_VMDK :: DiskImageFormat
newtype EbsVolumeType
EbsVolumeType' :: Text -> EbsVolumeType
[fromEbsVolumeType] :: EbsVolumeType -> Text
pattern EbsVolumeType_Gp2 :: EbsVolumeType
pattern EbsVolumeType_Gp3 :: EbsVolumeType
pattern EbsVolumeType_Io1 :: EbsVolumeType
pattern EbsVolumeType_Io2 :: EbsVolumeType
pattern EbsVolumeType_Sc1 :: EbsVolumeType
pattern EbsVolumeType_St1 :: EbsVolumeType
pattern EbsVolumeType_Standard :: EbsVolumeType
newtype ImageStatus
ImageStatus' :: Text -> ImageStatus
[fromImageStatus] :: ImageStatus -> Text
pattern ImageStatus_AVAILABLE :: ImageStatus
pattern ImageStatus_BUILDING :: ImageStatus
pattern ImageStatus_CANCELLED :: ImageStatus
pattern ImageStatus_CREATING :: ImageStatus
pattern ImageStatus_DELETED :: ImageStatus
pattern ImageStatus_DEPRECATED :: ImageStatus
pattern ImageStatus_DISTRIBUTING :: ImageStatus
pattern ImageStatus_FAILED :: ImageStatus
pattern ImageStatus_INTEGRATING :: ImageStatus
pattern ImageStatus_PENDING :: ImageStatus
pattern ImageStatus_TESTING :: ImageStatus
newtype ImageType
ImageType' :: Text -> ImageType
[fromImageType] :: ImageType -> Text
pattern ImageType_AMI :: ImageType
pattern ImageType_DOCKER :: ImageType
newtype Ownership
Ownership' :: Text -> Ownership
[fromOwnership] :: Ownership -> Text
pattern Ownership_Amazon :: Ownership
pattern Ownership_Self :: Ownership
pattern Ownership_Shared :: Ownership
newtype PipelineExecutionStartCondition
PipelineExecutionStartCondition' :: Text -> PipelineExecutionStartCondition
[fromPipelineExecutionStartCondition] :: PipelineExecutionStartCondition -> Text
pattern PipelineExecutionStartCondition_EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE :: PipelineExecutionStartCondition
pattern PipelineExecutionStartCondition_EXPRESSION_MATCH_ONLY :: PipelineExecutionStartCondition
newtype PipelineStatus
PipelineStatus' :: Text -> PipelineStatus
[fromPipelineStatus] :: PipelineStatus -> Text
pattern PipelineStatus_DISABLED :: PipelineStatus
pattern PipelineStatus_ENABLED :: PipelineStatus
newtype Platform
Platform' :: Text -> Platform
[fromPlatform] :: Platform -> Text
pattern Platform_Linux :: Platform
pattern Platform_Windows :: Platform
-- | In addition to your infrastruction configuration, these settings
-- provide an extra layer of control over your build instances. For
-- instances where Image Builder installs the Systems Manager agent, you
-- can choose whether to keep it for the AMI that you create. You can
-- also specify commands to run on launch for all of your build
-- instances.
--
-- See: newAdditionalInstanceConfiguration smart
-- constructor.
data AdditionalInstanceConfiguration
AdditionalInstanceConfiguration' :: Maybe SystemsManagerAgent -> Maybe Text -> AdditionalInstanceConfiguration
-- | Create a value of AdditionalInstanceConfiguration 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:systemsManagerAgent:AdditionalInstanceConfiguration',
-- additionalInstanceConfiguration_systemsManagerAgent - Contains
-- settings for the Systems Manager agent on your build instance.
--
-- $sel:userDataOverride:AdditionalInstanceConfiguration',
-- additionalInstanceConfiguration_userDataOverride - Use this
-- property to provide commands or a command script to run when you
-- launch your build instance.
--
-- The userDataOverride property replaces any commands that Image Builder
-- might have added to ensure that Systems Manager is installed on your
-- Linux build instance. If you override the user data, make sure that
-- you add commands to install Systems Manager, if it is not
-- pre-installed on your base image.
--
-- The user data is always base 64 encoded. For example, the following
-- commands are encoded as
-- IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$:
--
-- #!/bin/bash
--
-- mkdir -p /var/bb/
--
-- touch /var
newAdditionalInstanceConfiguration :: AdditionalInstanceConfiguration
-- | Details of an Amazon EC2 AMI.
--
-- See: newAmi smart constructor.
data Ami
Ami' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ImageState -> Ami
-- | Create a value of Ami 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:accountId:Ami', ami_accountId - The account ID of
-- the owner of the AMI.
--
-- $sel:description:Ami', ami_description - The description
-- of the Amazon EC2 AMI. Minimum and maximum length are in characters.
--
-- $sel:image:Ami', ami_image - The AMI ID of the Amazon
-- EC2 AMI.
--
-- $sel:name:Ami', ami_name - The name of the Amazon EC2
-- AMI.
--
-- $sel:region:Ami', ami_region - The Amazon Web Services
-- Region of the Amazon EC2 AMI.
--
-- $sel:state:Ami', ami_state - Undocumented member.
newAmi :: Ami
-- | Define and configure the output AMIs of the pipeline.
--
-- See: newAmiDistributionConfiguration smart constructor.
data AmiDistributionConfiguration
AmiDistributionConfiguration' :: Maybe (HashMap Text Text) -> Maybe Text -> Maybe Text -> Maybe LaunchPermissionConfiguration -> Maybe Text -> Maybe (NonEmpty Text) -> AmiDistributionConfiguration
-- | Create a value of AmiDistributionConfiguration 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:amiTags:AmiDistributionConfiguration',
-- amiDistributionConfiguration_amiTags - The tags to apply to
-- AMIs distributed to this Region.
--
-- $sel:description:AmiDistributionConfiguration',
-- amiDistributionConfiguration_description - The description of
-- the AMI distribution configuration. Minimum and maximum length are in
-- characters.
--
-- $sel:kmsKeyId:AmiDistributionConfiguration',
-- amiDistributionConfiguration_kmsKeyId - The KMS key identifier
-- used to encrypt the distributed image.
--
-- $sel:launchPermission:AmiDistributionConfiguration',
-- amiDistributionConfiguration_launchPermission - Launch
-- permissions can be used to configure which Amazon Web Services
-- accounts can use the AMI to launch instances.
--
-- $sel:name:AmiDistributionConfiguration',
-- amiDistributionConfiguration_name - The name of the output AMI.
--
-- $sel:targetAccountIds:AmiDistributionConfiguration',
-- amiDistributionConfiguration_targetAccountIds - The ID of an
-- account to which you want to distribute an image.
newAmiDistributionConfiguration :: AmiDistributionConfiguration
-- | A detailed view of a component.
--
-- See: newComponent smart constructor.
data Component
Component' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [ComponentParameterDetail] -> Maybe Platform -> Maybe ComponentState -> Maybe (NonEmpty Text) -> Maybe (HashMap Text Text) -> Maybe ComponentType -> Maybe Text -> Component
-- | Create a value of Component 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:arn:Component', component_arn - The Amazon Resource
-- Name (ARN) of the component.
--
-- $sel:changeDescription:Component',
-- component_changeDescription - The change description of the
-- component.
--
-- $sel:data':Component', component_data - Component data
-- contains the YAML document content for the component.
--
-- $sel:dateCreated:Component', component_dateCreated - The
-- date that the component was created.
--
-- Component, component_description - The description of
-- the component.
--
-- $sel:encrypted:Component', component_encrypted - The
-- encryption status of the component.
--
-- $sel:kmsKeyId:Component', component_kmsKeyId - The KMS
-- key identifier used to encrypt the component.
--
-- Component, component_name - The name of the component.
--
-- $sel:owner:Component', component_owner - The owner of
-- the component.
--
-- $sel:parameters:Component', component_parameters -
-- Contains parameter details for each of the parameters that are defined
-- for the component.
--
-- $sel:platform:Component', component_platform - The
-- platform of the component.
--
-- $sel:state:Component', component_state - Describes the
-- current status of the component. This is used for components that are
-- no longer active.
--
-- $sel:supportedOsVersions:Component',
-- component_supportedOsVersions - The operating system (OS)
-- version supported by the component. If the OS information is
-- available, a prefix match is performed against the base image OS
-- version during image recipe creation.
--
-- $sel:tags:Component', component_tags - The tags
-- associated with the component.
--
-- Component, component_type - The type of the component
-- denotes whether the component is used to build the image or only to
-- test it.
--
-- $sel:version:Component', component_version - The version
-- of the component.
newComponent :: Component
-- | Configuration details of the component.
--
-- See: newComponentConfiguration smart constructor.
data ComponentConfiguration
ComponentConfiguration' :: Maybe (NonEmpty ComponentParameter) -> Text -> ComponentConfiguration
-- | Create a value of ComponentConfiguration 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:parameters:ComponentConfiguration',
-- componentConfiguration_parameters - A group of parameter
-- settings that are used to configure the component for a specific
-- recipe.
--
-- $sel:componentArn:ComponentConfiguration',
-- componentConfiguration_componentArn - The Amazon Resource Name
-- (ARN) of the component.
newComponentConfiguration :: Text -> ComponentConfiguration
-- | Contains a key/value pair that sets the named component parameter.
--
-- See: newComponentParameter smart constructor.
data ComponentParameter
ComponentParameter' :: Text -> [Text] -> ComponentParameter
-- | Create a value of ComponentParameter 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:name:ComponentParameter', componentParameter_name -
-- The name of the component parameter to set.
--
-- $sel:value:ComponentParameter', componentParameter_value
-- - Sets the value for the named component parameter.
newComponentParameter :: Text -> ComponentParameter
-- | Defines a parameter that is used to provide configuration details for
-- the component.
--
-- See: newComponentParameterDetail smart constructor.
data ComponentParameterDetail
ComponentParameterDetail' :: Maybe [Text] -> Maybe Text -> Text -> Text -> ComponentParameterDetail
-- | Create a value of ComponentParameterDetail 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:defaultValue:ComponentParameterDetail',
-- componentParameterDetail_defaultValue - The default value of
-- this parameter if no input is provided.
--
-- $sel:description:ComponentParameterDetail',
-- componentParameterDetail_description - Describes this
-- parameter.
--
-- $sel:name:ComponentParameterDetail',
-- componentParameterDetail_name - The name of this input
-- parameter.
--
-- $sel:type':ComponentParameterDetail',
-- componentParameterDetail_type - The type of input this
-- parameter provides. The currently supported value is "string".
newComponentParameterDetail :: Text -> Text -> ComponentParameterDetail
-- | A group of fields that describe the current status of components that
-- are no longer active.
--
-- See: newComponentState smart constructor.
data ComponentState
ComponentState' :: Maybe Text -> Maybe ComponentStatus -> ComponentState
-- | Create a value of ComponentState 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:reason:ComponentState', componentState_reason -
-- Describes how or why the component changed state.
--
-- $sel:status:ComponentState', componentState_status - The
-- current state of the component.
newComponentState :: ComponentState
-- | A high-level summary of a component.
--
-- See: newComponentSummary smart constructor.
data ComponentSummary
ComponentSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe ComponentState -> Maybe (NonEmpty Text) -> Maybe (HashMap Text Text) -> Maybe ComponentType -> Maybe Text -> ComponentSummary
-- | Create a value of ComponentSummary 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:arn:ComponentSummary', componentSummary_arn - The
-- Amazon Resource Name (ARN) of the component.
--
-- $sel:changeDescription:ComponentSummary',
-- componentSummary_changeDescription - The change description of
-- the component.
--
-- $sel:dateCreated:ComponentSummary',
-- componentSummary_dateCreated - The date that the component was
-- created.
--
-- $sel:description:ComponentSummary',
-- componentSummary_description - The description of the
-- component.
--
-- $sel:name:ComponentSummary', componentSummary_name - The
-- name of the component.
--
-- $sel:owner:ComponentSummary', componentSummary_owner -
-- The owner of the component.
--
-- $sel:platform:ComponentSummary',
-- componentSummary_platform - The platform of the component.
--
-- $sel:state:ComponentSummary', componentSummary_state -
-- Describes the current status of the component.
--
-- $sel:supportedOsVersions:ComponentSummary',
-- componentSummary_supportedOsVersions - The operating system
-- (OS) version supported by the component. If the OS information is
-- available, a prefix match is performed against the base image OS
-- version during image recipe creation.
--
-- $sel:tags:ComponentSummary', componentSummary_tags - The
-- tags associated with the component.
--
-- $sel:type':ComponentSummary', componentSummary_type -
-- The type of the component denotes whether the component is used to
-- build the image or only to test it.
--
-- $sel:version:ComponentSummary', componentSummary_version
-- - The version of the component.
newComponentSummary :: ComponentSummary
-- | The defining characteristics of a specific version of an Amazon Web
-- Services TOE component.
--
-- See: newComponentVersion smart constructor.
data ComponentVersion
ComponentVersion' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (NonEmpty Text) -> Maybe ComponentType -> Maybe Text -> ComponentVersion
-- | Create a value of ComponentVersion 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:arn:ComponentVersion', componentVersion_arn - The
-- Amazon Resource Name (ARN) of the component.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:dateCreated:ComponentVersion',
-- componentVersion_dateCreated - The date that the component was
-- created.
--
-- $sel:description:ComponentVersion',
-- componentVersion_description - The description of the
-- component.
--
-- $sel:name:ComponentVersion', componentVersion_name - The
-- name of the component.
--
-- $sel:owner:ComponentVersion', componentVersion_owner -
-- The owner of the component.
--
-- $sel:platform:ComponentVersion',
-- componentVersion_platform - The platform of the component.
--
-- $sel:supportedOsVersions:ComponentVersion',
-- componentVersion_supportedOsVersions - he operating system (OS)
-- version supported by the component. If the OS information is
-- available, a prefix match is performed against the base image OS
-- version during image recipe creation.
--
-- $sel:type':ComponentVersion', componentVersion_type -
-- The type of the component denotes whether the component is used to
-- build the image or only to test it.
--
-- $sel:version:ComponentVersion', componentVersion_version
-- - The semantic version of the component.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
newComponentVersion :: ComponentVersion
-- | A container encapsulates the runtime environment for an application.
--
-- See: newContainer smart constructor.
data Container
Container' :: Maybe [Text] -> Maybe Text -> Container
-- | Create a value of Container 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:imageUris:Container', container_imageUris - A list
-- of URIs for containers created in the context Region.
--
-- $sel:region:Container', container_region - Containers
-- and container images are Region-specific. This is the Region context
-- for the container.
newContainer :: Container
-- | Container distribution settings for encryption, licensing, and sharing
-- in a specific Region.
--
-- See: newContainerDistributionConfiguration smart
-- constructor.
data ContainerDistributionConfiguration
ContainerDistributionConfiguration' :: Maybe [Text] -> Maybe Text -> TargetContainerRepository -> ContainerDistributionConfiguration
-- | Create a value of ContainerDistributionConfiguration 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:containerTags:ContainerDistributionConfiguration',
-- containerDistributionConfiguration_containerTags - Tags that
-- are attached to the container distribution configuration.
--
-- $sel:description:ContainerDistributionConfiguration',
-- containerDistributionConfiguration_description - The
-- description of the container distribution configuration.
--
-- $sel:targetRepository:ContainerDistributionConfiguration',
-- containerDistributionConfiguration_targetRepository - The
-- destination repository for the container distribution configuration.
newContainerDistributionConfiguration :: TargetContainerRepository -> ContainerDistributionConfiguration
-- | A container recipe.
--
-- See: newContainerRecipe smart constructor.
data ContainerRecipe
ContainerRecipe' :: Maybe Text -> Maybe (NonEmpty ComponentConfiguration) -> Maybe ContainerType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe InstanceConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> Maybe TargetContainerRepository -> Maybe Text -> Maybe Text -> ContainerRecipe
-- | Create a value of ContainerRecipe 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:arn:ContainerRecipe', containerRecipe_arn - The
-- Amazon Resource Name (ARN) of the container recipe.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:components:ContainerRecipe',
-- containerRecipe_components - Components for build and test that
-- are included in the container recipe.
--
-- $sel:containerType:ContainerRecipe',
-- containerRecipe_containerType - Specifies the type of
-- container, such as Docker.
--
-- $sel:dateCreated:ContainerRecipe',
-- containerRecipe_dateCreated - The date when this container
-- recipe was created.
--
-- $sel:description:ContainerRecipe',
-- containerRecipe_description - The description of the container
-- recipe.
--
-- $sel:dockerfileTemplateData:ContainerRecipe',
-- containerRecipe_dockerfileTemplateData - Dockerfiles are text
-- documents that are used to build Docker containers, and ensure that
-- they contain all of the elements required by the application running
-- inside. The template data consists of contextual variables where Image
-- Builder places build information or scripts, based on your container
-- image recipe.
--
-- $sel:encrypted:ContainerRecipe',
-- containerRecipe_encrypted - A flag that indicates if the target
-- container is encrypted.
--
-- $sel:instanceConfiguration:ContainerRecipe',
-- containerRecipe_instanceConfiguration - A group of options that
-- can be used to configure an instance for building and testing
-- container images.
--
-- $sel:kmsKeyId:ContainerRecipe', containerRecipe_kmsKeyId
-- - Identifies which KMS key is used to encrypt the container image for
-- distribution to the target Region.
--
-- $sel:name:ContainerRecipe', containerRecipe_name - The
-- name of the container recipe.
--
-- $sel:owner:ContainerRecipe', containerRecipe_owner - The
-- owner of the container recipe.
--
-- $sel:parentImage:ContainerRecipe',
-- containerRecipe_parentImage - The base image for the container
-- recipe.
--
-- $sel:platform:ContainerRecipe', containerRecipe_platform
-- - The system platform for the container, such as Windows or Linux.
--
-- $sel:tags:ContainerRecipe', containerRecipe_tags - Tags
-- that are attached to the container recipe.
--
-- $sel:targetRepository:ContainerRecipe',
-- containerRecipe_targetRepository - The destination repository
-- for the container image.
--
-- $sel:version:ContainerRecipe', containerRecipe_version -
-- The semantic version of the container recipe.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
--
-- $sel:workingDirectory:ContainerRecipe',
-- containerRecipe_workingDirectory - The working directory for
-- use during build and test workflows.
newContainerRecipe :: ContainerRecipe
-- | A summary of a container recipe
--
-- See: newContainerRecipeSummary smart constructor.
data ContainerRecipeSummary
ContainerRecipeSummary' :: Maybe Text -> Maybe ContainerType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> ContainerRecipeSummary
-- | Create a value of ContainerRecipeSummary 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:arn:ContainerRecipeSummary',
-- containerRecipeSummary_arn - The Amazon Resource Name (ARN) of
-- the container recipe.
--
-- $sel:containerType:ContainerRecipeSummary',
-- containerRecipeSummary_containerType - Specifies the type of
-- container, such as "Docker".
--
-- $sel:dateCreated:ContainerRecipeSummary',
-- containerRecipeSummary_dateCreated - The date when this
-- container recipe was created.
--
-- $sel:name:ContainerRecipeSummary',
-- containerRecipeSummary_name - The name of the container recipe.
--
-- $sel:owner:ContainerRecipeSummary',
-- containerRecipeSummary_owner - The owner of the container
-- recipe.
--
-- $sel:parentImage:ContainerRecipeSummary',
-- containerRecipeSummary_parentImage - The base image for the
-- container recipe.
--
-- $sel:platform:ContainerRecipeSummary',
-- containerRecipeSummary_platform - The system platform for the
-- container, such as Windows or Linux.
--
-- $sel:tags:ContainerRecipeSummary',
-- containerRecipeSummary_tags - Tags that are attached to the
-- container recipe.
newContainerRecipeSummary :: ContainerRecipeSummary
-- | Defines the settings for a specific Region.
--
-- See: newDistribution smart constructor.
data Distribution
Distribution' :: Maybe AmiDistributionConfiguration -> Maybe ContainerDistributionConfiguration -> Maybe (NonEmpty FastLaunchConfiguration) -> Maybe (NonEmpty LaunchTemplateConfiguration) -> Maybe (NonEmpty Text) -> Maybe S3ExportConfiguration -> Text -> Distribution
-- | Create a value of Distribution 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:amiDistributionConfiguration:Distribution',
-- distribution_amiDistributionConfiguration - The specific AMI
-- settings; for example, launch permissions or AMI tags.
--
-- $sel:containerDistributionConfiguration:Distribution',
-- distribution_containerDistributionConfiguration - Container
-- distribution settings for encryption, licensing, and sharing in a
-- specific Region.
--
-- $sel:fastLaunchConfigurations:Distribution',
-- distribution_fastLaunchConfigurations - The Windows
-- faster-launching configurations to use for AMI distribution.
--
-- $sel:launchTemplateConfigurations:Distribution',
-- distribution_launchTemplateConfigurations - A group of
-- launchTemplateConfiguration settings that apply to image distribution
-- for specified accounts.
--
-- $sel:licenseConfigurationArns:Distribution',
-- distribution_licenseConfigurationArns - The License Manager
-- Configuration to associate with the AMI in the specified Region.
--
-- $sel:s3ExportConfiguration:Distribution',
-- distribution_s3ExportConfiguration - Configure export settings
-- to deliver disk images created from your image build, using a file
-- format that is compatible with your VMs in that Region.
--
-- $sel:region:Distribution', distribution_region - The
-- target Region.
newDistribution :: Text -> Distribution
-- | A distribution configuration.
--
-- See: newDistributionConfiguration smart constructor.
data DistributionConfiguration
DistributionConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Distribution] -> Maybe Text -> Maybe (HashMap Text Text) -> Natural -> DistributionConfiguration
-- | Create a value of DistributionConfiguration 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:arn:DistributionConfiguration',
-- distributionConfiguration_arn - The Amazon Resource Name (ARN)
-- of the distribution configuration.
--
-- $sel:dateCreated:DistributionConfiguration',
-- distributionConfiguration_dateCreated - The date on which this
-- distribution configuration was created.
--
-- $sel:dateUpdated:DistributionConfiguration',
-- distributionConfiguration_dateUpdated - The date on which this
-- distribution configuration was last updated.
--
-- $sel:description:DistributionConfiguration',
-- distributionConfiguration_description - The description of the
-- distribution configuration.
--
-- $sel:distributions:DistributionConfiguration',
-- distributionConfiguration_distributions - The distribution
-- objects that apply Region-specific settings for the deployment of the
-- image to targeted Regions.
--
-- $sel:name:DistributionConfiguration',
-- distributionConfiguration_name - The name of the distribution
-- configuration.
--
-- $sel:tags:DistributionConfiguration',
-- distributionConfiguration_tags - The tags of the distribution
-- configuration.
--
-- $sel:timeoutMinutes:DistributionConfiguration',
-- distributionConfiguration_timeoutMinutes - The maximum duration
-- in minutes for this distribution configuration.
newDistributionConfiguration :: Natural -> DistributionConfiguration
-- | A high-level overview of a distribution configuration.
--
-- See: newDistributionConfigurationSummary smart
-- constructor.
data DistributionConfigurationSummary
DistributionConfigurationSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe (HashMap Text Text) -> DistributionConfigurationSummary
-- | Create a value of DistributionConfigurationSummary 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:arn:DistributionConfigurationSummary',
-- distributionConfigurationSummary_arn - The Amazon Resource Name
-- (ARN) of the distribution configuration.
--
-- $sel:dateCreated:DistributionConfigurationSummary',
-- distributionConfigurationSummary_dateCreated - The date on
-- which the distribution configuration was created.
--
-- $sel:dateUpdated:DistributionConfigurationSummary',
-- distributionConfigurationSummary_dateUpdated - The date on
-- which the distribution configuration was updated.
--
-- $sel:description:DistributionConfigurationSummary',
-- distributionConfigurationSummary_description - The description
-- of the distribution configuration.
--
-- $sel:name:DistributionConfigurationSummary',
-- distributionConfigurationSummary_name - The name of the
-- distribution configuration.
--
-- $sel:regions:DistributionConfigurationSummary',
-- distributionConfigurationSummary_regions - A list of Regions
-- where the container image is distributed to.
--
-- $sel:tags:DistributionConfigurationSummary',
-- distributionConfigurationSummary_tags - The tags associated
-- with the distribution configuration.
newDistributionConfigurationSummary :: DistributionConfigurationSummary
-- | Amazon EBS-specific block device mapping specifications.
--
-- See: newEbsInstanceBlockDeviceSpecification smart
-- constructor.
data EbsInstanceBlockDeviceSpecification
EbsInstanceBlockDeviceSpecification' :: Maybe Bool -> Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Natural -> Maybe EbsVolumeType -> EbsInstanceBlockDeviceSpecification
-- | Create a value of EbsInstanceBlockDeviceSpecification 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:deleteOnTermination:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_deleteOnTermination - Use
-- to configure delete on termination of the associated device.
--
-- $sel:encrypted:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_encrypted - Use to
-- configure device encryption.
--
-- $sel:iops:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_iops - Use to configure
-- device IOPS.
--
-- $sel:kmsKeyId:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_kmsKeyId - Use to configure
-- the KMS key to use when encrypting the device.
--
-- $sel:snapshotId:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_snapshotId - The snapshot
-- that defines the device contents.
--
-- $sel:throughput:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_throughput - For GP3
-- volumes only – The throughput in MiB/s that the volume supports.
--
-- $sel:volumeSize:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_volumeSize - Use to
-- override the device's volume size.
--
-- $sel:volumeType:EbsInstanceBlockDeviceSpecification',
-- ebsInstanceBlockDeviceSpecification_volumeType - Use to
-- override the device's volume type.
newEbsInstanceBlockDeviceSpecification :: EbsInstanceBlockDeviceSpecification
-- | Define and configure faster launching for output Windows AMIs.
--
-- See: newFastLaunchConfiguration smart constructor.
data FastLaunchConfiguration
FastLaunchConfiguration' :: Maybe Text -> Maybe FastLaunchLaunchTemplateSpecification -> Maybe Natural -> Maybe FastLaunchSnapshotConfiguration -> Bool -> FastLaunchConfiguration
-- | Create a value of FastLaunchConfiguration 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:accountId:FastLaunchConfiguration',
-- fastLaunchConfiguration_accountId - The owner account ID for
-- the fast-launch enabled Windows AMI.
--
-- $sel:launchTemplate:FastLaunchConfiguration',
-- fastLaunchConfiguration_launchTemplate - The launch template
-- that the fast-launch enabled Windows AMI uses when it launches Windows
-- instances to create pre-provisioned snapshots.
--
-- $sel:maxParallelLaunches:FastLaunchConfiguration',
-- fastLaunchConfiguration_maxParallelLaunches - The maximum
-- number of parallel instances that are launched for creating resources.
--
-- $sel:snapshotConfiguration:FastLaunchConfiguration',
-- fastLaunchConfiguration_snapshotConfiguration - Configuration
-- settings for managing the number of snapshots that are created from
-- pre-provisioned instances for the Windows AMI when faster launching is
-- enabled.
--
-- $sel:enabled:FastLaunchConfiguration',
-- fastLaunchConfiguration_enabled - A Boolean that represents the
-- current state of faster launching for the Windows AMI. Set to
-- true to start using Windows faster launching, or
-- false to stop using it.
newFastLaunchConfiguration :: Bool -> FastLaunchConfiguration
-- | Identifies the launch template that the associated Windows AMI uses
-- for launching an instance when faster launching is enabled.
--
-- You can specify either the launchTemplateName or the
-- launchTemplateId, but not both.
--
-- See: newFastLaunchLaunchTemplateSpecification smart
-- constructor.
data FastLaunchLaunchTemplateSpecification
FastLaunchLaunchTemplateSpecification' :: Maybe Text -> Maybe Text -> Maybe Text -> FastLaunchLaunchTemplateSpecification
-- | Create a value of FastLaunchLaunchTemplateSpecification 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:launchTemplateId:FastLaunchLaunchTemplateSpecification',
-- fastLaunchLaunchTemplateSpecification_launchTemplateId - The ID
-- of the launch template to use for faster launching for a Windows AMI.
--
-- $sel:launchTemplateName:FastLaunchLaunchTemplateSpecification',
-- fastLaunchLaunchTemplateSpecification_launchTemplateName - The
-- name of the launch template to use for faster launching for a Windows
-- AMI.
--
--
-- $sel:launchTemplateVersion:FastLaunchLaunchTemplateSpecification',
-- fastLaunchLaunchTemplateSpecification_launchTemplateVersion -
-- The version of the launch template to use for faster launching for a
-- Windows AMI.
newFastLaunchLaunchTemplateSpecification :: FastLaunchLaunchTemplateSpecification
-- | Configuration settings for creating and managing pre-provisioned
-- snapshots for a fast-launch enabled Windows AMI.
--
-- See: newFastLaunchSnapshotConfiguration smart
-- constructor.
data FastLaunchSnapshotConfiguration
FastLaunchSnapshotConfiguration' :: Maybe Natural -> FastLaunchSnapshotConfiguration
-- | Create a value of FastLaunchSnapshotConfiguration 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:targetResourceCount:FastLaunchSnapshotConfiguration',
-- fastLaunchSnapshotConfiguration_targetResourceCount - The
-- number of pre-provisioned snapshots to keep on hand for a fast-launch
-- enabled Windows AMI.
newFastLaunchSnapshotConfiguration :: FastLaunchSnapshotConfiguration
-- | A filter name and value pair that is used to return a more specific
-- list of results from a list operation. Filters can be used to match a
-- set of resources by specific criteria, such as tags, attributes, or
-- IDs.
--
-- See: newFilter smart constructor.
data Filter
Filter' :: Maybe Text -> Maybe (NonEmpty Text) -> Filter
-- | Create a value of Filter 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:name:Filter', filter_name - The name of the filter.
-- Filter names are case-sensitive.
--
-- $sel:values:Filter', filter_values - The filter values.
-- Filter values are case-sensitive.
newFilter :: Filter
-- | An Image Builder image. You must specify exactly one recipe for the
-- image – either a container recipe (containerRecipe), which
-- creates a container image, or an image recipe (imageRecipe),
-- which creates an AMI.
--
-- See: newImage smart constructor.
data Image
Image' :: Maybe Text -> Maybe BuildType -> Maybe ContainerRecipe -> Maybe Text -> Maybe DistributionConfiguration -> Maybe Bool -> Maybe ImageRecipe -> Maybe ImageTestsConfiguration -> Maybe InfrastructureConfiguration -> Maybe Text -> Maybe Text -> Maybe OutputResources -> Maybe Platform -> Maybe Text -> Maybe Text -> Maybe ImageState -> Maybe (HashMap Text Text) -> Maybe ImageType -> Maybe Text -> Image
-- | Create a value of Image 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:
--
-- Image, image_arn - The Amazon Resource Name (ARN) of the
-- image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:buildType:Image', image_buildType - Indicates the
-- type of build that created this image. The build can be initiated in
-- the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
--
-- $sel:containerRecipe:Image', image_containerRecipe - The
-- recipe that is used to create an Image Builder container image.
--
-- Image, image_dateCreated - The date on which this image
-- was created.
--
-- $sel:distributionConfiguration:Image',
-- image_distributionConfiguration - The distribution
-- configuration used when creating this image.
--
-- $sel:enhancedImageMetadataEnabled:Image',
-- image_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:imageRecipe:Image', image_imageRecipe - The image
-- recipe used when creating the image.
--
-- $sel:imageTestsConfiguration:Image',
-- image_imageTestsConfiguration - The image tests configuration
-- used when creating this image.
--
-- $sel:infrastructureConfiguration:Image',
-- image_infrastructureConfiguration - The infrastructure used
-- when creating this image.
--
-- Image, image_name - The name of the image.
--
-- $sel:osVersion:Image', image_osVersion - The operating
-- system version of the instance. For example, Amazon Linux 2, Ubuntu
-- 18, or Microsoft Windows Server 2019.
--
-- $sel:outputResources:Image', image_outputResources - The
-- output resources produced when creating this image.
--
-- Image, image_platform - The platform of the image.
--
-- $sel:sourcePipelineArn:Image', image_sourcePipelineArn -
-- The Amazon Resource Name (ARN) of the image pipeline that created this
-- image.
--
-- $sel:sourcePipelineName:Image', image_sourcePipelineName
-- - The name of the image pipeline that created this image.
--
-- $sel:state:Image', image_state - The state of the image.
--
-- Image, image_tags - The tags of the image.
--
-- Image, image_type - Specifies whether this is an AMI or
-- container image.
--
-- Image, image_version - The semantic version of the
-- image.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
newImage :: Image
-- | Represents a package installed on an Image Builder image.
--
-- See: newImagePackage smart constructor.
data ImagePackage
ImagePackage' :: Maybe Text -> Maybe Text -> ImagePackage
-- | Create a value of ImagePackage 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:packageName:ImagePackage', imagePackage_packageName
-- - The name of the package as reported to the operating system package
-- manager.
--
-- $sel:packageVersion:ImagePackage',
-- imagePackage_packageVersion - The version of the package as
-- reported to the operating system package manager.
newImagePackage :: ImagePackage
-- | Details of an image pipeline.
--
-- See: newImagePipeline smart constructor.
data ImagePipeline
ImagePipeline' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe ImageTestsConfiguration -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe Schedule -> Maybe PipelineStatus -> Maybe (HashMap Text Text) -> ImagePipeline
-- | Create a value of ImagePipeline 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:arn:ImagePipeline', imagePipeline_arn - The Amazon
-- Resource Name (ARN) of the image pipeline.
--
-- $sel:containerRecipeArn:ImagePipeline',
-- imagePipeline_containerRecipeArn - The Amazon Resource Name
-- (ARN) of the container recipe that is used for this pipeline.
--
-- $sel:dateCreated:ImagePipeline',
-- imagePipeline_dateCreated - The date on which this image
-- pipeline was created.
--
-- $sel:dateLastRun:ImagePipeline',
-- imagePipeline_dateLastRun - The date on which this image
-- pipeline was last run.
--
-- $sel:dateNextRun:ImagePipeline',
-- imagePipeline_dateNextRun - The date on which this image
-- pipeline will next be run.
--
-- $sel:dateUpdated:ImagePipeline',
-- imagePipeline_dateUpdated - The date on which this image
-- pipeline was last updated.
--
-- $sel:description:ImagePipeline',
-- imagePipeline_description - The description of the image
-- pipeline.
--
-- $sel:distributionConfigurationArn:ImagePipeline',
-- imagePipeline_distributionConfigurationArn - The Amazon
-- Resource Name (ARN) of the distribution configuration associated with
-- this image pipeline.
--
-- $sel:enhancedImageMetadataEnabled:ImagePipeline',
-- imagePipeline_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:imageRecipeArn:ImagePipeline',
-- imagePipeline_imageRecipeArn - The Amazon Resource Name (ARN)
-- of the image recipe associated with this image pipeline.
--
-- $sel:imageTestsConfiguration:ImagePipeline',
-- imagePipeline_imageTestsConfiguration - The image tests
-- configuration of the image pipeline.
--
-- $sel:infrastructureConfigurationArn:ImagePipeline',
-- imagePipeline_infrastructureConfigurationArn - The Amazon
-- Resource Name (ARN) of the infrastructure configuration associated
-- with this image pipeline.
--
-- $sel:name:ImagePipeline', imagePipeline_name - The name
-- of the image pipeline.
--
-- $sel:platform:ImagePipeline', imagePipeline_platform -
-- The platform of the image pipeline.
--
-- $sel:schedule:ImagePipeline', imagePipeline_schedule -
-- The schedule of the image pipeline.
--
-- $sel:status:ImagePipeline', imagePipeline_status - The
-- status of the image pipeline.
--
-- $sel:tags:ImagePipeline', imagePipeline_tags - The tags
-- of this image pipeline.
newImagePipeline :: ImagePipeline
-- | An image recipe.
--
-- See: newImageRecipe smart constructor.
data ImageRecipe
ImageRecipe' :: Maybe AdditionalInstanceConfiguration -> Maybe Text -> Maybe [InstanceBlockDeviceMapping] -> Maybe (NonEmpty ComponentConfiguration) -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> Maybe ImageType -> Maybe Text -> Maybe Text -> ImageRecipe
-- | Create a value of ImageRecipe 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:additionalInstanceConfiguration:ImageRecipe',
-- imageRecipe_additionalInstanceConfiguration - Before you create
-- a new AMI, Image Builder launches temporary Amazon EC2 instances to
-- build and test your image configuration. Instance configuration adds a
-- layer of control over those instances. You can define settings and add
-- scripts to run when an instance is launched from your AMI.
--
-- $sel:arn:ImageRecipe', imageRecipe_arn - The Amazon
-- Resource Name (ARN) of the image recipe.
--
-- $sel:blockDeviceMappings:ImageRecipe',
-- imageRecipe_blockDeviceMappings - The block device mappings to
-- apply when creating images from this recipe.
--
-- $sel:components:ImageRecipe', imageRecipe_components -
-- The components of the image recipe.
--
-- $sel:dateCreated:ImageRecipe', imageRecipe_dateCreated -
-- The date on which this image recipe was created.
--
-- $sel:description:ImageRecipe', imageRecipe_description -
-- The description of the image recipe.
--
-- $sel:name:ImageRecipe', imageRecipe_name - The name of
-- the image recipe.
--
-- $sel:owner:ImageRecipe', imageRecipe_owner - The owner
-- of the image recipe.
--
-- $sel:parentImage:ImageRecipe', imageRecipe_parentImage -
-- The base image of the image recipe.
--
-- $sel:platform:ImageRecipe', imageRecipe_platform - The
-- platform of the image recipe.
--
-- $sel:tags:ImageRecipe', imageRecipe_tags - The tags of
-- the image recipe.
--
-- $sel:type':ImageRecipe', imageRecipe_type - Specifies
-- which type of image is created by the recipe - an AMI or a container
-- image.
--
-- $sel:version:ImageRecipe', imageRecipe_version - The
-- version of the image recipe.
--
-- $sel:workingDirectory:ImageRecipe',
-- imageRecipe_workingDirectory - The working directory to be used
-- during build and test workflows.
newImageRecipe :: ImageRecipe
-- | A summary of an image recipe.
--
-- See: newImageRecipeSummary smart constructor.
data ImageRecipeSummary
ImageRecipeSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe (HashMap Text Text) -> ImageRecipeSummary
-- | Create a value of ImageRecipeSummary 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:arn:ImageRecipeSummary', imageRecipeSummary_arn -
-- The Amazon Resource Name (ARN) of the image recipe.
--
-- $sel:dateCreated:ImageRecipeSummary',
-- imageRecipeSummary_dateCreated - The date on which this image
-- recipe was created.
--
-- $sel:name:ImageRecipeSummary', imageRecipeSummary_name -
-- The name of the image recipe.
--
-- $sel:owner:ImageRecipeSummary', imageRecipeSummary_owner
-- - The owner of the image recipe.
--
-- $sel:parentImage:ImageRecipeSummary',
-- imageRecipeSummary_parentImage - The base image of the image
-- recipe.
--
-- $sel:platform:ImageRecipeSummary',
-- imageRecipeSummary_platform - The platform of the image recipe.
--
-- $sel:tags:ImageRecipeSummary', imageRecipeSummary_tags -
-- The tags of the image recipe.
newImageRecipeSummary :: ImageRecipeSummary
-- | Image state shows the image status and the reason for that status.
--
-- See: newImageState smart constructor.
data ImageState
ImageState' :: Maybe Text -> Maybe ImageStatus -> ImageState
-- | Create a value of ImageState 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:reason:ImageState', imageState_reason - The reason
-- for the image's status.
--
-- $sel:status:ImageState', imageState_status - The status
-- of the image.
newImageState :: ImageState
-- | An image summary.
--
-- See: newImageSummary smart constructor.
data ImageSummary
ImageSummary' :: Maybe Text -> Maybe BuildType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe OutputResources -> Maybe Text -> Maybe Platform -> Maybe ImageState -> Maybe (HashMap Text Text) -> Maybe ImageType -> Maybe Text -> ImageSummary
-- | Create a value of ImageSummary 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:arn:ImageSummary', imageSummary_arn - The Amazon
-- Resource Name (ARN) of the image.
--
-- $sel:buildType:ImageSummary', imageSummary_buildType -
-- Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
--
-- $sel:dateCreated:ImageSummary', imageSummary_dateCreated
-- - The date on which this image was created.
--
-- $sel:name:ImageSummary', imageSummary_name - The name of
-- the image.
--
-- $sel:osVersion:ImageSummary', imageSummary_osVersion -
-- The operating system version of the instance. For example, Amazon
-- Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
--
-- $sel:outputResources:ImageSummary',
-- imageSummary_outputResources - The output resources produced
-- when creating this image.
--
-- $sel:owner:ImageSummary', imageSummary_owner - The owner
-- of the image.
--
-- $sel:platform:ImageSummary', imageSummary_platform - The
-- platform of the image.
--
-- $sel:state:ImageSummary', imageSummary_state - The state
-- of the image.
--
-- $sel:tags:ImageSummary', imageSummary_tags - The tags of
-- the image.
--
-- $sel:type':ImageSummary', imageSummary_type - Specifies
-- whether this is an AMI or container image.
--
-- $sel:version:ImageSummary', imageSummary_version - The
-- version of the image.
newImageSummary :: ImageSummary
-- | Configure image tests for your pipeline build. Tests run after
-- building the image, to verify that the AMI or container image is valid
-- before distributing it.
--
-- See: newImageTestsConfiguration smart constructor.
data ImageTestsConfiguration
ImageTestsConfiguration' :: Maybe Bool -> Maybe Natural -> ImageTestsConfiguration
-- | Create a value of ImageTestsConfiguration 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:imageTestsEnabled:ImageTestsConfiguration',
-- imageTestsConfiguration_imageTestsEnabled - Determines if tests
-- should run after building the image. Image Builder defaults to enable
-- tests to run following the image build, before image distribution.
--
-- $sel:timeoutMinutes:ImageTestsConfiguration',
-- imageTestsConfiguration_timeoutMinutes - The maximum time in
-- minutes that tests are permitted to run.
newImageTestsConfiguration :: ImageTestsConfiguration
-- | The defining characteristics of a specific version of an Image Builder
-- image.
--
-- See: newImageVersion smart constructor.
data ImageVersion
ImageVersion' :: Maybe Text -> Maybe BuildType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Platform -> Maybe ImageType -> Maybe Text -> ImageVersion
-- | Create a value of ImageVersion 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:arn:ImageVersion', imageVersion_arn - The Amazon
-- Resource Name (ARN) of a specific version of an Image Builder image.
--
-- Semantic versioning is included in each object's Amazon Resource Name
-- (ARN), at the level that applies to that object as follows:
--
--
-- - Versionless ARNs and Name ARNs do not include specific values in
-- any of the nodes. The nodes are either left off entirely, or they are
-- specified as wildcards, for example: x.x.x.
-- - Version ARNs have only the first three nodes:
-- <major>.<minor>.<patch>
-- - Build version ARNs have all four nodes, and point to a specific
-- build for a specific version of an object.
--
--
-- $sel:buildType:ImageVersion', imageVersion_buildType -
-- Indicates the type of build that created this image. The build can be
-- initiated in the following ways:
--
--
-- - USER_INITIATED – A manual pipeline build request.
-- - SCHEDULED – A pipeline build initiated by a cron expression
-- in the Image Builder pipeline, or from EventBridge.
-- - IMPORT – A VM import created the image to use as the base
-- image for the recipe.
--
--
-- $sel:dateCreated:ImageVersion', imageVersion_dateCreated
-- - The date on which this specific version of the Image Builder image
-- was created.
--
-- $sel:name:ImageVersion', imageVersion_name - The name of
-- this specific version of an Image Builder image.
--
-- $sel:osVersion:ImageVersion', imageVersion_osVersion -
-- The operating system version of the Amazon EC2 build instance. For
-- example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
--
-- $sel:owner:ImageVersion', imageVersion_owner - The owner
-- of the image version.
--
-- $sel:platform:ImageVersion', imageVersion_platform - The
-- platform of the image version, for example "Windows" or "Linux".
--
-- $sel:type':ImageVersion', imageVersion_type - Specifies
-- whether this image is an AMI or a container image.
--
-- $sel:version:ImageVersion', imageVersion_version -
-- Details for a specific version of an Image Builder image. This version
-- follows the semantic version syntax.
--
-- The semantic version has four nodes:
-- <major>.<minor>.<patch>/<build>. You can
-- assign values for the first three, and can filter on all of them.
--
-- Assignment: For the first three nodes you can assign any
-- positive integer value, including zero, with an upper limit of 2^30-1,
-- or 1073741823 for each node. Image Builder automatically assigns the
-- build number to the fourth node.
--
-- Patterns: You can use any numeric pattern that adheres to the
-- assignment requirements for the nodes that you can assign. For
-- example, you might choose a software version pattern, such as 1.0.0,
-- or a date, such as 2021.01.01.
--
-- Filtering: With semantic versioning, you have the flexibility
-- to use wildcards (x) to specify the most recent versions or nodes when
-- selecting the base image or components for your recipe. When you use a
-- wildcard in any node, all nodes to the right of the first wildcard
-- must also be wildcards.
newImageVersion :: ImageVersion
-- | Details of the infrastructure configuration.
--
-- See: newInfrastructureConfiguration smart constructor.
data InfrastructureConfiguration
InfrastructureConfiguration' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InstanceMetadataOptions -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe Logging -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Maybe Text -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe Bool -> InfrastructureConfiguration
-- | Create a value of InfrastructureConfiguration 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:arn:InfrastructureConfiguration',
-- infrastructureConfiguration_arn - The Amazon Resource Name
-- (ARN) of the infrastructure configuration.
--
-- $sel:dateCreated:InfrastructureConfiguration',
-- infrastructureConfiguration_dateCreated - The date on which the
-- infrastructure configuration was created.
--
-- $sel:dateUpdated:InfrastructureConfiguration',
-- infrastructureConfiguration_dateUpdated - The date on which the
-- infrastructure configuration was last updated.
--
-- $sel:description:InfrastructureConfiguration',
-- infrastructureConfiguration_description - The description of
-- the infrastructure configuration.
--
-- $sel:instanceMetadataOptions:InfrastructureConfiguration',
-- infrastructureConfiguration_instanceMetadataOptions - The
-- instance metadata option settings for the infrastructure
-- configuration.
--
-- $sel:instanceProfileName:InfrastructureConfiguration',
-- infrastructureConfiguration_instanceProfileName - The instance
-- profile of the infrastructure configuration.
--
-- $sel:instanceTypes:InfrastructureConfiguration',
-- infrastructureConfiguration_instanceTypes - The instance types
-- of the infrastructure configuration.
--
-- $sel:keyPair:InfrastructureConfiguration',
-- infrastructureConfiguration_keyPair - The Amazon EC2 key pair
-- of the infrastructure configuration.
--
-- $sel:logging:InfrastructureConfiguration',
-- infrastructureConfiguration_logging - The logging configuration
-- of the infrastructure configuration.
--
-- $sel:name:InfrastructureConfiguration',
-- infrastructureConfiguration_name - The name of the
-- infrastructure configuration.
--
-- $sel:resourceTags:InfrastructureConfiguration',
-- infrastructureConfiguration_resourceTags - The tags attached to
-- the resource created by Image Builder.
--
-- $sel:securityGroupIds:InfrastructureConfiguration',
-- infrastructureConfiguration_securityGroupIds - The security
-- group IDs of the infrastructure configuration.
--
-- $sel:snsTopicArn:InfrastructureConfiguration',
-- infrastructureConfiguration_snsTopicArn - The Amazon Resource
-- Name (ARN) for the SNS topic to which we send image build event
-- notifications.
--
-- EC2 Image Builder is unable to send notifications to SNS topics that
-- are encrypted using keys from other accounts. The key that is used to
-- encrypt the SNS topic must reside in the account that the Image
-- Builder service runs under.
--
-- $sel:subnetId:InfrastructureConfiguration',
-- infrastructureConfiguration_subnetId - The subnet ID of the
-- infrastructure configuration.
--
-- $sel:tags:InfrastructureConfiguration',
-- infrastructureConfiguration_tags - The tags of the
-- infrastructure configuration.
--
-- $sel:terminateInstanceOnFailure:InfrastructureConfiguration',
-- infrastructureConfiguration_terminateInstanceOnFailure - The
-- terminate instance on failure configuration of the infrastructure
-- configuration.
newInfrastructureConfiguration :: InfrastructureConfiguration
-- | The infrastructure used when building Amazon EC2 AMIs.
--
-- See: newInfrastructureConfigurationSummary smart
-- constructor.
data InfrastructureConfigurationSummary
InfrastructureConfigurationSummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [Text] -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe (HashMap Text Text) -> InfrastructureConfigurationSummary
-- | Create a value of InfrastructureConfigurationSummary 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:arn:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_arn - The Amazon Resource
-- Name (ARN) of the infrastructure configuration.
--
-- $sel:dateCreated:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_dateCreated - The date on
-- which the infrastructure configuration was created.
--
-- $sel:dateUpdated:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_dateUpdated - The date on
-- which the infrastructure configuration was last updated.
--
-- $sel:description:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_description - The
-- description of the infrastructure configuration.
--
-- $sel:instanceProfileName:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_instanceProfileName - The
-- instance profile of the infrastructure configuration.
--
-- $sel:instanceTypes:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_instanceTypes - The instance
-- types of the infrastructure configuration.
--
-- $sel:name:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_name - The name of the
-- infrastructure configuration.
--
-- $sel:resourceTags:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_resourceTags - The tags
-- attached to the image created by Image Builder.
--
-- $sel:tags:InfrastructureConfigurationSummary',
-- infrastructureConfigurationSummary_tags - The tags of the
-- infrastructure configuration.
newInfrastructureConfigurationSummary :: InfrastructureConfigurationSummary
-- | Defines block device mappings for the instance used to configure your
-- image.
--
-- See: newInstanceBlockDeviceMapping smart constructor.
data InstanceBlockDeviceMapping
InstanceBlockDeviceMapping' :: Maybe Text -> Maybe EbsInstanceBlockDeviceSpecification -> Maybe Text -> Maybe Text -> InstanceBlockDeviceMapping
-- | Create a value of InstanceBlockDeviceMapping 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:deviceName:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_deviceName - The device to which
-- these mappings apply.
--
-- $sel:ebs:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_ebs - Use to manage Amazon
-- EBS-specific configuration for this mapping.
--
-- $sel:noDevice:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_noDevice - Use to remove a mapping
-- from the base image.
--
-- $sel:virtualName:InstanceBlockDeviceMapping',
-- instanceBlockDeviceMapping_virtualName - Use to manage instance
-- ephemeral devices.
newInstanceBlockDeviceMapping :: InstanceBlockDeviceMapping
-- | Defines a custom base AMI and block device mapping configurations of
-- an instance used for building and testing container images.
--
-- See: newInstanceConfiguration smart constructor.
data InstanceConfiguration
InstanceConfiguration' :: Maybe [InstanceBlockDeviceMapping] -> Maybe Text -> InstanceConfiguration
-- | Create a value of InstanceConfiguration 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:blockDeviceMappings:InstanceConfiguration',
-- instanceConfiguration_blockDeviceMappings - Defines the block
-- devices to attach for building an instance from this Image Builder
-- AMI.
--
-- $sel:image:InstanceConfiguration',
-- instanceConfiguration_image - The AMI ID to use as the base
-- image for a container build and test instance. If not specified, Image
-- Builder will use the appropriate ECS-optimized AMI as a base image.
newInstanceConfiguration :: InstanceConfiguration
-- | The instance metadata options that apply to the HTTP requests that
-- pipeline builds use to launch EC2 build and test instances. For more
-- information about instance metadata options, see Configure the
-- instance metadata options in the /Amazon EC2 User Guide/
-- for Linux instances, or Configure the instance metadata options
-- in the /Amazon EC2 Windows Guide/ for Windows instances.
--
-- See: newInstanceMetadataOptions smart constructor.
data InstanceMetadataOptions
InstanceMetadataOptions' :: Maybe Natural -> Maybe Text -> InstanceMetadataOptions
-- | Create a value of InstanceMetadataOptions 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:httpPutResponseHopLimit:InstanceMetadataOptions',
-- instanceMetadataOptions_httpPutResponseHopLimit - Limit the
-- number of hops that an instance metadata request can traverse to reach
-- its destination.
--
-- $sel:httpTokens:InstanceMetadataOptions',
-- instanceMetadataOptions_httpTokens - Indicates whether a signed
-- token header is required for instance metadata retrieval requests. The
-- values affect the response as follows:
--
--
-- - required – When you retrieve the IAM role credentials,
-- version 2.0 credentials are returned in all cases.
-- - optional – You can include a signed token header in your
-- request to retrieve instance metadata, or you can leave it out. If you
-- include it, version 2.0 credentials are returned for the IAM role.
-- Otherwise, version 1.0 credentials are returned.
--
--
-- The default setting is optional.
newInstanceMetadataOptions :: InstanceMetadataOptions
-- | Describes the configuration for a launch permission. The launch
-- permission modification request is sent to the Amazon EC2
-- ModifyImageAttribute API on behalf of the user for each Region
-- they have selected to distribute the AMI. To make an AMI public, set
-- the launch permission authorized accounts to all. See the
-- examples for making an AMI public at Amazon EC2
-- ModifyImageAttribute.
--
-- See: newLaunchPermissionConfiguration smart constructor.
data LaunchPermissionConfiguration
LaunchPermissionConfiguration' :: Maybe (NonEmpty Text) -> Maybe (NonEmpty Text) -> Maybe [Text] -> Maybe (NonEmpty Text) -> LaunchPermissionConfiguration
-- | Create a value of LaunchPermissionConfiguration 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:organizationArns:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_organizationArns - The ARN for an
-- Amazon Web Services Organization that you want to share your AMI with.
-- For more information, see What is Organizations?.
--
-- $sel:organizationalUnitArns:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_organizationalUnitArns - The ARN
-- for an Organizations organizational unit (OU) that you want to share
-- your AMI with. For more information about key concepts for
-- Organizations, see Organizations terminology and concepts.
--
-- $sel:userGroups:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_userGroups - The name of the
-- group.
--
-- $sel:userIds:LaunchPermissionConfiguration',
-- launchPermissionConfiguration_userIds - The Amazon Web Services
-- account ID.
newLaunchPermissionConfiguration :: LaunchPermissionConfiguration
-- | Identifies an Amazon EC2 launch template to use for a specific
-- account.
--
-- See: newLaunchTemplateConfiguration smart constructor.
data LaunchTemplateConfiguration
LaunchTemplateConfiguration' :: Maybe Text -> Maybe Bool -> Text -> LaunchTemplateConfiguration
-- | Create a value of LaunchTemplateConfiguration 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:accountId:LaunchTemplateConfiguration',
-- launchTemplateConfiguration_accountId - The account ID that
-- this configuration applies to.
--
-- $sel:setDefaultVersion:LaunchTemplateConfiguration',
-- launchTemplateConfiguration_setDefaultVersion - Set the
-- specified Amazon EC2 launch template as the default launch template
-- for the specified account.
--
-- $sel:launchTemplateId:LaunchTemplateConfiguration',
-- launchTemplateConfiguration_launchTemplateId - Identifies the
-- Amazon EC2 launch template to use.
newLaunchTemplateConfiguration :: Text -> LaunchTemplateConfiguration
-- | Logging configuration defines where Image Builder uploads your logs.
--
-- See: newLogging smart constructor.
data Logging
Logging' :: Maybe S3Logs -> Logging
-- | Create a value of Logging 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:s3Logs:Logging', logging_s3Logs - The Amazon S3
-- logging configuration.
newLogging :: Logging
-- | The resources produced by this image.
--
-- See: newOutputResources smart constructor.
data OutputResources
OutputResources' :: Maybe [Ami] -> Maybe [Container] -> OutputResources
-- | Create a value of OutputResources 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:amis:OutputResources', outputResources_amis - The
-- Amazon EC2 AMIs created by this image.
--
-- $sel:containers:OutputResources',
-- outputResources_containers - Container images that the pipeline
-- has generated and stored in the output repository.
newOutputResources :: OutputResources
-- | Properties that configure export from your build instance to a
-- compatible file format for your VM.
--
-- See: newS3ExportConfiguration smart constructor.
data S3ExportConfiguration
S3ExportConfiguration' :: Maybe Text -> Text -> DiskImageFormat -> Text -> S3ExportConfiguration
-- | Create a value of S3ExportConfiguration 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:s3Prefix:S3ExportConfiguration',
-- s3ExportConfiguration_s3Prefix - The Amazon S3 path for the
-- bucket where the output disk images for your VM are stored.
--
-- $sel:roleName:S3ExportConfiguration',
-- s3ExportConfiguration_roleName - The name of the role that
-- grants VM Import/Export permission to export images to your S3 bucket.
--
-- $sel:diskImageFormat:S3ExportConfiguration',
-- s3ExportConfiguration_diskImageFormat - Export the updated
-- image to one of the following supported disk image formats:
--
--
-- - Virtual Hard Disk (VHD) – Compatible with Citrix Xen and
-- Microsoft Hyper-V virtualization products.
-- - Stream-optimized ESX Virtual Machine Disk (VMDK) –
-- Compatible with VMware ESX and VMware vSphere versions 4, 5, and
-- 6.
-- - Raw – Raw format.
--
--
-- $sel:s3Bucket:S3ExportConfiguration',
-- s3ExportConfiguration_s3Bucket - The S3 bucket in which to
-- store the output disk images for your VM.
newS3ExportConfiguration :: Text -> DiskImageFormat -> Text -> S3ExportConfiguration
-- | Amazon S3 logging configuration.
--
-- See: newS3Logs smart constructor.
data S3Logs
S3Logs' :: Maybe Text -> Maybe Text -> S3Logs
-- | Create a value of S3Logs 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:s3BucketName:S3Logs', s3Logs_s3BucketName - The S3
-- bucket in which to store the logs.
--
-- $sel:s3KeyPrefix:S3Logs', s3Logs_s3KeyPrefix - The
-- Amazon S3 path to the bucket where the logs are stored.
newS3Logs :: S3Logs
-- | A schedule configures how often and when a pipeline will automatically
-- create a new image.
--
-- See: newSchedule smart constructor.
data Schedule
Schedule' :: Maybe PipelineExecutionStartCondition -> Maybe Text -> Maybe Text -> Schedule
-- | Create a value of Schedule 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:pipelineExecutionStartCondition:Schedule',
-- schedule_pipelineExecutionStartCondition - The condition
-- configures when the pipeline should trigger a new image build. When
-- the pipelineExecutionStartCondition is set to
-- EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you
-- use semantic version filters on the base image or components in your
-- image recipe, EC2 Image Builder will build a new image only when there
-- are new versions of the image or components in your recipe that match
-- the semantic version filter. When it is set to
-- EXPRESSION_MATCH_ONLY, it will build a new image every time
-- the CRON expression matches the current time. For semantic version
-- syntax, see CreateComponent in the EC2 Image Builder API
-- Reference.
--
-- $sel:scheduleExpression:Schedule',
-- schedule_scheduleExpression - The cron expression determines
-- how often EC2 Image Builder evaluates your
-- pipelineExecutionStartCondition.
--
-- For information on how to format a cron expression in Image Builder,
-- see Use cron expressions in EC2 Image Builder.
--
-- $sel:timezone:Schedule', schedule_timezone - The
-- timezone that applies to the scheduling expression. For example,
-- "Etc/UTC", "America/Los_Angeles" in the IANA timezone format.
-- If not specified this defaults to UTC.
newSchedule :: Schedule
-- | Contains settings for the Systems Manager agent on your build
-- instance.
--
-- See: newSystemsManagerAgent smart constructor.
data SystemsManagerAgent
SystemsManagerAgent' :: Maybe Bool -> SystemsManagerAgent
-- | Create a value of SystemsManagerAgent 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:uninstallAfterBuild:SystemsManagerAgent',
-- systemsManagerAgent_uninstallAfterBuild - Controls whether the
-- Systems Manager agent is removed from your final build image, prior to
-- creating the new AMI. If this is set to true, then the agent is
-- removed from the final image. If it's set to false, then the agent is
-- left in, so that it is included in the new AMI. The default value is
-- false.
newSystemsManagerAgent :: SystemsManagerAgent
-- | The container repository where the output container image is stored.
--
-- See: newTargetContainerRepository smart constructor.
data TargetContainerRepository
TargetContainerRepository' :: ContainerRepositoryService -> Text -> TargetContainerRepository
-- | Create a value of TargetContainerRepository 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:service:TargetContainerRepository',
-- targetContainerRepository_service - Specifies the service in
-- which this image was registered.
--
-- $sel:repositoryName:TargetContainerRepository',
-- targetContainerRepository_repositoryName - The name of the
-- container repository where the output container image is stored. This
-- name is prefixed by the repository location.
newTargetContainerRepository :: ContainerRepositoryService -> Text -> TargetContainerRepository