-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CodeDeploy SDK.
--
-- Derived from API version 2014-10-06 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.CodeDeploy.Lens and
-- are suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.CodeDeploy and the AWS documentation to get
-- started.
@package amazonka-codedeploy
@version 2.0
module Amazonka.CodeDeploy.Types.Alarm
-- | Information about an alarm.
--
-- See: newAlarm smart constructor.
data Alarm
Alarm' :: Maybe Text -> Alarm
-- | The name of the alarm. Maximum length is 255 characters. Each alarm
-- name can be used only once in a list of alarms.
[$sel:name:Alarm'] :: Alarm -> Maybe Text
-- | Create a value of Alarm with all optional fields omitted.
--
-- 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:Alarm', alarm_name - The name of the alarm.
-- Maximum length is 255 characters. Each alarm name can be used only
-- once in a list of alarms.
newAlarm :: Alarm
-- | The name of the alarm. Maximum length is 255 characters. Each alarm
-- name can be used only once in a list of alarms.
alarm_name :: Lens' Alarm (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.Alarm.Alarm
instance GHC.Show.Show Amazonka.CodeDeploy.Types.Alarm.Alarm
instance GHC.Read.Read Amazonka.CodeDeploy.Types.Alarm.Alarm
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.Alarm.Alarm
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.Alarm.Alarm
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.Alarm.Alarm
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.Alarm.Alarm
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.Alarm.Alarm
module Amazonka.CodeDeploy.Types.AlarmConfiguration
-- | Information about alarms associated with a deployment or deployment
-- group.
--
-- See: newAlarmConfiguration smart constructor.
data AlarmConfiguration
AlarmConfiguration' :: Maybe [Alarm] -> Maybe Bool -> Maybe Bool -> AlarmConfiguration
-- | A list of alarms configured for the deployment or deployment group. A
-- maximum of 10 alarms can be added.
[$sel:alarms:AlarmConfiguration'] :: AlarmConfiguration -> Maybe [Alarm]
-- | Indicates whether the alarm configuration is enabled.
[$sel:enabled:AlarmConfiguration'] :: AlarmConfiguration -> Maybe Bool
-- | Indicates whether a deployment should continue if information about
-- the current state of alarms cannot be retrieved from Amazon
-- CloudWatch. The default value is false.
--
--
-- - true: The deployment proceeds even if alarm status
-- information can't be retrieved from Amazon CloudWatch.
-- - false: The deployment stops if alarm status information
-- can't be retrieved from Amazon CloudWatch.
--
[$sel:ignorePollAlarmFailure:AlarmConfiguration'] :: AlarmConfiguration -> Maybe Bool
-- | Create a value of AlarmConfiguration with all optional fields
-- omitted.
--
-- 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:alarms:AlarmConfiguration',
-- alarmConfiguration_alarms - A list of alarms configured for the
-- deployment or deployment group. A maximum of 10 alarms can be added.
--
-- $sel:enabled:AlarmConfiguration',
-- alarmConfiguration_enabled - Indicates whether the alarm
-- configuration is enabled.
--
-- $sel:ignorePollAlarmFailure:AlarmConfiguration',
-- alarmConfiguration_ignorePollAlarmFailure - Indicates whether a
-- deployment should continue if information about the current state of
-- alarms cannot be retrieved from Amazon CloudWatch. The default value
-- is false.
--
--
-- - true: The deployment proceeds even if alarm status
-- information can't be retrieved from Amazon CloudWatch.
-- - false: The deployment stops if alarm status information
-- can't be retrieved from Amazon CloudWatch.
--
newAlarmConfiguration :: AlarmConfiguration
-- | A list of alarms configured for the deployment or deployment group. A
-- maximum of 10 alarms can be added.
alarmConfiguration_alarms :: Lens' AlarmConfiguration (Maybe [Alarm])
-- | Indicates whether the alarm configuration is enabled.
alarmConfiguration_enabled :: Lens' AlarmConfiguration (Maybe Bool)
-- | Indicates whether a deployment should continue if information about
-- the current state of alarms cannot be retrieved from Amazon
-- CloudWatch. The default value is false.
--
--
-- - true: The deployment proceeds even if alarm status
-- information can't be retrieved from Amazon CloudWatch.
-- - false: The deployment stops if alarm status information
-- can't be retrieved from Amazon CloudWatch.
--
alarmConfiguration_ignorePollAlarmFailure :: Lens' AlarmConfiguration (Maybe Bool)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.AlarmConfiguration.AlarmConfiguration
instance GHC.Show.Show Amazonka.CodeDeploy.Types.AlarmConfiguration.AlarmConfiguration
instance GHC.Read.Read Amazonka.CodeDeploy.Types.AlarmConfiguration.AlarmConfiguration
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.AlarmConfiguration.AlarmConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.AlarmConfiguration.AlarmConfiguration
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.AlarmConfiguration.AlarmConfiguration
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.AlarmConfiguration.AlarmConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.AlarmConfiguration.AlarmConfiguration
module Amazonka.CodeDeploy.Types.AppSpecContent
-- | A revision for an Lambda or Amazon ECS deployment that is a
-- YAML-formatted or JSON-formatted string. For Lambda and Amazon ECS
-- deployments, the revision is the same as the AppSpec file. This method
-- replaces the deprecated RawString data type.
--
-- See: newAppSpecContent smart constructor.
data AppSpecContent
AppSpecContent' :: Maybe Text -> Maybe Text -> AppSpecContent
-- | The YAML-formatted or JSON-formatted revision string.
--
-- For an Lambda deployment, the content includes a Lambda function name,
-- the alias for its original version, and the alias for its replacement
-- version. The deployment shifts traffic from the original version of
-- the Lambda function to the replacement version.
--
-- For an Amazon ECS deployment, the content includes the task name,
-- information about the load balancer that serves traffic to the
-- container, and more.
--
-- For both types of deployments, the content can specify Lambda
-- functions that run at specified hooks, such as BeforeInstall,
-- during a deployment.
[$sel:content:AppSpecContent'] :: AppSpecContent -> Maybe Text
-- | The SHA256 hash value of the revision content.
[$sel:sha256:AppSpecContent'] :: AppSpecContent -> Maybe Text
-- | Create a value of AppSpecContent with all optional fields
-- omitted.
--
-- 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:content:AppSpecContent', appSpecContent_content -
-- The YAML-formatted or JSON-formatted revision string.
--
-- For an Lambda deployment, the content includes a Lambda function name,
-- the alias for its original version, and the alias for its replacement
-- version. The deployment shifts traffic from the original version of
-- the Lambda function to the replacement version.
--
-- For an Amazon ECS deployment, the content includes the task name,
-- information about the load balancer that serves traffic to the
-- container, and more.
--
-- For both types of deployments, the content can specify Lambda
-- functions that run at specified hooks, such as BeforeInstall,
-- during a deployment.
--
-- $sel:sha256:AppSpecContent', appSpecContent_sha256 - The
-- SHA256 hash value of the revision content.
newAppSpecContent :: AppSpecContent
-- | The YAML-formatted or JSON-formatted revision string.
--
-- For an Lambda deployment, the content includes a Lambda function name,
-- the alias for its original version, and the alias for its replacement
-- version. The deployment shifts traffic from the original version of
-- the Lambda function to the replacement version.
--
-- For an Amazon ECS deployment, the content includes the task name,
-- information about the load balancer that serves traffic to the
-- container, and more.
--
-- For both types of deployments, the content can specify Lambda
-- functions that run at specified hooks, such as BeforeInstall,
-- during a deployment.
appSpecContent_content :: Lens' AppSpecContent (Maybe Text)
-- | The SHA256 hash value of the revision content.
appSpecContent_sha256 :: Lens' AppSpecContent (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.AppSpecContent.AppSpecContent
instance GHC.Show.Show Amazonka.CodeDeploy.Types.AppSpecContent.AppSpecContent
instance GHC.Read.Read Amazonka.CodeDeploy.Types.AppSpecContent.AppSpecContent
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.AppSpecContent.AppSpecContent
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.AppSpecContent.AppSpecContent
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.AppSpecContent.AppSpecContent
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.AppSpecContent.AppSpecContent
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.AppSpecContent.AppSpecContent
module Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy
newtype ApplicationRevisionSortBy
ApplicationRevisionSortBy' :: Text -> ApplicationRevisionSortBy
[fromApplicationRevisionSortBy] :: ApplicationRevisionSortBy -> Text
pattern ApplicationRevisionSortBy_FirstUsedTime :: ApplicationRevisionSortBy
pattern ApplicationRevisionSortBy_LastUsedTime :: ApplicationRevisionSortBy
pattern ApplicationRevisionSortBy_RegisterTime :: ApplicationRevisionSortBy
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance GHC.Read.Read Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
instance GHC.Show.Show Amazonka.CodeDeploy.Types.ApplicationRevisionSortBy.ApplicationRevisionSortBy
module Amazonka.CodeDeploy.Types.AutoRollbackEvent
newtype AutoRollbackEvent
AutoRollbackEvent' :: Text -> AutoRollbackEvent
[fromAutoRollbackEvent] :: AutoRollbackEvent -> Text
pattern AutoRollbackEvent_DEPLOYMENT_FAILURE :: AutoRollbackEvent
pattern AutoRollbackEvent_DEPLOYMENT_STOP_ON_ALARM :: AutoRollbackEvent
pattern AutoRollbackEvent_DEPLOYMENT_STOP_ON_REQUEST :: AutoRollbackEvent
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance GHC.Read.Read Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
instance GHC.Show.Show Amazonka.CodeDeploy.Types.AutoRollbackEvent.AutoRollbackEvent
module Amazonka.CodeDeploy.Types.AutoRollbackConfiguration
-- | Information about a configuration for automatically rolling back to a
-- previous version of an application revision when a deployment is not
-- completed successfully.
--
-- See: newAutoRollbackConfiguration smart constructor.
data AutoRollbackConfiguration
AutoRollbackConfiguration' :: Maybe Bool -> Maybe [AutoRollbackEvent] -> AutoRollbackConfiguration
-- | Indicates whether a defined automatic rollback configuration is
-- currently enabled.
[$sel:enabled:AutoRollbackConfiguration'] :: AutoRollbackConfiguration -> Maybe Bool
-- | The event type or types that trigger a rollback.
[$sel:events:AutoRollbackConfiguration'] :: AutoRollbackConfiguration -> Maybe [AutoRollbackEvent]
-- | Create a value of AutoRollbackConfiguration with all optional
-- fields omitted.
--
-- 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:enabled:AutoRollbackConfiguration',
-- autoRollbackConfiguration_enabled - Indicates whether a defined
-- automatic rollback configuration is currently enabled.
--
-- $sel:events:AutoRollbackConfiguration',
-- autoRollbackConfiguration_events - The event type or types that
-- trigger a rollback.
newAutoRollbackConfiguration :: AutoRollbackConfiguration
-- | Indicates whether a defined automatic rollback configuration is
-- currently enabled.
autoRollbackConfiguration_enabled :: Lens' AutoRollbackConfiguration (Maybe Bool)
-- | The event type or types that trigger a rollback.
autoRollbackConfiguration_events :: Lens' AutoRollbackConfiguration (Maybe [AutoRollbackEvent])
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.AutoRollbackConfiguration.AutoRollbackConfiguration
instance GHC.Show.Show Amazonka.CodeDeploy.Types.AutoRollbackConfiguration.AutoRollbackConfiguration
instance GHC.Read.Read Amazonka.CodeDeploy.Types.AutoRollbackConfiguration.AutoRollbackConfiguration
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.AutoRollbackConfiguration.AutoRollbackConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.AutoRollbackConfiguration.AutoRollbackConfiguration
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.AutoRollbackConfiguration.AutoRollbackConfiguration
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.AutoRollbackConfiguration.AutoRollbackConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.AutoRollbackConfiguration.AutoRollbackConfiguration
module Amazonka.CodeDeploy.Types.AutoScalingGroup
-- | Information about an Auto Scaling group.
--
-- See: newAutoScalingGroup smart constructor.
data AutoScalingGroup
AutoScalingGroup' :: Maybe Text -> Maybe Text -> AutoScalingGroup
-- | An Auto Scaling lifecycle event hook name.
[$sel:hook:AutoScalingGroup'] :: AutoScalingGroup -> Maybe Text
-- | The Auto Scaling group name.
[$sel:name:AutoScalingGroup'] :: AutoScalingGroup -> Maybe Text
-- | Create a value of AutoScalingGroup with all optional fields
-- omitted.
--
-- 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:hook:AutoScalingGroup', autoScalingGroup_hook - An
-- Auto Scaling lifecycle event hook name.
--
-- $sel:name:AutoScalingGroup', autoScalingGroup_name - The
-- Auto Scaling group name.
newAutoScalingGroup :: AutoScalingGroup
-- | An Auto Scaling lifecycle event hook name.
autoScalingGroup_hook :: Lens' AutoScalingGroup (Maybe Text)
-- | The Auto Scaling group name.
autoScalingGroup_name :: Lens' AutoScalingGroup (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.AutoScalingGroup.AutoScalingGroup
instance GHC.Show.Show Amazonka.CodeDeploy.Types.AutoScalingGroup.AutoScalingGroup
instance GHC.Read.Read Amazonka.CodeDeploy.Types.AutoScalingGroup.AutoScalingGroup
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.AutoScalingGroup.AutoScalingGroup
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.AutoScalingGroup.AutoScalingGroup
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.AutoScalingGroup.AutoScalingGroup
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.AutoScalingGroup.AutoScalingGroup
module Amazonka.CodeDeploy.Types.BundleType
newtype BundleType
BundleType' :: Text -> BundleType
[fromBundleType] :: BundleType -> Text
pattern BundleType_JSON :: BundleType
pattern BundleType_Tar :: BundleType
pattern BundleType_Tgz :: BundleType
pattern BundleType_YAML :: BundleType
pattern BundleType_Zip :: BundleType
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.BundleType.BundleType
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.BundleType.BundleType
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.BundleType.BundleType
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.BundleType.BundleType
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.BundleType.BundleType
instance GHC.Read.Read Amazonka.CodeDeploy.Types.BundleType.BundleType
instance GHC.Show.Show Amazonka.CodeDeploy.Types.BundleType.BundleType
module Amazonka.CodeDeploy.Types.ComputePlatform
newtype ComputePlatform
ComputePlatform' :: Text -> ComputePlatform
[fromComputePlatform] :: ComputePlatform -> Text
pattern ComputePlatform_ECS :: ComputePlatform
pattern ComputePlatform_Lambda :: ComputePlatform
pattern ComputePlatform_Server :: ComputePlatform
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance GHC.Read.Read Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
instance GHC.Show.Show Amazonka.CodeDeploy.Types.ComputePlatform.ComputePlatform
module Amazonka.CodeDeploy.Types.ApplicationInfo
-- | Information about an application.
--
-- See: newApplicationInfo smart constructor.
data ApplicationInfo
ApplicationInfo' :: Maybe Text -> Maybe Text -> Maybe ComputePlatform -> Maybe POSIX -> Maybe Text -> Maybe Bool -> ApplicationInfo
-- | The application ID.
[$sel:applicationId:ApplicationInfo'] :: ApplicationInfo -> Maybe Text
-- | The application name.
[$sel:applicationName:ApplicationInfo'] :: ApplicationInfo -> Maybe Text
-- | The destination platform type for deployment of the application
-- (Lambda or Server).
[$sel:computePlatform:ApplicationInfo'] :: ApplicationInfo -> Maybe ComputePlatform
-- | The time at which the application was created.
[$sel:createTime:ApplicationInfo'] :: ApplicationInfo -> Maybe POSIX
-- | The name for a connection to a GitHub account.
[$sel:gitHubAccountName:ApplicationInfo'] :: ApplicationInfo -> Maybe Text
-- | True if the user has authenticated with GitHub for the specified
-- application. Otherwise, false.
[$sel:linkedToGitHub:ApplicationInfo'] :: ApplicationInfo -> Maybe Bool
-- | Create a value of ApplicationInfo with all optional fields
-- omitted.
--
-- 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:applicationId:ApplicationInfo',
-- applicationInfo_applicationId - The application ID.
--
-- $sel:applicationName:ApplicationInfo',
-- applicationInfo_applicationName - The application name.
--
-- $sel:computePlatform:ApplicationInfo',
-- applicationInfo_computePlatform - The destination platform type
-- for deployment of the application (Lambda or
-- Server).
--
-- $sel:createTime:ApplicationInfo',
-- applicationInfo_createTime - The time at which the application
-- was created.
--
-- $sel:gitHubAccountName:ApplicationInfo',
-- applicationInfo_gitHubAccountName - The name for a connection
-- to a GitHub account.
--
-- $sel:linkedToGitHub:ApplicationInfo',
-- applicationInfo_linkedToGitHub - True if the user has
-- authenticated with GitHub for the specified application. Otherwise,
-- false.
newApplicationInfo :: ApplicationInfo
-- | The application ID.
applicationInfo_applicationId :: Lens' ApplicationInfo (Maybe Text)
-- | The application name.
applicationInfo_applicationName :: Lens' ApplicationInfo (Maybe Text)
-- | The destination platform type for deployment of the application
-- (Lambda or Server).
applicationInfo_computePlatform :: Lens' ApplicationInfo (Maybe ComputePlatform)
-- | The time at which the application was created.
applicationInfo_createTime :: Lens' ApplicationInfo (Maybe UTCTime)
-- | The name for a connection to a GitHub account.
applicationInfo_gitHubAccountName :: Lens' ApplicationInfo (Maybe Text)
-- | True if the user has authenticated with GitHub for the specified
-- application. Otherwise, false.
applicationInfo_linkedToGitHub :: Lens' ApplicationInfo (Maybe Bool)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.ApplicationInfo.ApplicationInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.ApplicationInfo.ApplicationInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.ApplicationInfo.ApplicationInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.ApplicationInfo.ApplicationInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.ApplicationInfo.ApplicationInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.ApplicationInfo.ApplicationInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.ApplicationInfo.ApplicationInfo
module Amazonka.CodeDeploy.Types.DeployErrorCode
newtype DeployErrorCode
DeployErrorCode' :: Text -> DeployErrorCode
[fromDeployErrorCode] :: DeployErrorCode -> Text
pattern DeployErrorCode_AGENT_ISSUE :: DeployErrorCode
pattern DeployErrorCode_ALARM_ACTIVE :: DeployErrorCode
pattern DeployErrorCode_APPLICATION_MISSING :: DeployErrorCode
pattern DeployErrorCode_AUTOSCALING_VALIDATION_ERROR :: DeployErrorCode
pattern DeployErrorCode_AUTO_SCALING_CONFIGURATION :: DeployErrorCode
pattern DeployErrorCode_AUTO_SCALING_IAM_ROLE_PERMISSIONS :: DeployErrorCode
pattern DeployErrorCode_CLOUDFORMATION_STACK_FAILURE :: DeployErrorCode
pattern DeployErrorCode_CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND :: DeployErrorCode
pattern DeployErrorCode_CUSTOMER_APPLICATION_UNHEALTHY :: DeployErrorCode
pattern DeployErrorCode_DEPLOYMENT_GROUP_MISSING :: DeployErrorCode
pattern DeployErrorCode_ECS_UPDATE_ERROR :: DeployErrorCode
pattern DeployErrorCode_ELASTIC_LOAD_BALANCING_INVALID :: DeployErrorCode
pattern DeployErrorCode_ELB_INVALID_INSTANCE :: DeployErrorCode
pattern DeployErrorCode_HEALTH_CONSTRAINTS :: DeployErrorCode
pattern DeployErrorCode_HEALTH_CONSTRAINTS_INVALID :: DeployErrorCode
pattern DeployErrorCode_HOOK_EXECUTION_FAILURE :: DeployErrorCode
pattern DeployErrorCode_IAM_ROLE_MISSING :: DeployErrorCode
pattern DeployErrorCode_IAM_ROLE_PERMISSIONS :: DeployErrorCode
pattern DeployErrorCode_INTERNAL_ERROR :: DeployErrorCode
pattern DeployErrorCode_INVALID_ECS_SERVICE :: DeployErrorCode
pattern DeployErrorCode_INVALID_LAMBDA_CONFIGURATION :: DeployErrorCode
pattern DeployErrorCode_INVALID_LAMBDA_FUNCTION :: DeployErrorCode
pattern DeployErrorCode_INVALID_REVISION :: DeployErrorCode
pattern DeployErrorCode_MANUAL_STOP :: DeployErrorCode
pattern DeployErrorCode_MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION :: DeployErrorCode
pattern DeployErrorCode_MISSING_ELB_INFORMATION :: DeployErrorCode
pattern DeployErrorCode_MISSING_GITHUB_TOKEN :: DeployErrorCode
pattern DeployErrorCode_NO_EC2_SUBSCRIPTION :: DeployErrorCode
pattern DeployErrorCode_NO_INSTANCES :: DeployErrorCode
pattern DeployErrorCode_OVER_MAX_INSTANCES :: DeployErrorCode
pattern DeployErrorCode_RESOURCE_LIMIT_EXCEEDED :: DeployErrorCode
pattern DeployErrorCode_REVISION_MISSING :: DeployErrorCode
pattern DeployErrorCode_THROTTLED :: DeployErrorCode
pattern DeployErrorCode_TIMEOUT :: DeployErrorCode
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeployErrorCode.DeployErrorCode
module Amazonka.CodeDeploy.Types.DeploymentCreator
newtype DeploymentCreator
DeploymentCreator' :: Text -> DeploymentCreator
[fromDeploymentCreator] :: DeploymentCreator -> Text
pattern DeploymentCreator_Autoscaling :: DeploymentCreator
pattern DeploymentCreator_CloudFormation :: DeploymentCreator
pattern DeploymentCreator_CloudFormationRollback :: DeploymentCreator
pattern DeploymentCreator_CodeDeploy :: DeploymentCreator
pattern DeploymentCreator_CodeDeployAutoUpdate :: DeploymentCreator
pattern DeploymentCreator_CodeDeployRollback :: DeploymentCreator
pattern DeploymentCreator_User :: DeploymentCreator
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentCreator.DeploymentCreator
module Amazonka.CodeDeploy.Types.DeploymentOption
newtype DeploymentOption
DeploymentOption' :: Text -> DeploymentOption
[fromDeploymentOption] :: DeploymentOption -> Text
pattern DeploymentOption_WITHOUT_TRAFFIC_CONTROL :: DeploymentOption
pattern DeploymentOption_WITH_TRAFFIC_CONTROL :: DeploymentOption
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentOption.DeploymentOption
module Amazonka.CodeDeploy.Types.DeploymentOverview
-- | Information about the deployment status of the instances in the
-- deployment.
--
-- See: newDeploymentOverview smart constructor.
data DeploymentOverview
DeploymentOverview' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> DeploymentOverview
-- | The number of instances in the deployment in a failed state.
[$sel:failed:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | The number of instances in which the deployment is in progress.
[$sel:inProgress:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | The number of instances in the deployment in a pending state.
[$sel:pending:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | The number of instances in a replacement environment ready to receive
-- traffic in a blue/green deployment.
[$sel:ready:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | The number of instances in the deployment in a skipped state.
[$sel:skipped:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | The number of instances in the deployment to which revisions have been
-- successfully deployed.
[$sel:succeeded:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | Create a value of DeploymentOverview with all optional fields
-- omitted.
--
-- 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:failed:DeploymentOverview',
-- deploymentOverview_failed - The number of instances in the
-- deployment in a failed state.
--
-- $sel:inProgress:DeploymentOverview',
-- deploymentOverview_inProgress - The number of instances in
-- which the deployment is in progress.
--
-- $sel:pending:DeploymentOverview',
-- deploymentOverview_pending - The number of instances in the
-- deployment in a pending state.
--
-- $sel:ready:DeploymentOverview', deploymentOverview_ready
-- - The number of instances in a replacement environment ready to
-- receive traffic in a blue/green deployment.
--
-- $sel:skipped:DeploymentOverview',
-- deploymentOverview_skipped - The number of instances in the
-- deployment in a skipped state.
--
-- $sel:succeeded:DeploymentOverview',
-- deploymentOverview_succeeded - The number of instances in the
-- deployment to which revisions have been successfully deployed.
newDeploymentOverview :: DeploymentOverview
-- | The number of instances in the deployment in a failed state.
deploymentOverview_failed :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in which the deployment is in progress.
deploymentOverview_inProgress :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment in a pending state.
deploymentOverview_pending :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in a replacement environment ready to receive
-- traffic in a blue/green deployment.
deploymentOverview_ready :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment in a skipped state.
deploymentOverview_skipped :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment to which revisions have been
-- successfully deployed.
deploymentOverview_succeeded :: Lens' DeploymentOverview (Maybe Integer)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentOverview.DeploymentOverview
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentOverview.DeploymentOverview
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentOverview.DeploymentOverview
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentOverview.DeploymentOverview
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentOverview.DeploymentOverview
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentOverview.DeploymentOverview
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentOverview.DeploymentOverview
module Amazonka.CodeDeploy.Types.DeploymentReadyAction
newtype DeploymentReadyAction
DeploymentReadyAction' :: Text -> DeploymentReadyAction
[fromDeploymentReadyAction] :: DeploymentReadyAction -> Text
pattern DeploymentReadyAction_CONTINUE_DEPLOYMENT :: DeploymentReadyAction
pattern DeploymentReadyAction_STOP_DEPLOYMENT :: DeploymentReadyAction
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentReadyAction.DeploymentReadyAction
module Amazonka.CodeDeploy.Types.DeploymentReadyOption
-- | Information about how traffic is rerouted to instances in a
-- replacement environment in a blue/green deployment.
--
-- See: newDeploymentReadyOption smart constructor.
data DeploymentReadyOption
DeploymentReadyOption' :: Maybe DeploymentReadyAction -> Maybe Int -> DeploymentReadyOption
-- | Information about when to reroute traffic from an original environment
-- to a replacement environment in a blue/green deployment.
--
--
-- - CONTINUE_DEPLOYMENT: Register new instances with the load balancer
-- immediately after the new application revision is installed on the
-- instances in the replacement environment.
-- - STOP_DEPLOYMENT: Do not register new instances with a load
-- balancer unless traffic rerouting is started using ContinueDeployment.
-- If traffic rerouting is not started before the end of the specified
-- wait period, the deployment status is changed to Stopped.
--
[$sel:actionOnTimeout:DeploymentReadyOption'] :: DeploymentReadyOption -> Maybe DeploymentReadyAction
-- | The number of minutes to wait before the status of a blue/green
-- deployment is changed to Stopped if rerouting is not started manually.
-- Applies only to the STOP_DEPLOYMENT option for
-- actionOnTimeout.
[$sel:waitTimeInMinutes:DeploymentReadyOption'] :: DeploymentReadyOption -> Maybe Int
-- | Create a value of DeploymentReadyOption with all optional
-- fields omitted.
--
-- 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:actionOnTimeout:DeploymentReadyOption',
-- deploymentReadyOption_actionOnTimeout - Information about when
-- to reroute traffic from an original environment to a replacement
-- environment in a blue/green deployment.
--
--
-- - CONTINUE_DEPLOYMENT: Register new instances with the load balancer
-- immediately after the new application revision is installed on the
-- instances in the replacement environment.
-- - STOP_DEPLOYMENT: Do not register new instances with a load
-- balancer unless traffic rerouting is started using ContinueDeployment.
-- If traffic rerouting is not started before the end of the specified
-- wait period, the deployment status is changed to Stopped.
--
--
-- $sel:waitTimeInMinutes:DeploymentReadyOption',
-- deploymentReadyOption_waitTimeInMinutes - The number of minutes
-- to wait before the status of a blue/green deployment is changed to
-- Stopped if rerouting is not started manually. Applies only to the
-- STOP_DEPLOYMENT option for actionOnTimeout.
newDeploymentReadyOption :: DeploymentReadyOption
-- | Information about when to reroute traffic from an original environment
-- to a replacement environment in a blue/green deployment.
--
--
-- - CONTINUE_DEPLOYMENT: Register new instances with the load balancer
-- immediately after the new application revision is installed on the
-- instances in the replacement environment.
-- - STOP_DEPLOYMENT: Do not register new instances with a load
-- balancer unless traffic rerouting is started using ContinueDeployment.
-- If traffic rerouting is not started before the end of the specified
-- wait period, the deployment status is changed to Stopped.
--
deploymentReadyOption_actionOnTimeout :: Lens' DeploymentReadyOption (Maybe DeploymentReadyAction)
-- | The number of minutes to wait before the status of a blue/green
-- deployment is changed to Stopped if rerouting is not started manually.
-- Applies only to the STOP_DEPLOYMENT option for
-- actionOnTimeout.
deploymentReadyOption_waitTimeInMinutes :: Lens' DeploymentReadyOption (Maybe Int)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentReadyOption.DeploymentReadyOption
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentReadyOption.DeploymentReadyOption
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentReadyOption.DeploymentReadyOption
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentReadyOption.DeploymentReadyOption
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentReadyOption.DeploymentReadyOption
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentReadyOption.DeploymentReadyOption
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentReadyOption.DeploymentReadyOption
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.DeploymentReadyOption.DeploymentReadyOption
module Amazonka.CodeDeploy.Types.DeploymentStatus
newtype DeploymentStatus
DeploymentStatus' :: Text -> DeploymentStatus
[fromDeploymentStatus] :: DeploymentStatus -> Text
pattern DeploymentStatus_Baking :: DeploymentStatus
pattern DeploymentStatus_Created :: DeploymentStatus
pattern DeploymentStatus_Failed :: DeploymentStatus
pattern DeploymentStatus_InProgress :: DeploymentStatus
pattern DeploymentStatus_Queued :: DeploymentStatus
pattern DeploymentStatus_Ready :: DeploymentStatus
pattern DeploymentStatus_Stopped :: DeploymentStatus
pattern DeploymentStatus_Succeeded :: DeploymentStatus
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentStatus.DeploymentStatus
module Amazonka.CodeDeploy.Types.DeploymentTargetType
newtype DeploymentTargetType
DeploymentTargetType' :: Text -> DeploymentTargetType
[fromDeploymentTargetType] :: DeploymentTargetType -> Text
pattern DeploymentTargetType_CloudFormationTarget :: DeploymentTargetType
pattern DeploymentTargetType_ECSTarget :: DeploymentTargetType
pattern DeploymentTargetType_InstanceTarget :: DeploymentTargetType
pattern DeploymentTargetType_LambdaTarget :: DeploymentTargetType
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentTargetType.DeploymentTargetType
module Amazonka.CodeDeploy.Types.DeploymentType
newtype DeploymentType
DeploymentType' :: Text -> DeploymentType
[fromDeploymentType] :: DeploymentType -> Text
pattern DeploymentType_BLUE_GREEN :: DeploymentType
pattern DeploymentType_IN_PLACE :: DeploymentType
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentType.DeploymentType
module Amazonka.CodeDeploy.Types.DeploymentStyle
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
--
-- See: newDeploymentStyle smart constructor.
data DeploymentStyle
DeploymentStyle' :: Maybe DeploymentOption -> Maybe DeploymentType -> DeploymentStyle
-- | Indicates whether to route deployment traffic behind a load balancer.
[$sel:deploymentOption:DeploymentStyle'] :: DeploymentStyle -> Maybe DeploymentOption
-- | Indicates whether to run an in-place deployment or a blue/green
-- deployment.
[$sel:deploymentType:DeploymentStyle'] :: DeploymentStyle -> Maybe DeploymentType
-- | Create a value of DeploymentStyle with all optional fields
-- omitted.
--
-- 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:deploymentOption:DeploymentStyle',
-- deploymentStyle_deploymentOption - Indicates whether to route
-- deployment traffic behind a load balancer.
--
-- $sel:deploymentType:DeploymentStyle',
-- deploymentStyle_deploymentType - Indicates whether to run an
-- in-place deployment or a blue/green deployment.
newDeploymentStyle :: DeploymentStyle
-- | Indicates whether to route deployment traffic behind a load balancer.
deploymentStyle_deploymentOption :: Lens' DeploymentStyle (Maybe DeploymentOption)
-- | Indicates whether to run an in-place deployment or a blue/green
-- deployment.
deploymentStyle_deploymentType :: Lens' DeploymentStyle (Maybe DeploymentType)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentStyle.DeploymentStyle
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentStyle.DeploymentStyle
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentStyle.DeploymentStyle
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentStyle.DeploymentStyle
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentStyle.DeploymentStyle
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentStyle.DeploymentStyle
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentStyle.DeploymentStyle
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.DeploymentStyle.DeploymentStyle
module Amazonka.CodeDeploy.Types.DeploymentWaitType
newtype DeploymentWaitType
DeploymentWaitType' :: Text -> DeploymentWaitType
[fromDeploymentWaitType] :: DeploymentWaitType -> Text
pattern DeploymentWaitType_READY_WAIT :: DeploymentWaitType
pattern DeploymentWaitType_TERMINATION_WAIT :: DeploymentWaitType
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentWaitType.DeploymentWaitType
module Amazonka.CodeDeploy.Types.EC2TagFilterType
newtype EC2TagFilterType
EC2TagFilterType' :: Text -> EC2TagFilterType
[fromEC2TagFilterType] :: EC2TagFilterType -> Text
pattern EC2TagFilterType_KEY_AND_VALUE :: EC2TagFilterType
pattern EC2TagFilterType_KEY_ONLY :: EC2TagFilterType
pattern EC2TagFilterType_VALUE_ONLY :: EC2TagFilterType
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance GHC.Read.Read Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
instance GHC.Show.Show Amazonka.CodeDeploy.Types.EC2TagFilterType.EC2TagFilterType
module Amazonka.CodeDeploy.Types.EC2TagFilter
-- | Information about an EC2 tag filter.
--
-- See: newEC2TagFilter smart constructor.
data EC2TagFilter
EC2TagFilter' :: Maybe Text -> Maybe EC2TagFilterType -> Maybe Text -> EC2TagFilter
-- | The tag filter key.
[$sel:key:EC2TagFilter'] :: EC2TagFilter -> Maybe Text
-- | The tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
[$sel:type':EC2TagFilter'] :: EC2TagFilter -> Maybe EC2TagFilterType
-- | The tag filter value.
[$sel:value:EC2TagFilter'] :: EC2TagFilter -> Maybe Text
-- | Create a value of EC2TagFilter with all optional fields
-- omitted.
--
-- 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:key:EC2TagFilter', eC2TagFilter_key - The tag
-- filter key.
--
-- $sel:type':EC2TagFilter', eC2TagFilter_type - The tag
-- filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
--
-- $sel:value:EC2TagFilter', eC2TagFilter_value - The tag
-- filter value.
newEC2TagFilter :: EC2TagFilter
-- | The tag filter key.
eC2TagFilter_key :: Lens' EC2TagFilter (Maybe Text)
-- | The tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
eC2TagFilter_type :: Lens' EC2TagFilter (Maybe EC2TagFilterType)
-- | The tag filter value.
eC2TagFilter_value :: Lens' EC2TagFilter (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.EC2TagFilter.EC2TagFilter
instance GHC.Show.Show Amazonka.CodeDeploy.Types.EC2TagFilter.EC2TagFilter
instance GHC.Read.Read Amazonka.CodeDeploy.Types.EC2TagFilter.EC2TagFilter
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.EC2TagFilter.EC2TagFilter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.EC2TagFilter.EC2TagFilter
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.EC2TagFilter.EC2TagFilter
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.EC2TagFilter.EC2TagFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.EC2TagFilter.EC2TagFilter
module Amazonka.CodeDeploy.Types.EC2TagSet
-- | Information about groups of Amazon EC2 instance tags.
--
-- See: newEC2TagSet smart constructor.
data EC2TagSet
EC2TagSet' :: Maybe [[EC2TagFilter]] -> EC2TagSet
-- | A list that contains other lists of Amazon EC2 instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
[$sel:ec2TagSetList:EC2TagSet'] :: EC2TagSet -> Maybe [[EC2TagFilter]]
-- | Create a value of EC2TagSet with all optional fields omitted.
--
-- 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:ec2TagSetList:EC2TagSet', eC2TagSet_ec2TagSetList -
-- A list that contains other lists of Amazon EC2 instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
newEC2TagSet :: EC2TagSet
-- | A list that contains other lists of Amazon EC2 instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
eC2TagSet_ec2TagSetList :: Lens' EC2TagSet (Maybe [[EC2TagFilter]])
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.EC2TagSet.EC2TagSet
instance GHC.Show.Show Amazonka.CodeDeploy.Types.EC2TagSet.EC2TagSet
instance GHC.Read.Read Amazonka.CodeDeploy.Types.EC2TagSet.EC2TagSet
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.EC2TagSet.EC2TagSet
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.EC2TagSet.EC2TagSet
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.EC2TagSet.EC2TagSet
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.EC2TagSet.EC2TagSet
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.EC2TagSet.EC2TagSet
module Amazonka.CodeDeploy.Types.ECSService
-- | Contains the service and cluster names used to identify an Amazon ECS
-- deployment's target.
--
-- See: newECSService smart constructor.
data ECSService
ECSService' :: Maybe Text -> Maybe Text -> ECSService
-- | The name of the cluster that the Amazon ECS service is associated
-- with.
[$sel:clusterName:ECSService'] :: ECSService -> Maybe Text
-- | The name of the target Amazon ECS service.
[$sel:serviceName:ECSService'] :: ECSService -> Maybe Text
-- | Create a value of ECSService with all optional fields omitted.
--
-- 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:clusterName:ECSService', eCSService_clusterName -
-- The name of the cluster that the Amazon ECS service is associated
-- with.
--
-- $sel:serviceName:ECSService', eCSService_serviceName -
-- The name of the target Amazon ECS service.
newECSService :: ECSService
-- | The name of the cluster that the Amazon ECS service is associated
-- with.
eCSService_clusterName :: Lens' ECSService (Maybe Text)
-- | The name of the target Amazon ECS service.
eCSService_serviceName :: Lens' ECSService (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.ECSService.ECSService
instance GHC.Show.Show Amazonka.CodeDeploy.Types.ECSService.ECSService
instance GHC.Read.Read Amazonka.CodeDeploy.Types.ECSService.ECSService
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.ECSService.ECSService
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.ECSService.ECSService
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.ECSService.ECSService
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.ECSService.ECSService
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.ECSService.ECSService
module Amazonka.CodeDeploy.Types.ELBInfo
-- | Information about a load balancer in Elastic Load Balancing to use in
-- a deployment. Instances are registered directly with a load balancer,
-- and traffic is routed to the load balancer.
--
-- See: newELBInfo smart constructor.
data ELBInfo
ELBInfo' :: Maybe Text -> ELBInfo
-- | For blue/green deployments, the name of the load balancer that is used
-- to route traffic from original instances to replacement instances in a
-- blue/green deployment. For in-place deployments, the name of the load
-- balancer that instances are deregistered from so they are not serving
-- traffic during a deployment, and then re-registered with after the
-- deployment is complete.
[$sel:name:ELBInfo'] :: ELBInfo -> Maybe Text
-- | Create a value of ELBInfo with all optional fields omitted.
--
-- 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:ELBInfo', eLBInfo_name - For blue/green
-- deployments, the name of the load balancer that is used to route
-- traffic from original instances to replacement instances in a
-- blue/green deployment. For in-place deployments, the name of the load
-- balancer that instances are deregistered from so they are not serving
-- traffic during a deployment, and then re-registered with after the
-- deployment is complete.
newELBInfo :: ELBInfo
-- | For blue/green deployments, the name of the load balancer that is used
-- to route traffic from original instances to replacement instances in a
-- blue/green deployment. For in-place deployments, the name of the load
-- balancer that instances are deregistered from so they are not serving
-- traffic during a deployment, and then re-registered with after the
-- deployment is complete.
eLBInfo_name :: Lens' ELBInfo (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.ELBInfo.ELBInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.ELBInfo.ELBInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.ELBInfo.ELBInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.ELBInfo.ELBInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.ELBInfo.ELBInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.ELBInfo.ELBInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.ELBInfo.ELBInfo
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.ELBInfo.ELBInfo
module Amazonka.CodeDeploy.Types.ErrorInformation
-- | Information about a deployment error.
--
-- See: newErrorInformation smart constructor.
data ErrorInformation
ErrorInformation' :: Maybe DeployErrorCode -> Maybe Text -> ErrorInformation
-- | For more information, see Error Codes for CodeDeploy in the
-- CodeDeploy User Guide.
--
-- The error code:
--
--
-- - APPLICATION_MISSING: The application was missing. This error code
-- is most likely raised if the application is deleted after the
-- deployment is created, but before it is started.
-- - DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This
-- error code is most likely raised if the deployment group is deleted
-- after the deployment is created, but before it is started.
-- - HEALTH_CONSTRAINTS: The deployment failed on too many instances to
-- be successfully deployed within the instance health constraints
-- specified.
-- - HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully
-- deployed within the instance health constraints specified.
-- - IAM_ROLE_MISSING: The service role cannot be accessed.
-- - IAM_ROLE_PERMISSIONS: The service role does not have the correct
-- permissions.
-- - INTERNAL_ERROR: There was an internal error.
-- - NO_EC2_SUBSCRIPTION: The calling account is not subscribed to
-- Amazon EC2.
-- - NO_INSTANCES: No instances were specified, or no instances can be
-- found.
-- - OVER_MAX_INSTANCES: The maximum number of instances was
-- exceeded.
-- - THROTTLED: The operation was throttled because the calling account
-- exceeded the throttling limits of one or more Amazon Web Services
-- services.
-- - TIMEOUT: The deployment has timed out.
-- - REVISION_MISSING: The revision ID was missing. This error code is
-- most likely raised if the revision is deleted after the deployment is
-- created, but before it is started.
--
[$sel:code:ErrorInformation'] :: ErrorInformation -> Maybe DeployErrorCode
-- | An accompanying error message.
[$sel:message:ErrorInformation'] :: ErrorInformation -> Maybe Text
-- | Create a value of ErrorInformation with all optional fields
-- omitted.
--
-- 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:code:ErrorInformation', errorInformation_code - For
-- more information, see Error Codes for CodeDeploy in the
-- CodeDeploy User Guide.
--
-- The error code:
--
--
-- - APPLICATION_MISSING: The application was missing. This error code
-- is most likely raised if the application is deleted after the
-- deployment is created, but before it is started.
-- - DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This
-- error code is most likely raised if the deployment group is deleted
-- after the deployment is created, but before it is started.
-- - HEALTH_CONSTRAINTS: The deployment failed on too many instances to
-- be successfully deployed within the instance health constraints
-- specified.
-- - HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully
-- deployed within the instance health constraints specified.
-- - IAM_ROLE_MISSING: The service role cannot be accessed.
-- - IAM_ROLE_PERMISSIONS: The service role does not have the correct
-- permissions.
-- - INTERNAL_ERROR: There was an internal error.
-- - NO_EC2_SUBSCRIPTION: The calling account is not subscribed to
-- Amazon EC2.
-- - NO_INSTANCES: No instances were specified, or no instances can be
-- found.
-- - OVER_MAX_INSTANCES: The maximum number of instances was
-- exceeded.
-- - THROTTLED: The operation was throttled because the calling account
-- exceeded the throttling limits of one or more Amazon Web Services
-- services.
-- - TIMEOUT: The deployment has timed out.
-- - REVISION_MISSING: The revision ID was missing. This error code is
-- most likely raised if the revision is deleted after the deployment is
-- created, but before it is started.
--
--
-- $sel:message:ErrorInformation', errorInformation_message
-- - An accompanying error message.
newErrorInformation :: ErrorInformation
-- | For more information, see Error Codes for CodeDeploy in the
-- CodeDeploy User Guide.
--
-- The error code:
--
--
-- - APPLICATION_MISSING: The application was missing. This error code
-- is most likely raised if the application is deleted after the
-- deployment is created, but before it is started.
-- - DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This
-- error code is most likely raised if the deployment group is deleted
-- after the deployment is created, but before it is started.
-- - HEALTH_CONSTRAINTS: The deployment failed on too many instances to
-- be successfully deployed within the instance health constraints
-- specified.
-- - HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully
-- deployed within the instance health constraints specified.
-- - IAM_ROLE_MISSING: The service role cannot be accessed.
-- - IAM_ROLE_PERMISSIONS: The service role does not have the correct
-- permissions.
-- - INTERNAL_ERROR: There was an internal error.
-- - NO_EC2_SUBSCRIPTION: The calling account is not subscribed to
-- Amazon EC2.
-- - NO_INSTANCES: No instances were specified, or no instances can be
-- found.
-- - OVER_MAX_INSTANCES: The maximum number of instances was
-- exceeded.
-- - THROTTLED: The operation was throttled because the calling account
-- exceeded the throttling limits of one or more Amazon Web Services
-- services.
-- - TIMEOUT: The deployment has timed out.
-- - REVISION_MISSING: The revision ID was missing. This error code is
-- most likely raised if the revision is deleted after the deployment is
-- created, but before it is started.
--
errorInformation_code :: Lens' ErrorInformation (Maybe DeployErrorCode)
-- | An accompanying error message.
errorInformation_message :: Lens' ErrorInformation (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.ErrorInformation.ErrorInformation
instance GHC.Show.Show Amazonka.CodeDeploy.Types.ErrorInformation.ErrorInformation
instance GHC.Read.Read Amazonka.CodeDeploy.Types.ErrorInformation.ErrorInformation
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.ErrorInformation.ErrorInformation
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.ErrorInformation.ErrorInformation
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.ErrorInformation.ErrorInformation
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.ErrorInformation.ErrorInformation
module Amazonka.CodeDeploy.Types.FileExistsBehavior
newtype FileExistsBehavior
FileExistsBehavior' :: Text -> FileExistsBehavior
[fromFileExistsBehavior] :: FileExistsBehavior -> Text
pattern FileExistsBehavior_DISALLOW :: FileExistsBehavior
pattern FileExistsBehavior_OVERWRITE :: FileExistsBehavior
pattern FileExistsBehavior_RETAIN :: FileExistsBehavior
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance GHC.Read.Read Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
instance GHC.Show.Show Amazonka.CodeDeploy.Types.FileExistsBehavior.FileExistsBehavior
module Amazonka.CodeDeploy.Types.GenericRevisionInfo
-- | Information about an application revision.
--
-- See: newGenericRevisionInfo smart constructor.
data GenericRevisionInfo
GenericRevisionInfo' :: Maybe [Text] -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> GenericRevisionInfo
-- | The deployment groups for which this is the current target revision.
[$sel:deploymentGroups:GenericRevisionInfo'] :: GenericRevisionInfo -> Maybe [Text]
-- | A comment about the revision.
[$sel:description:GenericRevisionInfo'] :: GenericRevisionInfo -> Maybe Text
-- | When the revision was first used by CodeDeploy.
[$sel:firstUsedTime:GenericRevisionInfo'] :: GenericRevisionInfo -> Maybe POSIX
-- | When the revision was last used by CodeDeploy.
[$sel:lastUsedTime:GenericRevisionInfo'] :: GenericRevisionInfo -> Maybe POSIX
-- | When the revision was registered with CodeDeploy.
[$sel:registerTime:GenericRevisionInfo'] :: GenericRevisionInfo -> Maybe POSIX
-- | Create a value of GenericRevisionInfo with all optional fields
-- omitted.
--
-- 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:deploymentGroups:GenericRevisionInfo',
-- genericRevisionInfo_deploymentGroups - The deployment groups
-- for which this is the current target revision.
--
-- $sel:description:GenericRevisionInfo',
-- genericRevisionInfo_description - A comment about the revision.
--
-- $sel:firstUsedTime:GenericRevisionInfo',
-- genericRevisionInfo_firstUsedTime - When the revision was first
-- used by CodeDeploy.
--
-- $sel:lastUsedTime:GenericRevisionInfo',
-- genericRevisionInfo_lastUsedTime - When the revision was last
-- used by CodeDeploy.
--
-- $sel:registerTime:GenericRevisionInfo',
-- genericRevisionInfo_registerTime - When the revision was
-- registered with CodeDeploy.
newGenericRevisionInfo :: GenericRevisionInfo
-- | The deployment groups for which this is the current target revision.
genericRevisionInfo_deploymentGroups :: Lens' GenericRevisionInfo (Maybe [Text])
-- | A comment about the revision.
genericRevisionInfo_description :: Lens' GenericRevisionInfo (Maybe Text)
-- | When the revision was first used by CodeDeploy.
genericRevisionInfo_firstUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | When the revision was last used by CodeDeploy.
genericRevisionInfo_lastUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | When the revision was registered with CodeDeploy.
genericRevisionInfo_registerTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.GenericRevisionInfo.GenericRevisionInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.GenericRevisionInfo.GenericRevisionInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.GenericRevisionInfo.GenericRevisionInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.GenericRevisionInfo.GenericRevisionInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.GenericRevisionInfo.GenericRevisionInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.GenericRevisionInfo.GenericRevisionInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.GenericRevisionInfo.GenericRevisionInfo
module Amazonka.CodeDeploy.Types.GitHubLocation
-- | Information about the location of application artifacts stored in
-- GitHub.
--
-- See: newGitHubLocation smart constructor.
data GitHubLocation
GitHubLocation' :: Maybe Text -> Maybe Text -> GitHubLocation
-- | The SHA1 commit ID of the GitHub commit that represents the bundled
-- artifacts for the application revision.
[$sel:commitId:GitHubLocation'] :: GitHubLocation -> Maybe Text
-- | The GitHub account and repository pair that stores a reference to the
-- commit that represents the bundled artifacts for the application
-- revision.
--
-- Specified as account/repository.
[$sel:repository:GitHubLocation'] :: GitHubLocation -> Maybe Text
-- | Create a value of GitHubLocation with all optional fields
-- omitted.
--
-- 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:commitId:GitHubLocation', gitHubLocation_commitId -
-- The SHA1 commit ID of the GitHub commit that represents the bundled
-- artifacts for the application revision.
--
-- $sel:repository:GitHubLocation',
-- gitHubLocation_repository - The GitHub account and repository
-- pair that stores a reference to the commit that represents the bundled
-- artifacts for the application revision.
--
-- Specified as account/repository.
newGitHubLocation :: GitHubLocation
-- | The SHA1 commit ID of the GitHub commit that represents the bundled
-- artifacts for the application revision.
gitHubLocation_commitId :: Lens' GitHubLocation (Maybe Text)
-- | The GitHub account and repository pair that stores a reference to the
-- commit that represents the bundled artifacts for the application
-- revision.
--
-- Specified as account/repository.
gitHubLocation_repository :: Lens' GitHubLocation (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.GitHubLocation.GitHubLocation
instance GHC.Show.Show Amazonka.CodeDeploy.Types.GitHubLocation.GitHubLocation
instance GHC.Read.Read Amazonka.CodeDeploy.Types.GitHubLocation.GitHubLocation
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.GitHubLocation.GitHubLocation
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.GitHubLocation.GitHubLocation
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.GitHubLocation.GitHubLocation
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.GitHubLocation.GitHubLocation
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.GitHubLocation.GitHubLocation
module Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction
newtype GreenFleetProvisioningAction
GreenFleetProvisioningAction' :: Text -> GreenFleetProvisioningAction
[fromGreenFleetProvisioningAction] :: GreenFleetProvisioningAction -> Text
pattern GreenFleetProvisioningAction_COPY_AUTO_SCALING_GROUP :: GreenFleetProvisioningAction
pattern GreenFleetProvisioningAction_DISCOVER_EXISTING :: GreenFleetProvisioningAction
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance GHC.Read.Read Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
instance GHC.Show.Show Amazonka.CodeDeploy.Types.GreenFleetProvisioningAction.GreenFleetProvisioningAction
module Amazonka.CodeDeploy.Types.GreenFleetProvisioningOption
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
--
-- See: newGreenFleetProvisioningOption smart constructor.
data GreenFleetProvisioningOption
GreenFleetProvisioningOption' :: Maybe GreenFleetProvisioningAction -> GreenFleetProvisioningOption
-- | The method used to add instances to a replacement environment.
--
--
-- - DISCOVER_EXISTING: Use instances that already exist or
-- will be created manually.
-- - COPY_AUTO_SCALING_GROUP: Use settings from a specified
-- Auto Scaling group to define and create instances in a new Auto
-- Scaling group.
--
[$sel:action:GreenFleetProvisioningOption'] :: GreenFleetProvisioningOption -> Maybe GreenFleetProvisioningAction
-- | Create a value of GreenFleetProvisioningOption with all
-- optional fields omitted.
--
-- 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:action:GreenFleetProvisioningOption',
-- greenFleetProvisioningOption_action - The method used to add
-- instances to a replacement environment.
--
--
-- - DISCOVER_EXISTING: Use instances that already exist or
-- will be created manually.
-- - COPY_AUTO_SCALING_GROUP: Use settings from a specified
-- Auto Scaling group to define and create instances in a new Auto
-- Scaling group.
--
newGreenFleetProvisioningOption :: GreenFleetProvisioningOption
-- | The method used to add instances to a replacement environment.
--
--
-- - DISCOVER_EXISTING: Use instances that already exist or
-- will be created manually.
-- - COPY_AUTO_SCALING_GROUP: Use settings from a specified
-- Auto Scaling group to define and create instances in a new Auto
-- Scaling group.
--
greenFleetProvisioningOption_action :: Lens' GreenFleetProvisioningOption (Maybe GreenFleetProvisioningAction)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.GreenFleetProvisioningOption.GreenFleetProvisioningOption
instance GHC.Show.Show Amazonka.CodeDeploy.Types.GreenFleetProvisioningOption.GreenFleetProvisioningOption
instance GHC.Read.Read Amazonka.CodeDeploy.Types.GreenFleetProvisioningOption.GreenFleetProvisioningOption
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.GreenFleetProvisioningOption.GreenFleetProvisioningOption
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.GreenFleetProvisioningOption.GreenFleetProvisioningOption
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.GreenFleetProvisioningOption.GreenFleetProvisioningOption
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.GreenFleetProvisioningOption.GreenFleetProvisioningOption
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.GreenFleetProvisioningOption.GreenFleetProvisioningOption
module Amazonka.CodeDeploy.Types.InstanceAction
newtype InstanceAction
InstanceAction' :: Text -> InstanceAction
[fromInstanceAction] :: InstanceAction -> Text
pattern InstanceAction_KEEP_ALIVE :: InstanceAction
pattern InstanceAction_TERMINATE :: InstanceAction
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance GHC.Read.Read Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
instance GHC.Show.Show Amazonka.CodeDeploy.Types.InstanceAction.InstanceAction
module Amazonka.CodeDeploy.Types.BlueInstanceTerminationOption
-- | Information about whether instances in the original environment are
-- terminated when a blue/green deployment is successful.
-- BlueInstanceTerminationOption does not apply to Lambda
-- deployments.
--
-- See: newBlueInstanceTerminationOption smart constructor.
data BlueInstanceTerminationOption
BlueInstanceTerminationOption' :: Maybe InstanceAction -> Maybe Int -> BlueInstanceTerminationOption
-- | The action to take on instances in the original environment after a
-- successful blue/green deployment.
--
--
-- - TERMINATE: Instances are terminated after a specified
-- wait time.
-- - KEEP_ALIVE: Instances are left running after they are
-- deregistered from the load balancer and removed from the deployment
-- group.
--
[$sel:action:BlueInstanceTerminationOption'] :: BlueInstanceTerminationOption -> Maybe InstanceAction
-- | For an Amazon EC2 deployment, the number of minutes to wait after a
-- successful blue/green deployment before terminating instances from the
-- original environment.
--
-- For an Amazon ECS deployment, the number of minutes before deleting
-- the original (blue) task set. During an Amazon ECS deployment,
-- CodeDeploy shifts traffic from the original (blue) task set to a
-- replacement (green) task set.
--
-- The maximum setting is 2880 minutes (2 days).
[$sel:terminationWaitTimeInMinutes:BlueInstanceTerminationOption'] :: BlueInstanceTerminationOption -> Maybe Int
-- | Create a value of BlueInstanceTerminationOption with all
-- optional fields omitted.
--
-- 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:action:BlueInstanceTerminationOption',
-- blueInstanceTerminationOption_action - The action to take on
-- instances in the original environment after a successful blue/green
-- deployment.
--
--
-- - TERMINATE: Instances are terminated after a specified
-- wait time.
-- - KEEP_ALIVE: Instances are left running after they are
-- deregistered from the load balancer and removed from the deployment
-- group.
--
--
--
-- $sel:terminationWaitTimeInMinutes:BlueInstanceTerminationOption',
-- blueInstanceTerminationOption_terminationWaitTimeInMinutes -
-- For an Amazon EC2 deployment, the number of minutes to wait after a
-- successful blue/green deployment before terminating instances from the
-- original environment.
--
-- For an Amazon ECS deployment, the number of minutes before deleting
-- the original (blue) task set. During an Amazon ECS deployment,
-- CodeDeploy shifts traffic from the original (blue) task set to a
-- replacement (green) task set.
--
-- The maximum setting is 2880 minutes (2 days).
newBlueInstanceTerminationOption :: BlueInstanceTerminationOption
-- | The action to take on instances in the original environment after a
-- successful blue/green deployment.
--
--
-- - TERMINATE: Instances are terminated after a specified
-- wait time.
-- - KEEP_ALIVE: Instances are left running after they are
-- deregistered from the load balancer and removed from the deployment
-- group.
--
blueInstanceTerminationOption_action :: Lens' BlueInstanceTerminationOption (Maybe InstanceAction)
-- | For an Amazon EC2 deployment, the number of minutes to wait after a
-- successful blue/green deployment before terminating instances from the
-- original environment.
--
-- For an Amazon ECS deployment, the number of minutes before deleting
-- the original (blue) task set. During an Amazon ECS deployment,
-- CodeDeploy shifts traffic from the original (blue) task set to a
-- replacement (green) task set.
--
-- The maximum setting is 2880 minutes (2 days).
blueInstanceTerminationOption_terminationWaitTimeInMinutes :: Lens' BlueInstanceTerminationOption (Maybe Int)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.BlueInstanceTerminationOption.BlueInstanceTerminationOption
instance GHC.Show.Show Amazonka.CodeDeploy.Types.BlueInstanceTerminationOption.BlueInstanceTerminationOption
instance GHC.Read.Read Amazonka.CodeDeploy.Types.BlueInstanceTerminationOption.BlueInstanceTerminationOption
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.BlueInstanceTerminationOption.BlueInstanceTerminationOption
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.BlueInstanceTerminationOption.BlueInstanceTerminationOption
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.BlueInstanceTerminationOption.BlueInstanceTerminationOption
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.BlueInstanceTerminationOption.BlueInstanceTerminationOption
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.BlueInstanceTerminationOption.BlueInstanceTerminationOption
module Amazonka.CodeDeploy.Types.BlueGreenDeploymentConfiguration
-- | Information about blue/green deployment options for a deployment
-- group.
--
-- See: newBlueGreenDeploymentConfiguration smart
-- constructor.
data BlueGreenDeploymentConfiguration
BlueGreenDeploymentConfiguration' :: Maybe DeploymentReadyOption -> Maybe GreenFleetProvisioningOption -> Maybe BlueInstanceTerminationOption -> BlueGreenDeploymentConfiguration
-- | Information about the action to take when newly provisioned instances
-- are ready to receive traffic in a blue/green deployment.
[$sel:deploymentReadyOption:BlueGreenDeploymentConfiguration'] :: BlueGreenDeploymentConfiguration -> Maybe DeploymentReadyOption
-- | Information about how instances are provisioned for a replacement
-- environment in a blue/green deployment.
[$sel:greenFleetProvisioningOption:BlueGreenDeploymentConfiguration'] :: BlueGreenDeploymentConfiguration -> Maybe GreenFleetProvisioningOption
-- | Information about whether to terminate instances in the original fleet
-- during a blue/green deployment.
[$sel:terminateBlueInstancesOnDeploymentSuccess:BlueGreenDeploymentConfiguration'] :: BlueGreenDeploymentConfiguration -> Maybe BlueInstanceTerminationOption
-- | Create a value of BlueGreenDeploymentConfiguration with all
-- optional fields omitted.
--
-- 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:deploymentReadyOption:BlueGreenDeploymentConfiguration',
-- blueGreenDeploymentConfiguration_deploymentReadyOption -
-- Information about the action to take when newly provisioned instances
-- are ready to receive traffic in a blue/green deployment.
--
--
-- $sel:greenFleetProvisioningOption:BlueGreenDeploymentConfiguration',
-- blueGreenDeploymentConfiguration_greenFleetProvisioningOption -
-- Information about how instances are provisioned for a replacement
-- environment in a blue/green deployment.
--
--
-- $sel:terminateBlueInstancesOnDeploymentSuccess:BlueGreenDeploymentConfiguration',
-- blueGreenDeploymentConfiguration_terminateBlueInstancesOnDeploymentSuccess
-- - Information about whether to terminate instances in the original
-- fleet during a blue/green deployment.
newBlueGreenDeploymentConfiguration :: BlueGreenDeploymentConfiguration
-- | Information about the action to take when newly provisioned instances
-- are ready to receive traffic in a blue/green deployment.
blueGreenDeploymentConfiguration_deploymentReadyOption :: Lens' BlueGreenDeploymentConfiguration (Maybe DeploymentReadyOption)
-- | Information about how instances are provisioned for a replacement
-- environment in a blue/green deployment.
blueGreenDeploymentConfiguration_greenFleetProvisioningOption :: Lens' BlueGreenDeploymentConfiguration (Maybe GreenFleetProvisioningOption)
-- | Information about whether to terminate instances in the original fleet
-- during a blue/green deployment.
blueGreenDeploymentConfiguration_terminateBlueInstancesOnDeploymentSuccess :: Lens' BlueGreenDeploymentConfiguration (Maybe BlueInstanceTerminationOption)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.BlueGreenDeploymentConfiguration.BlueGreenDeploymentConfiguration
instance GHC.Show.Show Amazonka.CodeDeploy.Types.BlueGreenDeploymentConfiguration.BlueGreenDeploymentConfiguration
instance GHC.Read.Read Amazonka.CodeDeploy.Types.BlueGreenDeploymentConfiguration.BlueGreenDeploymentConfiguration
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.BlueGreenDeploymentConfiguration.BlueGreenDeploymentConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.BlueGreenDeploymentConfiguration.BlueGreenDeploymentConfiguration
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.BlueGreenDeploymentConfiguration.BlueGreenDeploymentConfiguration
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.BlueGreenDeploymentConfiguration.BlueGreenDeploymentConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.BlueGreenDeploymentConfiguration.BlueGreenDeploymentConfiguration
module Amazonka.CodeDeploy.Types.LambdaFunctionInfo
-- | Information about a Lambda function specified in a deployment.
--
-- See: newLambdaFunctionInfo smart constructor.
data LambdaFunctionInfo
LambdaFunctionInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Double -> LambdaFunctionInfo
-- | The version of a Lambda function that production traffic points to.
[$sel:currentVersion:LambdaFunctionInfo'] :: LambdaFunctionInfo -> Maybe Text
-- | The alias of a Lambda function. For more information, see Lambda
-- Function Aliases in the Lambda Developer Guide.
[$sel:functionAlias:LambdaFunctionInfo'] :: LambdaFunctionInfo -> Maybe Text
-- | The name of a Lambda function.
[$sel:functionName:LambdaFunctionInfo'] :: LambdaFunctionInfo -> Maybe Text
-- | The version of a Lambda function that production traffic points to
-- after the Lambda function is deployed.
[$sel:targetVersion:LambdaFunctionInfo'] :: LambdaFunctionInfo -> Maybe Text
-- | The percentage of production traffic that the target version of a
-- Lambda function receives.
[$sel:targetVersionWeight:LambdaFunctionInfo'] :: LambdaFunctionInfo -> Maybe Double
-- | Create a value of LambdaFunctionInfo with all optional fields
-- omitted.
--
-- 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:currentVersion:LambdaFunctionInfo',
-- lambdaFunctionInfo_currentVersion - The version of a Lambda
-- function that production traffic points to.
--
-- $sel:functionAlias:LambdaFunctionInfo',
-- lambdaFunctionInfo_functionAlias - The alias of a Lambda
-- function. For more information, see Lambda Function Aliases in
-- the Lambda Developer Guide.
--
-- $sel:functionName:LambdaFunctionInfo',
-- lambdaFunctionInfo_functionName - The name of a Lambda
-- function.
--
-- $sel:targetVersion:LambdaFunctionInfo',
-- lambdaFunctionInfo_targetVersion - The version of a Lambda
-- function that production traffic points to after the Lambda function
-- is deployed.
--
-- $sel:targetVersionWeight:LambdaFunctionInfo',
-- lambdaFunctionInfo_targetVersionWeight - The percentage of
-- production traffic that the target version of a Lambda function
-- receives.
newLambdaFunctionInfo :: LambdaFunctionInfo
-- | The version of a Lambda function that production traffic points to.
lambdaFunctionInfo_currentVersion :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The alias of a Lambda function. For more information, see Lambda
-- Function Aliases in the Lambda Developer Guide.
lambdaFunctionInfo_functionAlias :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The name of a Lambda function.
lambdaFunctionInfo_functionName :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The version of a Lambda function that production traffic points to
-- after the Lambda function is deployed.
lambdaFunctionInfo_targetVersion :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The percentage of production traffic that the target version of a
-- Lambda function receives.
lambdaFunctionInfo_targetVersionWeight :: Lens' LambdaFunctionInfo (Maybe Double)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.LambdaFunctionInfo.LambdaFunctionInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.LambdaFunctionInfo.LambdaFunctionInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.LambdaFunctionInfo.LambdaFunctionInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.LambdaFunctionInfo.LambdaFunctionInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.LambdaFunctionInfo.LambdaFunctionInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.LambdaFunctionInfo.LambdaFunctionInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.LambdaFunctionInfo.LambdaFunctionInfo
module Amazonka.CodeDeploy.Types.LastDeploymentInfo
-- | Information about the most recent attempted or successful deployment
-- to a deployment group.
--
-- See: newLastDeploymentInfo smart constructor.
data LastDeploymentInfo
LastDeploymentInfo' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe DeploymentStatus -> LastDeploymentInfo
-- | A timestamp that indicates when the most recent deployment to the
-- deployment group started.
[$sel:createTime:LastDeploymentInfo'] :: LastDeploymentInfo -> Maybe POSIX
-- | The unique ID of a deployment.
[$sel:deploymentId:LastDeploymentInfo'] :: LastDeploymentInfo -> Maybe Text
-- | A timestamp that indicates when the most recent deployment to the
-- deployment group was complete.
[$sel:endTime:LastDeploymentInfo'] :: LastDeploymentInfo -> Maybe POSIX
-- | The status of the most recent deployment.
[$sel:status:LastDeploymentInfo'] :: LastDeploymentInfo -> Maybe DeploymentStatus
-- | Create a value of LastDeploymentInfo with all optional fields
-- omitted.
--
-- 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:createTime:LastDeploymentInfo',
-- lastDeploymentInfo_createTime - A timestamp that indicates when
-- the most recent deployment to the deployment group started.
--
-- $sel:deploymentId:LastDeploymentInfo',
-- lastDeploymentInfo_deploymentId - The unique ID of a
-- deployment.
--
-- $sel:endTime:LastDeploymentInfo',
-- lastDeploymentInfo_endTime - A timestamp that indicates when
-- the most recent deployment to the deployment group was complete.
--
-- $sel:status:LastDeploymentInfo',
-- lastDeploymentInfo_status - The status of the most recent
-- deployment.
newLastDeploymentInfo :: LastDeploymentInfo
-- | A timestamp that indicates when the most recent deployment to the
-- deployment group started.
lastDeploymentInfo_createTime :: Lens' LastDeploymentInfo (Maybe UTCTime)
-- | The unique ID of a deployment.
lastDeploymentInfo_deploymentId :: Lens' LastDeploymentInfo (Maybe Text)
-- | A timestamp that indicates when the most recent deployment to the
-- deployment group was complete.
lastDeploymentInfo_endTime :: Lens' LastDeploymentInfo (Maybe UTCTime)
-- | The status of the most recent deployment.
lastDeploymentInfo_status :: Lens' LastDeploymentInfo (Maybe DeploymentStatus)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.LastDeploymentInfo.LastDeploymentInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.LastDeploymentInfo.LastDeploymentInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.LastDeploymentInfo.LastDeploymentInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.LastDeploymentInfo.LastDeploymentInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.LastDeploymentInfo.LastDeploymentInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.LastDeploymentInfo.LastDeploymentInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.LastDeploymentInfo.LastDeploymentInfo
module Amazonka.CodeDeploy.Types.LifecycleErrorCode
newtype LifecycleErrorCode
LifecycleErrorCode' :: Text -> LifecycleErrorCode
[fromLifecycleErrorCode] :: LifecycleErrorCode -> Text
pattern LifecycleErrorCode_ScriptFailed :: LifecycleErrorCode
pattern LifecycleErrorCode_ScriptMissing :: LifecycleErrorCode
pattern LifecycleErrorCode_ScriptNotExecutable :: LifecycleErrorCode
pattern LifecycleErrorCode_ScriptTimedOut :: LifecycleErrorCode
pattern LifecycleErrorCode_Success :: LifecycleErrorCode
pattern LifecycleErrorCode_UnknownError :: LifecycleErrorCode
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance GHC.Read.Read Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
instance GHC.Show.Show Amazonka.CodeDeploy.Types.LifecycleErrorCode.LifecycleErrorCode
module Amazonka.CodeDeploy.Types.Diagnostics
-- | Diagnostic information about executable scripts that are part of a
-- deployment.
--
-- See: newDiagnostics smart constructor.
data Diagnostics
Diagnostics' :: Maybe LifecycleErrorCode -> Maybe Text -> Maybe Text -> Maybe Text -> Diagnostics
-- | The associated error code:
--
--
-- - Success: The specified script ran.
-- - ScriptMissing: The specified script was not found in the specified
-- location.
-- - ScriptNotExecutable: The specified script is not a recognized
-- executable file type.
-- - ScriptTimedOut: The specified script did not finish running in the
-- specified time period.
-- - ScriptFailed: The specified script failed to run as expected.
-- - UnknownError: The specified script did not run for an unknown
-- reason.
--
[$sel:errorCode:Diagnostics'] :: Diagnostics -> Maybe LifecycleErrorCode
-- | The last portion of the diagnostic log.
--
-- If available, CodeDeploy returns up to the last 4 KB of the diagnostic
-- log.
[$sel:logTail:Diagnostics'] :: Diagnostics -> Maybe Text
-- | The message associated with the error.
[$sel:message:Diagnostics'] :: Diagnostics -> Maybe Text
-- | The name of the script.
[$sel:scriptName:Diagnostics'] :: Diagnostics -> Maybe Text
-- | Create a value of Diagnostics with all optional fields omitted.
--
-- 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:errorCode:Diagnostics', diagnostics_errorCode - The
-- associated error code:
--
--
-- - Success: The specified script ran.
-- - ScriptMissing: The specified script was not found in the specified
-- location.
-- - ScriptNotExecutable: The specified script is not a recognized
-- executable file type.
-- - ScriptTimedOut: The specified script did not finish running in the
-- specified time period.
-- - ScriptFailed: The specified script failed to run as expected.
-- - UnknownError: The specified script did not run for an unknown
-- reason.
--
--
-- $sel:logTail:Diagnostics', diagnostics_logTail - The
-- last portion of the diagnostic log.
--
-- If available, CodeDeploy returns up to the last 4 KB of the diagnostic
-- log.
--
-- $sel:message:Diagnostics', diagnostics_message - The
-- message associated with the error.
--
-- $sel:scriptName:Diagnostics', diagnostics_scriptName -
-- The name of the script.
newDiagnostics :: Diagnostics
-- | The associated error code:
--
--
-- - Success: The specified script ran.
-- - ScriptMissing: The specified script was not found in the specified
-- location.
-- - ScriptNotExecutable: The specified script is not a recognized
-- executable file type.
-- - ScriptTimedOut: The specified script did not finish running in the
-- specified time period.
-- - ScriptFailed: The specified script failed to run as expected.
-- - UnknownError: The specified script did not run for an unknown
-- reason.
--
diagnostics_errorCode :: Lens' Diagnostics (Maybe LifecycleErrorCode)
-- | The last portion of the diagnostic log.
--
-- If available, CodeDeploy returns up to the last 4 KB of the diagnostic
-- log.
diagnostics_logTail :: Lens' Diagnostics (Maybe Text)
-- | The message associated with the error.
diagnostics_message :: Lens' Diagnostics (Maybe Text)
-- | The name of the script.
diagnostics_scriptName :: Lens' Diagnostics (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.Diagnostics.Diagnostics
instance GHC.Show.Show Amazonka.CodeDeploy.Types.Diagnostics.Diagnostics
instance GHC.Read.Read Amazonka.CodeDeploy.Types.Diagnostics.Diagnostics
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.Diagnostics.Diagnostics
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.Diagnostics.Diagnostics
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.Diagnostics.Diagnostics
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.Diagnostics.Diagnostics
module Amazonka.CodeDeploy.Types.LifecycleEventStatus
newtype LifecycleEventStatus
LifecycleEventStatus' :: Text -> LifecycleEventStatus
[fromLifecycleEventStatus] :: LifecycleEventStatus -> Text
pattern LifecycleEventStatus_Failed :: LifecycleEventStatus
pattern LifecycleEventStatus_InProgress :: LifecycleEventStatus
pattern LifecycleEventStatus_Pending :: LifecycleEventStatus
pattern LifecycleEventStatus_Skipped :: LifecycleEventStatus
pattern LifecycleEventStatus_Succeeded :: LifecycleEventStatus
pattern LifecycleEventStatus_Unknown :: LifecycleEventStatus
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance GHC.Read.Read Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
instance GHC.Show.Show Amazonka.CodeDeploy.Types.LifecycleEventStatus.LifecycleEventStatus
module Amazonka.CodeDeploy.Types.LifecycleEvent
-- | Information about a deployment lifecycle event.
--
-- See: newLifecycleEvent smart constructor.
data LifecycleEvent
LifecycleEvent' :: Maybe Diagnostics -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe LifecycleEventStatus -> LifecycleEvent
-- | Diagnostic information about the deployment lifecycle event.
[$sel:diagnostics:LifecycleEvent'] :: LifecycleEvent -> Maybe Diagnostics
-- | A timestamp that indicates when the deployment lifecycle event ended.
[$sel:endTime:LifecycleEvent'] :: LifecycleEvent -> Maybe POSIX
-- | The deployment lifecycle event name, such as ApplicationStop,
-- BeforeInstall, AfterInstall,
-- ApplicationStart, or ValidateService.
[$sel:lifecycleEventName:LifecycleEvent'] :: LifecycleEvent -> Maybe Text
-- | A timestamp that indicates when the deployment lifecycle event
-- started.
[$sel:startTime:LifecycleEvent'] :: LifecycleEvent -> Maybe POSIX
-- | The deployment lifecycle event status:
--
--
-- - Pending: The deployment lifecycle event is pending.
-- - InProgress: The deployment lifecycle event is in progress.
-- - Succeeded: The deployment lifecycle event ran successfully.
-- - Failed: The deployment lifecycle event has failed.
-- - Skipped: The deployment lifecycle event has been skipped.
-- - Unknown: The deployment lifecycle event is unknown.
--
[$sel:status:LifecycleEvent'] :: LifecycleEvent -> Maybe LifecycleEventStatus
-- | Create a value of LifecycleEvent with all optional fields
-- omitted.
--
-- 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:diagnostics:LifecycleEvent',
-- lifecycleEvent_diagnostics - Diagnostic information about the
-- deployment lifecycle event.
--
-- $sel:endTime:LifecycleEvent', lifecycleEvent_endTime - A
-- timestamp that indicates when the deployment lifecycle event ended.
--
-- $sel:lifecycleEventName:LifecycleEvent',
-- lifecycleEvent_lifecycleEventName - The deployment lifecycle
-- event name, such as ApplicationStop, BeforeInstall,
-- AfterInstall, ApplicationStart, or
-- ValidateService.
--
-- $sel:startTime:LifecycleEvent', lifecycleEvent_startTime
-- - A timestamp that indicates when the deployment lifecycle event
-- started.
--
-- $sel:status:LifecycleEvent', lifecycleEvent_status - The
-- deployment lifecycle event status:
--
--
-- - Pending: The deployment lifecycle event is pending.
-- - InProgress: The deployment lifecycle event is in progress.
-- - Succeeded: The deployment lifecycle event ran successfully.
-- - Failed: The deployment lifecycle event has failed.
-- - Skipped: The deployment lifecycle event has been skipped.
-- - Unknown: The deployment lifecycle event is unknown.
--
newLifecycleEvent :: LifecycleEvent
-- | Diagnostic information about the deployment lifecycle event.
lifecycleEvent_diagnostics :: Lens' LifecycleEvent (Maybe Diagnostics)
-- | A timestamp that indicates when the deployment lifecycle event ended.
lifecycleEvent_endTime :: Lens' LifecycleEvent (Maybe UTCTime)
-- | The deployment lifecycle event name, such as ApplicationStop,
-- BeforeInstall, AfterInstall,
-- ApplicationStart, or ValidateService.
lifecycleEvent_lifecycleEventName :: Lens' LifecycleEvent (Maybe Text)
-- | A timestamp that indicates when the deployment lifecycle event
-- started.
lifecycleEvent_startTime :: Lens' LifecycleEvent (Maybe UTCTime)
-- | The deployment lifecycle event status:
--
--
-- - Pending: The deployment lifecycle event is pending.
-- - InProgress: The deployment lifecycle event is in progress.
-- - Succeeded: The deployment lifecycle event ran successfully.
-- - Failed: The deployment lifecycle event has failed.
-- - Skipped: The deployment lifecycle event has been skipped.
-- - Unknown: The deployment lifecycle event is unknown.
--
lifecycleEvent_status :: Lens' LifecycleEvent (Maybe LifecycleEventStatus)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.LifecycleEvent.LifecycleEvent
instance GHC.Show.Show Amazonka.CodeDeploy.Types.LifecycleEvent.LifecycleEvent
instance GHC.Read.Read Amazonka.CodeDeploy.Types.LifecycleEvent.LifecycleEvent
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.LifecycleEvent.LifecycleEvent
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.LifecycleEvent.LifecycleEvent
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.LifecycleEvent.LifecycleEvent
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.LifecycleEvent.LifecycleEvent
module Amazonka.CodeDeploy.Types.ListStateFilterAction
newtype ListStateFilterAction
ListStateFilterAction' :: Text -> ListStateFilterAction
[fromListStateFilterAction] :: ListStateFilterAction -> Text
pattern ListStateFilterAction_Exclude :: ListStateFilterAction
pattern ListStateFilterAction_Ignore :: ListStateFilterAction
pattern ListStateFilterAction_Include :: ListStateFilterAction
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance GHC.Read.Read Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
instance GHC.Show.Show Amazonka.CodeDeploy.Types.ListStateFilterAction.ListStateFilterAction
module Amazonka.CodeDeploy.Types.MinimumHealthyHostsType
newtype MinimumHealthyHostsType
MinimumHealthyHostsType' :: Text -> MinimumHealthyHostsType
[fromMinimumHealthyHostsType] :: MinimumHealthyHostsType -> Text
pattern MinimumHealthyHostsType_FLEET_PERCENT :: MinimumHealthyHostsType
pattern MinimumHealthyHostsType_HOST_COUNT :: MinimumHealthyHostsType
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance GHC.Read.Read Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
instance GHC.Show.Show Amazonka.CodeDeploy.Types.MinimumHealthyHostsType.MinimumHealthyHostsType
module Amazonka.CodeDeploy.Types.MinimumHealthyHosts
-- | Information about minimum healthy instance.
--
-- See: newMinimumHealthyHosts smart constructor.
data MinimumHealthyHosts
MinimumHealthyHosts' :: Maybe MinimumHealthyHostsType -> Maybe Int -> MinimumHealthyHosts
-- | The minimum healthy instance type:
--
--
-- - HOST_COUNT: The minimum number of healthy instances as an
-- absolute value.
-- - FLEET_PERCENT: The minimum number of healthy instances as
-- a percentage of the total number of instances in the deployment.
--
--
-- In an example of nine instances, if a HOST_COUNT of six is specified,
-- deploy to up to three instances at a time. The deployment is
-- successful if six or more instances are deployed to successfully.
-- Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is
-- specified, deploy to up to five instances at a time. The deployment is
-- successful if four or more instances are deployed to successfully.
-- Otherwise, the deployment fails.
--
-- In a call to the GetDeploymentConfig,
-- CodeDeployDefault.OneAtATime returns a minimum healthy instance type
-- of MOST_CONCURRENCY and a value of 1. This means a deployment to only
-- one instance at a time. (You cannot set the type to MOST_CONCURRENCY,
-- only to HOST_COUNT or FLEET_PERCENT.) In addition, with
-- CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all
-- instances but one are kept in a healthy state during the deployment.
-- Although this allows one instance at a time to be taken offline for a
-- new deployment, it also means that if the deployment to the last
-- instance fails, the overall deployment is still successful.
--
-- For more information, see CodeDeploy Instance Health in the
-- CodeDeploy User Guide.
[$sel:type':MinimumHealthyHosts'] :: MinimumHealthyHosts -> Maybe MinimumHealthyHostsType
-- | The minimum healthy instance value.
[$sel:value:MinimumHealthyHosts'] :: MinimumHealthyHosts -> Maybe Int
-- | Create a value of MinimumHealthyHosts with all optional fields
-- omitted.
--
-- 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:type':MinimumHealthyHosts',
-- minimumHealthyHosts_type - The minimum healthy instance type:
--
--
-- - HOST_COUNT: The minimum number of healthy instances as an
-- absolute value.
-- - FLEET_PERCENT: The minimum number of healthy instances as
-- a percentage of the total number of instances in the deployment.
--
--
-- In an example of nine instances, if a HOST_COUNT of six is specified,
-- deploy to up to three instances at a time. The deployment is
-- successful if six or more instances are deployed to successfully.
-- Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is
-- specified, deploy to up to five instances at a time. The deployment is
-- successful if four or more instances are deployed to successfully.
-- Otherwise, the deployment fails.
--
-- In a call to the GetDeploymentConfig,
-- CodeDeployDefault.OneAtATime returns a minimum healthy instance type
-- of MOST_CONCURRENCY and a value of 1. This means a deployment to only
-- one instance at a time. (You cannot set the type to MOST_CONCURRENCY,
-- only to HOST_COUNT or FLEET_PERCENT.) In addition, with
-- CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all
-- instances but one are kept in a healthy state during the deployment.
-- Although this allows one instance at a time to be taken offline for a
-- new deployment, it also means that if the deployment to the last
-- instance fails, the overall deployment is still successful.
--
-- For more information, see CodeDeploy Instance Health in the
-- CodeDeploy User Guide.
--
-- $sel:value:MinimumHealthyHosts',
-- minimumHealthyHosts_value - The minimum healthy instance value.
newMinimumHealthyHosts :: MinimumHealthyHosts
-- | The minimum healthy instance type:
--
--
-- - HOST_COUNT: The minimum number of healthy instances as an
-- absolute value.
-- - FLEET_PERCENT: The minimum number of healthy instances as
-- a percentage of the total number of instances in the deployment.
--
--
-- In an example of nine instances, if a HOST_COUNT of six is specified,
-- deploy to up to three instances at a time. The deployment is
-- successful if six or more instances are deployed to successfully.
-- Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is
-- specified, deploy to up to five instances at a time. The deployment is
-- successful if four or more instances are deployed to successfully.
-- Otherwise, the deployment fails.
--
-- In a call to the GetDeploymentConfig,
-- CodeDeployDefault.OneAtATime returns a minimum healthy instance type
-- of MOST_CONCURRENCY and a value of 1. This means a deployment to only
-- one instance at a time. (You cannot set the type to MOST_CONCURRENCY,
-- only to HOST_COUNT or FLEET_PERCENT.) In addition, with
-- CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all
-- instances but one are kept in a healthy state during the deployment.
-- Although this allows one instance at a time to be taken offline for a
-- new deployment, it also means that if the deployment to the last
-- instance fails, the overall deployment is still successful.
--
-- For more information, see CodeDeploy Instance Health in the
-- CodeDeploy User Guide.
minimumHealthyHosts_type :: Lens' MinimumHealthyHosts (Maybe MinimumHealthyHostsType)
-- | The minimum healthy instance value.
minimumHealthyHosts_value :: Lens' MinimumHealthyHosts (Maybe Int)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.MinimumHealthyHosts.MinimumHealthyHosts
instance GHC.Show.Show Amazonka.CodeDeploy.Types.MinimumHealthyHosts.MinimumHealthyHosts
instance GHC.Read.Read Amazonka.CodeDeploy.Types.MinimumHealthyHosts.MinimumHealthyHosts
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.MinimumHealthyHosts.MinimumHealthyHosts
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.MinimumHealthyHosts.MinimumHealthyHosts
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.MinimumHealthyHosts.MinimumHealthyHosts
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.MinimumHealthyHosts.MinimumHealthyHosts
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.MinimumHealthyHosts.MinimumHealthyHosts
module Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy
newtype OutdatedInstancesStrategy
OutdatedInstancesStrategy' :: Text -> OutdatedInstancesStrategy
[fromOutdatedInstancesStrategy] :: OutdatedInstancesStrategy -> Text
pattern OutdatedInstancesStrategy_IGNORE :: OutdatedInstancesStrategy
pattern OutdatedInstancesStrategy_UPDATE :: OutdatedInstancesStrategy
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance GHC.Read.Read Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
instance GHC.Show.Show Amazonka.CodeDeploy.Types.OutdatedInstancesStrategy.OutdatedInstancesStrategy
module Amazonka.CodeDeploy.Types.RawString
-- | A revision for an Lambda deployment that is a YAML-formatted or
-- JSON-formatted string. For Lambda deployments, the revision is the
-- same as the AppSpec file.
--
-- See: newRawString smart constructor.
data RawString
RawString' :: Maybe Text -> Maybe Text -> RawString
-- | The YAML-formatted or JSON-formatted revision string. It includes
-- information about which Lambda function to update and optional Lambda
-- functions that validate deployment lifecycle events.
[$sel:content:RawString'] :: RawString -> Maybe Text
-- | The SHA256 hash value of the revision content.
[$sel:sha256:RawString'] :: RawString -> Maybe Text
-- | Create a value of RawString with all optional fields omitted.
--
-- 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:content:RawString', rawString_content - The
-- YAML-formatted or JSON-formatted revision string. It includes
-- information about which Lambda function to update and optional Lambda
-- functions that validate deployment lifecycle events.
--
-- $sel:sha256:RawString', rawString_sha256 - The SHA256
-- hash value of the revision content.
newRawString :: RawString
-- | The YAML-formatted or JSON-formatted revision string. It includes
-- information about which Lambda function to update and optional Lambda
-- functions that validate deployment lifecycle events.
rawString_content :: Lens' RawString (Maybe Text)
-- | The SHA256 hash value of the revision content.
rawString_sha256 :: Lens' RawString (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.RawString.RawString
instance GHC.Show.Show Amazonka.CodeDeploy.Types.RawString.RawString
instance GHC.Read.Read Amazonka.CodeDeploy.Types.RawString.RawString
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.RawString.RawString
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.RawString.RawString
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.RawString.RawString
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.RawString.RawString
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.RawString.RawString
module Amazonka.CodeDeploy.Types.RegistrationStatus
newtype RegistrationStatus
RegistrationStatus' :: Text -> RegistrationStatus
[fromRegistrationStatus] :: RegistrationStatus -> Text
pattern RegistrationStatus_Deregistered :: RegistrationStatus
pattern RegistrationStatus_Registered :: RegistrationStatus
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance GHC.Read.Read Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
instance GHC.Show.Show Amazonka.CodeDeploy.Types.RegistrationStatus.RegistrationStatus
module Amazonka.CodeDeploy.Types.RelatedDeployments
-- | Information about deployments related to the specified deployment.
--
-- See: newRelatedDeployments smart constructor.
data RelatedDeployments
RelatedDeployments' :: Maybe [Text] -> Maybe Text -> RelatedDeployments
-- | The deployment IDs of 'auto-update outdated instances' deployments
-- triggered by this deployment.
[$sel:autoUpdateOutdatedInstancesDeploymentIds:RelatedDeployments'] :: RelatedDeployments -> Maybe [Text]
-- | The deployment ID of the root deployment that triggered this
-- deployment.
[$sel:autoUpdateOutdatedInstancesRootDeploymentId:RelatedDeployments'] :: RelatedDeployments -> Maybe Text
-- | Create a value of RelatedDeployments with all optional fields
-- omitted.
--
-- 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:autoUpdateOutdatedInstancesDeploymentIds:RelatedDeployments',
-- relatedDeployments_autoUpdateOutdatedInstancesDeploymentIds -
-- The deployment IDs of 'auto-update outdated instances' deployments
-- triggered by this deployment.
--
--
-- $sel:autoUpdateOutdatedInstancesRootDeploymentId:RelatedDeployments',
-- relatedDeployments_autoUpdateOutdatedInstancesRootDeploymentId
-- - The deployment ID of the root deployment that triggered this
-- deployment.
newRelatedDeployments :: RelatedDeployments
-- | The deployment IDs of 'auto-update outdated instances' deployments
-- triggered by this deployment.
relatedDeployments_autoUpdateOutdatedInstancesDeploymentIds :: Lens' RelatedDeployments (Maybe [Text])
-- | The deployment ID of the root deployment that triggered this
-- deployment.
relatedDeployments_autoUpdateOutdatedInstancesRootDeploymentId :: Lens' RelatedDeployments (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.RelatedDeployments.RelatedDeployments
instance GHC.Show.Show Amazonka.CodeDeploy.Types.RelatedDeployments.RelatedDeployments
instance GHC.Read.Read Amazonka.CodeDeploy.Types.RelatedDeployments.RelatedDeployments
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.RelatedDeployments.RelatedDeployments
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.RelatedDeployments.RelatedDeployments
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.RelatedDeployments.RelatedDeployments
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.RelatedDeployments.RelatedDeployments
module Amazonka.CodeDeploy.Types.RevisionLocationType
newtype RevisionLocationType
RevisionLocationType' :: Text -> RevisionLocationType
[fromRevisionLocationType] :: RevisionLocationType -> Text
pattern RevisionLocationType_AppSpecContent :: RevisionLocationType
pattern RevisionLocationType_GitHub :: RevisionLocationType
pattern RevisionLocationType_S3 :: RevisionLocationType
pattern RevisionLocationType_String :: RevisionLocationType
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance GHC.Read.Read Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
instance GHC.Show.Show Amazonka.CodeDeploy.Types.RevisionLocationType.RevisionLocationType
module Amazonka.CodeDeploy.Types.RollbackInfo
-- | Information about a deployment rollback.
--
-- See: newRollbackInfo smart constructor.
data RollbackInfo
RollbackInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> RollbackInfo
-- | The ID of the deployment rollback.
[$sel:rollbackDeploymentId:RollbackInfo'] :: RollbackInfo -> Maybe Text
-- | Information that describes the status of a deployment rollback (for
-- example, whether the deployment can't be rolled back, is in progress,
-- failed, or succeeded).
[$sel:rollbackMessage:RollbackInfo'] :: RollbackInfo -> Maybe Text
-- | The deployment ID of the deployment that was underway and triggered a
-- rollback deployment because it failed or was stopped.
[$sel:rollbackTriggeringDeploymentId:RollbackInfo'] :: RollbackInfo -> Maybe Text
-- | Create a value of RollbackInfo with all optional fields
-- omitted.
--
-- 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:rollbackDeploymentId:RollbackInfo',
-- rollbackInfo_rollbackDeploymentId - The ID of the deployment
-- rollback.
--
-- $sel:rollbackMessage:RollbackInfo',
-- rollbackInfo_rollbackMessage - Information that describes the
-- status of a deployment rollback (for example, whether the deployment
-- can't be rolled back, is in progress, failed, or succeeded).
--
-- $sel:rollbackTriggeringDeploymentId:RollbackInfo',
-- rollbackInfo_rollbackTriggeringDeploymentId - The deployment ID
-- of the deployment that was underway and triggered a rollback
-- deployment because it failed or was stopped.
newRollbackInfo :: RollbackInfo
-- | The ID of the deployment rollback.
rollbackInfo_rollbackDeploymentId :: Lens' RollbackInfo (Maybe Text)
-- | Information that describes the status of a deployment rollback (for
-- example, whether the deployment can't be rolled back, is in progress,
-- failed, or succeeded).
rollbackInfo_rollbackMessage :: Lens' RollbackInfo (Maybe Text)
-- | The deployment ID of the deployment that was underway and triggered a
-- rollback deployment because it failed or was stopped.
rollbackInfo_rollbackTriggeringDeploymentId :: Lens' RollbackInfo (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.RollbackInfo.RollbackInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.RollbackInfo.RollbackInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.RollbackInfo.RollbackInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.RollbackInfo.RollbackInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.RollbackInfo.RollbackInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.RollbackInfo.RollbackInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.RollbackInfo.RollbackInfo
module Amazonka.CodeDeploy.Types.S3Location
-- | Information about the location of application artifacts stored in
-- Amazon S3.
--
-- See: newS3Location smart constructor.
data S3Location
S3Location' :: Maybe Text -> Maybe BundleType -> Maybe Text -> Maybe Text -> Maybe Text -> S3Location
-- | The name of the Amazon S3 bucket where the application revision is
-- stored.
[$sel:bucket:S3Location'] :: S3Location -> Maybe Text
-- | The file type of the application revision. Must be one of the
-- following:
--
--
-- - tar: A tar archive file.
-- - tgz: A compressed tar archive file.
-- - zip: A zip archive file.
--
[$sel:bundleType:S3Location'] :: S3Location -> Maybe BundleType
-- | The ETag of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
--
-- If the ETag is not specified as an input parameter, ETag validation of
-- the object is skipped.
[$sel:eTag:S3Location'] :: S3Location -> Maybe Text
-- | The name of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
[$sel:key:S3Location'] :: S3Location -> Maybe Text
-- | A specific version of the Amazon S3 object that represents the bundled
-- artifacts for the application revision.
--
-- If the version is not specified, the system uses the most recent
-- version by default.
[$sel:version:S3Location'] :: S3Location -> Maybe Text
-- | Create a value of S3Location with all optional fields omitted.
--
-- 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:bucket:S3Location', s3Location_bucket - The name of
-- the Amazon S3 bucket where the application revision is stored.
--
-- $sel:bundleType:S3Location', s3Location_bundleType - The
-- file type of the application revision. Must be one of the following:
--
--
-- - tar: A tar archive file.
-- - tgz: A compressed tar archive file.
-- - zip: A zip archive file.
--
--
-- $sel:eTag:S3Location', s3Location_eTag - The ETag of the
-- Amazon S3 object that represents the bundled artifacts for the
-- application revision.
--
-- If the ETag is not specified as an input parameter, ETag validation of
-- the object is skipped.
--
-- $sel:key:S3Location', s3Location_key - The name of the
-- Amazon S3 object that represents the bundled artifacts for the
-- application revision.
--
-- $sel:version:S3Location', s3Location_version - A
-- specific version of the Amazon S3 object that represents the bundled
-- artifacts for the application revision.
--
-- If the version is not specified, the system uses the most recent
-- version by default.
newS3Location :: S3Location
-- | The name of the Amazon S3 bucket where the application revision is
-- stored.
s3Location_bucket :: Lens' S3Location (Maybe Text)
-- | The file type of the application revision. Must be one of the
-- following:
--
--
-- - tar: A tar archive file.
-- - tgz: A compressed tar archive file.
-- - zip: A zip archive file.
--
s3Location_bundleType :: Lens' S3Location (Maybe BundleType)
-- | The ETag of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
--
-- If the ETag is not specified as an input parameter, ETag validation of
-- the object is skipped.
s3Location_eTag :: Lens' S3Location (Maybe Text)
-- | The name of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
s3Location_key :: Lens' S3Location (Maybe Text)
-- | A specific version of the Amazon S3 object that represents the bundled
-- artifacts for the application revision.
--
-- If the version is not specified, the system uses the most recent
-- version by default.
s3Location_version :: Lens' S3Location (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.S3Location.S3Location
instance GHC.Show.Show Amazonka.CodeDeploy.Types.S3Location.S3Location
instance GHC.Read.Read Amazonka.CodeDeploy.Types.S3Location.S3Location
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.S3Location.S3Location
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.S3Location.S3Location
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.S3Location.S3Location
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.S3Location.S3Location
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.S3Location.S3Location
module Amazonka.CodeDeploy.Types.RevisionLocation
-- | Information about the location of an application revision.
--
-- See: newRevisionLocation smart constructor.
data RevisionLocation
RevisionLocation' :: Maybe AppSpecContent -> Maybe GitHubLocation -> Maybe RevisionLocationType -> Maybe S3Location -> Maybe RawString -> RevisionLocation
-- | The content of an AppSpec file for an Lambda or Amazon ECS deployment.
-- The content is formatted as JSON or YAML and stored as a RawString.
[$sel:appSpecContent:RevisionLocation'] :: RevisionLocation -> Maybe AppSpecContent
-- | Information about the location of application artifacts stored in
-- GitHub.
[$sel:gitHubLocation:RevisionLocation'] :: RevisionLocation -> Maybe GitHubLocation
-- | The type of application revision:
--
--
-- - S3: An application revision stored in Amazon S3.
-- - GitHub: An application revision stored in GitHub (EC2/On-premises
-- deployments only).
-- - String: A YAML-formatted or JSON-formatted string (Lambda
-- deployments only).
-- - AppSpecContent: An AppSpecContent object that contains
-- the contents of an AppSpec file for an Lambda or Amazon ECS
-- deployment. The content is formatted as JSON or YAML stored as a
-- RawString.
--
[$sel:revisionType:RevisionLocation'] :: RevisionLocation -> Maybe RevisionLocationType
-- | Information about the location of a revision stored in Amazon S3.
[$sel:s3Location:RevisionLocation'] :: RevisionLocation -> Maybe S3Location
-- | Information about the location of an Lambda deployment revision stored
-- as a RawString.
[$sel:string:RevisionLocation'] :: RevisionLocation -> Maybe RawString
-- | Create a value of RevisionLocation with all optional fields
-- omitted.
--
-- 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:appSpecContent:RevisionLocation',
-- revisionLocation_appSpecContent - The content of an AppSpec
-- file for an Lambda or Amazon ECS deployment. The content is formatted
-- as JSON or YAML and stored as a RawString.
--
-- $sel:gitHubLocation:RevisionLocation',
-- revisionLocation_gitHubLocation - Information about the
-- location of application artifacts stored in GitHub.
--
-- $sel:revisionType:RevisionLocation',
-- revisionLocation_revisionType - The type of application
-- revision:
--
--
-- - S3: An application revision stored in Amazon S3.
-- - GitHub: An application revision stored in GitHub (EC2/On-premises
-- deployments only).
-- - String: A YAML-formatted or JSON-formatted string (Lambda
-- deployments only).
-- - AppSpecContent: An AppSpecContent object that contains
-- the contents of an AppSpec file for an Lambda or Amazon ECS
-- deployment. The content is formatted as JSON or YAML stored as a
-- RawString.
--
--
-- $sel:s3Location:RevisionLocation',
-- revisionLocation_s3Location - Information about the location of
-- a revision stored in Amazon S3.
--
-- $sel:string:RevisionLocation', revisionLocation_string -
-- Information about the location of an Lambda deployment revision stored
-- as a RawString.
newRevisionLocation :: RevisionLocation
-- | The content of an AppSpec file for an Lambda or Amazon ECS deployment.
-- The content is formatted as JSON or YAML and stored as a RawString.
revisionLocation_appSpecContent :: Lens' RevisionLocation (Maybe AppSpecContent)
-- | Information about the location of application artifacts stored in
-- GitHub.
revisionLocation_gitHubLocation :: Lens' RevisionLocation (Maybe GitHubLocation)
-- | The type of application revision:
--
--
-- - S3: An application revision stored in Amazon S3.
-- - GitHub: An application revision stored in GitHub (EC2/On-premises
-- deployments only).
-- - String: A YAML-formatted or JSON-formatted string (Lambda
-- deployments only).
-- - AppSpecContent: An AppSpecContent object that contains
-- the contents of an AppSpec file for an Lambda or Amazon ECS
-- deployment. The content is formatted as JSON or YAML stored as a
-- RawString.
--
revisionLocation_revisionType :: Lens' RevisionLocation (Maybe RevisionLocationType)
-- | Information about the location of a revision stored in Amazon S3.
revisionLocation_s3Location :: Lens' RevisionLocation (Maybe S3Location)
-- | Information about the location of an Lambda deployment revision stored
-- as a RawString.
revisionLocation_string :: Lens' RevisionLocation (Maybe RawString)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.RevisionLocation.RevisionLocation
instance GHC.Show.Show Amazonka.CodeDeploy.Types.RevisionLocation.RevisionLocation
instance GHC.Read.Read Amazonka.CodeDeploy.Types.RevisionLocation.RevisionLocation
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.RevisionLocation.RevisionLocation
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.RevisionLocation.RevisionLocation
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.RevisionLocation.RevisionLocation
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.RevisionLocation.RevisionLocation
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.RevisionLocation.RevisionLocation
module Amazonka.CodeDeploy.Types.RevisionInfo
-- | Information about an application revision.
--
-- See: newRevisionInfo smart constructor.
data RevisionInfo
RevisionInfo' :: Maybe GenericRevisionInfo -> Maybe RevisionLocation -> RevisionInfo
-- | Information about an application revision, including usage details and
-- associated deployment groups.
[$sel:genericRevisionInfo:RevisionInfo'] :: RevisionInfo -> Maybe GenericRevisionInfo
-- | Information about the location and type of an application revision.
[$sel:revisionLocation:RevisionInfo'] :: RevisionInfo -> Maybe RevisionLocation
-- | Create a value of RevisionInfo with all optional fields
-- omitted.
--
-- 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:genericRevisionInfo:RevisionInfo',
-- revisionInfo_genericRevisionInfo - Information about an
-- application revision, including usage details and associated
-- deployment groups.
--
-- $sel:revisionLocation:RevisionInfo',
-- revisionInfo_revisionLocation - Information about the location
-- and type of an application revision.
newRevisionInfo :: RevisionInfo
-- | Information about an application revision, including usage details and
-- associated deployment groups.
revisionInfo_genericRevisionInfo :: Lens' RevisionInfo (Maybe GenericRevisionInfo)
-- | Information about the location and type of an application revision.
revisionInfo_revisionLocation :: Lens' RevisionInfo (Maybe RevisionLocation)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.RevisionInfo.RevisionInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.RevisionInfo.RevisionInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.RevisionInfo.RevisionInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.RevisionInfo.RevisionInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.RevisionInfo.RevisionInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.RevisionInfo.RevisionInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.RevisionInfo.RevisionInfo
module Amazonka.CodeDeploy.Types.SortOrder
newtype SortOrder
SortOrder' :: Text -> SortOrder
[fromSortOrder] :: SortOrder -> Text
pattern SortOrder_Ascending :: SortOrder
pattern SortOrder_Descending :: SortOrder
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance GHC.Read.Read Amazonka.CodeDeploy.Types.SortOrder.SortOrder
instance GHC.Show.Show Amazonka.CodeDeploy.Types.SortOrder.SortOrder
module Amazonka.CodeDeploy.Types.StopStatus
newtype StopStatus
StopStatus' :: Text -> StopStatus
[fromStopStatus] :: StopStatus -> Text
pattern StopStatus_Pending :: StopStatus
pattern StopStatus_Succeeded :: StopStatus
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance GHC.Read.Read Amazonka.CodeDeploy.Types.StopStatus.StopStatus
instance GHC.Show.Show Amazonka.CodeDeploy.Types.StopStatus.StopStatus
module Amazonka.CodeDeploy.Types.Tag
-- | Information about a tag.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | The tag's key.
[$sel:key:Tag'] :: Tag -> Maybe Text
-- | The tag's value.
[$sel:value:Tag'] :: Tag -> Maybe Text
-- | Create a value of Tag with all optional fields omitted.
--
-- 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:key:Tag', tag_key - The tag's key.
--
-- $sel:value:Tag', tag_value - The tag's value.
newTag :: Tag
-- | The tag's key.
tag_key :: Lens' Tag (Maybe Text)
-- | The tag's value.
tag_value :: Lens' Tag (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.Tag.Tag
instance GHC.Show.Show Amazonka.CodeDeploy.Types.Tag.Tag
instance GHC.Read.Read Amazonka.CodeDeploy.Types.Tag.Tag
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.Tag.Tag
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.Tag.Tag
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.Tag.Tag
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.Tag.Tag
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.Tag.Tag
module Amazonka.CodeDeploy.Types.InstanceInfo
-- | Information about an on-premises instance.
--
-- See: newInstanceInfo smart constructor.
data InstanceInfo
InstanceInfo' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe [Tag] -> InstanceInfo
-- | If the on-premises instance was deregistered, the time at which the
-- on-premises instance was deregistered.
[$sel:deregisterTime:InstanceInfo'] :: InstanceInfo -> Maybe POSIX
-- | The ARN of the IAM session associated with the on-premises instance.
[$sel:iamSessionArn:InstanceInfo'] :: InstanceInfo -> Maybe Text
-- | The IAM user ARN associated with the on-premises instance.
[$sel:iamUserArn:InstanceInfo'] :: InstanceInfo -> Maybe Text
-- | The ARN of the on-premises instance.
[$sel:instanceArn:InstanceInfo'] :: InstanceInfo -> Maybe Text
-- | The name of the on-premises instance.
[$sel:instanceName:InstanceInfo'] :: InstanceInfo -> Maybe Text
-- | The time at which the on-premises instance was registered.
[$sel:registerTime:InstanceInfo'] :: InstanceInfo -> Maybe POSIX
-- | The tags currently associated with the on-premises instance.
[$sel:tags:InstanceInfo'] :: InstanceInfo -> Maybe [Tag]
-- | Create a value of InstanceInfo with all optional fields
-- omitted.
--
-- 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:deregisterTime:InstanceInfo',
-- instanceInfo_deregisterTime - If the on-premises instance was
-- deregistered, the time at which the on-premises instance was
-- deregistered.
--
-- $sel:iamSessionArn:InstanceInfo',
-- instanceInfo_iamSessionArn - The ARN of the IAM session
-- associated with the on-premises instance.
--
-- $sel:iamUserArn:InstanceInfo', instanceInfo_iamUserArn -
-- The IAM user ARN associated with the on-premises instance.
--
-- $sel:instanceArn:InstanceInfo', instanceInfo_instanceArn
-- - The ARN of the on-premises instance.
--
-- $sel:instanceName:InstanceInfo',
-- instanceInfo_instanceName - The name of the on-premises
-- instance.
--
-- $sel:registerTime:InstanceInfo',
-- instanceInfo_registerTime - The time at which the on-premises
-- instance was registered.
--
-- $sel:tags:InstanceInfo', instanceInfo_tags - The tags
-- currently associated with the on-premises instance.
newInstanceInfo :: InstanceInfo
-- | If the on-premises instance was deregistered, the time at which the
-- on-premises instance was deregistered.
instanceInfo_deregisterTime :: Lens' InstanceInfo (Maybe UTCTime)
-- | The ARN of the IAM session associated with the on-premises instance.
instanceInfo_iamSessionArn :: Lens' InstanceInfo (Maybe Text)
-- | The IAM user ARN associated with the on-premises instance.
instanceInfo_iamUserArn :: Lens' InstanceInfo (Maybe Text)
-- | The ARN of the on-premises instance.
instanceInfo_instanceArn :: Lens' InstanceInfo (Maybe Text)
-- | The name of the on-premises instance.
instanceInfo_instanceName :: Lens' InstanceInfo (Maybe Text)
-- | The time at which the on-premises instance was registered.
instanceInfo_registerTime :: Lens' InstanceInfo (Maybe UTCTime)
-- | The tags currently associated with the on-premises instance.
instanceInfo_tags :: Lens' InstanceInfo (Maybe [Tag])
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.InstanceInfo.InstanceInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.InstanceInfo.InstanceInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.InstanceInfo.InstanceInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.InstanceInfo.InstanceInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.InstanceInfo.InstanceInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.InstanceInfo.InstanceInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.InstanceInfo.InstanceInfo
module Amazonka.CodeDeploy.Types.TagFilterType
newtype TagFilterType
TagFilterType' :: Text -> TagFilterType
[fromTagFilterType] :: TagFilterType -> Text
pattern TagFilterType_KEY_AND_VALUE :: TagFilterType
pattern TagFilterType_KEY_ONLY :: TagFilterType
pattern TagFilterType_VALUE_ONLY :: TagFilterType
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TagFilterType.TagFilterType
module Amazonka.CodeDeploy.Types.TagFilter
-- | Information about an on-premises instance tag filter.
--
-- See: newTagFilter smart constructor.
data TagFilter
TagFilter' :: Maybe Text -> Maybe TagFilterType -> Maybe Text -> TagFilter
-- | The on-premises instance tag filter key.
[$sel:key:TagFilter'] :: TagFilter -> Maybe Text
-- | The on-premises instance tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
[$sel:type':TagFilter'] :: TagFilter -> Maybe TagFilterType
-- | The on-premises instance tag filter value.
[$sel:value:TagFilter'] :: TagFilter -> Maybe Text
-- | Create a value of TagFilter with all optional fields omitted.
--
-- 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:key:TagFilter', tagFilter_key - The on-premises
-- instance tag filter key.
--
-- $sel:type':TagFilter', tagFilter_type - The on-premises
-- instance tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
--
-- $sel:value:TagFilter', tagFilter_value - The on-premises
-- instance tag filter value.
newTagFilter :: TagFilter
-- | The on-premises instance tag filter key.
tagFilter_key :: Lens' TagFilter (Maybe Text)
-- | The on-premises instance tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
tagFilter_type :: Lens' TagFilter (Maybe TagFilterType)
-- | The on-premises instance tag filter value.
tagFilter_value :: Lens' TagFilter (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TagFilter.TagFilter
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TagFilter.TagFilter
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TagFilter.TagFilter
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TagFilter.TagFilter
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TagFilter.TagFilter
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TagFilter.TagFilter
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TagFilter.TagFilter
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TagFilter.TagFilter
module Amazonka.CodeDeploy.Types.OnPremisesTagSet
-- | Information about groups of on-premises instance tags.
--
-- See: newOnPremisesTagSet smart constructor.
data OnPremisesTagSet
OnPremisesTagSet' :: Maybe [[TagFilter]] -> OnPremisesTagSet
-- | A list that contains other lists of on-premises instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
[$sel:onPremisesTagSetList:OnPremisesTagSet'] :: OnPremisesTagSet -> Maybe [[TagFilter]]
-- | Create a value of OnPremisesTagSet with all optional fields
-- omitted.
--
-- 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:onPremisesTagSetList:OnPremisesTagSet',
-- onPremisesTagSet_onPremisesTagSetList - A list that contains
-- other lists of on-premises instance tag groups. For an instance to be
-- included in the deployment group, it must be identified by all of the
-- tag groups in the list.
newOnPremisesTagSet :: OnPremisesTagSet
-- | A list that contains other lists of on-premises instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
onPremisesTagSet_onPremisesTagSetList :: Lens' OnPremisesTagSet (Maybe [[TagFilter]])
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.OnPremisesTagSet.OnPremisesTagSet
instance GHC.Show.Show Amazonka.CodeDeploy.Types.OnPremisesTagSet.OnPremisesTagSet
instance GHC.Read.Read Amazonka.CodeDeploy.Types.OnPremisesTagSet.OnPremisesTagSet
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.OnPremisesTagSet.OnPremisesTagSet
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.OnPremisesTagSet.OnPremisesTagSet
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.OnPremisesTagSet.OnPremisesTagSet
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.OnPremisesTagSet.OnPremisesTagSet
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.OnPremisesTagSet.OnPremisesTagSet
module Amazonka.CodeDeploy.Types.TargetFilterName
newtype TargetFilterName
TargetFilterName' :: Text -> TargetFilterName
[fromTargetFilterName] :: TargetFilterName -> Text
pattern TargetFilterName_ServerInstanceLabel :: TargetFilterName
pattern TargetFilterName_TargetStatus :: TargetFilterName
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TargetFilterName.TargetFilterName
module Amazonka.CodeDeploy.Types.TargetGroupInfo
-- | Information about a target group in Elastic Load Balancing to use in a
-- deployment. Instances are registered as targets in a target group, and
-- traffic is routed to the target group.
--
-- See: newTargetGroupInfo smart constructor.
data TargetGroupInfo
TargetGroupInfo' :: Maybe Text -> TargetGroupInfo
-- | For blue/green deployments, the name of the target group that
-- instances in the original environment are deregistered from, and
-- instances in the replacement environment are registered with. For
-- in-place deployments, the name of the target group that instances are
-- deregistered from, so they are not serving traffic during a
-- deployment, and then re-registered with after the deployment is
-- complete.
[$sel:name:TargetGroupInfo'] :: TargetGroupInfo -> Maybe Text
-- | Create a value of TargetGroupInfo with all optional fields
-- omitted.
--
-- 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:TargetGroupInfo', targetGroupInfo_name - For
-- blue/green deployments, the name of the target group that instances in
-- the original environment are deregistered from, and instances in the
-- replacement environment are registered with. For in-place deployments,
-- the name of the target group that instances are deregistered from, so
-- they are not serving traffic during a deployment, and then
-- re-registered with after the deployment is complete.
newTargetGroupInfo :: TargetGroupInfo
-- | For blue/green deployments, the name of the target group that
-- instances in the original environment are deregistered from, and
-- instances in the replacement environment are registered with. For
-- in-place deployments, the name of the target group that instances are
-- deregistered from, so they are not serving traffic during a
-- deployment, and then re-registered with after the deployment is
-- complete.
targetGroupInfo_name :: Lens' TargetGroupInfo (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TargetGroupInfo.TargetGroupInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TargetGroupInfo.TargetGroupInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TargetGroupInfo.TargetGroupInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TargetGroupInfo.TargetGroupInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TargetGroupInfo.TargetGroupInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TargetGroupInfo.TargetGroupInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TargetGroupInfo.TargetGroupInfo
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TargetGroupInfo.TargetGroupInfo
module Amazonka.CodeDeploy.Types.TargetInstances
-- | Information about the instances to be used in the replacement
-- environment in a blue/green deployment.
--
-- See: newTargetInstances smart constructor.
data TargetInstances
TargetInstances' :: Maybe [Text] -> Maybe EC2TagSet -> Maybe [EC2TagFilter] -> TargetInstances
-- | The names of one or more Auto Scaling groups to identify a replacement
-- environment for a blue/green deployment.
[$sel:autoScalingGroups:TargetInstances'] :: TargetInstances -> Maybe [Text]
-- | Information about the groups of Amazon EC2 instance tags that an
-- instance must be identified by in order for it to be included in the
-- replacement environment for a blue/green deployment. Cannot be used in
-- the same call as tagFilters.
[$sel:ec2TagSet:TargetInstances'] :: TargetInstances -> Maybe EC2TagSet
-- | The tag filter key, type, and value used to identify Amazon EC2
-- instances in a replacement environment for a blue/green deployment.
-- Cannot be used in the same call as ec2TagSet.
[$sel:tagFilters:TargetInstances'] :: TargetInstances -> Maybe [EC2TagFilter]
-- | Create a value of TargetInstances with all optional fields
-- omitted.
--
-- 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:autoScalingGroups:TargetInstances',
-- targetInstances_autoScalingGroups - The names of one or more
-- Auto Scaling groups to identify a replacement environment for a
-- blue/green deployment.
--
-- $sel:ec2TagSet:TargetInstances',
-- targetInstances_ec2TagSet - Information about the groups of
-- Amazon EC2 instance tags that an instance must be identified by in
-- order for it to be included in the replacement environment for a
-- blue/green deployment. Cannot be used in the same call as
-- tagFilters.
--
-- $sel:tagFilters:TargetInstances',
-- targetInstances_tagFilters - The tag filter key, type, and
-- value used to identify Amazon EC2 instances in a replacement
-- environment for a blue/green deployment. Cannot be used in the same
-- call as ec2TagSet.
newTargetInstances :: TargetInstances
-- | The names of one or more Auto Scaling groups to identify a replacement
-- environment for a blue/green deployment.
targetInstances_autoScalingGroups :: Lens' TargetInstances (Maybe [Text])
-- | Information about the groups of Amazon EC2 instance tags that an
-- instance must be identified by in order for it to be included in the
-- replacement environment for a blue/green deployment. Cannot be used in
-- the same call as tagFilters.
targetInstances_ec2TagSet :: Lens' TargetInstances (Maybe EC2TagSet)
-- | The tag filter key, type, and value used to identify Amazon EC2
-- instances in a replacement environment for a blue/green deployment.
-- Cannot be used in the same call as ec2TagSet.
targetInstances_tagFilters :: Lens' TargetInstances (Maybe [EC2TagFilter])
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TargetInstances.TargetInstances
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TargetInstances.TargetInstances
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TargetInstances.TargetInstances
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TargetInstances.TargetInstances
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TargetInstances.TargetInstances
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TargetInstances.TargetInstances
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TargetInstances.TargetInstances
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TargetInstances.TargetInstances
module Amazonka.CodeDeploy.Types.TargetLabel
newtype TargetLabel
TargetLabel' :: Text -> TargetLabel
[fromTargetLabel] :: TargetLabel -> Text
pattern TargetLabel_Blue :: TargetLabel
pattern TargetLabel_Green :: TargetLabel
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TargetLabel.TargetLabel
module Amazonka.CodeDeploy.Types.ECSTaskSet
-- | Information about a set of Amazon ECS tasks in an CodeDeploy
-- deployment. An Amazon ECS task set includes details such as the
-- desired number of tasks, how many tasks are running, and whether the
-- task set serves production traffic. An CodeDeploy application that
-- uses the Amazon ECS compute platform deploys a containerized
-- application in an Amazon ECS service as a task set.
--
-- See: newECSTaskSet smart constructor.
data ECSTaskSet
ECSTaskSet' :: Maybe Integer -> Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe TargetGroupInfo -> Maybe TargetLabel -> Maybe Double -> ECSTaskSet
-- | The number of tasks in a task set. During a deployment that uses the
-- Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a
-- new task set and uses this value to determine how many tasks to
-- create. After the updated task set is created, CodeDeploy shifts
-- traffic to the new task set.
[$sel:desiredCount:ECSTaskSet'] :: ECSTaskSet -> Maybe Integer
-- | A unique ID of an ECSTaskSet.
[$sel:identifer:ECSTaskSet'] :: ECSTaskSet -> Maybe Text
-- | The number of tasks in the task set that are in the PENDING
-- status during an Amazon ECS deployment. A task in the PENDING
-- state is preparing to enter the RUNNING state. A task set
-- enters the PENDING status when it launches for the first
-- time, or when it is restarted after being in the STOPPED
-- state.
[$sel:pendingCount:ECSTaskSet'] :: ECSTaskSet -> Maybe Integer
-- | The number of tasks in the task set that are in the RUNNING
-- status during an Amazon ECS deployment. A task in the RUNNING
-- state is running and ready for use.
[$sel:runningCount:ECSTaskSet'] :: ECSTaskSet -> Maybe Integer
-- | The status of the task set. There are three valid task set statuses:
--
--
-- - PRIMARY: Indicates the task set is serving production
-- traffic.
-- - ACTIVE: Indicates the task set is not serving production
-- traffic.
-- - DRAINING: Indicates the tasks in the task set are being
-- stopped and their corresponding targets are being deregistered from
-- their target group.
--
[$sel:status:ECSTaskSet'] :: ECSTaskSet -> Maybe Text
-- | The target group associated with the task set. The target group is
-- used by CodeDeploy to manage traffic to a task set.
[$sel:targetGroup:ECSTaskSet'] :: ECSTaskSet -> Maybe TargetGroupInfo
-- | A label that identifies whether the ECS task set is an original target
-- (BLUE) or a replacement target (GREEN).
[$sel:taskSetLabel:ECSTaskSet'] :: ECSTaskSet -> Maybe TargetLabel
-- | The percentage of traffic served by this task set.
[$sel:trafficWeight:ECSTaskSet'] :: ECSTaskSet -> Maybe Double
-- | Create a value of ECSTaskSet with all optional fields omitted.
--
-- 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:desiredCount:ECSTaskSet', eCSTaskSet_desiredCount -
-- The number of tasks in a task set. During a deployment that uses the
-- Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a
-- new task set and uses this value to determine how many tasks to
-- create. After the updated task set is created, CodeDeploy shifts
-- traffic to the new task set.
--
-- $sel:identifer:ECSTaskSet', eCSTaskSet_identifer - A
-- unique ID of an ECSTaskSet.
--
-- $sel:pendingCount:ECSTaskSet', eCSTaskSet_pendingCount -
-- The number of tasks in the task set that are in the PENDING
-- status during an Amazon ECS deployment. A task in the PENDING
-- state is preparing to enter the RUNNING state. A task set
-- enters the PENDING status when it launches for the first
-- time, or when it is restarted after being in the STOPPED
-- state.
--
-- $sel:runningCount:ECSTaskSet', eCSTaskSet_runningCount -
-- The number of tasks in the task set that are in the RUNNING
-- status during an Amazon ECS deployment. A task in the RUNNING
-- state is running and ready for use.
--
-- $sel:status:ECSTaskSet', eCSTaskSet_status - The status
-- of the task set. There are three valid task set statuses:
--
--
-- - PRIMARY: Indicates the task set is serving production
-- traffic.
-- - ACTIVE: Indicates the task set is not serving production
-- traffic.
-- - DRAINING: Indicates the tasks in the task set are being
-- stopped and their corresponding targets are being deregistered from
-- their target group.
--
--
-- $sel:targetGroup:ECSTaskSet', eCSTaskSet_targetGroup -
-- The target group associated with the task set. The target group is
-- used by CodeDeploy to manage traffic to a task set.
--
-- $sel:taskSetLabel:ECSTaskSet', eCSTaskSet_taskSetLabel -
-- A label that identifies whether the ECS task set is an original target
-- (BLUE) or a replacement target (GREEN).
--
-- $sel:trafficWeight:ECSTaskSet', eCSTaskSet_trafficWeight
-- - The percentage of traffic served by this task set.
newECSTaskSet :: ECSTaskSet
-- | The number of tasks in a task set. During a deployment that uses the
-- Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a
-- new task set and uses this value to determine how many tasks to
-- create. After the updated task set is created, CodeDeploy shifts
-- traffic to the new task set.
eCSTaskSet_desiredCount :: Lens' ECSTaskSet (Maybe Integer)
-- | A unique ID of an ECSTaskSet.
eCSTaskSet_identifer :: Lens' ECSTaskSet (Maybe Text)
-- | The number of tasks in the task set that are in the PENDING
-- status during an Amazon ECS deployment. A task in the PENDING
-- state is preparing to enter the RUNNING state. A task set
-- enters the PENDING status when it launches for the first
-- time, or when it is restarted after being in the STOPPED
-- state.
eCSTaskSet_pendingCount :: Lens' ECSTaskSet (Maybe Integer)
-- | The number of tasks in the task set that are in the RUNNING
-- status during an Amazon ECS deployment. A task in the RUNNING
-- state is running and ready for use.
eCSTaskSet_runningCount :: Lens' ECSTaskSet (Maybe Integer)
-- | The status of the task set. There are three valid task set statuses:
--
--
-- - PRIMARY: Indicates the task set is serving production
-- traffic.
-- - ACTIVE: Indicates the task set is not serving production
-- traffic.
-- - DRAINING: Indicates the tasks in the task set are being
-- stopped and their corresponding targets are being deregistered from
-- their target group.
--
eCSTaskSet_status :: Lens' ECSTaskSet (Maybe Text)
-- | The target group associated with the task set. The target group is
-- used by CodeDeploy to manage traffic to a task set.
eCSTaskSet_targetGroup :: Lens' ECSTaskSet (Maybe TargetGroupInfo)
-- | A label that identifies whether the ECS task set is an original target
-- (BLUE) or a replacement target (GREEN).
eCSTaskSet_taskSetLabel :: Lens' ECSTaskSet (Maybe TargetLabel)
-- | The percentage of traffic served by this task set.
eCSTaskSet_trafficWeight :: Lens' ECSTaskSet (Maybe Double)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.ECSTaskSet.ECSTaskSet
instance GHC.Show.Show Amazonka.CodeDeploy.Types.ECSTaskSet.ECSTaskSet
instance GHC.Read.Read Amazonka.CodeDeploy.Types.ECSTaskSet.ECSTaskSet
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.ECSTaskSet.ECSTaskSet
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.ECSTaskSet.ECSTaskSet
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.ECSTaskSet.ECSTaskSet
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.ECSTaskSet.ECSTaskSet
module Amazonka.CodeDeploy.Types.TargetStatus
newtype TargetStatus
TargetStatus' :: Text -> TargetStatus
[fromTargetStatus] :: TargetStatus -> Text
pattern TargetStatus_Failed :: TargetStatus
pattern TargetStatus_InProgress :: TargetStatus
pattern TargetStatus_Pending :: TargetStatus
pattern TargetStatus_Ready :: TargetStatus
pattern TargetStatus_Skipped :: TargetStatus
pattern TargetStatus_Succeeded :: TargetStatus
pattern TargetStatus_Unknown :: TargetStatus
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TargetStatus.TargetStatus
module Amazonka.CodeDeploy.Types.LambdaTarget
-- | Information about the target Lambda function during an Lambda
-- deployment.
--
-- See: newLambdaTarget smart constructor.
data LambdaTarget
LambdaTarget' :: Maybe Text -> Maybe LambdaFunctionInfo -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe TargetStatus -> Maybe Text -> Maybe Text -> LambdaTarget
-- | The unique ID of a deployment.
[$sel:deploymentId:LambdaTarget'] :: LambdaTarget -> Maybe Text
-- | A LambdaFunctionInfo object that describes a target Lambda
-- function.
[$sel:lambdaFunctionInfo:LambdaTarget'] :: LambdaTarget -> Maybe LambdaFunctionInfo
-- | The date and time when the target Lambda function was updated by a
-- deployment.
[$sel:lastUpdatedAt:LambdaTarget'] :: LambdaTarget -> Maybe POSIX
-- | The lifecycle events of the deployment to this target Lambda function.
[$sel:lifecycleEvents:LambdaTarget'] :: LambdaTarget -> Maybe [LifecycleEvent]
-- | The status an Lambda deployment's target Lambda function.
[$sel:status:LambdaTarget'] :: LambdaTarget -> Maybe TargetStatus
-- | The Amazon Resource Name (ARN) of the target.
[$sel:targetArn:LambdaTarget'] :: LambdaTarget -> Maybe Text
-- | The unique ID of a deployment target that has a type of
-- lambdaTarget.
[$sel:targetId:LambdaTarget'] :: LambdaTarget -> Maybe Text
-- | Create a value of LambdaTarget with all optional fields
-- omitted.
--
-- 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:deploymentId:LambdaTarget',
-- lambdaTarget_deploymentId - The unique ID of a deployment.
--
-- $sel:lambdaFunctionInfo:LambdaTarget',
-- lambdaTarget_lambdaFunctionInfo - A LambdaFunctionInfo
-- object that describes a target Lambda function.
--
-- $sel:lastUpdatedAt:LambdaTarget',
-- lambdaTarget_lastUpdatedAt - The date and time when the target
-- Lambda function was updated by a deployment.
--
-- $sel:lifecycleEvents:LambdaTarget',
-- lambdaTarget_lifecycleEvents - The lifecycle events of the
-- deployment to this target Lambda function.
--
-- LambdaTarget, lambdaTarget_status - The status an Lambda
-- deployment's target Lambda function.
--
-- $sel:targetArn:LambdaTarget', lambdaTarget_targetArn -
-- The Amazon Resource Name (ARN) of the target.
--
-- $sel:targetId:LambdaTarget', lambdaTarget_targetId - The
-- unique ID of a deployment target that has a type of
-- lambdaTarget.
newLambdaTarget :: LambdaTarget
-- | The unique ID of a deployment.
lambdaTarget_deploymentId :: Lens' LambdaTarget (Maybe Text)
-- | A LambdaFunctionInfo object that describes a target Lambda
-- function.
lambdaTarget_lambdaFunctionInfo :: Lens' LambdaTarget (Maybe LambdaFunctionInfo)
-- | The date and time when the target Lambda function was updated by a
-- deployment.
lambdaTarget_lastUpdatedAt :: Lens' LambdaTarget (Maybe UTCTime)
-- | The lifecycle events of the deployment to this target Lambda function.
lambdaTarget_lifecycleEvents :: Lens' LambdaTarget (Maybe [LifecycleEvent])
-- | The status an Lambda deployment's target Lambda function.
lambdaTarget_status :: Lens' LambdaTarget (Maybe TargetStatus)
-- | The Amazon Resource Name (ARN) of the target.
lambdaTarget_targetArn :: Lens' LambdaTarget (Maybe Text)
-- | The unique ID of a deployment target that has a type of
-- lambdaTarget.
lambdaTarget_targetId :: Lens' LambdaTarget (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.LambdaTarget.LambdaTarget
instance GHC.Show.Show Amazonka.CodeDeploy.Types.LambdaTarget.LambdaTarget
instance GHC.Read.Read Amazonka.CodeDeploy.Types.LambdaTarget.LambdaTarget
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.LambdaTarget.LambdaTarget
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.LambdaTarget.LambdaTarget
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.LambdaTarget.LambdaTarget
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.LambdaTarget.LambdaTarget
module Amazonka.CodeDeploy.Types.InstanceTarget
-- | A target Amazon EC2 or on-premises instance during a deployment that
-- uses the EC2/On-premises compute platform.
--
-- See: newInstanceTarget smart constructor.
data InstanceTarget
InstanceTarget' :: Maybe Text -> Maybe TargetLabel -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe TargetStatus -> Maybe Text -> Maybe Text -> InstanceTarget
-- | The unique ID of a deployment.
[$sel:deploymentId:InstanceTarget'] :: InstanceTarget -> Maybe Text
-- | A label that identifies whether the instance is an original target
-- (BLUE) or a replacement target (GREEN).
[$sel:instanceLabel:InstanceTarget'] :: InstanceTarget -> Maybe TargetLabel
-- | The date and time when the target instance was updated by a
-- deployment.
[$sel:lastUpdatedAt:InstanceTarget'] :: InstanceTarget -> Maybe POSIX
-- | The lifecycle events of the deployment to this target instance.
[$sel:lifecycleEvents:InstanceTarget'] :: InstanceTarget -> Maybe [LifecycleEvent]
-- | The status an EC2/On-premises deployment's target instance.
[$sel:status:InstanceTarget'] :: InstanceTarget -> Maybe TargetStatus
-- | The Amazon Resource Name (ARN) of the target.
[$sel:targetArn:InstanceTarget'] :: InstanceTarget -> Maybe Text
-- | The unique ID of a deployment target that has a type of
-- instanceTarget.
[$sel:targetId:InstanceTarget'] :: InstanceTarget -> Maybe Text
-- | Create a value of InstanceTarget with all optional fields
-- omitted.
--
-- 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:deploymentId:InstanceTarget',
-- instanceTarget_deploymentId - The unique ID of a deployment.
--
-- $sel:instanceLabel:InstanceTarget',
-- instanceTarget_instanceLabel - A label that identifies whether
-- the instance is an original target (BLUE) or a replacement
-- target (GREEN).
--
-- $sel:lastUpdatedAt:InstanceTarget',
-- instanceTarget_lastUpdatedAt - The date and time when the
-- target instance was updated by a deployment.
--
-- $sel:lifecycleEvents:InstanceTarget',
-- instanceTarget_lifecycleEvents - The lifecycle events of the
-- deployment to this target instance.
--
-- InstanceTarget, instanceTarget_status - The status an
-- EC2/On-premises deployment's target instance.
--
-- $sel:targetArn:InstanceTarget', instanceTarget_targetArn
-- - The Amazon Resource Name (ARN) of the target.
--
-- $sel:targetId:InstanceTarget', instanceTarget_targetId -
-- The unique ID of a deployment target that has a type of
-- instanceTarget.
newInstanceTarget :: InstanceTarget
-- | The unique ID of a deployment.
instanceTarget_deploymentId :: Lens' InstanceTarget (Maybe Text)
-- | A label that identifies whether the instance is an original target
-- (BLUE) or a replacement target (GREEN).
instanceTarget_instanceLabel :: Lens' InstanceTarget (Maybe TargetLabel)
-- | The date and time when the target instance was updated by a
-- deployment.
instanceTarget_lastUpdatedAt :: Lens' InstanceTarget (Maybe UTCTime)
-- | The lifecycle events of the deployment to this target instance.
instanceTarget_lifecycleEvents :: Lens' InstanceTarget (Maybe [LifecycleEvent])
-- | The status an EC2/On-premises deployment's target instance.
instanceTarget_status :: Lens' InstanceTarget (Maybe TargetStatus)
-- | The Amazon Resource Name (ARN) of the target.
instanceTarget_targetArn :: Lens' InstanceTarget (Maybe Text)
-- | The unique ID of a deployment target that has a type of
-- instanceTarget.
instanceTarget_targetId :: Lens' InstanceTarget (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.InstanceTarget.InstanceTarget
instance GHC.Show.Show Amazonka.CodeDeploy.Types.InstanceTarget.InstanceTarget
instance GHC.Read.Read Amazonka.CodeDeploy.Types.InstanceTarget.InstanceTarget
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.InstanceTarget.InstanceTarget
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.InstanceTarget.InstanceTarget
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.InstanceTarget.InstanceTarget
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.InstanceTarget.InstanceTarget
module Amazonka.CodeDeploy.Types.ECSTarget
-- | Information about the target of an Amazon ECS deployment.
--
-- See: newECSTarget smart constructor.
data ECSTarget
ECSTarget' :: Maybe Text -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe TargetStatus -> Maybe Text -> Maybe Text -> Maybe [ECSTaskSet] -> ECSTarget
-- | The unique ID of a deployment.
[$sel:deploymentId:ECSTarget'] :: ECSTarget -> Maybe Text
-- | The date and time when the target Amazon ECS application was updated
-- by a deployment.
[$sel:lastUpdatedAt:ECSTarget'] :: ECSTarget -> Maybe POSIX
-- | The lifecycle events of the deployment to this target Amazon ECS
-- application.
[$sel:lifecycleEvents:ECSTarget'] :: ECSTarget -> Maybe [LifecycleEvent]
-- | The status an Amazon ECS deployment's target ECS application.
[$sel:status:ECSTarget'] :: ECSTarget -> Maybe TargetStatus
-- | The Amazon Resource Name (ARN) of the target.
[$sel:targetArn:ECSTarget'] :: ECSTarget -> Maybe Text
-- | The unique ID of a deployment target that has a type of
-- ecsTarget.
[$sel:targetId:ECSTarget'] :: ECSTarget -> Maybe Text
-- | The ECSTaskSet objects associated with the ECS target.
[$sel:taskSetsInfo:ECSTarget'] :: ECSTarget -> Maybe [ECSTaskSet]
-- | Create a value of ECSTarget with all optional fields omitted.
--
-- 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:deploymentId:ECSTarget', eCSTarget_deploymentId -
-- The unique ID of a deployment.
--
-- $sel:lastUpdatedAt:ECSTarget', eCSTarget_lastUpdatedAt -
-- The date and time when the target Amazon ECS application was updated
-- by a deployment.
--
-- $sel:lifecycleEvents:ECSTarget',
-- eCSTarget_lifecycleEvents - The lifecycle events of the
-- deployment to this target Amazon ECS application.
--
-- ECSTarget, eCSTarget_status - The status an Amazon ECS
-- deployment's target ECS application.
--
-- $sel:targetArn:ECSTarget', eCSTarget_targetArn - The
-- Amazon Resource Name (ARN) of the target.
--
-- $sel:targetId:ECSTarget', eCSTarget_targetId - The
-- unique ID of a deployment target that has a type of
-- ecsTarget.
--
-- $sel:taskSetsInfo:ECSTarget', eCSTarget_taskSetsInfo -
-- The ECSTaskSet objects associated with the ECS target.
newECSTarget :: ECSTarget
-- | The unique ID of a deployment.
eCSTarget_deploymentId :: Lens' ECSTarget (Maybe Text)
-- | The date and time when the target Amazon ECS application was updated
-- by a deployment.
eCSTarget_lastUpdatedAt :: Lens' ECSTarget (Maybe UTCTime)
-- | The lifecycle events of the deployment to this target Amazon ECS
-- application.
eCSTarget_lifecycleEvents :: Lens' ECSTarget (Maybe [LifecycleEvent])
-- | The status an Amazon ECS deployment's target ECS application.
eCSTarget_status :: Lens' ECSTarget (Maybe TargetStatus)
-- | The Amazon Resource Name (ARN) of the target.
eCSTarget_targetArn :: Lens' ECSTarget (Maybe Text)
-- | The unique ID of a deployment target that has a type of
-- ecsTarget.
eCSTarget_targetId :: Lens' ECSTarget (Maybe Text)
-- | The ECSTaskSet objects associated with the ECS target.
eCSTarget_taskSetsInfo :: Lens' ECSTarget (Maybe [ECSTaskSet])
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.ECSTarget.ECSTarget
instance GHC.Show.Show Amazonka.CodeDeploy.Types.ECSTarget.ECSTarget
instance GHC.Read.Read Amazonka.CodeDeploy.Types.ECSTarget.ECSTarget
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.ECSTarget.ECSTarget
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.ECSTarget.ECSTarget
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.ECSTarget.ECSTarget
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.ECSTarget.ECSTarget
module Amazonka.CodeDeploy.Types.CloudFormationTarget
-- | Information about the target to be updated by an CloudFormation
-- blue/green deployment. This target type is used for all deployments
-- initiated by a CloudFormation stack update.
--
-- See: newCloudFormationTarget smart constructor.
data CloudFormationTarget
CloudFormationTarget' :: Maybe Text -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe Text -> Maybe TargetStatus -> Maybe Text -> Maybe Double -> CloudFormationTarget
-- | The unique ID of an CloudFormation blue/green deployment.
[$sel:deploymentId:CloudFormationTarget'] :: CloudFormationTarget -> Maybe Text
-- | The date and time when the target application was updated by an
-- CloudFormation blue/green deployment.
[$sel:lastUpdatedAt:CloudFormationTarget'] :: CloudFormationTarget -> Maybe POSIX
-- | The lifecycle events of the CloudFormation blue/green deployment to
-- this target application.
[$sel:lifecycleEvents:CloudFormationTarget'] :: CloudFormationTarget -> Maybe [LifecycleEvent]
-- | The resource type for the CloudFormation blue/green deployment.
[$sel:resourceType:CloudFormationTarget'] :: CloudFormationTarget -> Maybe Text
-- | The status of an CloudFormation blue/green deployment's target
-- application.
[$sel:status:CloudFormationTarget'] :: CloudFormationTarget -> Maybe TargetStatus
-- | The unique ID of a deployment target that has a type of
-- CloudFormationTarget.
[$sel:targetId:CloudFormationTarget'] :: CloudFormationTarget -> Maybe Text
-- | The percentage of production traffic that the target version of an
-- CloudFormation blue/green deployment receives.
[$sel:targetVersionWeight:CloudFormationTarget'] :: CloudFormationTarget -> Maybe Double
-- | Create a value of CloudFormationTarget with all optional fields
-- omitted.
--
-- 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:deploymentId:CloudFormationTarget',
-- cloudFormationTarget_deploymentId - The unique ID of an
-- CloudFormation blue/green deployment.
--
-- $sel:lastUpdatedAt:CloudFormationTarget',
-- cloudFormationTarget_lastUpdatedAt - The date and time when the
-- target application was updated by an CloudFormation blue/green
-- deployment.
--
-- $sel:lifecycleEvents:CloudFormationTarget',
-- cloudFormationTarget_lifecycleEvents - The lifecycle events of
-- the CloudFormation blue/green deployment to this target application.
--
-- $sel:resourceType:CloudFormationTarget',
-- cloudFormationTarget_resourceType - The resource type for the
-- CloudFormation blue/green deployment.
--
-- CloudFormationTarget, cloudFormationTarget_status - The
-- status of an CloudFormation blue/green deployment's target
-- application.
--
-- $sel:targetId:CloudFormationTarget',
-- cloudFormationTarget_targetId - The unique ID of a deployment
-- target that has a type of CloudFormationTarget.
--
-- $sel:targetVersionWeight:CloudFormationTarget',
-- cloudFormationTarget_targetVersionWeight - The percentage of
-- production traffic that the target version of an CloudFormation
-- blue/green deployment receives.
newCloudFormationTarget :: CloudFormationTarget
-- | The unique ID of an CloudFormation blue/green deployment.
cloudFormationTarget_deploymentId :: Lens' CloudFormationTarget (Maybe Text)
-- | The date and time when the target application was updated by an
-- CloudFormation blue/green deployment.
cloudFormationTarget_lastUpdatedAt :: Lens' CloudFormationTarget (Maybe UTCTime)
-- | The lifecycle events of the CloudFormation blue/green deployment to
-- this target application.
cloudFormationTarget_lifecycleEvents :: Lens' CloudFormationTarget (Maybe [LifecycleEvent])
-- | The resource type for the CloudFormation blue/green deployment.
cloudFormationTarget_resourceType :: Lens' CloudFormationTarget (Maybe Text)
-- | The status of an CloudFormation blue/green deployment's target
-- application.
cloudFormationTarget_status :: Lens' CloudFormationTarget (Maybe TargetStatus)
-- | The unique ID of a deployment target that has a type of
-- CloudFormationTarget.
cloudFormationTarget_targetId :: Lens' CloudFormationTarget (Maybe Text)
-- | The percentage of production traffic that the target version of an
-- CloudFormation blue/green deployment receives.
cloudFormationTarget_targetVersionWeight :: Lens' CloudFormationTarget (Maybe Double)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.CloudFormationTarget.CloudFormationTarget
instance GHC.Show.Show Amazonka.CodeDeploy.Types.CloudFormationTarget.CloudFormationTarget
instance GHC.Read.Read Amazonka.CodeDeploy.Types.CloudFormationTarget.CloudFormationTarget
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.CloudFormationTarget.CloudFormationTarget
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.CloudFormationTarget.CloudFormationTarget
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.CloudFormationTarget.CloudFormationTarget
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.CloudFormationTarget.CloudFormationTarget
module Amazonka.CodeDeploy.Types.DeploymentTarget
-- | Information about the deployment target.
--
-- See: newDeploymentTarget smart constructor.
data DeploymentTarget
DeploymentTarget' :: Maybe CloudFormationTarget -> Maybe DeploymentTargetType -> Maybe ECSTarget -> Maybe InstanceTarget -> Maybe LambdaTarget -> DeploymentTarget
[$sel:cloudFormationTarget:DeploymentTarget'] :: DeploymentTarget -> Maybe CloudFormationTarget
-- | The deployment type that is specific to the deployment's compute
-- platform or deployments initiated by a CloudFormation stack update.
[$sel:deploymentTargetType:DeploymentTarget'] :: DeploymentTarget -> Maybe DeploymentTargetType
-- | Information about the target for a deployment that uses the Amazon ECS
-- compute platform.
[$sel:ecsTarget:DeploymentTarget'] :: DeploymentTarget -> Maybe ECSTarget
-- | Information about the target for a deployment that uses the
-- EC2/On-premises compute platform.
[$sel:instanceTarget:DeploymentTarget'] :: DeploymentTarget -> Maybe InstanceTarget
-- | Information about the target for a deployment that uses the Lambda
-- compute platform.
[$sel:lambdaTarget:DeploymentTarget'] :: DeploymentTarget -> Maybe LambdaTarget
-- | Create a value of DeploymentTarget with all optional fields
-- omitted.
--
-- 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:cloudFormationTarget:DeploymentTarget',
-- deploymentTarget_cloudFormationTarget - Undocumented member.
--
-- $sel:deploymentTargetType:DeploymentTarget',
-- deploymentTarget_deploymentTargetType - The deployment type
-- that is specific to the deployment's compute platform or deployments
-- initiated by a CloudFormation stack update.
--
-- $sel:ecsTarget:DeploymentTarget',
-- deploymentTarget_ecsTarget - Information about the target for a
-- deployment that uses the Amazon ECS compute platform.
--
-- $sel:instanceTarget:DeploymentTarget',
-- deploymentTarget_instanceTarget - Information about the target
-- for a deployment that uses the EC2/On-premises compute platform.
--
-- $sel:lambdaTarget:DeploymentTarget',
-- deploymentTarget_lambdaTarget - Information about the target
-- for a deployment that uses the Lambda compute platform.
newDeploymentTarget :: DeploymentTarget
-- | Undocumented member.
deploymentTarget_cloudFormationTarget :: Lens' DeploymentTarget (Maybe CloudFormationTarget)
-- | The deployment type that is specific to the deployment's compute
-- platform or deployments initiated by a CloudFormation stack update.
deploymentTarget_deploymentTargetType :: Lens' DeploymentTarget (Maybe DeploymentTargetType)
-- | Information about the target for a deployment that uses the Amazon ECS
-- compute platform.
deploymentTarget_ecsTarget :: Lens' DeploymentTarget (Maybe ECSTarget)
-- | Information about the target for a deployment that uses the
-- EC2/On-premises compute platform.
deploymentTarget_instanceTarget :: Lens' DeploymentTarget (Maybe InstanceTarget)
-- | Information about the target for a deployment that uses the Lambda
-- compute platform.
deploymentTarget_lambdaTarget :: Lens' DeploymentTarget (Maybe LambdaTarget)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentTarget.DeploymentTarget
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentTarget.DeploymentTarget
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentTarget.DeploymentTarget
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentTarget.DeploymentTarget
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentTarget.DeploymentTarget
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentTarget.DeploymentTarget
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentTarget.DeploymentTarget
module Amazonka.CodeDeploy.Types.TimeBasedCanary
-- | A configuration that shifts traffic from one version of a Lambda
-- function or Amazon ECS task set to another in two increments. The
-- original and target Lambda function versions or ECS task sets are
-- specified in the deployment's AppSpec file.
--
-- See: newTimeBasedCanary smart constructor.
data TimeBasedCanary
TimeBasedCanary' :: Maybe Int -> Maybe Int -> TimeBasedCanary
-- | The number of minutes between the first and second traffic shifts of a
-- TimeBasedCanary deployment.
[$sel:canaryInterval:TimeBasedCanary'] :: TimeBasedCanary -> Maybe Int
-- | The percentage of traffic to shift in the first increment of a
-- TimeBasedCanary deployment.
[$sel:canaryPercentage:TimeBasedCanary'] :: TimeBasedCanary -> Maybe Int
-- | Create a value of TimeBasedCanary with all optional fields
-- omitted.
--
-- 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:canaryInterval:TimeBasedCanary',
-- timeBasedCanary_canaryInterval - The number of minutes between
-- the first and second traffic shifts of a TimeBasedCanary
-- deployment.
--
-- $sel:canaryPercentage:TimeBasedCanary',
-- timeBasedCanary_canaryPercentage - The percentage of traffic to
-- shift in the first increment of a TimeBasedCanary deployment.
newTimeBasedCanary :: TimeBasedCanary
-- | The number of minutes between the first and second traffic shifts of a
-- TimeBasedCanary deployment.
timeBasedCanary_canaryInterval :: Lens' TimeBasedCanary (Maybe Int)
-- | The percentage of traffic to shift in the first increment of a
-- TimeBasedCanary deployment.
timeBasedCanary_canaryPercentage :: Lens' TimeBasedCanary (Maybe Int)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TimeBasedCanary.TimeBasedCanary
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TimeBasedCanary.TimeBasedCanary
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TimeBasedCanary.TimeBasedCanary
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TimeBasedCanary.TimeBasedCanary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TimeBasedCanary.TimeBasedCanary
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TimeBasedCanary.TimeBasedCanary
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TimeBasedCanary.TimeBasedCanary
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TimeBasedCanary.TimeBasedCanary
module Amazonka.CodeDeploy.Types.TimeBasedLinear
-- | A configuration that shifts traffic from one version of a Lambda
-- function or ECS task set to another in equal increments, with an equal
-- number of minutes between each increment. The original and target
-- Lambda function versions or ECS task sets are specified in the
-- deployment's AppSpec file.
--
-- See: newTimeBasedLinear smart constructor.
data TimeBasedLinear
TimeBasedLinear' :: Maybe Int -> Maybe Int -> TimeBasedLinear
-- | The number of minutes between each incremental traffic shift of a
-- TimeBasedLinear deployment.
[$sel:linearInterval:TimeBasedLinear'] :: TimeBasedLinear -> Maybe Int
-- | The percentage of traffic that is shifted at the start of each
-- increment of a TimeBasedLinear deployment.
[$sel:linearPercentage:TimeBasedLinear'] :: TimeBasedLinear -> Maybe Int
-- | Create a value of TimeBasedLinear with all optional fields
-- omitted.
--
-- 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:linearInterval:TimeBasedLinear',
-- timeBasedLinear_linearInterval - The number of minutes between
-- each incremental traffic shift of a TimeBasedLinear
-- deployment.
--
-- $sel:linearPercentage:TimeBasedLinear',
-- timeBasedLinear_linearPercentage - The percentage of traffic
-- that is shifted at the start of each increment of a
-- TimeBasedLinear deployment.
newTimeBasedLinear :: TimeBasedLinear
-- | The number of minutes between each incremental traffic shift of a
-- TimeBasedLinear deployment.
timeBasedLinear_linearInterval :: Lens' TimeBasedLinear (Maybe Int)
-- | The percentage of traffic that is shifted at the start of each
-- increment of a TimeBasedLinear deployment.
timeBasedLinear_linearPercentage :: Lens' TimeBasedLinear (Maybe Int)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TimeBasedLinear.TimeBasedLinear
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TimeBasedLinear.TimeBasedLinear
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TimeBasedLinear.TimeBasedLinear
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TimeBasedLinear.TimeBasedLinear
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TimeBasedLinear.TimeBasedLinear
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TimeBasedLinear.TimeBasedLinear
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TimeBasedLinear.TimeBasedLinear
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TimeBasedLinear.TimeBasedLinear
module Amazonka.CodeDeploy.Types.TimeRange
-- | Information about a time range.
--
-- See: newTimeRange smart constructor.
data TimeRange
TimeRange' :: Maybe POSIX -> Maybe POSIX -> TimeRange
-- | The end time of the time range.
--
-- Specify null to leave the end time open-ended.
[$sel:end:TimeRange'] :: TimeRange -> Maybe POSIX
-- | The start time of the time range.
--
-- Specify null to leave the start time open-ended.
[$sel:start:TimeRange'] :: TimeRange -> Maybe POSIX
-- | Create a value of TimeRange with all optional fields omitted.
--
-- 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:end:TimeRange', timeRange_end - The end time of the
-- time range.
--
-- Specify null to leave the end time open-ended.
--
-- $sel:start:TimeRange', timeRange_start - The start time
-- of the time range.
--
-- Specify null to leave the start time open-ended.
newTimeRange :: TimeRange
-- | The end time of the time range.
--
-- Specify null to leave the end time open-ended.
timeRange_end :: Lens' TimeRange (Maybe UTCTime)
-- | The start time of the time range.
--
-- Specify null to leave the start time open-ended.
timeRange_start :: Lens' TimeRange (Maybe UTCTime)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TimeRange.TimeRange
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TimeRange.TimeRange
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TimeRange.TimeRange
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TimeRange.TimeRange
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TimeRange.TimeRange
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TimeRange.TimeRange
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TimeRange.TimeRange
module Amazonka.CodeDeploy.Types.TrafficRoute
-- | Information about a listener. The listener contains the path used to
-- route traffic that is received from the load balancer to a target
-- group.
--
-- See: newTrafficRoute smart constructor.
data TrafficRoute
TrafficRoute' :: Maybe [Text] -> TrafficRoute
-- | The Amazon Resource Name (ARN) of one listener. The listener
-- identifies the route between a target group and a load balancer. This
-- is an array of strings with a maximum size of one.
[$sel:listenerArns:TrafficRoute'] :: TrafficRoute -> Maybe [Text]
-- | Create a value of TrafficRoute with all optional fields
-- omitted.
--
-- 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:listenerArns:TrafficRoute',
-- trafficRoute_listenerArns - The Amazon Resource Name (ARN) of
-- one listener. The listener identifies the route between a target group
-- and a load balancer. This is an array of strings with a maximum size
-- of one.
newTrafficRoute :: TrafficRoute
-- | The Amazon Resource Name (ARN) of one listener. The listener
-- identifies the route between a target group and a load balancer. This
-- is an array of strings with a maximum size of one.
trafficRoute_listenerArns :: Lens' TrafficRoute (Maybe [Text])
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TrafficRoute.TrafficRoute
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TrafficRoute.TrafficRoute
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TrafficRoute.TrafficRoute
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TrafficRoute.TrafficRoute
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TrafficRoute.TrafficRoute
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TrafficRoute.TrafficRoute
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TrafficRoute.TrafficRoute
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TrafficRoute.TrafficRoute
module Amazonka.CodeDeploy.Types.TargetGroupPairInfo
-- | Information about two target groups and how traffic is routed during
-- an Amazon ECS deployment. An optional test traffic route can be
-- specified.
--
-- See: newTargetGroupPairInfo smart constructor.
data TargetGroupPairInfo
TargetGroupPairInfo' :: Maybe TrafficRoute -> Maybe [TargetGroupInfo] -> Maybe TrafficRoute -> TargetGroupPairInfo
-- | The path used by a load balancer to route production traffic when an
-- Amazon ECS deployment is complete.
[$sel:prodTrafficRoute:TargetGroupPairInfo'] :: TargetGroupPairInfo -> Maybe TrafficRoute
-- | One pair of target groups. One is associated with the original task
-- set. The second is associated with the task set that serves traffic
-- after the deployment is complete.
[$sel:targetGroups:TargetGroupPairInfo'] :: TargetGroupPairInfo -> Maybe [TargetGroupInfo]
-- | An optional path used by a load balancer to route test traffic after
-- an Amazon ECS deployment. Validation can occur while test traffic is
-- served during a deployment.
[$sel:testTrafficRoute:TargetGroupPairInfo'] :: TargetGroupPairInfo -> Maybe TrafficRoute
-- | Create a value of TargetGroupPairInfo with all optional fields
-- omitted.
--
-- 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:prodTrafficRoute:TargetGroupPairInfo',
-- targetGroupPairInfo_prodTrafficRoute - The path used by a load
-- balancer to route production traffic when an Amazon ECS deployment is
-- complete.
--
-- $sel:targetGroups:TargetGroupPairInfo',
-- targetGroupPairInfo_targetGroups - One pair of target groups.
-- One is associated with the original task set. The second is associated
-- with the task set that serves traffic after the deployment is
-- complete.
--
-- $sel:testTrafficRoute:TargetGroupPairInfo',
-- targetGroupPairInfo_testTrafficRoute - An optional path used by
-- a load balancer to route test traffic after an Amazon ECS deployment.
-- Validation can occur while test traffic is served during a deployment.
newTargetGroupPairInfo :: TargetGroupPairInfo
-- | The path used by a load balancer to route production traffic when an
-- Amazon ECS deployment is complete.
targetGroupPairInfo_prodTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute)
-- | One pair of target groups. One is associated with the original task
-- set. The second is associated with the task set that serves traffic
-- after the deployment is complete.
targetGroupPairInfo_targetGroups :: Lens' TargetGroupPairInfo (Maybe [TargetGroupInfo])
-- | An optional path used by a load balancer to route test traffic after
-- an Amazon ECS deployment. Validation can occur while test traffic is
-- served during a deployment.
targetGroupPairInfo_testTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TargetGroupPairInfo.TargetGroupPairInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TargetGroupPairInfo.TargetGroupPairInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TargetGroupPairInfo.TargetGroupPairInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TargetGroupPairInfo.TargetGroupPairInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TargetGroupPairInfo.TargetGroupPairInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TargetGroupPairInfo.TargetGroupPairInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TargetGroupPairInfo.TargetGroupPairInfo
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TargetGroupPairInfo.TargetGroupPairInfo
module Amazonka.CodeDeploy.Types.LoadBalancerInfo
-- | Information about the Elastic Load Balancing load balancer or target
-- group used in a deployment.
--
-- See: newLoadBalancerInfo smart constructor.
data LoadBalancerInfo
LoadBalancerInfo' :: Maybe [ELBInfo] -> Maybe [TargetGroupInfo] -> Maybe [TargetGroupPairInfo] -> LoadBalancerInfo
-- | An array that contains information about the load balancer to use for
-- load balancing in a deployment. In Elastic Load Balancing, load
-- balancers are used with Classic Load Balancers.
--
-- Adding more than one load balancer to the array is not supported.
[$sel:elbInfoList:LoadBalancerInfo'] :: LoadBalancerInfo -> Maybe [ELBInfo]
-- | An array that contains information about the target group to use for
-- load balancing in a deployment. In Elastic Load Balancing, target
-- groups are used with Application Load Balancers.
--
-- Adding more than one target group to the array is not supported.
[$sel:targetGroupInfoList:LoadBalancerInfo'] :: LoadBalancerInfo -> Maybe [TargetGroupInfo]
-- | The target group pair information. This is an array of
-- TargeGroupPairInfo objects with a maximum size of one.
[$sel:targetGroupPairInfoList:LoadBalancerInfo'] :: LoadBalancerInfo -> Maybe [TargetGroupPairInfo]
-- | Create a value of LoadBalancerInfo with all optional fields
-- omitted.
--
-- 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:elbInfoList:LoadBalancerInfo',
-- loadBalancerInfo_elbInfoList - An array that contains
-- information about the load balancer to use for load balancing in a
-- deployment. In Elastic Load Balancing, load balancers are used with
-- Classic Load Balancers.
--
-- Adding more than one load balancer to the array is not supported.
--
-- $sel:targetGroupInfoList:LoadBalancerInfo',
-- loadBalancerInfo_targetGroupInfoList - An array that contains
-- information about the target group to use for load balancing in a
-- deployment. In Elastic Load Balancing, target groups are used with
-- Application Load Balancers.
--
-- Adding more than one target group to the array is not supported.
--
-- $sel:targetGroupPairInfoList:LoadBalancerInfo',
-- loadBalancerInfo_targetGroupPairInfoList - The target group
-- pair information. This is an array of TargeGroupPairInfo
-- objects with a maximum size of one.
newLoadBalancerInfo :: LoadBalancerInfo
-- | An array that contains information about the load balancer to use for
-- load balancing in a deployment. In Elastic Load Balancing, load
-- balancers are used with Classic Load Balancers.
--
-- Adding more than one load balancer to the array is not supported.
loadBalancerInfo_elbInfoList :: Lens' LoadBalancerInfo (Maybe [ELBInfo])
-- | An array that contains information about the target group to use for
-- load balancing in a deployment. In Elastic Load Balancing, target
-- groups are used with Application Load Balancers.
--
-- Adding more than one target group to the array is not supported.
loadBalancerInfo_targetGroupInfoList :: Lens' LoadBalancerInfo (Maybe [TargetGroupInfo])
-- | The target group pair information. This is an array of
-- TargeGroupPairInfo objects with a maximum size of one.
loadBalancerInfo_targetGroupPairInfoList :: Lens' LoadBalancerInfo (Maybe [TargetGroupPairInfo])
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.LoadBalancerInfo.LoadBalancerInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.LoadBalancerInfo.LoadBalancerInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.LoadBalancerInfo.LoadBalancerInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.LoadBalancerInfo.LoadBalancerInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.LoadBalancerInfo.LoadBalancerInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.LoadBalancerInfo.LoadBalancerInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.LoadBalancerInfo.LoadBalancerInfo
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.LoadBalancerInfo.LoadBalancerInfo
module Amazonka.CodeDeploy.Types.DeploymentInfo
-- | Information about a deployment.
--
-- See: newDeploymentInfo smart constructor.
data DeploymentInfo
DeploymentInfo' :: Maybe Text -> Maybe Text -> Maybe AutoRollbackConfiguration -> Maybe BlueGreenDeploymentConfiguration -> Maybe POSIX -> Maybe ComputePlatform -> Maybe POSIX -> Maybe DeploymentCreator -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeploymentOverview -> Maybe [Text] -> Maybe DeploymentStyle -> Maybe Text -> Maybe ErrorInformation -> Maybe Text -> Maybe FileExistsBehavior -> Maybe Bool -> Maybe Bool -> Maybe LoadBalancerInfo -> Maybe AlarmConfiguration -> Maybe RevisionLocation -> Maybe RelatedDeployments -> Maybe RevisionLocation -> Maybe RollbackInfo -> Maybe POSIX -> Maybe DeploymentStatus -> Maybe TargetInstances -> Maybe Bool -> DeploymentInfo
-- | Provides information about the results of a deployment, such as
-- whether instances in the original environment in a blue/green
-- deployment were not terminated.
[$sel:additionalDeploymentStatusInfo:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | The application name.
[$sel:applicationName:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | Information about the automatic rollback configuration associated with
-- the deployment.
[$sel:autoRollbackConfiguration:DeploymentInfo'] :: DeploymentInfo -> Maybe AutoRollbackConfiguration
-- | Information about blue/green deployment options for this deployment.
[$sel:blueGreenDeploymentConfiguration:DeploymentInfo'] :: DeploymentInfo -> Maybe BlueGreenDeploymentConfiguration
-- | A timestamp that indicates when the deployment was complete.
[$sel:completeTime:DeploymentInfo'] :: DeploymentInfo -> Maybe POSIX
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
[$sel:computePlatform:DeploymentInfo'] :: DeploymentInfo -> Maybe ComputePlatform
-- | A timestamp that indicates when the deployment was created.
[$sel:createTime:DeploymentInfo'] :: DeploymentInfo -> Maybe POSIX
-- | The means by which the deployment was created:
--
--
-- - user: A user created the deployment.
-- - autoscaling: Amazon EC2 Auto Scaling created the
-- deployment.
-- - codeDeployRollback: A rollback process created the
-- deployment.
-- - CodeDeployAutoUpdate: An auto-update process created the
-- deployment when it detected outdated Amazon EC2 instances.
--
[$sel:creator:DeploymentInfo'] :: DeploymentInfo -> Maybe DeploymentCreator
-- | The deployment configuration name.
[$sel:deploymentConfigName:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | The deployment group name.
[$sel:deploymentGroupName:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | The unique ID of a deployment.
[$sel:deploymentId:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | A summary of the deployment status of the instances in the deployment.
[$sel:deploymentOverview:DeploymentInfo'] :: DeploymentInfo -> Maybe DeploymentOverview
-- | Messages that contain information about the status of a deployment.
[$sel:deploymentStatusMessages:DeploymentInfo'] :: DeploymentInfo -> Maybe [Text]
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
[$sel:deploymentStyle:DeploymentInfo'] :: DeploymentInfo -> Maybe DeploymentStyle
-- | A comment about the deployment.
[$sel:description:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | Information about any error associated with this deployment.
[$sel:errorInformation:DeploymentInfo'] :: DeploymentInfo -> Maybe ErrorInformation
-- | The unique ID for an external resource (for example, a CloudFormation
-- stack ID) that is linked to this deployment.
[$sel:externalId:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | Information about how CodeDeploy handles files that already exist in a
-- deployment target location but weren't part of the previous successful
-- deployment.
--
--
-- - DISALLOW: The deployment fails. This is also the default
-- behavior if no option is specified.
-- - OVERWRITE: The version of the file from the application
-- revision currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance
-- is kept and used as part of the new deployment.
--
[$sel:fileExistsBehavior:DeploymentInfo'] :: DeploymentInfo -> Maybe FileExistsBehavior
-- | If true, then if an ApplicationStop,
-- BeforeBlockTraffic, or AfterBlockTraffic deployment
-- lifecycle event to an instance fails, then the deployment continues to
-- the next deployment lifecycle event. For example, if
-- ApplicationStop fails, the deployment continues with
-- DownloadBundle. If BeforeBlockTraffic fails, the deployment
-- continues with BlockTraffic. If AfterBlockTraffic
-- fails, the deployment continues with ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
[$sel:ignoreApplicationStopFailures:DeploymentInfo'] :: DeploymentInfo -> Maybe Bool
-- | Indicates whether the wait period set for the termination of instances
-- in the original environment has started. Status is 'false' if the
-- KEEP_ALIVE option is specified. Otherwise, 'true' as soon as the
-- termination wait period starts.
[$sel:instanceTerminationWaitTimeStarted:DeploymentInfo'] :: DeploymentInfo -> Maybe Bool
-- | Information about the load balancer used in the deployment.
[$sel:loadBalancerInfo:DeploymentInfo'] :: DeploymentInfo -> Maybe LoadBalancerInfo
[$sel:overrideAlarmConfiguration:DeploymentInfo'] :: DeploymentInfo -> Maybe AlarmConfiguration
-- | Information about the application revision that was deployed to the
-- deployment group before the most recent successful deployment.
[$sel:previousRevision:DeploymentInfo'] :: DeploymentInfo -> Maybe RevisionLocation
[$sel:relatedDeployments:DeploymentInfo'] :: DeploymentInfo -> Maybe RelatedDeployments
-- | Information about the location of stored application artifacts and the
-- service from which to retrieve them.
[$sel:revision:DeploymentInfo'] :: DeploymentInfo -> Maybe RevisionLocation
-- | Information about a deployment rollback.
[$sel:rollbackInfo:DeploymentInfo'] :: DeploymentInfo -> Maybe RollbackInfo
-- | A timestamp that indicates when the deployment was deployed to the
-- deployment group.
--
-- In some cases, the reported value of the start time might be later
-- than the complete time. This is due to differences in the clock
-- settings of backend servers that participate in the deployment
-- process.
[$sel:startTime:DeploymentInfo'] :: DeploymentInfo -> Maybe POSIX
-- | The current state of the deployment as a whole.
[$sel:status:DeploymentInfo'] :: DeploymentInfo -> Maybe DeploymentStatus
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
[$sel:targetInstances:DeploymentInfo'] :: DeploymentInfo -> Maybe TargetInstances
-- | Indicates whether only instances that are not running the latest
-- application revision are to be deployed to.
[$sel:updateOutdatedInstancesOnly:DeploymentInfo'] :: DeploymentInfo -> Maybe Bool
-- | Create a value of DeploymentInfo with all optional fields
-- omitted.
--
-- 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:additionalDeploymentStatusInfo:DeploymentInfo',
-- deploymentInfo_additionalDeploymentStatusInfo - Provides
-- information about the results of a deployment, such as whether
-- instances in the original environment in a blue/green deployment were
-- not terminated.
--
-- $sel:applicationName:DeploymentInfo',
-- deploymentInfo_applicationName - The application name.
--
-- $sel:autoRollbackConfiguration:DeploymentInfo',
-- deploymentInfo_autoRollbackConfiguration - Information about
-- the automatic rollback configuration associated with the deployment.
--
-- $sel:blueGreenDeploymentConfiguration:DeploymentInfo',
-- deploymentInfo_blueGreenDeploymentConfiguration - Information
-- about blue/green deployment options for this deployment.
--
-- $sel:completeTime:DeploymentInfo',
-- deploymentInfo_completeTime - A timestamp that indicates when
-- the deployment was complete.
--
-- $sel:computePlatform:DeploymentInfo',
-- deploymentInfo_computePlatform - The destination platform type
-- for the deployment (Lambda, Server, or
-- ECS).
--
-- $sel:createTime:DeploymentInfo',
-- deploymentInfo_createTime - A timestamp that indicates when the
-- deployment was created.
--
-- $sel:creator:DeploymentInfo', deploymentInfo_creator -
-- The means by which the deployment was created:
--
--
-- - user: A user created the deployment.
-- - autoscaling: Amazon EC2 Auto Scaling created the
-- deployment.
-- - codeDeployRollback: A rollback process created the
-- deployment.
-- - CodeDeployAutoUpdate: An auto-update process created the
-- deployment when it detected outdated Amazon EC2 instances.
--
--
-- $sel:deploymentConfigName:DeploymentInfo',
-- deploymentInfo_deploymentConfigName - The deployment
-- configuration name.
--
-- $sel:deploymentGroupName:DeploymentInfo',
-- deploymentInfo_deploymentGroupName - The deployment group name.
--
-- $sel:deploymentId:DeploymentInfo',
-- deploymentInfo_deploymentId - The unique ID of a deployment.
--
-- $sel:deploymentOverview:DeploymentInfo',
-- deploymentInfo_deploymentOverview - A summary of the deployment
-- status of the instances in the deployment.
--
-- $sel:deploymentStatusMessages:DeploymentInfo',
-- deploymentInfo_deploymentStatusMessages - Messages that contain
-- information about the status of a deployment.
--
-- $sel:deploymentStyle:DeploymentInfo',
-- deploymentInfo_deploymentStyle - Information about the type of
-- deployment, either in-place or blue/green, you want to run and whether
-- to route deployment traffic behind a load balancer.
--
-- $sel:description:DeploymentInfo',
-- deploymentInfo_description - A comment about the deployment.
--
-- $sel:errorInformation:DeploymentInfo',
-- deploymentInfo_errorInformation - Information about any error
-- associated with this deployment.
--
-- $sel:externalId:DeploymentInfo',
-- deploymentInfo_externalId - The unique ID for an external
-- resource (for example, a CloudFormation stack ID) that is linked to
-- this deployment.
--
-- $sel:fileExistsBehavior:DeploymentInfo',
-- deploymentInfo_fileExistsBehavior - Information about how
-- CodeDeploy handles files that already exist in a deployment target
-- location but weren't part of the previous successful deployment.
--
--
-- - DISALLOW: The deployment fails. This is also the default
-- behavior if no option is specified.
-- - OVERWRITE: The version of the file from the application
-- revision currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance
-- is kept and used as part of the new deployment.
--
--
-- $sel:ignoreApplicationStopFailures:DeploymentInfo',
-- deploymentInfo_ignoreApplicationStopFailures - If true, then if
-- an ApplicationStop, BeforeBlockTraffic, or
-- AfterBlockTraffic deployment lifecycle event to an instance
-- fails, then the deployment continues to the next deployment lifecycle
-- event. For example, if ApplicationStop fails, the deployment
-- continues with DownloadBundle. If BeforeBlockTraffic fails,
-- the deployment continues with BlockTraffic. If
-- AfterBlockTraffic fails, the deployment continues with
-- ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
--
-- $sel:instanceTerminationWaitTimeStarted:DeploymentInfo',
-- deploymentInfo_instanceTerminationWaitTimeStarted - Indicates
-- whether the wait period set for the termination of instances in the
-- original environment has started. Status is 'false' if the KEEP_ALIVE
-- option is specified. Otherwise, 'true' as soon as the termination wait
-- period starts.
--
-- $sel:loadBalancerInfo:DeploymentInfo',
-- deploymentInfo_loadBalancerInfo - Information about the load
-- balancer used in the deployment.
--
-- $sel:overrideAlarmConfiguration:DeploymentInfo',
-- deploymentInfo_overrideAlarmConfiguration - Undocumented
-- member.
--
-- $sel:previousRevision:DeploymentInfo',
-- deploymentInfo_previousRevision - Information about the
-- application revision that was deployed to the deployment group before
-- the most recent successful deployment.
--
-- $sel:relatedDeployments:DeploymentInfo',
-- deploymentInfo_relatedDeployments - Undocumented member.
--
-- $sel:revision:DeploymentInfo', deploymentInfo_revision -
-- Information about the location of stored application artifacts and the
-- service from which to retrieve them.
--
-- $sel:rollbackInfo:DeploymentInfo',
-- deploymentInfo_rollbackInfo - Information about a deployment
-- rollback.
--
-- $sel:startTime:DeploymentInfo', deploymentInfo_startTime
-- - A timestamp that indicates when the deployment was deployed to the
-- deployment group.
--
-- In some cases, the reported value of the start time might be later
-- than the complete time. This is due to differences in the clock
-- settings of backend servers that participate in the deployment
-- process.
--
-- $sel:status:DeploymentInfo', deploymentInfo_status - The
-- current state of the deployment as a whole.
--
-- $sel:targetInstances:DeploymentInfo',
-- deploymentInfo_targetInstances - Information about the
-- instances that belong to the replacement environment in a blue/green
-- deployment.
--
-- $sel:updateOutdatedInstancesOnly:DeploymentInfo',
-- deploymentInfo_updateOutdatedInstancesOnly - Indicates whether
-- only instances that are not running the latest application revision
-- are to be deployed to.
newDeploymentInfo :: DeploymentInfo
-- | Provides information about the results of a deployment, such as
-- whether instances in the original environment in a blue/green
-- deployment were not terminated.
deploymentInfo_additionalDeploymentStatusInfo :: Lens' DeploymentInfo (Maybe Text)
-- | The application name.
deploymentInfo_applicationName :: Lens' DeploymentInfo (Maybe Text)
-- | Information about the automatic rollback configuration associated with
-- the deployment.
deploymentInfo_autoRollbackConfiguration :: Lens' DeploymentInfo (Maybe AutoRollbackConfiguration)
-- | Information about blue/green deployment options for this deployment.
deploymentInfo_blueGreenDeploymentConfiguration :: Lens' DeploymentInfo (Maybe BlueGreenDeploymentConfiguration)
-- | A timestamp that indicates when the deployment was complete.
deploymentInfo_completeTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
deploymentInfo_computePlatform :: Lens' DeploymentInfo (Maybe ComputePlatform)
-- | A timestamp that indicates when the deployment was created.
deploymentInfo_createTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | The means by which the deployment was created:
--
--
-- - user: A user created the deployment.
-- - autoscaling: Amazon EC2 Auto Scaling created the
-- deployment.
-- - codeDeployRollback: A rollback process created the
-- deployment.
-- - CodeDeployAutoUpdate: An auto-update process created the
-- deployment when it detected outdated Amazon EC2 instances.
--
deploymentInfo_creator :: Lens' DeploymentInfo (Maybe DeploymentCreator)
-- | The deployment configuration name.
deploymentInfo_deploymentConfigName :: Lens' DeploymentInfo (Maybe Text)
-- | The deployment group name.
deploymentInfo_deploymentGroupName :: Lens' DeploymentInfo (Maybe Text)
-- | The unique ID of a deployment.
deploymentInfo_deploymentId :: Lens' DeploymentInfo (Maybe Text)
-- | A summary of the deployment status of the instances in the deployment.
deploymentInfo_deploymentOverview :: Lens' DeploymentInfo (Maybe DeploymentOverview)
-- | Messages that contain information about the status of a deployment.
deploymentInfo_deploymentStatusMessages :: Lens' DeploymentInfo (Maybe [Text])
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
deploymentInfo_deploymentStyle :: Lens' DeploymentInfo (Maybe DeploymentStyle)
-- | A comment about the deployment.
deploymentInfo_description :: Lens' DeploymentInfo (Maybe Text)
-- | Information about any error associated with this deployment.
deploymentInfo_errorInformation :: Lens' DeploymentInfo (Maybe ErrorInformation)
-- | The unique ID for an external resource (for example, a CloudFormation
-- stack ID) that is linked to this deployment.
deploymentInfo_externalId :: Lens' DeploymentInfo (Maybe Text)
-- | Information about how CodeDeploy handles files that already exist in a
-- deployment target location but weren't part of the previous successful
-- deployment.
--
--
-- - DISALLOW: The deployment fails. This is also the default
-- behavior if no option is specified.
-- - OVERWRITE: The version of the file from the application
-- revision currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance
-- is kept and used as part of the new deployment.
--
deploymentInfo_fileExistsBehavior :: Lens' DeploymentInfo (Maybe FileExistsBehavior)
-- | If true, then if an ApplicationStop,
-- BeforeBlockTraffic, or AfterBlockTraffic deployment
-- lifecycle event to an instance fails, then the deployment continues to
-- the next deployment lifecycle event. For example, if
-- ApplicationStop fails, the deployment continues with
-- DownloadBundle. If BeforeBlockTraffic fails, the deployment
-- continues with BlockTraffic. If AfterBlockTraffic
-- fails, the deployment continues with ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
deploymentInfo_ignoreApplicationStopFailures :: Lens' DeploymentInfo (Maybe Bool)
-- | Indicates whether the wait period set for the termination of instances
-- in the original environment has started. Status is 'false' if the
-- KEEP_ALIVE option is specified. Otherwise, 'true' as soon as the
-- termination wait period starts.
deploymentInfo_instanceTerminationWaitTimeStarted :: Lens' DeploymentInfo (Maybe Bool)
-- | Information about the load balancer used in the deployment.
deploymentInfo_loadBalancerInfo :: Lens' DeploymentInfo (Maybe LoadBalancerInfo)
-- | Undocumented member.
deploymentInfo_overrideAlarmConfiguration :: Lens' DeploymentInfo (Maybe AlarmConfiguration)
-- | Information about the application revision that was deployed to the
-- deployment group before the most recent successful deployment.
deploymentInfo_previousRevision :: Lens' DeploymentInfo (Maybe RevisionLocation)
-- | Undocumented member.
deploymentInfo_relatedDeployments :: Lens' DeploymentInfo (Maybe RelatedDeployments)
-- | Information about the location of stored application artifacts and the
-- service from which to retrieve them.
deploymentInfo_revision :: Lens' DeploymentInfo (Maybe RevisionLocation)
-- | Information about a deployment rollback.
deploymentInfo_rollbackInfo :: Lens' DeploymentInfo (Maybe RollbackInfo)
-- | A timestamp that indicates when the deployment was deployed to the
-- deployment group.
--
-- In some cases, the reported value of the start time might be later
-- than the complete time. This is due to differences in the clock
-- settings of backend servers that participate in the deployment
-- process.
deploymentInfo_startTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | The current state of the deployment as a whole.
deploymentInfo_status :: Lens' DeploymentInfo (Maybe DeploymentStatus)
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
deploymentInfo_targetInstances :: Lens' DeploymentInfo (Maybe TargetInstances)
-- | Indicates whether only instances that are not running the latest
-- application revision are to be deployed to.
deploymentInfo_updateOutdatedInstancesOnly :: Lens' DeploymentInfo (Maybe Bool)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentInfo.DeploymentInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentInfo.DeploymentInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentInfo.DeploymentInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentInfo.DeploymentInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentInfo.DeploymentInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentInfo.DeploymentInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentInfo.DeploymentInfo
module Amazonka.CodeDeploy.Types.TrafficRoutingType
newtype TrafficRoutingType
TrafficRoutingType' :: Text -> TrafficRoutingType
[fromTrafficRoutingType] :: TrafficRoutingType -> Text
pattern TrafficRoutingType_AllAtOnce :: TrafficRoutingType
pattern TrafficRoutingType_TimeBasedCanary :: TrafficRoutingType
pattern TrafficRoutingType_TimeBasedLinear :: TrafficRoutingType
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TrafficRoutingType.TrafficRoutingType
module Amazonka.CodeDeploy.Types.TrafficRoutingConfig
-- | The configuration that specifies how traffic is shifted from one
-- version of a Lambda function to another version during an Lambda
-- deployment, or from one Amazon ECS task set to another during an
-- Amazon ECS deployment.
--
-- See: newTrafficRoutingConfig smart constructor.
data TrafficRoutingConfig
TrafficRoutingConfig' :: Maybe TimeBasedCanary -> Maybe TimeBasedLinear -> Maybe TrafficRoutingType -> TrafficRoutingConfig
-- | A configuration that shifts traffic from one version of a Lambda
-- function or ECS task set to another in two increments. The original
-- and target Lambda function versions or ECS task sets are specified in
-- the deployment's AppSpec file.
[$sel:timeBasedCanary:TrafficRoutingConfig'] :: TrafficRoutingConfig -> Maybe TimeBasedCanary
-- | A configuration that shifts traffic from one version of a Lambda
-- function or Amazon ECS task set to another in equal increments, with
-- an equal number of minutes between each increment. The original and
-- target Lambda function versions or Amazon ECS task sets are specified
-- in the deployment's AppSpec file.
[$sel:timeBasedLinear:TrafficRoutingConfig'] :: TrafficRoutingConfig -> Maybe TimeBasedLinear
-- | The type of traffic shifting (TimeBasedCanary or
-- TimeBasedLinear) used by a deployment configuration.
[$sel:type':TrafficRoutingConfig'] :: TrafficRoutingConfig -> Maybe TrafficRoutingType
-- | Create a value of TrafficRoutingConfig with all optional fields
-- omitted.
--
-- 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:timeBasedCanary:TrafficRoutingConfig',
-- trafficRoutingConfig_timeBasedCanary - A configuration that
-- shifts traffic from one version of a Lambda function or ECS task set
-- to another in two increments. The original and target Lambda function
-- versions or ECS task sets are specified in the deployment's AppSpec
-- file.
--
-- $sel:timeBasedLinear:TrafficRoutingConfig',
-- trafficRoutingConfig_timeBasedLinear - A configuration that
-- shifts traffic from one version of a Lambda function or Amazon ECS
-- task set to another in equal increments, with an equal number of
-- minutes between each increment. The original and target Lambda
-- function versions or Amazon ECS task sets are specified in the
-- deployment's AppSpec file.
--
-- $sel:type':TrafficRoutingConfig',
-- trafficRoutingConfig_type - The type of traffic shifting
-- (TimeBasedCanary or TimeBasedLinear) used by a
-- deployment configuration.
newTrafficRoutingConfig :: TrafficRoutingConfig
-- | A configuration that shifts traffic from one version of a Lambda
-- function or ECS task set to another in two increments. The original
-- and target Lambda function versions or ECS task sets are specified in
-- the deployment's AppSpec file.
trafficRoutingConfig_timeBasedCanary :: Lens' TrafficRoutingConfig (Maybe TimeBasedCanary)
-- | A configuration that shifts traffic from one version of a Lambda
-- function or Amazon ECS task set to another in equal increments, with
-- an equal number of minutes between each increment. The original and
-- target Lambda function versions or Amazon ECS task sets are specified
-- in the deployment's AppSpec file.
trafficRoutingConfig_timeBasedLinear :: Lens' TrafficRoutingConfig (Maybe TimeBasedLinear)
-- | The type of traffic shifting (TimeBasedCanary or
-- TimeBasedLinear) used by a deployment configuration.
trafficRoutingConfig_type :: Lens' TrafficRoutingConfig (Maybe TrafficRoutingType)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TrafficRoutingConfig.TrafficRoutingConfig
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TrafficRoutingConfig.TrafficRoutingConfig
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TrafficRoutingConfig.TrafficRoutingConfig
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TrafficRoutingConfig.TrafficRoutingConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TrafficRoutingConfig.TrafficRoutingConfig
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TrafficRoutingConfig.TrafficRoutingConfig
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TrafficRoutingConfig.TrafficRoutingConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TrafficRoutingConfig.TrafficRoutingConfig
module Amazonka.CodeDeploy.Types.DeploymentConfigInfo
-- | Information about a deployment configuration.
--
-- See: newDeploymentConfigInfo smart constructor.
data DeploymentConfigInfo
DeploymentConfigInfo' :: Maybe ComputePlatform -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe MinimumHealthyHosts -> Maybe TrafficRoutingConfig -> DeploymentConfigInfo
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
[$sel:computePlatform:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe ComputePlatform
-- | The time at which the deployment configuration was created.
[$sel:createTime:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe POSIX
-- | The deployment configuration ID.
[$sel:deploymentConfigId:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe Text
-- | The deployment configuration name.
[$sel:deploymentConfigName:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe Text
-- | Information about the number or percentage of minimum healthy
-- instance.
[$sel:minimumHealthyHosts:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe MinimumHealthyHosts
-- | The configuration that specifies how the deployment traffic is routed.
-- Used for deployments with a Lambda or Amazon ECS compute platform
-- only.
[$sel:trafficRoutingConfig:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe TrafficRoutingConfig
-- | Create a value of DeploymentConfigInfo with all optional fields
-- omitted.
--
-- 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:computePlatform:DeploymentConfigInfo',
-- deploymentConfigInfo_computePlatform - The destination platform
-- type for the deployment (Lambda, Server, or
-- ECS).
--
-- $sel:createTime:DeploymentConfigInfo',
-- deploymentConfigInfo_createTime - The time at which the
-- deployment configuration was created.
--
-- $sel:deploymentConfigId:DeploymentConfigInfo',
-- deploymentConfigInfo_deploymentConfigId - The deployment
-- configuration ID.
--
-- $sel:deploymentConfigName:DeploymentConfigInfo',
-- deploymentConfigInfo_deploymentConfigName - The deployment
-- configuration name.
--
-- $sel:minimumHealthyHosts:DeploymentConfigInfo',
-- deploymentConfigInfo_minimumHealthyHosts - Information about
-- the number or percentage of minimum healthy instance.
--
-- $sel:trafficRoutingConfig:DeploymentConfigInfo',
-- deploymentConfigInfo_trafficRoutingConfig - The configuration
-- that specifies how the deployment traffic is routed. Used for
-- deployments with a Lambda or Amazon ECS compute platform only.
newDeploymentConfigInfo :: DeploymentConfigInfo
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
deploymentConfigInfo_computePlatform :: Lens' DeploymentConfigInfo (Maybe ComputePlatform)
-- | The time at which the deployment configuration was created.
deploymentConfigInfo_createTime :: Lens' DeploymentConfigInfo (Maybe UTCTime)
-- | The deployment configuration ID.
deploymentConfigInfo_deploymentConfigId :: Lens' DeploymentConfigInfo (Maybe Text)
-- | The deployment configuration name.
deploymentConfigInfo_deploymentConfigName :: Lens' DeploymentConfigInfo (Maybe Text)
-- | Information about the number or percentage of minimum healthy
-- instance.
deploymentConfigInfo_minimumHealthyHosts :: Lens' DeploymentConfigInfo (Maybe MinimumHealthyHosts)
-- | The configuration that specifies how the deployment traffic is routed.
-- Used for deployments with a Lambda or Amazon ECS compute platform
-- only.
deploymentConfigInfo_trafficRoutingConfig :: Lens' DeploymentConfigInfo (Maybe TrafficRoutingConfig)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentConfigInfo.DeploymentConfigInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentConfigInfo.DeploymentConfigInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentConfigInfo.DeploymentConfigInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentConfigInfo.DeploymentConfigInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentConfigInfo.DeploymentConfigInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentConfigInfo.DeploymentConfigInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentConfigInfo.DeploymentConfigInfo
module Amazonka.CodeDeploy.Types.TriggerEventType
newtype TriggerEventType
TriggerEventType' :: Text -> TriggerEventType
[fromTriggerEventType] :: TriggerEventType -> Text
pattern TriggerEventType_DeploymentFailure :: TriggerEventType
pattern TriggerEventType_DeploymentReady :: TriggerEventType
pattern TriggerEventType_DeploymentRollback :: TriggerEventType
pattern TriggerEventType_DeploymentStart :: TriggerEventType
pattern TriggerEventType_DeploymentStop :: TriggerEventType
pattern TriggerEventType_DeploymentSuccess :: TriggerEventType
pattern TriggerEventType_InstanceFailure :: TriggerEventType
pattern TriggerEventType_InstanceReady :: TriggerEventType
pattern TriggerEventType_InstanceStart :: TriggerEventType
pattern TriggerEventType_InstanceSuccess :: TriggerEventType
instance Amazonka.Data.XML.ToXML Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Amazonka.Data.XML.FromXML Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Amazonka.Data.Log.ToLog Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Amazonka.Data.Text.ToText Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Amazonka.Data.Text.FromText Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance GHC.Classes.Ord Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TriggerEventType.TriggerEventType
module Amazonka.CodeDeploy.Types.TriggerConfig
-- | Information about notification triggers for the deployment group.
--
-- See: newTriggerConfig smart constructor.
data TriggerConfig
TriggerConfig' :: Maybe [TriggerEventType] -> Maybe Text -> Maybe Text -> TriggerConfig
-- | The event type or types for which notifications are triggered.
[$sel:triggerEvents:TriggerConfig'] :: TriggerConfig -> Maybe [TriggerEventType]
-- | The name of the notification trigger.
[$sel:triggerName:TriggerConfig'] :: TriggerConfig -> Maybe Text
-- | The Amazon Resource Name (ARN) of the Amazon Simple Notification
-- Service topic through which notifications about deployment or instance
-- events are sent.
[$sel:triggerTargetArn:TriggerConfig'] :: TriggerConfig -> Maybe Text
-- | Create a value of TriggerConfig with all optional fields
-- omitted.
--
-- 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:triggerEvents:TriggerConfig',
-- triggerConfig_triggerEvents - The event type or types for which
-- notifications are triggered.
--
-- $sel:triggerName:TriggerConfig',
-- triggerConfig_triggerName - The name of the notification
-- trigger.
--
-- $sel:triggerTargetArn:TriggerConfig',
-- triggerConfig_triggerTargetArn - The Amazon Resource Name (ARN)
-- of the Amazon Simple Notification Service topic through which
-- notifications about deployment or instance events are sent.
newTriggerConfig :: TriggerConfig
-- | The event type or types for which notifications are triggered.
triggerConfig_triggerEvents :: Lens' TriggerConfig (Maybe [TriggerEventType])
-- | The name of the notification trigger.
triggerConfig_triggerName :: Lens' TriggerConfig (Maybe Text)
-- | The Amazon Resource Name (ARN) of the Amazon Simple Notification
-- Service topic through which notifications about deployment or instance
-- events are sent.
triggerConfig_triggerTargetArn :: Lens' TriggerConfig (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.TriggerConfig.TriggerConfig
instance GHC.Show.Show Amazonka.CodeDeploy.Types.TriggerConfig.TriggerConfig
instance GHC.Read.Read Amazonka.CodeDeploy.Types.TriggerConfig.TriggerConfig
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.TriggerConfig.TriggerConfig
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.TriggerConfig.TriggerConfig
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.TriggerConfig.TriggerConfig
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.TriggerConfig.TriggerConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.Types.TriggerConfig.TriggerConfig
module Amazonka.CodeDeploy.Types.DeploymentGroupInfo
-- | Information about a deployment group.
--
-- See: newDeploymentGroupInfo smart constructor.
data DeploymentGroupInfo
DeploymentGroupInfo' :: Maybe AlarmConfiguration -> Maybe Text -> Maybe AutoRollbackConfiguration -> Maybe [AutoScalingGroup] -> Maybe BlueGreenDeploymentConfiguration -> Maybe ComputePlatform -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeploymentStyle -> Maybe [EC2TagFilter] -> Maybe EC2TagSet -> Maybe [ECSService] -> Maybe LastDeploymentInfo -> Maybe LastDeploymentInfo -> Maybe LoadBalancerInfo -> Maybe [TagFilter] -> Maybe OnPremisesTagSet -> Maybe OutdatedInstancesStrategy -> Maybe Text -> Maybe RevisionLocation -> Maybe [TriggerConfig] -> DeploymentGroupInfo
-- | A list of alarms associated with the deployment group.
[$sel:alarmConfiguration:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe AlarmConfiguration
-- | The application name.
[$sel:applicationName:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe Text
-- | Information about the automatic rollback configuration associated with
-- the deployment group.
[$sel:autoRollbackConfiguration:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe AutoRollbackConfiguration
-- | A list of associated Auto Scaling groups.
[$sel:autoScalingGroups:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe [AutoScalingGroup]
-- | Information about blue/green deployment options for a deployment
-- group.
[$sel:blueGreenDeploymentConfiguration:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe BlueGreenDeploymentConfiguration
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
[$sel:computePlatform:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe ComputePlatform
-- | The deployment configuration name.
[$sel:deploymentConfigName:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe Text
-- | The deployment group ID.
[$sel:deploymentGroupId:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe Text
-- | The deployment group name.
[$sel:deploymentGroupName:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe Text
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
[$sel:deploymentStyle:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe DeploymentStyle
-- | The Amazon EC2 tags on which to filter. The deployment group includes
-- EC2 instances with any of the specified tags.
[$sel:ec2TagFilters:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe [EC2TagFilter]
-- | Information about groups of tags applied to an Amazon EC2 instance.
-- The deployment group includes only Amazon EC2 instances identified by
-- all of the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
[$sel:ec2TagSet:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe EC2TagSet
-- | The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
[$sel:ecsServices:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe [ECSService]
-- | Information about the most recent attempted deployment to the
-- deployment group.
[$sel:lastAttemptedDeployment:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe LastDeploymentInfo
-- | Information about the most recent successful deployment to the
-- deployment group.
[$sel:lastSuccessfulDeployment:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe LastDeploymentInfo
-- | Information about the load balancer to use in a deployment.
[$sel:loadBalancerInfo:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe LoadBalancerInfo
-- | The on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags.
[$sel:onPremisesInstanceTagFilters:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe [TagFilter]
-- | Information about groups of tags applied to an on-premises instance.
-- The deployment group includes only on-premises instances identified by
-- all the tag groups. Cannot be used in the same call as
-- onPremisesInstanceTagFilters.
[$sel:onPremisesTagSet:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe OnPremisesTagSet
-- | Indicates what happens when new Amazon EC2 instances are launched
-- mid-deployment and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
[$sel:outdatedInstancesStrategy:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe OutdatedInstancesStrategy
-- | A service role Amazon Resource Name (ARN) that grants CodeDeploy
-- permission to make calls to Amazon Web Services services on your
-- behalf. For more information, see Create a Service Role for
-- CodeDeploy in the CodeDeploy User Guide.
[$sel:serviceRoleArn:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe Text
-- | Information about the deployment group's target revision, including
-- type and location.
[$sel:targetRevision:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe RevisionLocation
-- | Information about triggers associated with the deployment group.
[$sel:triggerConfigurations:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe [TriggerConfig]
-- | Create a value of DeploymentGroupInfo with all optional fields
-- omitted.
--
-- 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:alarmConfiguration:DeploymentGroupInfo',
-- deploymentGroupInfo_alarmConfiguration - A list of alarms
-- associated with the deployment group.
--
-- $sel:applicationName:DeploymentGroupInfo',
-- deploymentGroupInfo_applicationName - The application name.
--
-- $sel:autoRollbackConfiguration:DeploymentGroupInfo',
-- deploymentGroupInfo_autoRollbackConfiguration - Information
-- about the automatic rollback configuration associated with the
-- deployment group.
--
-- $sel:autoScalingGroups:DeploymentGroupInfo',
-- deploymentGroupInfo_autoScalingGroups - A list of associated
-- Auto Scaling groups.
--
-- $sel:blueGreenDeploymentConfiguration:DeploymentGroupInfo',
-- deploymentGroupInfo_blueGreenDeploymentConfiguration -
-- Information about blue/green deployment options for a deployment
-- group.
--
-- $sel:computePlatform:DeploymentGroupInfo',
-- deploymentGroupInfo_computePlatform - The destination platform
-- type for the deployment (Lambda, Server, or
-- ECS).
--
-- $sel:deploymentConfigName:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentConfigName - The deployment
-- configuration name.
--
-- $sel:deploymentGroupId:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentGroupId - The deployment group
-- ID.
--
-- $sel:deploymentGroupName:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentGroupName - The deployment group
-- name.
--
-- $sel:deploymentStyle:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentStyle - Information about the
-- type of deployment, either in-place or blue/green, you want to run and
-- whether to route deployment traffic behind a load balancer.
--
-- $sel:ec2TagFilters:DeploymentGroupInfo',
-- deploymentGroupInfo_ec2TagFilters - The Amazon EC2 tags on
-- which to filter. The deployment group includes EC2 instances with any
-- of the specified tags.
--
-- $sel:ec2TagSet:DeploymentGroupInfo',
-- deploymentGroupInfo_ec2TagSet - Information about groups of
-- tags applied to an Amazon EC2 instance. The deployment group includes
-- only Amazon EC2 instances identified by all of the tag groups. Cannot
-- be used in the same call as ec2TagFilters.
--
-- $sel:ecsServices:DeploymentGroupInfo',
-- deploymentGroupInfo_ecsServices - The target Amazon ECS
-- services in the deployment group. This applies only to deployment
-- groups that use the Amazon ECS compute platform. A target Amazon ECS
-- service is specified as an Amazon ECS cluster and service name pair
-- using the format <clustername>:<servicename>.
--
-- $sel:lastAttemptedDeployment:DeploymentGroupInfo',
-- deploymentGroupInfo_lastAttemptedDeployment - Information about
-- the most recent attempted deployment to the deployment group.
--
-- $sel:lastSuccessfulDeployment:DeploymentGroupInfo',
-- deploymentGroupInfo_lastSuccessfulDeployment - Information
-- about the most recent successful deployment to the deployment group.
--
-- $sel:loadBalancerInfo:DeploymentGroupInfo',
-- deploymentGroupInfo_loadBalancerInfo - Information about the
-- load balancer to use in a deployment.
--
-- $sel:onPremisesInstanceTagFilters:DeploymentGroupInfo',
-- deploymentGroupInfo_onPremisesInstanceTagFilters - The
-- on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags.
--
-- $sel:onPremisesTagSet:DeploymentGroupInfo',
-- deploymentGroupInfo_onPremisesTagSet - Information about groups
-- of tags applied to an on-premises instance. The deployment group
-- includes only on-premises instances identified by all the tag groups.
-- Cannot be used in the same call as onPremisesInstanceTagFilters.
--
-- $sel:outdatedInstancesStrategy:DeploymentGroupInfo',
-- deploymentGroupInfo_outdatedInstancesStrategy - Indicates what
-- happens when new Amazon EC2 instances are launched mid-deployment and
-- do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
--
-- $sel:serviceRoleArn:DeploymentGroupInfo',
-- deploymentGroupInfo_serviceRoleArn - A service role Amazon
-- Resource Name (ARN) that grants CodeDeploy permission to make calls to
-- Amazon Web Services services on your behalf. For more information, see
-- Create a Service Role for CodeDeploy in the CodeDeploy User
-- Guide.
--
-- $sel:targetRevision:DeploymentGroupInfo',
-- deploymentGroupInfo_targetRevision - Information about the
-- deployment group's target revision, including type and location.
--
-- $sel:triggerConfigurations:DeploymentGroupInfo',
-- deploymentGroupInfo_triggerConfigurations - Information about
-- triggers associated with the deployment group.
newDeploymentGroupInfo :: DeploymentGroupInfo
-- | A list of alarms associated with the deployment group.
deploymentGroupInfo_alarmConfiguration :: Lens' DeploymentGroupInfo (Maybe AlarmConfiguration)
-- | The application name.
deploymentGroupInfo_applicationName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about the automatic rollback configuration associated with
-- the deployment group.
deploymentGroupInfo_autoRollbackConfiguration :: Lens' DeploymentGroupInfo (Maybe AutoRollbackConfiguration)
-- | A list of associated Auto Scaling groups.
deploymentGroupInfo_autoScalingGroups :: Lens' DeploymentGroupInfo (Maybe [AutoScalingGroup])
-- | Information about blue/green deployment options for a deployment
-- group.
deploymentGroupInfo_blueGreenDeploymentConfiguration :: Lens' DeploymentGroupInfo (Maybe BlueGreenDeploymentConfiguration)
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
deploymentGroupInfo_computePlatform :: Lens' DeploymentGroupInfo (Maybe ComputePlatform)
-- | The deployment configuration name.
deploymentGroupInfo_deploymentConfigName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | The deployment group ID.
deploymentGroupInfo_deploymentGroupId :: Lens' DeploymentGroupInfo (Maybe Text)
-- | The deployment group name.
deploymentGroupInfo_deploymentGroupName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
deploymentGroupInfo_deploymentStyle :: Lens' DeploymentGroupInfo (Maybe DeploymentStyle)
-- | The Amazon EC2 tags on which to filter. The deployment group includes
-- EC2 instances with any of the specified tags.
deploymentGroupInfo_ec2TagFilters :: Lens' DeploymentGroupInfo (Maybe [EC2TagFilter])
-- | Information about groups of tags applied to an Amazon EC2 instance.
-- The deployment group includes only Amazon EC2 instances identified by
-- all of the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
deploymentGroupInfo_ec2TagSet :: Lens' DeploymentGroupInfo (Maybe EC2TagSet)
-- | The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
deploymentGroupInfo_ecsServices :: Lens' DeploymentGroupInfo (Maybe [ECSService])
-- | Information about the most recent attempted deployment to the
-- deployment group.
deploymentGroupInfo_lastAttemptedDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo)
-- | Information about the most recent successful deployment to the
-- deployment group.
deploymentGroupInfo_lastSuccessfulDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo)
-- | Information about the load balancer to use in a deployment.
deploymentGroupInfo_loadBalancerInfo :: Lens' DeploymentGroupInfo (Maybe LoadBalancerInfo)
-- | The on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags.
deploymentGroupInfo_onPremisesInstanceTagFilters :: Lens' DeploymentGroupInfo (Maybe [TagFilter])
-- | Information about groups of tags applied to an on-premises instance.
-- The deployment group includes only on-premises instances identified by
-- all the tag groups. Cannot be used in the same call as
-- onPremisesInstanceTagFilters.
deploymentGroupInfo_onPremisesTagSet :: Lens' DeploymentGroupInfo (Maybe OnPremisesTagSet)
-- | Indicates what happens when new Amazon EC2 instances are launched
-- mid-deployment and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
deploymentGroupInfo_outdatedInstancesStrategy :: Lens' DeploymentGroupInfo (Maybe OutdatedInstancesStrategy)
-- | A service role Amazon Resource Name (ARN) that grants CodeDeploy
-- permission to make calls to Amazon Web Services services on your
-- behalf. For more information, see Create a Service Role for
-- CodeDeploy in the CodeDeploy User Guide.
deploymentGroupInfo_serviceRoleArn :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about the deployment group's target revision, including
-- type and location.
deploymentGroupInfo_targetRevision :: Lens' DeploymentGroupInfo (Maybe RevisionLocation)
-- | Information about triggers associated with the deployment group.
deploymentGroupInfo_triggerConfigurations :: Lens' DeploymentGroupInfo (Maybe [TriggerConfig])
instance GHC.Generics.Generic Amazonka.CodeDeploy.Types.DeploymentGroupInfo.DeploymentGroupInfo
instance GHC.Show.Show Amazonka.CodeDeploy.Types.DeploymentGroupInfo.DeploymentGroupInfo
instance GHC.Read.Read Amazonka.CodeDeploy.Types.DeploymentGroupInfo.DeploymentGroupInfo
instance GHC.Classes.Eq Amazonka.CodeDeploy.Types.DeploymentGroupInfo.DeploymentGroupInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeDeploy.Types.DeploymentGroupInfo.DeploymentGroupInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.Types.DeploymentGroupInfo.DeploymentGroupInfo
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.Types.DeploymentGroupInfo.DeploymentGroupInfo
module Amazonka.CodeDeploy.Types
-- | API version 2014-10-06 of the Amazon CodeDeploy SDK
-- configuration.
defaultService :: Service
-- | The maximum number of alarms for a deployment group (10) was exceeded.
_AlarmsLimitExceededException :: AsError a => Fold a ServiceError
-- | An application with the specified name with the IAM user or Amazon Web
-- Services account already exists.
_ApplicationAlreadyExistsException :: AsError a => Fold a ServiceError
-- | The application does not exist with the IAM user or Amazon Web
-- Services account.
_ApplicationDoesNotExistException :: AsError a => Fold a ServiceError
-- | More applications were attempted to be created than are allowed.
_ApplicationLimitExceededException :: AsError a => Fold a ServiceError
-- | The minimum number of required application names was not specified.
_ApplicationNameRequiredException :: AsError a => Fold a ServiceError
-- | The specified ARN is not supported. For example, it might be an ARN
-- for a resource that is not expected.
_ArnNotSupportedException :: AsError a => Fold a ServiceError
-- | The maximum number of names or IDs allowed for this request (100) was
-- exceeded.
_BatchLimitExceededException :: AsError a => Fold a ServiceError
-- | A bucket name is required, but was not provided.
_BucketNameFilterRequiredException :: AsError a => Fold a ServiceError
-- | The deployment is already complete.
_DeploymentAlreadyCompletedException :: AsError a => Fold a ServiceError
-- | A deployment to a target was attempted while another deployment was in
-- progress.
_DeploymentAlreadyStartedException :: AsError a => Fold a ServiceError
-- | A deployment configuration with the specified name with the IAM user
-- or Amazon Web Services account already exists.
_DeploymentConfigAlreadyExistsException :: AsError a => Fold a ServiceError
-- | The deployment configuration does not exist with the IAM user or
-- Amazon Web Services account.
_DeploymentConfigDoesNotExistException :: AsError a => Fold a ServiceError
-- | The deployment configuration is still in use.
_DeploymentConfigInUseException :: AsError a => Fold a ServiceError
-- | The deployment configurations limit was exceeded.
_DeploymentConfigLimitExceededException :: AsError a => Fold a ServiceError
-- | The deployment configuration name was not specified.
_DeploymentConfigNameRequiredException :: AsError a => Fold a ServiceError
-- | The deployment with the IAM user or Amazon Web Services account does
-- not exist.
_DeploymentDoesNotExistException :: AsError a => Fold a ServiceError
-- | A deployment group with the specified name with the IAM user or Amazon
-- Web Services account already exists.
_DeploymentGroupAlreadyExistsException :: AsError a => Fold a ServiceError
-- | The named deployment group with the IAM user or Amazon Web Services
-- account does not exist.
_DeploymentGroupDoesNotExistException :: AsError a => Fold a ServiceError
-- | The deployment groups limit was exceeded.
_DeploymentGroupLimitExceededException :: AsError a => Fold a ServiceError
-- | The deployment group name was not specified.
_DeploymentGroupNameRequiredException :: AsError a => Fold a ServiceError
-- | At least one deployment ID must be specified.
_DeploymentIdRequiredException :: AsError a => Fold a ServiceError
-- | The deployment does not have a status of Ready and can't continue yet.
_DeploymentIsNotInReadyStateException :: AsError a => Fold a ServiceError
-- | The number of allowed deployments was exceeded.
_DeploymentLimitExceededException :: AsError a => Fold a ServiceError
-- | The specified deployment has not started.
_DeploymentNotStartedException :: AsError a => Fold a ServiceError
-- | The provided target ID does not belong to the attempted deployment.
_DeploymentTargetDoesNotExistException :: AsError a => Fold a ServiceError
-- | A deployment target ID was not provided.
_DeploymentTargetIdRequiredException :: AsError a => Fold a ServiceError
-- | The maximum number of targets that can be associated with an Amazon
-- ECS or Lambda deployment was exceeded. The target list of both types
-- of deployments must have exactly one item. This exception does not
-- apply to EC2/On-premises deployments.
_DeploymentTargetListSizeExceededException :: AsError a => Fold a ServiceError
-- | The description is too long.
_DescriptionTooLongException :: AsError a => Fold a ServiceError
-- | The Amazon ECS service is associated with more than one deployment
-- groups. An Amazon ECS service can be associated with only one
-- deployment group.
_ECSServiceMappingLimitExceededException :: AsError a => Fold a ServiceError
-- | No GitHub account connection exists with the named specified in the
-- call.
_GitHubAccountTokenDoesNotExistException :: AsError a => Fold a ServiceError
-- | The call is missing a required GitHub account connection name.
_GitHubAccountTokenNameRequiredException :: AsError a => Fold a ServiceError
-- | No IAM ARN was included in the request. You must use an IAM session
-- ARN or IAM user ARN in the request.
_IamArnRequiredException :: AsError a => Fold a ServiceError
-- | The request included an IAM session ARN that has already been used to
-- register a different instance.
_IamSessionArnAlreadyRegisteredException :: AsError a => Fold a ServiceError
-- | The specified IAM user ARN is already registered with an on-premises
-- instance.
_IamUserArnAlreadyRegisteredException :: AsError a => Fold a ServiceError
-- | An IAM user ARN was not specified.
_IamUserArnRequiredException :: AsError a => Fold a ServiceError
-- | The specified instance does not exist in the deployment group.
_InstanceDoesNotExistException :: AsError a => Fold a ServiceError
-- | The instance ID was not specified.
_InstanceIdRequiredException :: AsError a => Fold a ServiceError
-- | The maximum number of allowed on-premises instances in a single call
-- was exceeded.
_InstanceLimitExceededException :: AsError a => Fold a ServiceError
-- | The specified on-premises instance name is already registered.
_InstanceNameAlreadyRegisteredException :: AsError a => Fold a ServiceError
-- | An on-premises instance name was not specified.
_InstanceNameRequiredException :: AsError a => Fold a ServiceError
-- | The specified on-premises instance is not registered.
_InstanceNotRegisteredException :: AsError a => Fold a ServiceError
-- | The format of the alarm configuration is invalid. Possible causes
-- include:
--
--
-- - The alarm list is null.
-- - The alarm object is null.
-- - The alarm name is empty or null or exceeds the limit of 255
-- characters.
-- - Two alarms with the same name have been specified.
-- - The alarm configuration is enabled, but the alarm list is
-- empty.
--
_InvalidAlarmConfigException :: AsError a => Fold a ServiceError
-- | The application name was specified in an invalid format.
_InvalidApplicationNameException :: AsError a => Fold a ServiceError
-- | The specified ARN is not in a valid format.
_InvalidArnException :: AsError a => Fold a ServiceError
-- | The automatic rollback configuration was specified in an invalid
-- format. For example, automatic rollback is enabled, but an invalid
-- triggering event type or no event types were listed.
_InvalidAutoRollbackConfigException :: AsError a => Fold a ServiceError
-- | The Auto Scaling group was specified in an invalid format or does not
-- exist.
_InvalidAutoScalingGroupException :: AsError a => Fold a ServiceError
-- | The configuration for the blue/green deployment group was provided in
-- an invalid format. For information about deployment configuration
-- format, see CreateDeploymentConfig.
_InvalidBlueGreenDeploymentConfigurationException :: AsError a => Fold a ServiceError
-- | The bucket name either doesn't exist or was specified in an invalid
-- format.
_InvalidBucketNameFilterException :: AsError a => Fold a ServiceError
-- | The computePlatform is invalid. The computePlatform should be
-- Lambda, Server, or ECS.
_InvalidComputePlatformException :: AsError a => Fold a ServiceError
-- | The deployed state filter was specified in an invalid format.
_InvalidDeployedStateFilterException :: AsError a => Fold a ServiceError
-- | The deployment configuration name was specified in an invalid format.
_InvalidDeploymentConfigNameException :: AsError a => Fold a ServiceError
-- | The deployment group name was specified in an invalid format.
_InvalidDeploymentGroupNameException :: AsError a => Fold a ServiceError
-- | At least one of the deployment IDs was specified in an invalid format.
_InvalidDeploymentIdException :: AsError a => Fold a ServiceError
-- | An instance type was specified for an in-place deployment. Instance
-- types are supported for blue/green deployments only.
_InvalidDeploymentInstanceTypeException :: AsError a => Fold a ServiceError
-- | The specified deployment status doesn't exist or cannot be determined.
_InvalidDeploymentStatusException :: AsError a => Fold a ServiceError
-- | An invalid deployment style was specified. Valid deployment types
-- include "IN_PLACE" and "BLUE_GREEN." Valid deployment options include
-- "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL."
_InvalidDeploymentStyleException :: AsError a => Fold a ServiceError
-- | The target ID provided was not valid.
_InvalidDeploymentTargetIdException :: AsError a => Fold a ServiceError
-- | The wait type is invalid.
_InvalidDeploymentWaitTypeException :: AsError a => Fold a ServiceError
-- | A call was submitted that specified both Ec2TagFilters and Ec2TagSet,
-- but only one of these data types can be used in a single call.
_InvalidEC2TagCombinationException :: AsError a => Fold a ServiceError
-- | The tag was specified in an invalid format.
_InvalidEC2TagException :: AsError a => Fold a ServiceError
-- | The Amazon ECS service identifier is not valid.
_InvalidECSServiceException :: AsError a => Fold a ServiceError
-- | The external ID was specified in an invalid format.
_InvalidExternalIdException :: AsError a => Fold a ServiceError
-- | An invalid fileExistsBehavior option was specified to determine how
-- CodeDeploy handles files or directories that already exist in a
-- deployment target location, but weren't part of the previous
-- successful deployment. Valid values include "DISALLOW," "OVERWRITE,"
-- and "RETAIN."
_InvalidFileExistsBehaviorException :: AsError a => Fold a ServiceError
-- | The GitHub token is not valid.
_InvalidGitHubAccountTokenException :: AsError a => Fold a ServiceError
-- | The format of the specified GitHub account connection name is invalid.
_InvalidGitHubAccountTokenNameException :: AsError a => Fold a ServiceError
-- | The IAM session ARN was specified in an invalid format.
_InvalidIamSessionArnException :: AsError a => Fold a ServiceError
-- | The IAM user ARN was specified in an invalid format.
_InvalidIamUserArnException :: AsError a => Fold a ServiceError
-- | The IgnoreApplicationStopFailures value is invalid. For Lambda
-- deployments, false is expected. For EC2/On-premises
-- deployments, true or false is expected.
_InvalidIgnoreApplicationStopFailuresValueException :: AsError a => Fold a ServiceError
-- | The input was specified in an invalid format.
_InvalidInputException :: AsError a => Fold a ServiceError
_InvalidInstanceIdException :: AsError a => Fold a ServiceError
-- | The on-premises instance name was specified in an invalid format.
_InvalidInstanceNameException :: AsError a => Fold a ServiceError
-- | The specified instance status does not exist.
_InvalidInstanceStatusException :: AsError a => Fold a ServiceError
-- | An invalid instance type was specified for instances in a blue/green
-- deployment. Valid values include "Blue" for an original environment
-- and "Green" for a replacement environment.
_InvalidInstanceTypeException :: AsError a => Fold a ServiceError
-- | The specified key prefix filter was specified in an invalid format.
_InvalidKeyPrefixFilterException :: AsError a => Fold a ServiceError
-- | A lifecycle event hook is invalid. Review the hooks section
-- in your AppSpec file to ensure the lifecycle events and hooks
-- functions are valid.
_InvalidLifecycleEventHookExecutionIdException :: AsError a => Fold a ServiceError
-- | The result of a Lambda validation function that verifies a lifecycle
-- event is invalid. It should return Succeeded or
-- Failed.
_InvalidLifecycleEventHookExecutionStatusException :: AsError a => Fold a ServiceError
-- | An invalid load balancer name, or no load balancer name, was
-- specified.
_InvalidLoadBalancerInfoException :: AsError a => Fold a ServiceError
-- | The minimum healthy instance value was specified in an invalid format.
_InvalidMinimumHealthyHostValueException :: AsError a => Fold a ServiceError
-- | The next token was specified in an invalid format.
_InvalidNextTokenException :: AsError a => Fold a ServiceError
-- | A call was submitted that specified both OnPremisesTagFilters and
-- OnPremisesTagSet, but only one of these data types can be used in a
-- single call.
_InvalidOnPremisesTagCombinationException :: AsError a => Fold a ServiceError
-- | An invalid operation was detected.
_InvalidOperationException :: AsError a => Fold a ServiceError
-- | The registration status was specified in an invalid format.
_InvalidRegistrationStatusException :: AsError a => Fold a ServiceError
-- | The revision was specified in an invalid format.
_InvalidRevisionException :: AsError a => Fold a ServiceError
-- | The service role ARN was specified in an invalid format. Or, if an
-- Auto Scaling group was specified, the specified service role does not
-- grant the appropriate permissions to Amazon EC2 Auto Scaling.
_InvalidRoleException :: AsError a => Fold a ServiceError
-- | The column name to sort by is either not present or was specified in
-- an invalid format.
_InvalidSortByException :: AsError a => Fold a ServiceError
-- | The sort order was specified in an invalid format.
_InvalidSortOrderException :: AsError a => Fold a ServiceError
-- | The tag was specified in an invalid format.
_InvalidTagException :: AsError a => Fold a ServiceError
-- | The tag filter was specified in an invalid format.
_InvalidTagFilterException :: AsError a => Fold a ServiceError
-- | The specified tags are not valid.
_InvalidTagsToAddException :: AsError a => Fold a ServiceError
-- | A target is not valid.
_InvalidTargetException :: AsError a => Fold a ServiceError
-- | The target filter name is invalid.
_InvalidTargetFilterNameException :: AsError a => Fold a ServiceError
-- | A target group pair associated with this deployment is not valid.
_InvalidTargetGroupPairException :: AsError a => Fold a ServiceError
-- | The target instance configuration is invalid. Possible causes include:
--
--
-- - Configuration data for target instances was entered for an
-- in-place deployment.
-- - The limit of 10 tags for a tag type was exceeded.
-- - The combined length of the tag names exceeded the limit.
-- - A specified tag is not currently applied to any instances.
--
_InvalidTargetInstancesException :: AsError a => Fold a ServiceError
-- | The specified time range was specified in an invalid format.
_InvalidTimeRangeException :: AsError a => Fold a ServiceError
-- | The configuration that specifies how traffic is routed during a
-- deployment is invalid.
_InvalidTrafficRoutingConfigurationException :: AsError a => Fold a ServiceError
-- | The trigger was specified in an invalid format.
_InvalidTriggerConfigException :: AsError a => Fold a ServiceError
-- | The UpdateOutdatedInstancesOnly value is invalid. For Lambda
-- deployments, false is expected. For EC2/On-premises
-- deployments, true or false is expected.
_InvalidUpdateOutdatedInstancesOnlyValueException :: AsError a => Fold a ServiceError
-- | An attempt to return the status of an already completed lifecycle
-- event occurred.
_LifecycleEventAlreadyCompletedException :: AsError a => Fold a ServiceError
-- | The limit for lifecycle hooks was exceeded.
_LifecycleHookLimitExceededException :: AsError a => Fold a ServiceError
-- | Both an IAM user ARN and an IAM session ARN were included in the
-- request. Use only one ARN type.
_MultipleIamArnsProvidedException :: AsError a => Fold a ServiceError
-- | The API used does not support the deployment.
_OperationNotSupportedException :: AsError a => Fold a ServiceError
-- | The ARN of a resource is required, but was not found.
_ResourceArnRequiredException :: AsError a => Fold a ServiceError
-- | The specified resource could not be validated.
_ResourceValidationException :: AsError a => Fold a ServiceError
-- | The named revision does not exist with the IAM user or Amazon Web
-- Services account.
_RevisionDoesNotExistException :: AsError a => Fold a ServiceError
-- | The revision ID was not specified.
_RevisionRequiredException :: AsError a => Fold a ServiceError
-- | The role ID was not specified.
_RoleRequiredException :: AsError a => Fold a ServiceError
-- | The maximum allowed number of tags was exceeded.
_TagLimitExceededException :: AsError a => Fold a ServiceError
-- | A tag was not specified.
_TagRequiredException :: AsError a => Fold a ServiceError
-- | The number of tag groups included in the tag set list exceeded the
-- maximum allowed limit of 3.
_TagSetListLimitExceededException :: AsError a => Fold a ServiceError
-- | An API function was called too frequently.
_ThrottlingException :: AsError a => Fold a ServiceError
-- | The maximum allowed number of triggers was exceeded.
_TriggerTargetsLimitExceededException :: AsError a => Fold a ServiceError
-- | A call was submitted that is not supported for the specified
-- deployment type.
_UnsupportedActionForDeploymentTypeException :: AsError a => Fold a ServiceError
newtype ApplicationRevisionSortBy
ApplicationRevisionSortBy' :: Text -> ApplicationRevisionSortBy
[fromApplicationRevisionSortBy] :: ApplicationRevisionSortBy -> Text
pattern ApplicationRevisionSortBy_FirstUsedTime :: ApplicationRevisionSortBy
pattern ApplicationRevisionSortBy_LastUsedTime :: ApplicationRevisionSortBy
pattern ApplicationRevisionSortBy_RegisterTime :: ApplicationRevisionSortBy
newtype AutoRollbackEvent
AutoRollbackEvent' :: Text -> AutoRollbackEvent
[fromAutoRollbackEvent] :: AutoRollbackEvent -> Text
pattern AutoRollbackEvent_DEPLOYMENT_FAILURE :: AutoRollbackEvent
pattern AutoRollbackEvent_DEPLOYMENT_STOP_ON_ALARM :: AutoRollbackEvent
pattern AutoRollbackEvent_DEPLOYMENT_STOP_ON_REQUEST :: AutoRollbackEvent
newtype BundleType
BundleType' :: Text -> BundleType
[fromBundleType] :: BundleType -> Text
pattern BundleType_JSON :: BundleType
pattern BundleType_Tar :: BundleType
pattern BundleType_Tgz :: BundleType
pattern BundleType_YAML :: BundleType
pattern BundleType_Zip :: BundleType
newtype ComputePlatform
ComputePlatform' :: Text -> ComputePlatform
[fromComputePlatform] :: ComputePlatform -> Text
pattern ComputePlatform_ECS :: ComputePlatform
pattern ComputePlatform_Lambda :: ComputePlatform
pattern ComputePlatform_Server :: ComputePlatform
newtype DeployErrorCode
DeployErrorCode' :: Text -> DeployErrorCode
[fromDeployErrorCode] :: DeployErrorCode -> Text
pattern DeployErrorCode_AGENT_ISSUE :: DeployErrorCode
pattern DeployErrorCode_ALARM_ACTIVE :: DeployErrorCode
pattern DeployErrorCode_APPLICATION_MISSING :: DeployErrorCode
pattern DeployErrorCode_AUTOSCALING_VALIDATION_ERROR :: DeployErrorCode
pattern DeployErrorCode_AUTO_SCALING_CONFIGURATION :: DeployErrorCode
pattern DeployErrorCode_AUTO_SCALING_IAM_ROLE_PERMISSIONS :: DeployErrorCode
pattern DeployErrorCode_CLOUDFORMATION_STACK_FAILURE :: DeployErrorCode
pattern DeployErrorCode_CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND :: DeployErrorCode
pattern DeployErrorCode_CUSTOMER_APPLICATION_UNHEALTHY :: DeployErrorCode
pattern DeployErrorCode_DEPLOYMENT_GROUP_MISSING :: DeployErrorCode
pattern DeployErrorCode_ECS_UPDATE_ERROR :: DeployErrorCode
pattern DeployErrorCode_ELASTIC_LOAD_BALANCING_INVALID :: DeployErrorCode
pattern DeployErrorCode_ELB_INVALID_INSTANCE :: DeployErrorCode
pattern DeployErrorCode_HEALTH_CONSTRAINTS :: DeployErrorCode
pattern DeployErrorCode_HEALTH_CONSTRAINTS_INVALID :: DeployErrorCode
pattern DeployErrorCode_HOOK_EXECUTION_FAILURE :: DeployErrorCode
pattern DeployErrorCode_IAM_ROLE_MISSING :: DeployErrorCode
pattern DeployErrorCode_IAM_ROLE_PERMISSIONS :: DeployErrorCode
pattern DeployErrorCode_INTERNAL_ERROR :: DeployErrorCode
pattern DeployErrorCode_INVALID_ECS_SERVICE :: DeployErrorCode
pattern DeployErrorCode_INVALID_LAMBDA_CONFIGURATION :: DeployErrorCode
pattern DeployErrorCode_INVALID_LAMBDA_FUNCTION :: DeployErrorCode
pattern DeployErrorCode_INVALID_REVISION :: DeployErrorCode
pattern DeployErrorCode_MANUAL_STOP :: DeployErrorCode
pattern DeployErrorCode_MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION :: DeployErrorCode
pattern DeployErrorCode_MISSING_ELB_INFORMATION :: DeployErrorCode
pattern DeployErrorCode_MISSING_GITHUB_TOKEN :: DeployErrorCode
pattern DeployErrorCode_NO_EC2_SUBSCRIPTION :: DeployErrorCode
pattern DeployErrorCode_NO_INSTANCES :: DeployErrorCode
pattern DeployErrorCode_OVER_MAX_INSTANCES :: DeployErrorCode
pattern DeployErrorCode_RESOURCE_LIMIT_EXCEEDED :: DeployErrorCode
pattern DeployErrorCode_REVISION_MISSING :: DeployErrorCode
pattern DeployErrorCode_THROTTLED :: DeployErrorCode
pattern DeployErrorCode_TIMEOUT :: DeployErrorCode
newtype DeploymentCreator
DeploymentCreator' :: Text -> DeploymentCreator
[fromDeploymentCreator] :: DeploymentCreator -> Text
pattern DeploymentCreator_Autoscaling :: DeploymentCreator
pattern DeploymentCreator_CloudFormation :: DeploymentCreator
pattern DeploymentCreator_CloudFormationRollback :: DeploymentCreator
pattern DeploymentCreator_CodeDeploy :: DeploymentCreator
pattern DeploymentCreator_CodeDeployAutoUpdate :: DeploymentCreator
pattern DeploymentCreator_CodeDeployRollback :: DeploymentCreator
pattern DeploymentCreator_User :: DeploymentCreator
newtype DeploymentOption
DeploymentOption' :: Text -> DeploymentOption
[fromDeploymentOption] :: DeploymentOption -> Text
pattern DeploymentOption_WITHOUT_TRAFFIC_CONTROL :: DeploymentOption
pattern DeploymentOption_WITH_TRAFFIC_CONTROL :: DeploymentOption
newtype DeploymentReadyAction
DeploymentReadyAction' :: Text -> DeploymentReadyAction
[fromDeploymentReadyAction] :: DeploymentReadyAction -> Text
pattern DeploymentReadyAction_CONTINUE_DEPLOYMENT :: DeploymentReadyAction
pattern DeploymentReadyAction_STOP_DEPLOYMENT :: DeploymentReadyAction
newtype DeploymentStatus
DeploymentStatus' :: Text -> DeploymentStatus
[fromDeploymentStatus] :: DeploymentStatus -> Text
pattern DeploymentStatus_Baking :: DeploymentStatus
pattern DeploymentStatus_Created :: DeploymentStatus
pattern DeploymentStatus_Failed :: DeploymentStatus
pattern DeploymentStatus_InProgress :: DeploymentStatus
pattern DeploymentStatus_Queued :: DeploymentStatus
pattern DeploymentStatus_Ready :: DeploymentStatus
pattern DeploymentStatus_Stopped :: DeploymentStatus
pattern DeploymentStatus_Succeeded :: DeploymentStatus
newtype DeploymentTargetType
DeploymentTargetType' :: Text -> DeploymentTargetType
[fromDeploymentTargetType] :: DeploymentTargetType -> Text
pattern DeploymentTargetType_CloudFormationTarget :: DeploymentTargetType
pattern DeploymentTargetType_ECSTarget :: DeploymentTargetType
pattern DeploymentTargetType_InstanceTarget :: DeploymentTargetType
pattern DeploymentTargetType_LambdaTarget :: DeploymentTargetType
newtype DeploymentType
DeploymentType' :: Text -> DeploymentType
[fromDeploymentType] :: DeploymentType -> Text
pattern DeploymentType_BLUE_GREEN :: DeploymentType
pattern DeploymentType_IN_PLACE :: DeploymentType
newtype DeploymentWaitType
DeploymentWaitType' :: Text -> DeploymentWaitType
[fromDeploymentWaitType] :: DeploymentWaitType -> Text
pattern DeploymentWaitType_READY_WAIT :: DeploymentWaitType
pattern DeploymentWaitType_TERMINATION_WAIT :: DeploymentWaitType
newtype EC2TagFilterType
EC2TagFilterType' :: Text -> EC2TagFilterType
[fromEC2TagFilterType] :: EC2TagFilterType -> Text
pattern EC2TagFilterType_KEY_AND_VALUE :: EC2TagFilterType
pattern EC2TagFilterType_KEY_ONLY :: EC2TagFilterType
pattern EC2TagFilterType_VALUE_ONLY :: EC2TagFilterType
newtype FileExistsBehavior
FileExistsBehavior' :: Text -> FileExistsBehavior
[fromFileExistsBehavior] :: FileExistsBehavior -> Text
pattern FileExistsBehavior_DISALLOW :: FileExistsBehavior
pattern FileExistsBehavior_OVERWRITE :: FileExistsBehavior
pattern FileExistsBehavior_RETAIN :: FileExistsBehavior
newtype GreenFleetProvisioningAction
GreenFleetProvisioningAction' :: Text -> GreenFleetProvisioningAction
[fromGreenFleetProvisioningAction] :: GreenFleetProvisioningAction -> Text
pattern GreenFleetProvisioningAction_COPY_AUTO_SCALING_GROUP :: GreenFleetProvisioningAction
pattern GreenFleetProvisioningAction_DISCOVER_EXISTING :: GreenFleetProvisioningAction
newtype InstanceAction
InstanceAction' :: Text -> InstanceAction
[fromInstanceAction] :: InstanceAction -> Text
pattern InstanceAction_KEEP_ALIVE :: InstanceAction
pattern InstanceAction_TERMINATE :: InstanceAction
newtype LifecycleErrorCode
LifecycleErrorCode' :: Text -> LifecycleErrorCode
[fromLifecycleErrorCode] :: LifecycleErrorCode -> Text
pattern LifecycleErrorCode_ScriptFailed :: LifecycleErrorCode
pattern LifecycleErrorCode_ScriptMissing :: LifecycleErrorCode
pattern LifecycleErrorCode_ScriptNotExecutable :: LifecycleErrorCode
pattern LifecycleErrorCode_ScriptTimedOut :: LifecycleErrorCode
pattern LifecycleErrorCode_Success :: LifecycleErrorCode
pattern LifecycleErrorCode_UnknownError :: LifecycleErrorCode
newtype LifecycleEventStatus
LifecycleEventStatus' :: Text -> LifecycleEventStatus
[fromLifecycleEventStatus] :: LifecycleEventStatus -> Text
pattern LifecycleEventStatus_Failed :: LifecycleEventStatus
pattern LifecycleEventStatus_InProgress :: LifecycleEventStatus
pattern LifecycleEventStatus_Pending :: LifecycleEventStatus
pattern LifecycleEventStatus_Skipped :: LifecycleEventStatus
pattern LifecycleEventStatus_Succeeded :: LifecycleEventStatus
pattern LifecycleEventStatus_Unknown :: LifecycleEventStatus
newtype ListStateFilterAction
ListStateFilterAction' :: Text -> ListStateFilterAction
[fromListStateFilterAction] :: ListStateFilterAction -> Text
pattern ListStateFilterAction_Exclude :: ListStateFilterAction
pattern ListStateFilterAction_Ignore :: ListStateFilterAction
pattern ListStateFilterAction_Include :: ListStateFilterAction
newtype MinimumHealthyHostsType
MinimumHealthyHostsType' :: Text -> MinimumHealthyHostsType
[fromMinimumHealthyHostsType] :: MinimumHealthyHostsType -> Text
pattern MinimumHealthyHostsType_FLEET_PERCENT :: MinimumHealthyHostsType
pattern MinimumHealthyHostsType_HOST_COUNT :: MinimumHealthyHostsType
newtype OutdatedInstancesStrategy
OutdatedInstancesStrategy' :: Text -> OutdatedInstancesStrategy
[fromOutdatedInstancesStrategy] :: OutdatedInstancesStrategy -> Text
pattern OutdatedInstancesStrategy_IGNORE :: OutdatedInstancesStrategy
pattern OutdatedInstancesStrategy_UPDATE :: OutdatedInstancesStrategy
newtype RegistrationStatus
RegistrationStatus' :: Text -> RegistrationStatus
[fromRegistrationStatus] :: RegistrationStatus -> Text
pattern RegistrationStatus_Deregistered :: RegistrationStatus
pattern RegistrationStatus_Registered :: RegistrationStatus
newtype RevisionLocationType
RevisionLocationType' :: Text -> RevisionLocationType
[fromRevisionLocationType] :: RevisionLocationType -> Text
pattern RevisionLocationType_AppSpecContent :: RevisionLocationType
pattern RevisionLocationType_GitHub :: RevisionLocationType
pattern RevisionLocationType_S3 :: RevisionLocationType
pattern RevisionLocationType_String :: RevisionLocationType
newtype SortOrder
SortOrder' :: Text -> SortOrder
[fromSortOrder] :: SortOrder -> Text
pattern SortOrder_Ascending :: SortOrder
pattern SortOrder_Descending :: SortOrder
newtype StopStatus
StopStatus' :: Text -> StopStatus
[fromStopStatus] :: StopStatus -> Text
pattern StopStatus_Pending :: StopStatus
pattern StopStatus_Succeeded :: StopStatus
newtype TagFilterType
TagFilterType' :: Text -> TagFilterType
[fromTagFilterType] :: TagFilterType -> Text
pattern TagFilterType_KEY_AND_VALUE :: TagFilterType
pattern TagFilterType_KEY_ONLY :: TagFilterType
pattern TagFilterType_VALUE_ONLY :: TagFilterType
newtype TargetFilterName
TargetFilterName' :: Text -> TargetFilterName
[fromTargetFilterName] :: TargetFilterName -> Text
pattern TargetFilterName_ServerInstanceLabel :: TargetFilterName
pattern TargetFilterName_TargetStatus :: TargetFilterName
newtype TargetLabel
TargetLabel' :: Text -> TargetLabel
[fromTargetLabel] :: TargetLabel -> Text
pattern TargetLabel_Blue :: TargetLabel
pattern TargetLabel_Green :: TargetLabel
newtype TargetStatus
TargetStatus' :: Text -> TargetStatus
[fromTargetStatus] :: TargetStatus -> Text
pattern TargetStatus_Failed :: TargetStatus
pattern TargetStatus_InProgress :: TargetStatus
pattern TargetStatus_Pending :: TargetStatus
pattern TargetStatus_Ready :: TargetStatus
pattern TargetStatus_Skipped :: TargetStatus
pattern TargetStatus_Succeeded :: TargetStatus
pattern TargetStatus_Unknown :: TargetStatus
newtype TrafficRoutingType
TrafficRoutingType' :: Text -> TrafficRoutingType
[fromTrafficRoutingType] :: TrafficRoutingType -> Text
pattern TrafficRoutingType_AllAtOnce :: TrafficRoutingType
pattern TrafficRoutingType_TimeBasedCanary :: TrafficRoutingType
pattern TrafficRoutingType_TimeBasedLinear :: TrafficRoutingType
newtype TriggerEventType
TriggerEventType' :: Text -> TriggerEventType
[fromTriggerEventType] :: TriggerEventType -> Text
pattern TriggerEventType_DeploymentFailure :: TriggerEventType
pattern TriggerEventType_DeploymentReady :: TriggerEventType
pattern TriggerEventType_DeploymentRollback :: TriggerEventType
pattern TriggerEventType_DeploymentStart :: TriggerEventType
pattern TriggerEventType_DeploymentStop :: TriggerEventType
pattern TriggerEventType_DeploymentSuccess :: TriggerEventType
pattern TriggerEventType_InstanceFailure :: TriggerEventType
pattern TriggerEventType_InstanceReady :: TriggerEventType
pattern TriggerEventType_InstanceStart :: TriggerEventType
pattern TriggerEventType_InstanceSuccess :: TriggerEventType
-- | Information about an alarm.
--
-- See: newAlarm smart constructor.
data Alarm
Alarm' :: Maybe Text -> Alarm
-- | The name of the alarm. Maximum length is 255 characters. Each alarm
-- name can be used only once in a list of alarms.
[$sel:name:Alarm'] :: Alarm -> Maybe Text
-- | Create a value of Alarm with all optional fields omitted.
--
-- 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:Alarm', alarm_name - The name of the alarm.
-- Maximum length is 255 characters. Each alarm name can be used only
-- once in a list of alarms.
newAlarm :: Alarm
-- | The name of the alarm. Maximum length is 255 characters. Each alarm
-- name can be used only once in a list of alarms.
alarm_name :: Lens' Alarm (Maybe Text)
-- | Information about alarms associated with a deployment or deployment
-- group.
--
-- See: newAlarmConfiguration smart constructor.
data AlarmConfiguration
AlarmConfiguration' :: Maybe [Alarm] -> Maybe Bool -> Maybe Bool -> AlarmConfiguration
-- | A list of alarms configured for the deployment or deployment group. A
-- maximum of 10 alarms can be added.
[$sel:alarms:AlarmConfiguration'] :: AlarmConfiguration -> Maybe [Alarm]
-- | Indicates whether the alarm configuration is enabled.
[$sel:enabled:AlarmConfiguration'] :: AlarmConfiguration -> Maybe Bool
-- | Indicates whether a deployment should continue if information about
-- the current state of alarms cannot be retrieved from Amazon
-- CloudWatch. The default value is false.
--
--
-- - true: The deployment proceeds even if alarm status
-- information can't be retrieved from Amazon CloudWatch.
-- - false: The deployment stops if alarm status information
-- can't be retrieved from Amazon CloudWatch.
--
[$sel:ignorePollAlarmFailure:AlarmConfiguration'] :: AlarmConfiguration -> Maybe Bool
-- | Create a value of AlarmConfiguration with all optional fields
-- omitted.
--
-- 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:alarms:AlarmConfiguration',
-- alarmConfiguration_alarms - A list of alarms configured for the
-- deployment or deployment group. A maximum of 10 alarms can be added.
--
-- $sel:enabled:AlarmConfiguration',
-- alarmConfiguration_enabled - Indicates whether the alarm
-- configuration is enabled.
--
-- $sel:ignorePollAlarmFailure:AlarmConfiguration',
-- alarmConfiguration_ignorePollAlarmFailure - Indicates whether a
-- deployment should continue if information about the current state of
-- alarms cannot be retrieved from Amazon CloudWatch. The default value
-- is false.
--
--
-- - true: The deployment proceeds even if alarm status
-- information can't be retrieved from Amazon CloudWatch.
-- - false: The deployment stops if alarm status information
-- can't be retrieved from Amazon CloudWatch.
--
newAlarmConfiguration :: AlarmConfiguration
-- | A list of alarms configured for the deployment or deployment group. A
-- maximum of 10 alarms can be added.
alarmConfiguration_alarms :: Lens' AlarmConfiguration (Maybe [Alarm])
-- | Indicates whether the alarm configuration is enabled.
alarmConfiguration_enabled :: Lens' AlarmConfiguration (Maybe Bool)
-- | Indicates whether a deployment should continue if information about
-- the current state of alarms cannot be retrieved from Amazon
-- CloudWatch. The default value is false.
--
--
-- - true: The deployment proceeds even if alarm status
-- information can't be retrieved from Amazon CloudWatch.
-- - false: The deployment stops if alarm status information
-- can't be retrieved from Amazon CloudWatch.
--
alarmConfiguration_ignorePollAlarmFailure :: Lens' AlarmConfiguration (Maybe Bool)
-- | A revision for an Lambda or Amazon ECS deployment that is a
-- YAML-formatted or JSON-formatted string. For Lambda and Amazon ECS
-- deployments, the revision is the same as the AppSpec file. This method
-- replaces the deprecated RawString data type.
--
-- See: newAppSpecContent smart constructor.
data AppSpecContent
AppSpecContent' :: Maybe Text -> Maybe Text -> AppSpecContent
-- | The YAML-formatted or JSON-formatted revision string.
--
-- For an Lambda deployment, the content includes a Lambda function name,
-- the alias for its original version, and the alias for its replacement
-- version. The deployment shifts traffic from the original version of
-- the Lambda function to the replacement version.
--
-- For an Amazon ECS deployment, the content includes the task name,
-- information about the load balancer that serves traffic to the
-- container, and more.
--
-- For both types of deployments, the content can specify Lambda
-- functions that run at specified hooks, such as BeforeInstall,
-- during a deployment.
[$sel:content:AppSpecContent'] :: AppSpecContent -> Maybe Text
-- | The SHA256 hash value of the revision content.
[$sel:sha256:AppSpecContent'] :: AppSpecContent -> Maybe Text
-- | Create a value of AppSpecContent with all optional fields
-- omitted.
--
-- 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:content:AppSpecContent', appSpecContent_content -
-- The YAML-formatted or JSON-formatted revision string.
--
-- For an Lambda deployment, the content includes a Lambda function name,
-- the alias for its original version, and the alias for its replacement
-- version. The deployment shifts traffic from the original version of
-- the Lambda function to the replacement version.
--
-- For an Amazon ECS deployment, the content includes the task name,
-- information about the load balancer that serves traffic to the
-- container, and more.
--
-- For both types of deployments, the content can specify Lambda
-- functions that run at specified hooks, such as BeforeInstall,
-- during a deployment.
--
-- $sel:sha256:AppSpecContent', appSpecContent_sha256 - The
-- SHA256 hash value of the revision content.
newAppSpecContent :: AppSpecContent
-- | The YAML-formatted or JSON-formatted revision string.
--
-- For an Lambda deployment, the content includes a Lambda function name,
-- the alias for its original version, and the alias for its replacement
-- version. The deployment shifts traffic from the original version of
-- the Lambda function to the replacement version.
--
-- For an Amazon ECS deployment, the content includes the task name,
-- information about the load balancer that serves traffic to the
-- container, and more.
--
-- For both types of deployments, the content can specify Lambda
-- functions that run at specified hooks, such as BeforeInstall,
-- during a deployment.
appSpecContent_content :: Lens' AppSpecContent (Maybe Text)
-- | The SHA256 hash value of the revision content.
appSpecContent_sha256 :: Lens' AppSpecContent (Maybe Text)
-- | Information about an application.
--
-- See: newApplicationInfo smart constructor.
data ApplicationInfo
ApplicationInfo' :: Maybe Text -> Maybe Text -> Maybe ComputePlatform -> Maybe POSIX -> Maybe Text -> Maybe Bool -> ApplicationInfo
-- | The application ID.
[$sel:applicationId:ApplicationInfo'] :: ApplicationInfo -> Maybe Text
-- | The application name.
[$sel:applicationName:ApplicationInfo'] :: ApplicationInfo -> Maybe Text
-- | The destination platform type for deployment of the application
-- (Lambda or Server).
[$sel:computePlatform:ApplicationInfo'] :: ApplicationInfo -> Maybe ComputePlatform
-- | The time at which the application was created.
[$sel:createTime:ApplicationInfo'] :: ApplicationInfo -> Maybe POSIX
-- | The name for a connection to a GitHub account.
[$sel:gitHubAccountName:ApplicationInfo'] :: ApplicationInfo -> Maybe Text
-- | True if the user has authenticated with GitHub for the specified
-- application. Otherwise, false.
[$sel:linkedToGitHub:ApplicationInfo'] :: ApplicationInfo -> Maybe Bool
-- | Create a value of ApplicationInfo with all optional fields
-- omitted.
--
-- 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:applicationId:ApplicationInfo',
-- applicationInfo_applicationId - The application ID.
--
-- $sel:applicationName:ApplicationInfo',
-- applicationInfo_applicationName - The application name.
--
-- $sel:computePlatform:ApplicationInfo',
-- applicationInfo_computePlatform - The destination platform type
-- for deployment of the application (Lambda or
-- Server).
--
-- $sel:createTime:ApplicationInfo',
-- applicationInfo_createTime - The time at which the application
-- was created.
--
-- $sel:gitHubAccountName:ApplicationInfo',
-- applicationInfo_gitHubAccountName - The name for a connection
-- to a GitHub account.
--
-- $sel:linkedToGitHub:ApplicationInfo',
-- applicationInfo_linkedToGitHub - True if the user has
-- authenticated with GitHub for the specified application. Otherwise,
-- false.
newApplicationInfo :: ApplicationInfo
-- | The application ID.
applicationInfo_applicationId :: Lens' ApplicationInfo (Maybe Text)
-- | The application name.
applicationInfo_applicationName :: Lens' ApplicationInfo (Maybe Text)
-- | The destination platform type for deployment of the application
-- (Lambda or Server).
applicationInfo_computePlatform :: Lens' ApplicationInfo (Maybe ComputePlatform)
-- | The time at which the application was created.
applicationInfo_createTime :: Lens' ApplicationInfo (Maybe UTCTime)
-- | The name for a connection to a GitHub account.
applicationInfo_gitHubAccountName :: Lens' ApplicationInfo (Maybe Text)
-- | True if the user has authenticated with GitHub for the specified
-- application. Otherwise, false.
applicationInfo_linkedToGitHub :: Lens' ApplicationInfo (Maybe Bool)
-- | Information about a configuration for automatically rolling back to a
-- previous version of an application revision when a deployment is not
-- completed successfully.
--
-- See: newAutoRollbackConfiguration smart constructor.
data AutoRollbackConfiguration
AutoRollbackConfiguration' :: Maybe Bool -> Maybe [AutoRollbackEvent] -> AutoRollbackConfiguration
-- | Indicates whether a defined automatic rollback configuration is
-- currently enabled.
[$sel:enabled:AutoRollbackConfiguration'] :: AutoRollbackConfiguration -> Maybe Bool
-- | The event type or types that trigger a rollback.
[$sel:events:AutoRollbackConfiguration'] :: AutoRollbackConfiguration -> Maybe [AutoRollbackEvent]
-- | Create a value of AutoRollbackConfiguration with all optional
-- fields omitted.
--
-- 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:enabled:AutoRollbackConfiguration',
-- autoRollbackConfiguration_enabled - Indicates whether a defined
-- automatic rollback configuration is currently enabled.
--
-- $sel:events:AutoRollbackConfiguration',
-- autoRollbackConfiguration_events - The event type or types that
-- trigger a rollback.
newAutoRollbackConfiguration :: AutoRollbackConfiguration
-- | Indicates whether a defined automatic rollback configuration is
-- currently enabled.
autoRollbackConfiguration_enabled :: Lens' AutoRollbackConfiguration (Maybe Bool)
-- | The event type or types that trigger a rollback.
autoRollbackConfiguration_events :: Lens' AutoRollbackConfiguration (Maybe [AutoRollbackEvent])
-- | Information about an Auto Scaling group.
--
-- See: newAutoScalingGroup smart constructor.
data AutoScalingGroup
AutoScalingGroup' :: Maybe Text -> Maybe Text -> AutoScalingGroup
-- | An Auto Scaling lifecycle event hook name.
[$sel:hook:AutoScalingGroup'] :: AutoScalingGroup -> Maybe Text
-- | The Auto Scaling group name.
[$sel:name:AutoScalingGroup'] :: AutoScalingGroup -> Maybe Text
-- | Create a value of AutoScalingGroup with all optional fields
-- omitted.
--
-- 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:hook:AutoScalingGroup', autoScalingGroup_hook - An
-- Auto Scaling lifecycle event hook name.
--
-- $sel:name:AutoScalingGroup', autoScalingGroup_name - The
-- Auto Scaling group name.
newAutoScalingGroup :: AutoScalingGroup
-- | An Auto Scaling lifecycle event hook name.
autoScalingGroup_hook :: Lens' AutoScalingGroup (Maybe Text)
-- | The Auto Scaling group name.
autoScalingGroup_name :: Lens' AutoScalingGroup (Maybe Text)
-- | Information about blue/green deployment options for a deployment
-- group.
--
-- See: newBlueGreenDeploymentConfiguration smart
-- constructor.
data BlueGreenDeploymentConfiguration
BlueGreenDeploymentConfiguration' :: Maybe DeploymentReadyOption -> Maybe GreenFleetProvisioningOption -> Maybe BlueInstanceTerminationOption -> BlueGreenDeploymentConfiguration
-- | Information about the action to take when newly provisioned instances
-- are ready to receive traffic in a blue/green deployment.
[$sel:deploymentReadyOption:BlueGreenDeploymentConfiguration'] :: BlueGreenDeploymentConfiguration -> Maybe DeploymentReadyOption
-- | Information about how instances are provisioned for a replacement
-- environment in a blue/green deployment.
[$sel:greenFleetProvisioningOption:BlueGreenDeploymentConfiguration'] :: BlueGreenDeploymentConfiguration -> Maybe GreenFleetProvisioningOption
-- | Information about whether to terminate instances in the original fleet
-- during a blue/green deployment.
[$sel:terminateBlueInstancesOnDeploymentSuccess:BlueGreenDeploymentConfiguration'] :: BlueGreenDeploymentConfiguration -> Maybe BlueInstanceTerminationOption
-- | Create a value of BlueGreenDeploymentConfiguration with all
-- optional fields omitted.
--
-- 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:deploymentReadyOption:BlueGreenDeploymentConfiguration',
-- blueGreenDeploymentConfiguration_deploymentReadyOption -
-- Information about the action to take when newly provisioned instances
-- are ready to receive traffic in a blue/green deployment.
--
--
-- $sel:greenFleetProvisioningOption:BlueGreenDeploymentConfiguration',
-- blueGreenDeploymentConfiguration_greenFleetProvisioningOption -
-- Information about how instances are provisioned for a replacement
-- environment in a blue/green deployment.
--
--
-- $sel:terminateBlueInstancesOnDeploymentSuccess:BlueGreenDeploymentConfiguration',
-- blueGreenDeploymentConfiguration_terminateBlueInstancesOnDeploymentSuccess
-- - Information about whether to terminate instances in the original
-- fleet during a blue/green deployment.
newBlueGreenDeploymentConfiguration :: BlueGreenDeploymentConfiguration
-- | Information about the action to take when newly provisioned instances
-- are ready to receive traffic in a blue/green deployment.
blueGreenDeploymentConfiguration_deploymentReadyOption :: Lens' BlueGreenDeploymentConfiguration (Maybe DeploymentReadyOption)
-- | Information about how instances are provisioned for a replacement
-- environment in a blue/green deployment.
blueGreenDeploymentConfiguration_greenFleetProvisioningOption :: Lens' BlueGreenDeploymentConfiguration (Maybe GreenFleetProvisioningOption)
-- | Information about whether to terminate instances in the original fleet
-- during a blue/green deployment.
blueGreenDeploymentConfiguration_terminateBlueInstancesOnDeploymentSuccess :: Lens' BlueGreenDeploymentConfiguration (Maybe BlueInstanceTerminationOption)
-- | Information about whether instances in the original environment are
-- terminated when a blue/green deployment is successful.
-- BlueInstanceTerminationOption does not apply to Lambda
-- deployments.
--
-- See: newBlueInstanceTerminationOption smart constructor.
data BlueInstanceTerminationOption
BlueInstanceTerminationOption' :: Maybe InstanceAction -> Maybe Int -> BlueInstanceTerminationOption
-- | The action to take on instances in the original environment after a
-- successful blue/green deployment.
--
--
-- - TERMINATE: Instances are terminated after a specified
-- wait time.
-- - KEEP_ALIVE: Instances are left running after they are
-- deregistered from the load balancer and removed from the deployment
-- group.
--
[$sel:action:BlueInstanceTerminationOption'] :: BlueInstanceTerminationOption -> Maybe InstanceAction
-- | For an Amazon EC2 deployment, the number of minutes to wait after a
-- successful blue/green deployment before terminating instances from the
-- original environment.
--
-- For an Amazon ECS deployment, the number of minutes before deleting
-- the original (blue) task set. During an Amazon ECS deployment,
-- CodeDeploy shifts traffic from the original (blue) task set to a
-- replacement (green) task set.
--
-- The maximum setting is 2880 minutes (2 days).
[$sel:terminationWaitTimeInMinutes:BlueInstanceTerminationOption'] :: BlueInstanceTerminationOption -> Maybe Int
-- | Create a value of BlueInstanceTerminationOption with all
-- optional fields omitted.
--
-- 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:action:BlueInstanceTerminationOption',
-- blueInstanceTerminationOption_action - The action to take on
-- instances in the original environment after a successful blue/green
-- deployment.
--
--
-- - TERMINATE: Instances are terminated after a specified
-- wait time.
-- - KEEP_ALIVE: Instances are left running after they are
-- deregistered from the load balancer and removed from the deployment
-- group.
--
--
--
-- $sel:terminationWaitTimeInMinutes:BlueInstanceTerminationOption',
-- blueInstanceTerminationOption_terminationWaitTimeInMinutes -
-- For an Amazon EC2 deployment, the number of minutes to wait after a
-- successful blue/green deployment before terminating instances from the
-- original environment.
--
-- For an Amazon ECS deployment, the number of minutes before deleting
-- the original (blue) task set. During an Amazon ECS deployment,
-- CodeDeploy shifts traffic from the original (blue) task set to a
-- replacement (green) task set.
--
-- The maximum setting is 2880 minutes (2 days).
newBlueInstanceTerminationOption :: BlueInstanceTerminationOption
-- | The action to take on instances in the original environment after a
-- successful blue/green deployment.
--
--
-- - TERMINATE: Instances are terminated after a specified
-- wait time.
-- - KEEP_ALIVE: Instances are left running after they are
-- deregistered from the load balancer and removed from the deployment
-- group.
--
blueInstanceTerminationOption_action :: Lens' BlueInstanceTerminationOption (Maybe InstanceAction)
-- | For an Amazon EC2 deployment, the number of minutes to wait after a
-- successful blue/green deployment before terminating instances from the
-- original environment.
--
-- For an Amazon ECS deployment, the number of minutes before deleting
-- the original (blue) task set. During an Amazon ECS deployment,
-- CodeDeploy shifts traffic from the original (blue) task set to a
-- replacement (green) task set.
--
-- The maximum setting is 2880 minutes (2 days).
blueInstanceTerminationOption_terminationWaitTimeInMinutes :: Lens' BlueInstanceTerminationOption (Maybe Int)
-- | Information about the target to be updated by an CloudFormation
-- blue/green deployment. This target type is used for all deployments
-- initiated by a CloudFormation stack update.
--
-- See: newCloudFormationTarget smart constructor.
data CloudFormationTarget
CloudFormationTarget' :: Maybe Text -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe Text -> Maybe TargetStatus -> Maybe Text -> Maybe Double -> CloudFormationTarget
-- | The unique ID of an CloudFormation blue/green deployment.
[$sel:deploymentId:CloudFormationTarget'] :: CloudFormationTarget -> Maybe Text
-- | The date and time when the target application was updated by an
-- CloudFormation blue/green deployment.
[$sel:lastUpdatedAt:CloudFormationTarget'] :: CloudFormationTarget -> Maybe POSIX
-- | The lifecycle events of the CloudFormation blue/green deployment to
-- this target application.
[$sel:lifecycleEvents:CloudFormationTarget'] :: CloudFormationTarget -> Maybe [LifecycleEvent]
-- | The resource type for the CloudFormation blue/green deployment.
[$sel:resourceType:CloudFormationTarget'] :: CloudFormationTarget -> Maybe Text
-- | The status of an CloudFormation blue/green deployment's target
-- application.
[$sel:status:CloudFormationTarget'] :: CloudFormationTarget -> Maybe TargetStatus
-- | The unique ID of a deployment target that has a type of
-- CloudFormationTarget.
[$sel:targetId:CloudFormationTarget'] :: CloudFormationTarget -> Maybe Text
-- | The percentage of production traffic that the target version of an
-- CloudFormation blue/green deployment receives.
[$sel:targetVersionWeight:CloudFormationTarget'] :: CloudFormationTarget -> Maybe Double
-- | Create a value of CloudFormationTarget with all optional fields
-- omitted.
--
-- 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:deploymentId:CloudFormationTarget',
-- cloudFormationTarget_deploymentId - The unique ID of an
-- CloudFormation blue/green deployment.
--
-- $sel:lastUpdatedAt:CloudFormationTarget',
-- cloudFormationTarget_lastUpdatedAt - The date and time when the
-- target application was updated by an CloudFormation blue/green
-- deployment.
--
-- $sel:lifecycleEvents:CloudFormationTarget',
-- cloudFormationTarget_lifecycleEvents - The lifecycle events of
-- the CloudFormation blue/green deployment to this target application.
--
-- $sel:resourceType:CloudFormationTarget',
-- cloudFormationTarget_resourceType - The resource type for the
-- CloudFormation blue/green deployment.
--
-- CloudFormationTarget, cloudFormationTarget_status - The
-- status of an CloudFormation blue/green deployment's target
-- application.
--
-- $sel:targetId:CloudFormationTarget',
-- cloudFormationTarget_targetId - The unique ID of a deployment
-- target that has a type of CloudFormationTarget.
--
-- $sel:targetVersionWeight:CloudFormationTarget',
-- cloudFormationTarget_targetVersionWeight - The percentage of
-- production traffic that the target version of an CloudFormation
-- blue/green deployment receives.
newCloudFormationTarget :: CloudFormationTarget
-- | The unique ID of an CloudFormation blue/green deployment.
cloudFormationTarget_deploymentId :: Lens' CloudFormationTarget (Maybe Text)
-- | The date and time when the target application was updated by an
-- CloudFormation blue/green deployment.
cloudFormationTarget_lastUpdatedAt :: Lens' CloudFormationTarget (Maybe UTCTime)
-- | The lifecycle events of the CloudFormation blue/green deployment to
-- this target application.
cloudFormationTarget_lifecycleEvents :: Lens' CloudFormationTarget (Maybe [LifecycleEvent])
-- | The resource type for the CloudFormation blue/green deployment.
cloudFormationTarget_resourceType :: Lens' CloudFormationTarget (Maybe Text)
-- | The status of an CloudFormation blue/green deployment's target
-- application.
cloudFormationTarget_status :: Lens' CloudFormationTarget (Maybe TargetStatus)
-- | The unique ID of a deployment target that has a type of
-- CloudFormationTarget.
cloudFormationTarget_targetId :: Lens' CloudFormationTarget (Maybe Text)
-- | The percentage of production traffic that the target version of an
-- CloudFormation blue/green deployment receives.
cloudFormationTarget_targetVersionWeight :: Lens' CloudFormationTarget (Maybe Double)
-- | Information about a deployment configuration.
--
-- See: newDeploymentConfigInfo smart constructor.
data DeploymentConfigInfo
DeploymentConfigInfo' :: Maybe ComputePlatform -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe MinimumHealthyHosts -> Maybe TrafficRoutingConfig -> DeploymentConfigInfo
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
[$sel:computePlatform:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe ComputePlatform
-- | The time at which the deployment configuration was created.
[$sel:createTime:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe POSIX
-- | The deployment configuration ID.
[$sel:deploymentConfigId:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe Text
-- | The deployment configuration name.
[$sel:deploymentConfigName:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe Text
-- | Information about the number or percentage of minimum healthy
-- instance.
[$sel:minimumHealthyHosts:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe MinimumHealthyHosts
-- | The configuration that specifies how the deployment traffic is routed.
-- Used for deployments with a Lambda or Amazon ECS compute platform
-- only.
[$sel:trafficRoutingConfig:DeploymentConfigInfo'] :: DeploymentConfigInfo -> Maybe TrafficRoutingConfig
-- | Create a value of DeploymentConfigInfo with all optional fields
-- omitted.
--
-- 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:computePlatform:DeploymentConfigInfo',
-- deploymentConfigInfo_computePlatform - The destination platform
-- type for the deployment (Lambda, Server, or
-- ECS).
--
-- $sel:createTime:DeploymentConfigInfo',
-- deploymentConfigInfo_createTime - The time at which the
-- deployment configuration was created.
--
-- $sel:deploymentConfigId:DeploymentConfigInfo',
-- deploymentConfigInfo_deploymentConfigId - The deployment
-- configuration ID.
--
-- $sel:deploymentConfigName:DeploymentConfigInfo',
-- deploymentConfigInfo_deploymentConfigName - The deployment
-- configuration name.
--
-- $sel:minimumHealthyHosts:DeploymentConfigInfo',
-- deploymentConfigInfo_minimumHealthyHosts - Information about
-- the number or percentage of minimum healthy instance.
--
-- $sel:trafficRoutingConfig:DeploymentConfigInfo',
-- deploymentConfigInfo_trafficRoutingConfig - The configuration
-- that specifies how the deployment traffic is routed. Used for
-- deployments with a Lambda or Amazon ECS compute platform only.
newDeploymentConfigInfo :: DeploymentConfigInfo
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
deploymentConfigInfo_computePlatform :: Lens' DeploymentConfigInfo (Maybe ComputePlatform)
-- | The time at which the deployment configuration was created.
deploymentConfigInfo_createTime :: Lens' DeploymentConfigInfo (Maybe UTCTime)
-- | The deployment configuration ID.
deploymentConfigInfo_deploymentConfigId :: Lens' DeploymentConfigInfo (Maybe Text)
-- | The deployment configuration name.
deploymentConfigInfo_deploymentConfigName :: Lens' DeploymentConfigInfo (Maybe Text)
-- | Information about the number or percentage of minimum healthy
-- instance.
deploymentConfigInfo_minimumHealthyHosts :: Lens' DeploymentConfigInfo (Maybe MinimumHealthyHosts)
-- | The configuration that specifies how the deployment traffic is routed.
-- Used for deployments with a Lambda or Amazon ECS compute platform
-- only.
deploymentConfigInfo_trafficRoutingConfig :: Lens' DeploymentConfigInfo (Maybe TrafficRoutingConfig)
-- | Information about a deployment group.
--
-- See: newDeploymentGroupInfo smart constructor.
data DeploymentGroupInfo
DeploymentGroupInfo' :: Maybe AlarmConfiguration -> Maybe Text -> Maybe AutoRollbackConfiguration -> Maybe [AutoScalingGroup] -> Maybe BlueGreenDeploymentConfiguration -> Maybe ComputePlatform -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeploymentStyle -> Maybe [EC2TagFilter] -> Maybe EC2TagSet -> Maybe [ECSService] -> Maybe LastDeploymentInfo -> Maybe LastDeploymentInfo -> Maybe LoadBalancerInfo -> Maybe [TagFilter] -> Maybe OnPremisesTagSet -> Maybe OutdatedInstancesStrategy -> Maybe Text -> Maybe RevisionLocation -> Maybe [TriggerConfig] -> DeploymentGroupInfo
-- | A list of alarms associated with the deployment group.
[$sel:alarmConfiguration:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe AlarmConfiguration
-- | The application name.
[$sel:applicationName:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe Text
-- | Information about the automatic rollback configuration associated with
-- the deployment group.
[$sel:autoRollbackConfiguration:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe AutoRollbackConfiguration
-- | A list of associated Auto Scaling groups.
[$sel:autoScalingGroups:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe [AutoScalingGroup]
-- | Information about blue/green deployment options for a deployment
-- group.
[$sel:blueGreenDeploymentConfiguration:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe BlueGreenDeploymentConfiguration
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
[$sel:computePlatform:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe ComputePlatform
-- | The deployment configuration name.
[$sel:deploymentConfigName:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe Text
-- | The deployment group ID.
[$sel:deploymentGroupId:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe Text
-- | The deployment group name.
[$sel:deploymentGroupName:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe Text
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
[$sel:deploymentStyle:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe DeploymentStyle
-- | The Amazon EC2 tags on which to filter. The deployment group includes
-- EC2 instances with any of the specified tags.
[$sel:ec2TagFilters:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe [EC2TagFilter]
-- | Information about groups of tags applied to an Amazon EC2 instance.
-- The deployment group includes only Amazon EC2 instances identified by
-- all of the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
[$sel:ec2TagSet:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe EC2TagSet
-- | The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
[$sel:ecsServices:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe [ECSService]
-- | Information about the most recent attempted deployment to the
-- deployment group.
[$sel:lastAttemptedDeployment:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe LastDeploymentInfo
-- | Information about the most recent successful deployment to the
-- deployment group.
[$sel:lastSuccessfulDeployment:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe LastDeploymentInfo
-- | Information about the load balancer to use in a deployment.
[$sel:loadBalancerInfo:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe LoadBalancerInfo
-- | The on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags.
[$sel:onPremisesInstanceTagFilters:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe [TagFilter]
-- | Information about groups of tags applied to an on-premises instance.
-- The deployment group includes only on-premises instances identified by
-- all the tag groups. Cannot be used in the same call as
-- onPremisesInstanceTagFilters.
[$sel:onPremisesTagSet:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe OnPremisesTagSet
-- | Indicates what happens when new Amazon EC2 instances are launched
-- mid-deployment and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
[$sel:outdatedInstancesStrategy:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe OutdatedInstancesStrategy
-- | A service role Amazon Resource Name (ARN) that grants CodeDeploy
-- permission to make calls to Amazon Web Services services on your
-- behalf. For more information, see Create a Service Role for
-- CodeDeploy in the CodeDeploy User Guide.
[$sel:serviceRoleArn:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe Text
-- | Information about the deployment group's target revision, including
-- type and location.
[$sel:targetRevision:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe RevisionLocation
-- | Information about triggers associated with the deployment group.
[$sel:triggerConfigurations:DeploymentGroupInfo'] :: DeploymentGroupInfo -> Maybe [TriggerConfig]
-- | Create a value of DeploymentGroupInfo with all optional fields
-- omitted.
--
-- 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:alarmConfiguration:DeploymentGroupInfo',
-- deploymentGroupInfo_alarmConfiguration - A list of alarms
-- associated with the deployment group.
--
-- $sel:applicationName:DeploymentGroupInfo',
-- deploymentGroupInfo_applicationName - The application name.
--
-- $sel:autoRollbackConfiguration:DeploymentGroupInfo',
-- deploymentGroupInfo_autoRollbackConfiguration - Information
-- about the automatic rollback configuration associated with the
-- deployment group.
--
-- $sel:autoScalingGroups:DeploymentGroupInfo',
-- deploymentGroupInfo_autoScalingGroups - A list of associated
-- Auto Scaling groups.
--
-- $sel:blueGreenDeploymentConfiguration:DeploymentGroupInfo',
-- deploymentGroupInfo_blueGreenDeploymentConfiguration -
-- Information about blue/green deployment options for a deployment
-- group.
--
-- $sel:computePlatform:DeploymentGroupInfo',
-- deploymentGroupInfo_computePlatform - The destination platform
-- type for the deployment (Lambda, Server, or
-- ECS).
--
-- $sel:deploymentConfigName:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentConfigName - The deployment
-- configuration name.
--
-- $sel:deploymentGroupId:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentGroupId - The deployment group
-- ID.
--
-- $sel:deploymentGroupName:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentGroupName - The deployment group
-- name.
--
-- $sel:deploymentStyle:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentStyle - Information about the
-- type of deployment, either in-place or blue/green, you want to run and
-- whether to route deployment traffic behind a load balancer.
--
-- $sel:ec2TagFilters:DeploymentGroupInfo',
-- deploymentGroupInfo_ec2TagFilters - The Amazon EC2 tags on
-- which to filter. The deployment group includes EC2 instances with any
-- of the specified tags.
--
-- $sel:ec2TagSet:DeploymentGroupInfo',
-- deploymentGroupInfo_ec2TagSet - Information about groups of
-- tags applied to an Amazon EC2 instance. The deployment group includes
-- only Amazon EC2 instances identified by all of the tag groups. Cannot
-- be used in the same call as ec2TagFilters.
--
-- $sel:ecsServices:DeploymentGroupInfo',
-- deploymentGroupInfo_ecsServices - The target Amazon ECS
-- services in the deployment group. This applies only to deployment
-- groups that use the Amazon ECS compute platform. A target Amazon ECS
-- service is specified as an Amazon ECS cluster and service name pair
-- using the format <clustername>:<servicename>.
--
-- $sel:lastAttemptedDeployment:DeploymentGroupInfo',
-- deploymentGroupInfo_lastAttemptedDeployment - Information about
-- the most recent attempted deployment to the deployment group.
--
-- $sel:lastSuccessfulDeployment:DeploymentGroupInfo',
-- deploymentGroupInfo_lastSuccessfulDeployment - Information
-- about the most recent successful deployment to the deployment group.
--
-- $sel:loadBalancerInfo:DeploymentGroupInfo',
-- deploymentGroupInfo_loadBalancerInfo - Information about the
-- load balancer to use in a deployment.
--
-- $sel:onPremisesInstanceTagFilters:DeploymentGroupInfo',
-- deploymentGroupInfo_onPremisesInstanceTagFilters - The
-- on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags.
--
-- $sel:onPremisesTagSet:DeploymentGroupInfo',
-- deploymentGroupInfo_onPremisesTagSet - Information about groups
-- of tags applied to an on-premises instance. The deployment group
-- includes only on-premises instances identified by all the tag groups.
-- Cannot be used in the same call as onPremisesInstanceTagFilters.
--
-- $sel:outdatedInstancesStrategy:DeploymentGroupInfo',
-- deploymentGroupInfo_outdatedInstancesStrategy - Indicates what
-- happens when new Amazon EC2 instances are launched mid-deployment and
-- do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
--
-- $sel:serviceRoleArn:DeploymentGroupInfo',
-- deploymentGroupInfo_serviceRoleArn - A service role Amazon
-- Resource Name (ARN) that grants CodeDeploy permission to make calls to
-- Amazon Web Services services on your behalf. For more information, see
-- Create a Service Role for CodeDeploy in the CodeDeploy User
-- Guide.
--
-- $sel:targetRevision:DeploymentGroupInfo',
-- deploymentGroupInfo_targetRevision - Information about the
-- deployment group's target revision, including type and location.
--
-- $sel:triggerConfigurations:DeploymentGroupInfo',
-- deploymentGroupInfo_triggerConfigurations - Information about
-- triggers associated with the deployment group.
newDeploymentGroupInfo :: DeploymentGroupInfo
-- | A list of alarms associated with the deployment group.
deploymentGroupInfo_alarmConfiguration :: Lens' DeploymentGroupInfo (Maybe AlarmConfiguration)
-- | The application name.
deploymentGroupInfo_applicationName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about the automatic rollback configuration associated with
-- the deployment group.
deploymentGroupInfo_autoRollbackConfiguration :: Lens' DeploymentGroupInfo (Maybe AutoRollbackConfiguration)
-- | A list of associated Auto Scaling groups.
deploymentGroupInfo_autoScalingGroups :: Lens' DeploymentGroupInfo (Maybe [AutoScalingGroup])
-- | Information about blue/green deployment options for a deployment
-- group.
deploymentGroupInfo_blueGreenDeploymentConfiguration :: Lens' DeploymentGroupInfo (Maybe BlueGreenDeploymentConfiguration)
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
deploymentGroupInfo_computePlatform :: Lens' DeploymentGroupInfo (Maybe ComputePlatform)
-- | The deployment configuration name.
deploymentGroupInfo_deploymentConfigName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | The deployment group ID.
deploymentGroupInfo_deploymentGroupId :: Lens' DeploymentGroupInfo (Maybe Text)
-- | The deployment group name.
deploymentGroupInfo_deploymentGroupName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
deploymentGroupInfo_deploymentStyle :: Lens' DeploymentGroupInfo (Maybe DeploymentStyle)
-- | The Amazon EC2 tags on which to filter. The deployment group includes
-- EC2 instances with any of the specified tags.
deploymentGroupInfo_ec2TagFilters :: Lens' DeploymentGroupInfo (Maybe [EC2TagFilter])
-- | Information about groups of tags applied to an Amazon EC2 instance.
-- The deployment group includes only Amazon EC2 instances identified by
-- all of the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
deploymentGroupInfo_ec2TagSet :: Lens' DeploymentGroupInfo (Maybe EC2TagSet)
-- | The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
deploymentGroupInfo_ecsServices :: Lens' DeploymentGroupInfo (Maybe [ECSService])
-- | Information about the most recent attempted deployment to the
-- deployment group.
deploymentGroupInfo_lastAttemptedDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo)
-- | Information about the most recent successful deployment to the
-- deployment group.
deploymentGroupInfo_lastSuccessfulDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo)
-- | Information about the load balancer to use in a deployment.
deploymentGroupInfo_loadBalancerInfo :: Lens' DeploymentGroupInfo (Maybe LoadBalancerInfo)
-- | The on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags.
deploymentGroupInfo_onPremisesInstanceTagFilters :: Lens' DeploymentGroupInfo (Maybe [TagFilter])
-- | Information about groups of tags applied to an on-premises instance.
-- The deployment group includes only on-premises instances identified by
-- all the tag groups. Cannot be used in the same call as
-- onPremisesInstanceTagFilters.
deploymentGroupInfo_onPremisesTagSet :: Lens' DeploymentGroupInfo (Maybe OnPremisesTagSet)
-- | Indicates what happens when new Amazon EC2 instances are launched
-- mid-deployment and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
deploymentGroupInfo_outdatedInstancesStrategy :: Lens' DeploymentGroupInfo (Maybe OutdatedInstancesStrategy)
-- | A service role Amazon Resource Name (ARN) that grants CodeDeploy
-- permission to make calls to Amazon Web Services services on your
-- behalf. For more information, see Create a Service Role for
-- CodeDeploy in the CodeDeploy User Guide.
deploymentGroupInfo_serviceRoleArn :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about the deployment group's target revision, including
-- type and location.
deploymentGroupInfo_targetRevision :: Lens' DeploymentGroupInfo (Maybe RevisionLocation)
-- | Information about triggers associated with the deployment group.
deploymentGroupInfo_triggerConfigurations :: Lens' DeploymentGroupInfo (Maybe [TriggerConfig])
-- | Information about a deployment.
--
-- See: newDeploymentInfo smart constructor.
data DeploymentInfo
DeploymentInfo' :: Maybe Text -> Maybe Text -> Maybe AutoRollbackConfiguration -> Maybe BlueGreenDeploymentConfiguration -> Maybe POSIX -> Maybe ComputePlatform -> Maybe POSIX -> Maybe DeploymentCreator -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeploymentOverview -> Maybe [Text] -> Maybe DeploymentStyle -> Maybe Text -> Maybe ErrorInformation -> Maybe Text -> Maybe FileExistsBehavior -> Maybe Bool -> Maybe Bool -> Maybe LoadBalancerInfo -> Maybe AlarmConfiguration -> Maybe RevisionLocation -> Maybe RelatedDeployments -> Maybe RevisionLocation -> Maybe RollbackInfo -> Maybe POSIX -> Maybe DeploymentStatus -> Maybe TargetInstances -> Maybe Bool -> DeploymentInfo
-- | Provides information about the results of a deployment, such as
-- whether instances in the original environment in a blue/green
-- deployment were not terminated.
[$sel:additionalDeploymentStatusInfo:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | The application name.
[$sel:applicationName:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | Information about the automatic rollback configuration associated with
-- the deployment.
[$sel:autoRollbackConfiguration:DeploymentInfo'] :: DeploymentInfo -> Maybe AutoRollbackConfiguration
-- | Information about blue/green deployment options for this deployment.
[$sel:blueGreenDeploymentConfiguration:DeploymentInfo'] :: DeploymentInfo -> Maybe BlueGreenDeploymentConfiguration
-- | A timestamp that indicates when the deployment was complete.
[$sel:completeTime:DeploymentInfo'] :: DeploymentInfo -> Maybe POSIX
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
[$sel:computePlatform:DeploymentInfo'] :: DeploymentInfo -> Maybe ComputePlatform
-- | A timestamp that indicates when the deployment was created.
[$sel:createTime:DeploymentInfo'] :: DeploymentInfo -> Maybe POSIX
-- | The means by which the deployment was created:
--
--
-- - user: A user created the deployment.
-- - autoscaling: Amazon EC2 Auto Scaling created the
-- deployment.
-- - codeDeployRollback: A rollback process created the
-- deployment.
-- - CodeDeployAutoUpdate: An auto-update process created the
-- deployment when it detected outdated Amazon EC2 instances.
--
[$sel:creator:DeploymentInfo'] :: DeploymentInfo -> Maybe DeploymentCreator
-- | The deployment configuration name.
[$sel:deploymentConfigName:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | The deployment group name.
[$sel:deploymentGroupName:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | The unique ID of a deployment.
[$sel:deploymentId:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | A summary of the deployment status of the instances in the deployment.
[$sel:deploymentOverview:DeploymentInfo'] :: DeploymentInfo -> Maybe DeploymentOverview
-- | Messages that contain information about the status of a deployment.
[$sel:deploymentStatusMessages:DeploymentInfo'] :: DeploymentInfo -> Maybe [Text]
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
[$sel:deploymentStyle:DeploymentInfo'] :: DeploymentInfo -> Maybe DeploymentStyle
-- | A comment about the deployment.
[$sel:description:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | Information about any error associated with this deployment.
[$sel:errorInformation:DeploymentInfo'] :: DeploymentInfo -> Maybe ErrorInformation
-- | The unique ID for an external resource (for example, a CloudFormation
-- stack ID) that is linked to this deployment.
[$sel:externalId:DeploymentInfo'] :: DeploymentInfo -> Maybe Text
-- | Information about how CodeDeploy handles files that already exist in a
-- deployment target location but weren't part of the previous successful
-- deployment.
--
--
-- - DISALLOW: The deployment fails. This is also the default
-- behavior if no option is specified.
-- - OVERWRITE: The version of the file from the application
-- revision currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance
-- is kept and used as part of the new deployment.
--
[$sel:fileExistsBehavior:DeploymentInfo'] :: DeploymentInfo -> Maybe FileExistsBehavior
-- | If true, then if an ApplicationStop,
-- BeforeBlockTraffic, or AfterBlockTraffic deployment
-- lifecycle event to an instance fails, then the deployment continues to
-- the next deployment lifecycle event. For example, if
-- ApplicationStop fails, the deployment continues with
-- DownloadBundle. If BeforeBlockTraffic fails, the deployment
-- continues with BlockTraffic. If AfterBlockTraffic
-- fails, the deployment continues with ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
[$sel:ignoreApplicationStopFailures:DeploymentInfo'] :: DeploymentInfo -> Maybe Bool
-- | Indicates whether the wait period set for the termination of instances
-- in the original environment has started. Status is 'false' if the
-- KEEP_ALIVE option is specified. Otherwise, 'true' as soon as the
-- termination wait period starts.
[$sel:instanceTerminationWaitTimeStarted:DeploymentInfo'] :: DeploymentInfo -> Maybe Bool
-- | Information about the load balancer used in the deployment.
[$sel:loadBalancerInfo:DeploymentInfo'] :: DeploymentInfo -> Maybe LoadBalancerInfo
[$sel:overrideAlarmConfiguration:DeploymentInfo'] :: DeploymentInfo -> Maybe AlarmConfiguration
-- | Information about the application revision that was deployed to the
-- deployment group before the most recent successful deployment.
[$sel:previousRevision:DeploymentInfo'] :: DeploymentInfo -> Maybe RevisionLocation
[$sel:relatedDeployments:DeploymentInfo'] :: DeploymentInfo -> Maybe RelatedDeployments
-- | Information about the location of stored application artifacts and the
-- service from which to retrieve them.
[$sel:revision:DeploymentInfo'] :: DeploymentInfo -> Maybe RevisionLocation
-- | Information about a deployment rollback.
[$sel:rollbackInfo:DeploymentInfo'] :: DeploymentInfo -> Maybe RollbackInfo
-- | A timestamp that indicates when the deployment was deployed to the
-- deployment group.
--
-- In some cases, the reported value of the start time might be later
-- than the complete time. This is due to differences in the clock
-- settings of backend servers that participate in the deployment
-- process.
[$sel:startTime:DeploymentInfo'] :: DeploymentInfo -> Maybe POSIX
-- | The current state of the deployment as a whole.
[$sel:status:DeploymentInfo'] :: DeploymentInfo -> Maybe DeploymentStatus
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
[$sel:targetInstances:DeploymentInfo'] :: DeploymentInfo -> Maybe TargetInstances
-- | Indicates whether only instances that are not running the latest
-- application revision are to be deployed to.
[$sel:updateOutdatedInstancesOnly:DeploymentInfo'] :: DeploymentInfo -> Maybe Bool
-- | Create a value of DeploymentInfo with all optional fields
-- omitted.
--
-- 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:additionalDeploymentStatusInfo:DeploymentInfo',
-- deploymentInfo_additionalDeploymentStatusInfo - Provides
-- information about the results of a deployment, such as whether
-- instances in the original environment in a blue/green deployment were
-- not terminated.
--
-- $sel:applicationName:DeploymentInfo',
-- deploymentInfo_applicationName - The application name.
--
-- $sel:autoRollbackConfiguration:DeploymentInfo',
-- deploymentInfo_autoRollbackConfiguration - Information about
-- the automatic rollback configuration associated with the deployment.
--
-- $sel:blueGreenDeploymentConfiguration:DeploymentInfo',
-- deploymentInfo_blueGreenDeploymentConfiguration - Information
-- about blue/green deployment options for this deployment.
--
-- $sel:completeTime:DeploymentInfo',
-- deploymentInfo_completeTime - A timestamp that indicates when
-- the deployment was complete.
--
-- $sel:computePlatform:DeploymentInfo',
-- deploymentInfo_computePlatform - The destination platform type
-- for the deployment (Lambda, Server, or
-- ECS).
--
-- $sel:createTime:DeploymentInfo',
-- deploymentInfo_createTime - A timestamp that indicates when the
-- deployment was created.
--
-- $sel:creator:DeploymentInfo', deploymentInfo_creator -
-- The means by which the deployment was created:
--
--
-- - user: A user created the deployment.
-- - autoscaling: Amazon EC2 Auto Scaling created the
-- deployment.
-- - codeDeployRollback: A rollback process created the
-- deployment.
-- - CodeDeployAutoUpdate: An auto-update process created the
-- deployment when it detected outdated Amazon EC2 instances.
--
--
-- $sel:deploymentConfigName:DeploymentInfo',
-- deploymentInfo_deploymentConfigName - The deployment
-- configuration name.
--
-- $sel:deploymentGroupName:DeploymentInfo',
-- deploymentInfo_deploymentGroupName - The deployment group name.
--
-- $sel:deploymentId:DeploymentInfo',
-- deploymentInfo_deploymentId - The unique ID of a deployment.
--
-- $sel:deploymentOverview:DeploymentInfo',
-- deploymentInfo_deploymentOverview - A summary of the deployment
-- status of the instances in the deployment.
--
-- $sel:deploymentStatusMessages:DeploymentInfo',
-- deploymentInfo_deploymentStatusMessages - Messages that contain
-- information about the status of a deployment.
--
-- $sel:deploymentStyle:DeploymentInfo',
-- deploymentInfo_deploymentStyle - Information about the type of
-- deployment, either in-place or blue/green, you want to run and whether
-- to route deployment traffic behind a load balancer.
--
-- $sel:description:DeploymentInfo',
-- deploymentInfo_description - A comment about the deployment.
--
-- $sel:errorInformation:DeploymentInfo',
-- deploymentInfo_errorInformation - Information about any error
-- associated with this deployment.
--
-- $sel:externalId:DeploymentInfo',
-- deploymentInfo_externalId - The unique ID for an external
-- resource (for example, a CloudFormation stack ID) that is linked to
-- this deployment.
--
-- $sel:fileExistsBehavior:DeploymentInfo',
-- deploymentInfo_fileExistsBehavior - Information about how
-- CodeDeploy handles files that already exist in a deployment target
-- location but weren't part of the previous successful deployment.
--
--
-- - DISALLOW: The deployment fails. This is also the default
-- behavior if no option is specified.
-- - OVERWRITE: The version of the file from the application
-- revision currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance
-- is kept and used as part of the new deployment.
--
--
-- $sel:ignoreApplicationStopFailures:DeploymentInfo',
-- deploymentInfo_ignoreApplicationStopFailures - If true, then if
-- an ApplicationStop, BeforeBlockTraffic, or
-- AfterBlockTraffic deployment lifecycle event to an instance
-- fails, then the deployment continues to the next deployment lifecycle
-- event. For example, if ApplicationStop fails, the deployment
-- continues with DownloadBundle. If BeforeBlockTraffic fails,
-- the deployment continues with BlockTraffic. If
-- AfterBlockTraffic fails, the deployment continues with
-- ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
--
-- $sel:instanceTerminationWaitTimeStarted:DeploymentInfo',
-- deploymentInfo_instanceTerminationWaitTimeStarted - Indicates
-- whether the wait period set for the termination of instances in the
-- original environment has started. Status is 'false' if the KEEP_ALIVE
-- option is specified. Otherwise, 'true' as soon as the termination wait
-- period starts.
--
-- $sel:loadBalancerInfo:DeploymentInfo',
-- deploymentInfo_loadBalancerInfo - Information about the load
-- balancer used in the deployment.
--
-- $sel:overrideAlarmConfiguration:DeploymentInfo',
-- deploymentInfo_overrideAlarmConfiguration - Undocumented
-- member.
--
-- $sel:previousRevision:DeploymentInfo',
-- deploymentInfo_previousRevision - Information about the
-- application revision that was deployed to the deployment group before
-- the most recent successful deployment.
--
-- $sel:relatedDeployments:DeploymentInfo',
-- deploymentInfo_relatedDeployments - Undocumented member.
--
-- $sel:revision:DeploymentInfo', deploymentInfo_revision -
-- Information about the location of stored application artifacts and the
-- service from which to retrieve them.
--
-- $sel:rollbackInfo:DeploymentInfo',
-- deploymentInfo_rollbackInfo - Information about a deployment
-- rollback.
--
-- $sel:startTime:DeploymentInfo', deploymentInfo_startTime
-- - A timestamp that indicates when the deployment was deployed to the
-- deployment group.
--
-- In some cases, the reported value of the start time might be later
-- than the complete time. This is due to differences in the clock
-- settings of backend servers that participate in the deployment
-- process.
--
-- $sel:status:DeploymentInfo', deploymentInfo_status - The
-- current state of the deployment as a whole.
--
-- $sel:targetInstances:DeploymentInfo',
-- deploymentInfo_targetInstances - Information about the
-- instances that belong to the replacement environment in a blue/green
-- deployment.
--
-- $sel:updateOutdatedInstancesOnly:DeploymentInfo',
-- deploymentInfo_updateOutdatedInstancesOnly - Indicates whether
-- only instances that are not running the latest application revision
-- are to be deployed to.
newDeploymentInfo :: DeploymentInfo
-- | Provides information about the results of a deployment, such as
-- whether instances in the original environment in a blue/green
-- deployment were not terminated.
deploymentInfo_additionalDeploymentStatusInfo :: Lens' DeploymentInfo (Maybe Text)
-- | The application name.
deploymentInfo_applicationName :: Lens' DeploymentInfo (Maybe Text)
-- | Information about the automatic rollback configuration associated with
-- the deployment.
deploymentInfo_autoRollbackConfiguration :: Lens' DeploymentInfo (Maybe AutoRollbackConfiguration)
-- | Information about blue/green deployment options for this deployment.
deploymentInfo_blueGreenDeploymentConfiguration :: Lens' DeploymentInfo (Maybe BlueGreenDeploymentConfiguration)
-- | A timestamp that indicates when the deployment was complete.
deploymentInfo_completeTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
deploymentInfo_computePlatform :: Lens' DeploymentInfo (Maybe ComputePlatform)
-- | A timestamp that indicates when the deployment was created.
deploymentInfo_createTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | The means by which the deployment was created:
--
--
-- - user: A user created the deployment.
-- - autoscaling: Amazon EC2 Auto Scaling created the
-- deployment.
-- - codeDeployRollback: A rollback process created the
-- deployment.
-- - CodeDeployAutoUpdate: An auto-update process created the
-- deployment when it detected outdated Amazon EC2 instances.
--
deploymentInfo_creator :: Lens' DeploymentInfo (Maybe DeploymentCreator)
-- | The deployment configuration name.
deploymentInfo_deploymentConfigName :: Lens' DeploymentInfo (Maybe Text)
-- | The deployment group name.
deploymentInfo_deploymentGroupName :: Lens' DeploymentInfo (Maybe Text)
-- | The unique ID of a deployment.
deploymentInfo_deploymentId :: Lens' DeploymentInfo (Maybe Text)
-- | A summary of the deployment status of the instances in the deployment.
deploymentInfo_deploymentOverview :: Lens' DeploymentInfo (Maybe DeploymentOverview)
-- | Messages that contain information about the status of a deployment.
deploymentInfo_deploymentStatusMessages :: Lens' DeploymentInfo (Maybe [Text])
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
deploymentInfo_deploymentStyle :: Lens' DeploymentInfo (Maybe DeploymentStyle)
-- | A comment about the deployment.
deploymentInfo_description :: Lens' DeploymentInfo (Maybe Text)
-- | Information about any error associated with this deployment.
deploymentInfo_errorInformation :: Lens' DeploymentInfo (Maybe ErrorInformation)
-- | The unique ID for an external resource (for example, a CloudFormation
-- stack ID) that is linked to this deployment.
deploymentInfo_externalId :: Lens' DeploymentInfo (Maybe Text)
-- | Information about how CodeDeploy handles files that already exist in a
-- deployment target location but weren't part of the previous successful
-- deployment.
--
--
-- - DISALLOW: The deployment fails. This is also the default
-- behavior if no option is specified.
-- - OVERWRITE: The version of the file from the application
-- revision currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance
-- is kept and used as part of the new deployment.
--
deploymentInfo_fileExistsBehavior :: Lens' DeploymentInfo (Maybe FileExistsBehavior)
-- | If true, then if an ApplicationStop,
-- BeforeBlockTraffic, or AfterBlockTraffic deployment
-- lifecycle event to an instance fails, then the deployment continues to
-- the next deployment lifecycle event. For example, if
-- ApplicationStop fails, the deployment continues with
-- DownloadBundle. If BeforeBlockTraffic fails, the deployment
-- continues with BlockTraffic. If AfterBlockTraffic
-- fails, the deployment continues with ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
deploymentInfo_ignoreApplicationStopFailures :: Lens' DeploymentInfo (Maybe Bool)
-- | Indicates whether the wait period set for the termination of instances
-- in the original environment has started. Status is 'false' if the
-- KEEP_ALIVE option is specified. Otherwise, 'true' as soon as the
-- termination wait period starts.
deploymentInfo_instanceTerminationWaitTimeStarted :: Lens' DeploymentInfo (Maybe Bool)
-- | Information about the load balancer used in the deployment.
deploymentInfo_loadBalancerInfo :: Lens' DeploymentInfo (Maybe LoadBalancerInfo)
-- | Undocumented member.
deploymentInfo_overrideAlarmConfiguration :: Lens' DeploymentInfo (Maybe AlarmConfiguration)
-- | Information about the application revision that was deployed to the
-- deployment group before the most recent successful deployment.
deploymentInfo_previousRevision :: Lens' DeploymentInfo (Maybe RevisionLocation)
-- | Undocumented member.
deploymentInfo_relatedDeployments :: Lens' DeploymentInfo (Maybe RelatedDeployments)
-- | Information about the location of stored application artifacts and the
-- service from which to retrieve them.
deploymentInfo_revision :: Lens' DeploymentInfo (Maybe RevisionLocation)
-- | Information about a deployment rollback.
deploymentInfo_rollbackInfo :: Lens' DeploymentInfo (Maybe RollbackInfo)
-- | A timestamp that indicates when the deployment was deployed to the
-- deployment group.
--
-- In some cases, the reported value of the start time might be later
-- than the complete time. This is due to differences in the clock
-- settings of backend servers that participate in the deployment
-- process.
deploymentInfo_startTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | The current state of the deployment as a whole.
deploymentInfo_status :: Lens' DeploymentInfo (Maybe DeploymentStatus)
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
deploymentInfo_targetInstances :: Lens' DeploymentInfo (Maybe TargetInstances)
-- | Indicates whether only instances that are not running the latest
-- application revision are to be deployed to.
deploymentInfo_updateOutdatedInstancesOnly :: Lens' DeploymentInfo (Maybe Bool)
-- | Information about the deployment status of the instances in the
-- deployment.
--
-- See: newDeploymentOverview smart constructor.
data DeploymentOverview
DeploymentOverview' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> DeploymentOverview
-- | The number of instances in the deployment in a failed state.
[$sel:failed:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | The number of instances in which the deployment is in progress.
[$sel:inProgress:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | The number of instances in the deployment in a pending state.
[$sel:pending:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | The number of instances in a replacement environment ready to receive
-- traffic in a blue/green deployment.
[$sel:ready:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | The number of instances in the deployment in a skipped state.
[$sel:skipped:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | The number of instances in the deployment to which revisions have been
-- successfully deployed.
[$sel:succeeded:DeploymentOverview'] :: DeploymentOverview -> Maybe Integer
-- | Create a value of DeploymentOverview with all optional fields
-- omitted.
--
-- 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:failed:DeploymentOverview',
-- deploymentOverview_failed - The number of instances in the
-- deployment in a failed state.
--
-- $sel:inProgress:DeploymentOverview',
-- deploymentOverview_inProgress - The number of instances in
-- which the deployment is in progress.
--
-- $sel:pending:DeploymentOverview',
-- deploymentOverview_pending - The number of instances in the
-- deployment in a pending state.
--
-- $sel:ready:DeploymentOverview', deploymentOverview_ready
-- - The number of instances in a replacement environment ready to
-- receive traffic in a blue/green deployment.
--
-- $sel:skipped:DeploymentOverview',
-- deploymentOverview_skipped - The number of instances in the
-- deployment in a skipped state.
--
-- $sel:succeeded:DeploymentOverview',
-- deploymentOverview_succeeded - The number of instances in the
-- deployment to which revisions have been successfully deployed.
newDeploymentOverview :: DeploymentOverview
-- | The number of instances in the deployment in a failed state.
deploymentOverview_failed :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in which the deployment is in progress.
deploymentOverview_inProgress :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment in a pending state.
deploymentOverview_pending :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in a replacement environment ready to receive
-- traffic in a blue/green deployment.
deploymentOverview_ready :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment in a skipped state.
deploymentOverview_skipped :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment to which revisions have been
-- successfully deployed.
deploymentOverview_succeeded :: Lens' DeploymentOverview (Maybe Integer)
-- | Information about how traffic is rerouted to instances in a
-- replacement environment in a blue/green deployment.
--
-- See: newDeploymentReadyOption smart constructor.
data DeploymentReadyOption
DeploymentReadyOption' :: Maybe DeploymentReadyAction -> Maybe Int -> DeploymentReadyOption
-- | Information about when to reroute traffic from an original environment
-- to a replacement environment in a blue/green deployment.
--
--
-- - CONTINUE_DEPLOYMENT: Register new instances with the load balancer
-- immediately after the new application revision is installed on the
-- instances in the replacement environment.
-- - STOP_DEPLOYMENT: Do not register new instances with a load
-- balancer unless traffic rerouting is started using ContinueDeployment.
-- If traffic rerouting is not started before the end of the specified
-- wait period, the deployment status is changed to Stopped.
--
[$sel:actionOnTimeout:DeploymentReadyOption'] :: DeploymentReadyOption -> Maybe DeploymentReadyAction
-- | The number of minutes to wait before the status of a blue/green
-- deployment is changed to Stopped if rerouting is not started manually.
-- Applies only to the STOP_DEPLOYMENT option for
-- actionOnTimeout.
[$sel:waitTimeInMinutes:DeploymentReadyOption'] :: DeploymentReadyOption -> Maybe Int
-- | Create a value of DeploymentReadyOption with all optional
-- fields omitted.
--
-- 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:actionOnTimeout:DeploymentReadyOption',
-- deploymentReadyOption_actionOnTimeout - Information about when
-- to reroute traffic from an original environment to a replacement
-- environment in a blue/green deployment.
--
--
-- - CONTINUE_DEPLOYMENT: Register new instances with the load balancer
-- immediately after the new application revision is installed on the
-- instances in the replacement environment.
-- - STOP_DEPLOYMENT: Do not register new instances with a load
-- balancer unless traffic rerouting is started using ContinueDeployment.
-- If traffic rerouting is not started before the end of the specified
-- wait period, the deployment status is changed to Stopped.
--
--
-- $sel:waitTimeInMinutes:DeploymentReadyOption',
-- deploymentReadyOption_waitTimeInMinutes - The number of minutes
-- to wait before the status of a blue/green deployment is changed to
-- Stopped if rerouting is not started manually. Applies only to the
-- STOP_DEPLOYMENT option for actionOnTimeout.
newDeploymentReadyOption :: DeploymentReadyOption
-- | Information about when to reroute traffic from an original environment
-- to a replacement environment in a blue/green deployment.
--
--
-- - CONTINUE_DEPLOYMENT: Register new instances with the load balancer
-- immediately after the new application revision is installed on the
-- instances in the replacement environment.
-- - STOP_DEPLOYMENT: Do not register new instances with a load
-- balancer unless traffic rerouting is started using ContinueDeployment.
-- If traffic rerouting is not started before the end of the specified
-- wait period, the deployment status is changed to Stopped.
--
deploymentReadyOption_actionOnTimeout :: Lens' DeploymentReadyOption (Maybe DeploymentReadyAction)
-- | The number of minutes to wait before the status of a blue/green
-- deployment is changed to Stopped if rerouting is not started manually.
-- Applies only to the STOP_DEPLOYMENT option for
-- actionOnTimeout.
deploymentReadyOption_waitTimeInMinutes :: Lens' DeploymentReadyOption (Maybe Int)
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
--
-- See: newDeploymentStyle smart constructor.
data DeploymentStyle
DeploymentStyle' :: Maybe DeploymentOption -> Maybe DeploymentType -> DeploymentStyle
-- | Indicates whether to route deployment traffic behind a load balancer.
[$sel:deploymentOption:DeploymentStyle'] :: DeploymentStyle -> Maybe DeploymentOption
-- | Indicates whether to run an in-place deployment or a blue/green
-- deployment.
[$sel:deploymentType:DeploymentStyle'] :: DeploymentStyle -> Maybe DeploymentType
-- | Create a value of DeploymentStyle with all optional fields
-- omitted.
--
-- 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:deploymentOption:DeploymentStyle',
-- deploymentStyle_deploymentOption - Indicates whether to route
-- deployment traffic behind a load balancer.
--
-- $sel:deploymentType:DeploymentStyle',
-- deploymentStyle_deploymentType - Indicates whether to run an
-- in-place deployment or a blue/green deployment.
newDeploymentStyle :: DeploymentStyle
-- | Indicates whether to route deployment traffic behind a load balancer.
deploymentStyle_deploymentOption :: Lens' DeploymentStyle (Maybe DeploymentOption)
-- | Indicates whether to run an in-place deployment or a blue/green
-- deployment.
deploymentStyle_deploymentType :: Lens' DeploymentStyle (Maybe DeploymentType)
-- | Information about the deployment target.
--
-- See: newDeploymentTarget smart constructor.
data DeploymentTarget
DeploymentTarget' :: Maybe CloudFormationTarget -> Maybe DeploymentTargetType -> Maybe ECSTarget -> Maybe InstanceTarget -> Maybe LambdaTarget -> DeploymentTarget
[$sel:cloudFormationTarget:DeploymentTarget'] :: DeploymentTarget -> Maybe CloudFormationTarget
-- | The deployment type that is specific to the deployment's compute
-- platform or deployments initiated by a CloudFormation stack update.
[$sel:deploymentTargetType:DeploymentTarget'] :: DeploymentTarget -> Maybe DeploymentTargetType
-- | Information about the target for a deployment that uses the Amazon ECS
-- compute platform.
[$sel:ecsTarget:DeploymentTarget'] :: DeploymentTarget -> Maybe ECSTarget
-- | Information about the target for a deployment that uses the
-- EC2/On-premises compute platform.
[$sel:instanceTarget:DeploymentTarget'] :: DeploymentTarget -> Maybe InstanceTarget
-- | Information about the target for a deployment that uses the Lambda
-- compute platform.
[$sel:lambdaTarget:DeploymentTarget'] :: DeploymentTarget -> Maybe LambdaTarget
-- | Create a value of DeploymentTarget with all optional fields
-- omitted.
--
-- 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:cloudFormationTarget:DeploymentTarget',
-- deploymentTarget_cloudFormationTarget - Undocumented member.
--
-- $sel:deploymentTargetType:DeploymentTarget',
-- deploymentTarget_deploymentTargetType - The deployment type
-- that is specific to the deployment's compute platform or deployments
-- initiated by a CloudFormation stack update.
--
-- $sel:ecsTarget:DeploymentTarget',
-- deploymentTarget_ecsTarget - Information about the target for a
-- deployment that uses the Amazon ECS compute platform.
--
-- $sel:instanceTarget:DeploymentTarget',
-- deploymentTarget_instanceTarget - Information about the target
-- for a deployment that uses the EC2/On-premises compute platform.
--
-- $sel:lambdaTarget:DeploymentTarget',
-- deploymentTarget_lambdaTarget - Information about the target
-- for a deployment that uses the Lambda compute platform.
newDeploymentTarget :: DeploymentTarget
-- | Undocumented member.
deploymentTarget_cloudFormationTarget :: Lens' DeploymentTarget (Maybe CloudFormationTarget)
-- | The deployment type that is specific to the deployment's compute
-- platform or deployments initiated by a CloudFormation stack update.
deploymentTarget_deploymentTargetType :: Lens' DeploymentTarget (Maybe DeploymentTargetType)
-- | Information about the target for a deployment that uses the Amazon ECS
-- compute platform.
deploymentTarget_ecsTarget :: Lens' DeploymentTarget (Maybe ECSTarget)
-- | Information about the target for a deployment that uses the
-- EC2/On-premises compute platform.
deploymentTarget_instanceTarget :: Lens' DeploymentTarget (Maybe InstanceTarget)
-- | Information about the target for a deployment that uses the Lambda
-- compute platform.
deploymentTarget_lambdaTarget :: Lens' DeploymentTarget (Maybe LambdaTarget)
-- | Diagnostic information about executable scripts that are part of a
-- deployment.
--
-- See: newDiagnostics smart constructor.
data Diagnostics
Diagnostics' :: Maybe LifecycleErrorCode -> Maybe Text -> Maybe Text -> Maybe Text -> Diagnostics
-- | The associated error code:
--
--
-- - Success: The specified script ran.
-- - ScriptMissing: The specified script was not found in the specified
-- location.
-- - ScriptNotExecutable: The specified script is not a recognized
-- executable file type.
-- - ScriptTimedOut: The specified script did not finish running in the
-- specified time period.
-- - ScriptFailed: The specified script failed to run as expected.
-- - UnknownError: The specified script did not run for an unknown
-- reason.
--
[$sel:errorCode:Diagnostics'] :: Diagnostics -> Maybe LifecycleErrorCode
-- | The last portion of the diagnostic log.
--
-- If available, CodeDeploy returns up to the last 4 KB of the diagnostic
-- log.
[$sel:logTail:Diagnostics'] :: Diagnostics -> Maybe Text
-- | The message associated with the error.
[$sel:message:Diagnostics'] :: Diagnostics -> Maybe Text
-- | The name of the script.
[$sel:scriptName:Diagnostics'] :: Diagnostics -> Maybe Text
-- | Create a value of Diagnostics with all optional fields omitted.
--
-- 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:errorCode:Diagnostics', diagnostics_errorCode - The
-- associated error code:
--
--
-- - Success: The specified script ran.
-- - ScriptMissing: The specified script was not found in the specified
-- location.
-- - ScriptNotExecutable: The specified script is not a recognized
-- executable file type.
-- - ScriptTimedOut: The specified script did not finish running in the
-- specified time period.
-- - ScriptFailed: The specified script failed to run as expected.
-- - UnknownError: The specified script did not run for an unknown
-- reason.
--
--
-- $sel:logTail:Diagnostics', diagnostics_logTail - The
-- last portion of the diagnostic log.
--
-- If available, CodeDeploy returns up to the last 4 KB of the diagnostic
-- log.
--
-- $sel:message:Diagnostics', diagnostics_message - The
-- message associated with the error.
--
-- $sel:scriptName:Diagnostics', diagnostics_scriptName -
-- The name of the script.
newDiagnostics :: Diagnostics
-- | The associated error code:
--
--
-- - Success: The specified script ran.
-- - ScriptMissing: The specified script was not found in the specified
-- location.
-- - ScriptNotExecutable: The specified script is not a recognized
-- executable file type.
-- - ScriptTimedOut: The specified script did not finish running in the
-- specified time period.
-- - ScriptFailed: The specified script failed to run as expected.
-- - UnknownError: The specified script did not run for an unknown
-- reason.
--
diagnostics_errorCode :: Lens' Diagnostics (Maybe LifecycleErrorCode)
-- | The last portion of the diagnostic log.
--
-- If available, CodeDeploy returns up to the last 4 KB of the diagnostic
-- log.
diagnostics_logTail :: Lens' Diagnostics (Maybe Text)
-- | The message associated with the error.
diagnostics_message :: Lens' Diagnostics (Maybe Text)
-- | The name of the script.
diagnostics_scriptName :: Lens' Diagnostics (Maybe Text)
-- | Information about an EC2 tag filter.
--
-- See: newEC2TagFilter smart constructor.
data EC2TagFilter
EC2TagFilter' :: Maybe Text -> Maybe EC2TagFilterType -> Maybe Text -> EC2TagFilter
-- | The tag filter key.
[$sel:key:EC2TagFilter'] :: EC2TagFilter -> Maybe Text
-- | The tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
[$sel:type':EC2TagFilter'] :: EC2TagFilter -> Maybe EC2TagFilterType
-- | The tag filter value.
[$sel:value:EC2TagFilter'] :: EC2TagFilter -> Maybe Text
-- | Create a value of EC2TagFilter with all optional fields
-- omitted.
--
-- 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:key:EC2TagFilter', eC2TagFilter_key - The tag
-- filter key.
--
-- $sel:type':EC2TagFilter', eC2TagFilter_type - The tag
-- filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
--
-- $sel:value:EC2TagFilter', eC2TagFilter_value - The tag
-- filter value.
newEC2TagFilter :: EC2TagFilter
-- | The tag filter key.
eC2TagFilter_key :: Lens' EC2TagFilter (Maybe Text)
-- | The tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
eC2TagFilter_type :: Lens' EC2TagFilter (Maybe EC2TagFilterType)
-- | The tag filter value.
eC2TagFilter_value :: Lens' EC2TagFilter (Maybe Text)
-- | Information about groups of Amazon EC2 instance tags.
--
-- See: newEC2TagSet smart constructor.
data EC2TagSet
EC2TagSet' :: Maybe [[EC2TagFilter]] -> EC2TagSet
-- | A list that contains other lists of Amazon EC2 instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
[$sel:ec2TagSetList:EC2TagSet'] :: EC2TagSet -> Maybe [[EC2TagFilter]]
-- | Create a value of EC2TagSet with all optional fields omitted.
--
-- 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:ec2TagSetList:EC2TagSet', eC2TagSet_ec2TagSetList -
-- A list that contains other lists of Amazon EC2 instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
newEC2TagSet :: EC2TagSet
-- | A list that contains other lists of Amazon EC2 instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
eC2TagSet_ec2TagSetList :: Lens' EC2TagSet (Maybe [[EC2TagFilter]])
-- | Contains the service and cluster names used to identify an Amazon ECS
-- deployment's target.
--
-- See: newECSService smart constructor.
data ECSService
ECSService' :: Maybe Text -> Maybe Text -> ECSService
-- | The name of the cluster that the Amazon ECS service is associated
-- with.
[$sel:clusterName:ECSService'] :: ECSService -> Maybe Text
-- | The name of the target Amazon ECS service.
[$sel:serviceName:ECSService'] :: ECSService -> Maybe Text
-- | Create a value of ECSService with all optional fields omitted.
--
-- 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:clusterName:ECSService', eCSService_clusterName -
-- The name of the cluster that the Amazon ECS service is associated
-- with.
--
-- $sel:serviceName:ECSService', eCSService_serviceName -
-- The name of the target Amazon ECS service.
newECSService :: ECSService
-- | The name of the cluster that the Amazon ECS service is associated
-- with.
eCSService_clusterName :: Lens' ECSService (Maybe Text)
-- | The name of the target Amazon ECS service.
eCSService_serviceName :: Lens' ECSService (Maybe Text)
-- | Information about the target of an Amazon ECS deployment.
--
-- See: newECSTarget smart constructor.
data ECSTarget
ECSTarget' :: Maybe Text -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe TargetStatus -> Maybe Text -> Maybe Text -> Maybe [ECSTaskSet] -> ECSTarget
-- | The unique ID of a deployment.
[$sel:deploymentId:ECSTarget'] :: ECSTarget -> Maybe Text
-- | The date and time when the target Amazon ECS application was updated
-- by a deployment.
[$sel:lastUpdatedAt:ECSTarget'] :: ECSTarget -> Maybe POSIX
-- | The lifecycle events of the deployment to this target Amazon ECS
-- application.
[$sel:lifecycleEvents:ECSTarget'] :: ECSTarget -> Maybe [LifecycleEvent]
-- | The status an Amazon ECS deployment's target ECS application.
[$sel:status:ECSTarget'] :: ECSTarget -> Maybe TargetStatus
-- | The Amazon Resource Name (ARN) of the target.
[$sel:targetArn:ECSTarget'] :: ECSTarget -> Maybe Text
-- | The unique ID of a deployment target that has a type of
-- ecsTarget.
[$sel:targetId:ECSTarget'] :: ECSTarget -> Maybe Text
-- | The ECSTaskSet objects associated with the ECS target.
[$sel:taskSetsInfo:ECSTarget'] :: ECSTarget -> Maybe [ECSTaskSet]
-- | Create a value of ECSTarget with all optional fields omitted.
--
-- 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:deploymentId:ECSTarget', eCSTarget_deploymentId -
-- The unique ID of a deployment.
--
-- $sel:lastUpdatedAt:ECSTarget', eCSTarget_lastUpdatedAt -
-- The date and time when the target Amazon ECS application was updated
-- by a deployment.
--
-- $sel:lifecycleEvents:ECSTarget',
-- eCSTarget_lifecycleEvents - The lifecycle events of the
-- deployment to this target Amazon ECS application.
--
-- ECSTarget, eCSTarget_status - The status an Amazon ECS
-- deployment's target ECS application.
--
-- $sel:targetArn:ECSTarget', eCSTarget_targetArn - The
-- Amazon Resource Name (ARN) of the target.
--
-- $sel:targetId:ECSTarget', eCSTarget_targetId - The
-- unique ID of a deployment target that has a type of
-- ecsTarget.
--
-- $sel:taskSetsInfo:ECSTarget', eCSTarget_taskSetsInfo -
-- The ECSTaskSet objects associated with the ECS target.
newECSTarget :: ECSTarget
-- | The unique ID of a deployment.
eCSTarget_deploymentId :: Lens' ECSTarget (Maybe Text)
-- | The date and time when the target Amazon ECS application was updated
-- by a deployment.
eCSTarget_lastUpdatedAt :: Lens' ECSTarget (Maybe UTCTime)
-- | The lifecycle events of the deployment to this target Amazon ECS
-- application.
eCSTarget_lifecycleEvents :: Lens' ECSTarget (Maybe [LifecycleEvent])
-- | The status an Amazon ECS deployment's target ECS application.
eCSTarget_status :: Lens' ECSTarget (Maybe TargetStatus)
-- | The Amazon Resource Name (ARN) of the target.
eCSTarget_targetArn :: Lens' ECSTarget (Maybe Text)
-- | The unique ID of a deployment target that has a type of
-- ecsTarget.
eCSTarget_targetId :: Lens' ECSTarget (Maybe Text)
-- | The ECSTaskSet objects associated with the ECS target.
eCSTarget_taskSetsInfo :: Lens' ECSTarget (Maybe [ECSTaskSet])
-- | Information about a set of Amazon ECS tasks in an CodeDeploy
-- deployment. An Amazon ECS task set includes details such as the
-- desired number of tasks, how many tasks are running, and whether the
-- task set serves production traffic. An CodeDeploy application that
-- uses the Amazon ECS compute platform deploys a containerized
-- application in an Amazon ECS service as a task set.
--
-- See: newECSTaskSet smart constructor.
data ECSTaskSet
ECSTaskSet' :: Maybe Integer -> Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe TargetGroupInfo -> Maybe TargetLabel -> Maybe Double -> ECSTaskSet
-- | The number of tasks in a task set. During a deployment that uses the
-- Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a
-- new task set and uses this value to determine how many tasks to
-- create. After the updated task set is created, CodeDeploy shifts
-- traffic to the new task set.
[$sel:desiredCount:ECSTaskSet'] :: ECSTaskSet -> Maybe Integer
-- | A unique ID of an ECSTaskSet.
[$sel:identifer:ECSTaskSet'] :: ECSTaskSet -> Maybe Text
-- | The number of tasks in the task set that are in the PENDING
-- status during an Amazon ECS deployment. A task in the PENDING
-- state is preparing to enter the RUNNING state. A task set
-- enters the PENDING status when it launches for the first
-- time, or when it is restarted after being in the STOPPED
-- state.
[$sel:pendingCount:ECSTaskSet'] :: ECSTaskSet -> Maybe Integer
-- | The number of tasks in the task set that are in the RUNNING
-- status during an Amazon ECS deployment. A task in the RUNNING
-- state is running and ready for use.
[$sel:runningCount:ECSTaskSet'] :: ECSTaskSet -> Maybe Integer
-- | The status of the task set. There are three valid task set statuses:
--
--
-- - PRIMARY: Indicates the task set is serving production
-- traffic.
-- - ACTIVE: Indicates the task set is not serving production
-- traffic.
-- - DRAINING: Indicates the tasks in the task set are being
-- stopped and their corresponding targets are being deregistered from
-- their target group.
--
[$sel:status:ECSTaskSet'] :: ECSTaskSet -> Maybe Text
-- | The target group associated with the task set. The target group is
-- used by CodeDeploy to manage traffic to a task set.
[$sel:targetGroup:ECSTaskSet'] :: ECSTaskSet -> Maybe TargetGroupInfo
-- | A label that identifies whether the ECS task set is an original target
-- (BLUE) or a replacement target (GREEN).
[$sel:taskSetLabel:ECSTaskSet'] :: ECSTaskSet -> Maybe TargetLabel
-- | The percentage of traffic served by this task set.
[$sel:trafficWeight:ECSTaskSet'] :: ECSTaskSet -> Maybe Double
-- | Create a value of ECSTaskSet with all optional fields omitted.
--
-- 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:desiredCount:ECSTaskSet', eCSTaskSet_desiredCount -
-- The number of tasks in a task set. During a deployment that uses the
-- Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a
-- new task set and uses this value to determine how many tasks to
-- create. After the updated task set is created, CodeDeploy shifts
-- traffic to the new task set.
--
-- $sel:identifer:ECSTaskSet', eCSTaskSet_identifer - A
-- unique ID of an ECSTaskSet.
--
-- $sel:pendingCount:ECSTaskSet', eCSTaskSet_pendingCount -
-- The number of tasks in the task set that are in the PENDING
-- status during an Amazon ECS deployment. A task in the PENDING
-- state is preparing to enter the RUNNING state. A task set
-- enters the PENDING status when it launches for the first
-- time, or when it is restarted after being in the STOPPED
-- state.
--
-- $sel:runningCount:ECSTaskSet', eCSTaskSet_runningCount -
-- The number of tasks in the task set that are in the RUNNING
-- status during an Amazon ECS deployment. A task in the RUNNING
-- state is running and ready for use.
--
-- $sel:status:ECSTaskSet', eCSTaskSet_status - The status
-- of the task set. There are three valid task set statuses:
--
--
-- - PRIMARY: Indicates the task set is serving production
-- traffic.
-- - ACTIVE: Indicates the task set is not serving production
-- traffic.
-- - DRAINING: Indicates the tasks in the task set are being
-- stopped and their corresponding targets are being deregistered from
-- their target group.
--
--
-- $sel:targetGroup:ECSTaskSet', eCSTaskSet_targetGroup -
-- The target group associated with the task set. The target group is
-- used by CodeDeploy to manage traffic to a task set.
--
-- $sel:taskSetLabel:ECSTaskSet', eCSTaskSet_taskSetLabel -
-- A label that identifies whether the ECS task set is an original target
-- (BLUE) or a replacement target (GREEN).
--
-- $sel:trafficWeight:ECSTaskSet', eCSTaskSet_trafficWeight
-- - The percentage of traffic served by this task set.
newECSTaskSet :: ECSTaskSet
-- | The number of tasks in a task set. During a deployment that uses the
-- Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a
-- new task set and uses this value to determine how many tasks to
-- create. After the updated task set is created, CodeDeploy shifts
-- traffic to the new task set.
eCSTaskSet_desiredCount :: Lens' ECSTaskSet (Maybe Integer)
-- | A unique ID of an ECSTaskSet.
eCSTaskSet_identifer :: Lens' ECSTaskSet (Maybe Text)
-- | The number of tasks in the task set that are in the PENDING
-- status during an Amazon ECS deployment. A task in the PENDING
-- state is preparing to enter the RUNNING state. A task set
-- enters the PENDING status when it launches for the first
-- time, or when it is restarted after being in the STOPPED
-- state.
eCSTaskSet_pendingCount :: Lens' ECSTaskSet (Maybe Integer)
-- | The number of tasks in the task set that are in the RUNNING
-- status during an Amazon ECS deployment. A task in the RUNNING
-- state is running and ready for use.
eCSTaskSet_runningCount :: Lens' ECSTaskSet (Maybe Integer)
-- | The status of the task set. There are three valid task set statuses:
--
--
-- - PRIMARY: Indicates the task set is serving production
-- traffic.
-- - ACTIVE: Indicates the task set is not serving production
-- traffic.
-- - DRAINING: Indicates the tasks in the task set are being
-- stopped and their corresponding targets are being deregistered from
-- their target group.
--
eCSTaskSet_status :: Lens' ECSTaskSet (Maybe Text)
-- | The target group associated with the task set. The target group is
-- used by CodeDeploy to manage traffic to a task set.
eCSTaskSet_targetGroup :: Lens' ECSTaskSet (Maybe TargetGroupInfo)
-- | A label that identifies whether the ECS task set is an original target
-- (BLUE) or a replacement target (GREEN).
eCSTaskSet_taskSetLabel :: Lens' ECSTaskSet (Maybe TargetLabel)
-- | The percentage of traffic served by this task set.
eCSTaskSet_trafficWeight :: Lens' ECSTaskSet (Maybe Double)
-- | Information about a load balancer in Elastic Load Balancing to use in
-- a deployment. Instances are registered directly with a load balancer,
-- and traffic is routed to the load balancer.
--
-- See: newELBInfo smart constructor.
data ELBInfo
ELBInfo' :: Maybe Text -> ELBInfo
-- | For blue/green deployments, the name of the load balancer that is used
-- to route traffic from original instances to replacement instances in a
-- blue/green deployment. For in-place deployments, the name of the load
-- balancer that instances are deregistered from so they are not serving
-- traffic during a deployment, and then re-registered with after the
-- deployment is complete.
[$sel:name:ELBInfo'] :: ELBInfo -> Maybe Text
-- | Create a value of ELBInfo with all optional fields omitted.
--
-- 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:ELBInfo', eLBInfo_name - For blue/green
-- deployments, the name of the load balancer that is used to route
-- traffic from original instances to replacement instances in a
-- blue/green deployment. For in-place deployments, the name of the load
-- balancer that instances are deregistered from so they are not serving
-- traffic during a deployment, and then re-registered with after the
-- deployment is complete.
newELBInfo :: ELBInfo
-- | For blue/green deployments, the name of the load balancer that is used
-- to route traffic from original instances to replacement instances in a
-- blue/green deployment. For in-place deployments, the name of the load
-- balancer that instances are deregistered from so they are not serving
-- traffic during a deployment, and then re-registered with after the
-- deployment is complete.
eLBInfo_name :: Lens' ELBInfo (Maybe Text)
-- | Information about a deployment error.
--
-- See: newErrorInformation smart constructor.
data ErrorInformation
ErrorInformation' :: Maybe DeployErrorCode -> Maybe Text -> ErrorInformation
-- | For more information, see Error Codes for CodeDeploy in the
-- CodeDeploy User Guide.
--
-- The error code:
--
--
-- - APPLICATION_MISSING: The application was missing. This error code
-- is most likely raised if the application is deleted after the
-- deployment is created, but before it is started.
-- - DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This
-- error code is most likely raised if the deployment group is deleted
-- after the deployment is created, but before it is started.
-- - HEALTH_CONSTRAINTS: The deployment failed on too many instances to
-- be successfully deployed within the instance health constraints
-- specified.
-- - HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully
-- deployed within the instance health constraints specified.
-- - IAM_ROLE_MISSING: The service role cannot be accessed.
-- - IAM_ROLE_PERMISSIONS: The service role does not have the correct
-- permissions.
-- - INTERNAL_ERROR: There was an internal error.
-- - NO_EC2_SUBSCRIPTION: The calling account is not subscribed to
-- Amazon EC2.
-- - NO_INSTANCES: No instances were specified, or no instances can be
-- found.
-- - OVER_MAX_INSTANCES: The maximum number of instances was
-- exceeded.
-- - THROTTLED: The operation was throttled because the calling account
-- exceeded the throttling limits of one or more Amazon Web Services
-- services.
-- - TIMEOUT: The deployment has timed out.
-- - REVISION_MISSING: The revision ID was missing. This error code is
-- most likely raised if the revision is deleted after the deployment is
-- created, but before it is started.
--
[$sel:code:ErrorInformation'] :: ErrorInformation -> Maybe DeployErrorCode
-- | An accompanying error message.
[$sel:message:ErrorInformation'] :: ErrorInformation -> Maybe Text
-- | Create a value of ErrorInformation with all optional fields
-- omitted.
--
-- 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:code:ErrorInformation', errorInformation_code - For
-- more information, see Error Codes for CodeDeploy in the
-- CodeDeploy User Guide.
--
-- The error code:
--
--
-- - APPLICATION_MISSING: The application was missing. This error code
-- is most likely raised if the application is deleted after the
-- deployment is created, but before it is started.
-- - DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This
-- error code is most likely raised if the deployment group is deleted
-- after the deployment is created, but before it is started.
-- - HEALTH_CONSTRAINTS: The deployment failed on too many instances to
-- be successfully deployed within the instance health constraints
-- specified.
-- - HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully
-- deployed within the instance health constraints specified.
-- - IAM_ROLE_MISSING: The service role cannot be accessed.
-- - IAM_ROLE_PERMISSIONS: The service role does not have the correct
-- permissions.
-- - INTERNAL_ERROR: There was an internal error.
-- - NO_EC2_SUBSCRIPTION: The calling account is not subscribed to
-- Amazon EC2.
-- - NO_INSTANCES: No instances were specified, or no instances can be
-- found.
-- - OVER_MAX_INSTANCES: The maximum number of instances was
-- exceeded.
-- - THROTTLED: The operation was throttled because the calling account
-- exceeded the throttling limits of one or more Amazon Web Services
-- services.
-- - TIMEOUT: The deployment has timed out.
-- - REVISION_MISSING: The revision ID was missing. This error code is
-- most likely raised if the revision is deleted after the deployment is
-- created, but before it is started.
--
--
-- $sel:message:ErrorInformation', errorInformation_message
-- - An accompanying error message.
newErrorInformation :: ErrorInformation
-- | For more information, see Error Codes for CodeDeploy in the
-- CodeDeploy User Guide.
--
-- The error code:
--
--
-- - APPLICATION_MISSING: The application was missing. This error code
-- is most likely raised if the application is deleted after the
-- deployment is created, but before it is started.
-- - DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This
-- error code is most likely raised if the deployment group is deleted
-- after the deployment is created, but before it is started.
-- - HEALTH_CONSTRAINTS: The deployment failed on too many instances to
-- be successfully deployed within the instance health constraints
-- specified.
-- - HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully
-- deployed within the instance health constraints specified.
-- - IAM_ROLE_MISSING: The service role cannot be accessed.
-- - IAM_ROLE_PERMISSIONS: The service role does not have the correct
-- permissions.
-- - INTERNAL_ERROR: There was an internal error.
-- - NO_EC2_SUBSCRIPTION: The calling account is not subscribed to
-- Amazon EC2.
-- - NO_INSTANCES: No instances were specified, or no instances can be
-- found.
-- - OVER_MAX_INSTANCES: The maximum number of instances was
-- exceeded.
-- - THROTTLED: The operation was throttled because the calling account
-- exceeded the throttling limits of one or more Amazon Web Services
-- services.
-- - TIMEOUT: The deployment has timed out.
-- - REVISION_MISSING: The revision ID was missing. This error code is
-- most likely raised if the revision is deleted after the deployment is
-- created, but before it is started.
--
errorInformation_code :: Lens' ErrorInformation (Maybe DeployErrorCode)
-- | An accompanying error message.
errorInformation_message :: Lens' ErrorInformation (Maybe Text)
-- | Information about an application revision.
--
-- See: newGenericRevisionInfo smart constructor.
data GenericRevisionInfo
GenericRevisionInfo' :: Maybe [Text] -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> GenericRevisionInfo
-- | The deployment groups for which this is the current target revision.
[$sel:deploymentGroups:GenericRevisionInfo'] :: GenericRevisionInfo -> Maybe [Text]
-- | A comment about the revision.
[$sel:description:GenericRevisionInfo'] :: GenericRevisionInfo -> Maybe Text
-- | When the revision was first used by CodeDeploy.
[$sel:firstUsedTime:GenericRevisionInfo'] :: GenericRevisionInfo -> Maybe POSIX
-- | When the revision was last used by CodeDeploy.
[$sel:lastUsedTime:GenericRevisionInfo'] :: GenericRevisionInfo -> Maybe POSIX
-- | When the revision was registered with CodeDeploy.
[$sel:registerTime:GenericRevisionInfo'] :: GenericRevisionInfo -> Maybe POSIX
-- | Create a value of GenericRevisionInfo with all optional fields
-- omitted.
--
-- 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:deploymentGroups:GenericRevisionInfo',
-- genericRevisionInfo_deploymentGroups - The deployment groups
-- for which this is the current target revision.
--
-- $sel:description:GenericRevisionInfo',
-- genericRevisionInfo_description - A comment about the revision.
--
-- $sel:firstUsedTime:GenericRevisionInfo',
-- genericRevisionInfo_firstUsedTime - When the revision was first
-- used by CodeDeploy.
--
-- $sel:lastUsedTime:GenericRevisionInfo',
-- genericRevisionInfo_lastUsedTime - When the revision was last
-- used by CodeDeploy.
--
-- $sel:registerTime:GenericRevisionInfo',
-- genericRevisionInfo_registerTime - When the revision was
-- registered with CodeDeploy.
newGenericRevisionInfo :: GenericRevisionInfo
-- | The deployment groups for which this is the current target revision.
genericRevisionInfo_deploymentGroups :: Lens' GenericRevisionInfo (Maybe [Text])
-- | A comment about the revision.
genericRevisionInfo_description :: Lens' GenericRevisionInfo (Maybe Text)
-- | When the revision was first used by CodeDeploy.
genericRevisionInfo_firstUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | When the revision was last used by CodeDeploy.
genericRevisionInfo_lastUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | When the revision was registered with CodeDeploy.
genericRevisionInfo_registerTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | Information about the location of application artifacts stored in
-- GitHub.
--
-- See: newGitHubLocation smart constructor.
data GitHubLocation
GitHubLocation' :: Maybe Text -> Maybe Text -> GitHubLocation
-- | The SHA1 commit ID of the GitHub commit that represents the bundled
-- artifacts for the application revision.
[$sel:commitId:GitHubLocation'] :: GitHubLocation -> Maybe Text
-- | The GitHub account and repository pair that stores a reference to the
-- commit that represents the bundled artifacts for the application
-- revision.
--
-- Specified as account/repository.
[$sel:repository:GitHubLocation'] :: GitHubLocation -> Maybe Text
-- | Create a value of GitHubLocation with all optional fields
-- omitted.
--
-- 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:commitId:GitHubLocation', gitHubLocation_commitId -
-- The SHA1 commit ID of the GitHub commit that represents the bundled
-- artifacts for the application revision.
--
-- $sel:repository:GitHubLocation',
-- gitHubLocation_repository - The GitHub account and repository
-- pair that stores a reference to the commit that represents the bundled
-- artifacts for the application revision.
--
-- Specified as account/repository.
newGitHubLocation :: GitHubLocation
-- | The SHA1 commit ID of the GitHub commit that represents the bundled
-- artifacts for the application revision.
gitHubLocation_commitId :: Lens' GitHubLocation (Maybe Text)
-- | The GitHub account and repository pair that stores a reference to the
-- commit that represents the bundled artifacts for the application
-- revision.
--
-- Specified as account/repository.
gitHubLocation_repository :: Lens' GitHubLocation (Maybe Text)
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
--
-- See: newGreenFleetProvisioningOption smart constructor.
data GreenFleetProvisioningOption
GreenFleetProvisioningOption' :: Maybe GreenFleetProvisioningAction -> GreenFleetProvisioningOption
-- | The method used to add instances to a replacement environment.
--
--
-- - DISCOVER_EXISTING: Use instances that already exist or
-- will be created manually.
-- - COPY_AUTO_SCALING_GROUP: Use settings from a specified
-- Auto Scaling group to define and create instances in a new Auto
-- Scaling group.
--
[$sel:action:GreenFleetProvisioningOption'] :: GreenFleetProvisioningOption -> Maybe GreenFleetProvisioningAction
-- | Create a value of GreenFleetProvisioningOption with all
-- optional fields omitted.
--
-- 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:action:GreenFleetProvisioningOption',
-- greenFleetProvisioningOption_action - The method used to add
-- instances to a replacement environment.
--
--
-- - DISCOVER_EXISTING: Use instances that already exist or
-- will be created manually.
-- - COPY_AUTO_SCALING_GROUP: Use settings from a specified
-- Auto Scaling group to define and create instances in a new Auto
-- Scaling group.
--
newGreenFleetProvisioningOption :: GreenFleetProvisioningOption
-- | The method used to add instances to a replacement environment.
--
--
-- - DISCOVER_EXISTING: Use instances that already exist or
-- will be created manually.
-- - COPY_AUTO_SCALING_GROUP: Use settings from a specified
-- Auto Scaling group to define and create instances in a new Auto
-- Scaling group.
--
greenFleetProvisioningOption_action :: Lens' GreenFleetProvisioningOption (Maybe GreenFleetProvisioningAction)
-- | Information about an on-premises instance.
--
-- See: newInstanceInfo smart constructor.
data InstanceInfo
InstanceInfo' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe [Tag] -> InstanceInfo
-- | If the on-premises instance was deregistered, the time at which the
-- on-premises instance was deregistered.
[$sel:deregisterTime:InstanceInfo'] :: InstanceInfo -> Maybe POSIX
-- | The ARN of the IAM session associated with the on-premises instance.
[$sel:iamSessionArn:InstanceInfo'] :: InstanceInfo -> Maybe Text
-- | The IAM user ARN associated with the on-premises instance.
[$sel:iamUserArn:InstanceInfo'] :: InstanceInfo -> Maybe Text
-- | The ARN of the on-premises instance.
[$sel:instanceArn:InstanceInfo'] :: InstanceInfo -> Maybe Text
-- | The name of the on-premises instance.
[$sel:instanceName:InstanceInfo'] :: InstanceInfo -> Maybe Text
-- | The time at which the on-premises instance was registered.
[$sel:registerTime:InstanceInfo'] :: InstanceInfo -> Maybe POSIX
-- | The tags currently associated with the on-premises instance.
[$sel:tags:InstanceInfo'] :: InstanceInfo -> Maybe [Tag]
-- | Create a value of InstanceInfo with all optional fields
-- omitted.
--
-- 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:deregisterTime:InstanceInfo',
-- instanceInfo_deregisterTime - If the on-premises instance was
-- deregistered, the time at which the on-premises instance was
-- deregistered.
--
-- $sel:iamSessionArn:InstanceInfo',
-- instanceInfo_iamSessionArn - The ARN of the IAM session
-- associated with the on-premises instance.
--
-- $sel:iamUserArn:InstanceInfo', instanceInfo_iamUserArn -
-- The IAM user ARN associated with the on-premises instance.
--
-- $sel:instanceArn:InstanceInfo', instanceInfo_instanceArn
-- - The ARN of the on-premises instance.
--
-- $sel:instanceName:InstanceInfo',
-- instanceInfo_instanceName - The name of the on-premises
-- instance.
--
-- $sel:registerTime:InstanceInfo',
-- instanceInfo_registerTime - The time at which the on-premises
-- instance was registered.
--
-- $sel:tags:InstanceInfo', instanceInfo_tags - The tags
-- currently associated with the on-premises instance.
newInstanceInfo :: InstanceInfo
-- | If the on-premises instance was deregistered, the time at which the
-- on-premises instance was deregistered.
instanceInfo_deregisterTime :: Lens' InstanceInfo (Maybe UTCTime)
-- | The ARN of the IAM session associated with the on-premises instance.
instanceInfo_iamSessionArn :: Lens' InstanceInfo (Maybe Text)
-- | The IAM user ARN associated with the on-premises instance.
instanceInfo_iamUserArn :: Lens' InstanceInfo (Maybe Text)
-- | The ARN of the on-premises instance.
instanceInfo_instanceArn :: Lens' InstanceInfo (Maybe Text)
-- | The name of the on-premises instance.
instanceInfo_instanceName :: Lens' InstanceInfo (Maybe Text)
-- | The time at which the on-premises instance was registered.
instanceInfo_registerTime :: Lens' InstanceInfo (Maybe UTCTime)
-- | The tags currently associated with the on-premises instance.
instanceInfo_tags :: Lens' InstanceInfo (Maybe [Tag])
-- | A target Amazon EC2 or on-premises instance during a deployment that
-- uses the EC2/On-premises compute platform.
--
-- See: newInstanceTarget smart constructor.
data InstanceTarget
InstanceTarget' :: Maybe Text -> Maybe TargetLabel -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe TargetStatus -> Maybe Text -> Maybe Text -> InstanceTarget
-- | The unique ID of a deployment.
[$sel:deploymentId:InstanceTarget'] :: InstanceTarget -> Maybe Text
-- | A label that identifies whether the instance is an original target
-- (BLUE) or a replacement target (GREEN).
[$sel:instanceLabel:InstanceTarget'] :: InstanceTarget -> Maybe TargetLabel
-- | The date and time when the target instance was updated by a
-- deployment.
[$sel:lastUpdatedAt:InstanceTarget'] :: InstanceTarget -> Maybe POSIX
-- | The lifecycle events of the deployment to this target instance.
[$sel:lifecycleEvents:InstanceTarget'] :: InstanceTarget -> Maybe [LifecycleEvent]
-- | The status an EC2/On-premises deployment's target instance.
[$sel:status:InstanceTarget'] :: InstanceTarget -> Maybe TargetStatus
-- | The Amazon Resource Name (ARN) of the target.
[$sel:targetArn:InstanceTarget'] :: InstanceTarget -> Maybe Text
-- | The unique ID of a deployment target that has a type of
-- instanceTarget.
[$sel:targetId:InstanceTarget'] :: InstanceTarget -> Maybe Text
-- | Create a value of InstanceTarget with all optional fields
-- omitted.
--
-- 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:deploymentId:InstanceTarget',
-- instanceTarget_deploymentId - The unique ID of a deployment.
--
-- $sel:instanceLabel:InstanceTarget',
-- instanceTarget_instanceLabel - A label that identifies whether
-- the instance is an original target (BLUE) or a replacement
-- target (GREEN).
--
-- $sel:lastUpdatedAt:InstanceTarget',
-- instanceTarget_lastUpdatedAt - The date and time when the
-- target instance was updated by a deployment.
--
-- $sel:lifecycleEvents:InstanceTarget',
-- instanceTarget_lifecycleEvents - The lifecycle events of the
-- deployment to this target instance.
--
-- InstanceTarget, instanceTarget_status - The status an
-- EC2/On-premises deployment's target instance.
--
-- $sel:targetArn:InstanceTarget', instanceTarget_targetArn
-- - The Amazon Resource Name (ARN) of the target.
--
-- $sel:targetId:InstanceTarget', instanceTarget_targetId -
-- The unique ID of a deployment target that has a type of
-- instanceTarget.
newInstanceTarget :: InstanceTarget
-- | The unique ID of a deployment.
instanceTarget_deploymentId :: Lens' InstanceTarget (Maybe Text)
-- | A label that identifies whether the instance is an original target
-- (BLUE) or a replacement target (GREEN).
instanceTarget_instanceLabel :: Lens' InstanceTarget (Maybe TargetLabel)
-- | The date and time when the target instance was updated by a
-- deployment.
instanceTarget_lastUpdatedAt :: Lens' InstanceTarget (Maybe UTCTime)
-- | The lifecycle events of the deployment to this target instance.
instanceTarget_lifecycleEvents :: Lens' InstanceTarget (Maybe [LifecycleEvent])
-- | The status an EC2/On-premises deployment's target instance.
instanceTarget_status :: Lens' InstanceTarget (Maybe TargetStatus)
-- | The Amazon Resource Name (ARN) of the target.
instanceTarget_targetArn :: Lens' InstanceTarget (Maybe Text)
-- | The unique ID of a deployment target that has a type of
-- instanceTarget.
instanceTarget_targetId :: Lens' InstanceTarget (Maybe Text)
-- | Information about a Lambda function specified in a deployment.
--
-- See: newLambdaFunctionInfo smart constructor.
data LambdaFunctionInfo
LambdaFunctionInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Double -> LambdaFunctionInfo
-- | The version of a Lambda function that production traffic points to.
[$sel:currentVersion:LambdaFunctionInfo'] :: LambdaFunctionInfo -> Maybe Text
-- | The alias of a Lambda function. For more information, see Lambda
-- Function Aliases in the Lambda Developer Guide.
[$sel:functionAlias:LambdaFunctionInfo'] :: LambdaFunctionInfo -> Maybe Text
-- | The name of a Lambda function.
[$sel:functionName:LambdaFunctionInfo'] :: LambdaFunctionInfo -> Maybe Text
-- | The version of a Lambda function that production traffic points to
-- after the Lambda function is deployed.
[$sel:targetVersion:LambdaFunctionInfo'] :: LambdaFunctionInfo -> Maybe Text
-- | The percentage of production traffic that the target version of a
-- Lambda function receives.
[$sel:targetVersionWeight:LambdaFunctionInfo'] :: LambdaFunctionInfo -> Maybe Double
-- | Create a value of LambdaFunctionInfo with all optional fields
-- omitted.
--
-- 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:currentVersion:LambdaFunctionInfo',
-- lambdaFunctionInfo_currentVersion - The version of a Lambda
-- function that production traffic points to.
--
-- $sel:functionAlias:LambdaFunctionInfo',
-- lambdaFunctionInfo_functionAlias - The alias of a Lambda
-- function. For more information, see Lambda Function Aliases in
-- the Lambda Developer Guide.
--
-- $sel:functionName:LambdaFunctionInfo',
-- lambdaFunctionInfo_functionName - The name of a Lambda
-- function.
--
-- $sel:targetVersion:LambdaFunctionInfo',
-- lambdaFunctionInfo_targetVersion - The version of a Lambda
-- function that production traffic points to after the Lambda function
-- is deployed.
--
-- $sel:targetVersionWeight:LambdaFunctionInfo',
-- lambdaFunctionInfo_targetVersionWeight - The percentage of
-- production traffic that the target version of a Lambda function
-- receives.
newLambdaFunctionInfo :: LambdaFunctionInfo
-- | The version of a Lambda function that production traffic points to.
lambdaFunctionInfo_currentVersion :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The alias of a Lambda function. For more information, see Lambda
-- Function Aliases in the Lambda Developer Guide.
lambdaFunctionInfo_functionAlias :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The name of a Lambda function.
lambdaFunctionInfo_functionName :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The version of a Lambda function that production traffic points to
-- after the Lambda function is deployed.
lambdaFunctionInfo_targetVersion :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The percentage of production traffic that the target version of a
-- Lambda function receives.
lambdaFunctionInfo_targetVersionWeight :: Lens' LambdaFunctionInfo (Maybe Double)
-- | Information about the target Lambda function during an Lambda
-- deployment.
--
-- See: newLambdaTarget smart constructor.
data LambdaTarget
LambdaTarget' :: Maybe Text -> Maybe LambdaFunctionInfo -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe TargetStatus -> Maybe Text -> Maybe Text -> LambdaTarget
-- | The unique ID of a deployment.
[$sel:deploymentId:LambdaTarget'] :: LambdaTarget -> Maybe Text
-- | A LambdaFunctionInfo object that describes a target Lambda
-- function.
[$sel:lambdaFunctionInfo:LambdaTarget'] :: LambdaTarget -> Maybe LambdaFunctionInfo
-- | The date and time when the target Lambda function was updated by a
-- deployment.
[$sel:lastUpdatedAt:LambdaTarget'] :: LambdaTarget -> Maybe POSIX
-- | The lifecycle events of the deployment to this target Lambda function.
[$sel:lifecycleEvents:LambdaTarget'] :: LambdaTarget -> Maybe [LifecycleEvent]
-- | The status an Lambda deployment's target Lambda function.
[$sel:status:LambdaTarget'] :: LambdaTarget -> Maybe TargetStatus
-- | The Amazon Resource Name (ARN) of the target.
[$sel:targetArn:LambdaTarget'] :: LambdaTarget -> Maybe Text
-- | The unique ID of a deployment target that has a type of
-- lambdaTarget.
[$sel:targetId:LambdaTarget'] :: LambdaTarget -> Maybe Text
-- | Create a value of LambdaTarget with all optional fields
-- omitted.
--
-- 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:deploymentId:LambdaTarget',
-- lambdaTarget_deploymentId - The unique ID of a deployment.
--
-- $sel:lambdaFunctionInfo:LambdaTarget',
-- lambdaTarget_lambdaFunctionInfo - A LambdaFunctionInfo
-- object that describes a target Lambda function.
--
-- $sel:lastUpdatedAt:LambdaTarget',
-- lambdaTarget_lastUpdatedAt - The date and time when the target
-- Lambda function was updated by a deployment.
--
-- $sel:lifecycleEvents:LambdaTarget',
-- lambdaTarget_lifecycleEvents - The lifecycle events of the
-- deployment to this target Lambda function.
--
-- LambdaTarget, lambdaTarget_status - The status an Lambda
-- deployment's target Lambda function.
--
-- $sel:targetArn:LambdaTarget', lambdaTarget_targetArn -
-- The Amazon Resource Name (ARN) of the target.
--
-- $sel:targetId:LambdaTarget', lambdaTarget_targetId - The
-- unique ID of a deployment target that has a type of
-- lambdaTarget.
newLambdaTarget :: LambdaTarget
-- | The unique ID of a deployment.
lambdaTarget_deploymentId :: Lens' LambdaTarget (Maybe Text)
-- | A LambdaFunctionInfo object that describes a target Lambda
-- function.
lambdaTarget_lambdaFunctionInfo :: Lens' LambdaTarget (Maybe LambdaFunctionInfo)
-- | The date and time when the target Lambda function was updated by a
-- deployment.
lambdaTarget_lastUpdatedAt :: Lens' LambdaTarget (Maybe UTCTime)
-- | The lifecycle events of the deployment to this target Lambda function.
lambdaTarget_lifecycleEvents :: Lens' LambdaTarget (Maybe [LifecycleEvent])
-- | The status an Lambda deployment's target Lambda function.
lambdaTarget_status :: Lens' LambdaTarget (Maybe TargetStatus)
-- | The Amazon Resource Name (ARN) of the target.
lambdaTarget_targetArn :: Lens' LambdaTarget (Maybe Text)
-- | The unique ID of a deployment target that has a type of
-- lambdaTarget.
lambdaTarget_targetId :: Lens' LambdaTarget (Maybe Text)
-- | Information about the most recent attempted or successful deployment
-- to a deployment group.
--
-- See: newLastDeploymentInfo smart constructor.
data LastDeploymentInfo
LastDeploymentInfo' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe DeploymentStatus -> LastDeploymentInfo
-- | A timestamp that indicates when the most recent deployment to the
-- deployment group started.
[$sel:createTime:LastDeploymentInfo'] :: LastDeploymentInfo -> Maybe POSIX
-- | The unique ID of a deployment.
[$sel:deploymentId:LastDeploymentInfo'] :: LastDeploymentInfo -> Maybe Text
-- | A timestamp that indicates when the most recent deployment to the
-- deployment group was complete.
[$sel:endTime:LastDeploymentInfo'] :: LastDeploymentInfo -> Maybe POSIX
-- | The status of the most recent deployment.
[$sel:status:LastDeploymentInfo'] :: LastDeploymentInfo -> Maybe DeploymentStatus
-- | Create a value of LastDeploymentInfo with all optional fields
-- omitted.
--
-- 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:createTime:LastDeploymentInfo',
-- lastDeploymentInfo_createTime - A timestamp that indicates when
-- the most recent deployment to the deployment group started.
--
-- $sel:deploymentId:LastDeploymentInfo',
-- lastDeploymentInfo_deploymentId - The unique ID of a
-- deployment.
--
-- $sel:endTime:LastDeploymentInfo',
-- lastDeploymentInfo_endTime - A timestamp that indicates when
-- the most recent deployment to the deployment group was complete.
--
-- $sel:status:LastDeploymentInfo',
-- lastDeploymentInfo_status - The status of the most recent
-- deployment.
newLastDeploymentInfo :: LastDeploymentInfo
-- | A timestamp that indicates when the most recent deployment to the
-- deployment group started.
lastDeploymentInfo_createTime :: Lens' LastDeploymentInfo (Maybe UTCTime)
-- | The unique ID of a deployment.
lastDeploymentInfo_deploymentId :: Lens' LastDeploymentInfo (Maybe Text)
-- | A timestamp that indicates when the most recent deployment to the
-- deployment group was complete.
lastDeploymentInfo_endTime :: Lens' LastDeploymentInfo (Maybe UTCTime)
-- | The status of the most recent deployment.
lastDeploymentInfo_status :: Lens' LastDeploymentInfo (Maybe DeploymentStatus)
-- | Information about a deployment lifecycle event.
--
-- See: newLifecycleEvent smart constructor.
data LifecycleEvent
LifecycleEvent' :: Maybe Diagnostics -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe LifecycleEventStatus -> LifecycleEvent
-- | Diagnostic information about the deployment lifecycle event.
[$sel:diagnostics:LifecycleEvent'] :: LifecycleEvent -> Maybe Diagnostics
-- | A timestamp that indicates when the deployment lifecycle event ended.
[$sel:endTime:LifecycleEvent'] :: LifecycleEvent -> Maybe POSIX
-- | The deployment lifecycle event name, such as ApplicationStop,
-- BeforeInstall, AfterInstall,
-- ApplicationStart, or ValidateService.
[$sel:lifecycleEventName:LifecycleEvent'] :: LifecycleEvent -> Maybe Text
-- | A timestamp that indicates when the deployment lifecycle event
-- started.
[$sel:startTime:LifecycleEvent'] :: LifecycleEvent -> Maybe POSIX
-- | The deployment lifecycle event status:
--
--
-- - Pending: The deployment lifecycle event is pending.
-- - InProgress: The deployment lifecycle event is in progress.
-- - Succeeded: The deployment lifecycle event ran successfully.
-- - Failed: The deployment lifecycle event has failed.
-- - Skipped: The deployment lifecycle event has been skipped.
-- - Unknown: The deployment lifecycle event is unknown.
--
[$sel:status:LifecycleEvent'] :: LifecycleEvent -> Maybe LifecycleEventStatus
-- | Create a value of LifecycleEvent with all optional fields
-- omitted.
--
-- 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:diagnostics:LifecycleEvent',
-- lifecycleEvent_diagnostics - Diagnostic information about the
-- deployment lifecycle event.
--
-- $sel:endTime:LifecycleEvent', lifecycleEvent_endTime - A
-- timestamp that indicates when the deployment lifecycle event ended.
--
-- $sel:lifecycleEventName:LifecycleEvent',
-- lifecycleEvent_lifecycleEventName - The deployment lifecycle
-- event name, such as ApplicationStop, BeforeInstall,
-- AfterInstall, ApplicationStart, or
-- ValidateService.
--
-- $sel:startTime:LifecycleEvent', lifecycleEvent_startTime
-- - A timestamp that indicates when the deployment lifecycle event
-- started.
--
-- $sel:status:LifecycleEvent', lifecycleEvent_status - The
-- deployment lifecycle event status:
--
--
-- - Pending: The deployment lifecycle event is pending.
-- - InProgress: The deployment lifecycle event is in progress.
-- - Succeeded: The deployment lifecycle event ran successfully.
-- - Failed: The deployment lifecycle event has failed.
-- - Skipped: The deployment lifecycle event has been skipped.
-- - Unknown: The deployment lifecycle event is unknown.
--
newLifecycleEvent :: LifecycleEvent
-- | Diagnostic information about the deployment lifecycle event.
lifecycleEvent_diagnostics :: Lens' LifecycleEvent (Maybe Diagnostics)
-- | A timestamp that indicates when the deployment lifecycle event ended.
lifecycleEvent_endTime :: Lens' LifecycleEvent (Maybe UTCTime)
-- | The deployment lifecycle event name, such as ApplicationStop,
-- BeforeInstall, AfterInstall,
-- ApplicationStart, or ValidateService.
lifecycleEvent_lifecycleEventName :: Lens' LifecycleEvent (Maybe Text)
-- | A timestamp that indicates when the deployment lifecycle event
-- started.
lifecycleEvent_startTime :: Lens' LifecycleEvent (Maybe UTCTime)
-- | The deployment lifecycle event status:
--
--
-- - Pending: The deployment lifecycle event is pending.
-- - InProgress: The deployment lifecycle event is in progress.
-- - Succeeded: The deployment lifecycle event ran successfully.
-- - Failed: The deployment lifecycle event has failed.
-- - Skipped: The deployment lifecycle event has been skipped.
-- - Unknown: The deployment lifecycle event is unknown.
--
lifecycleEvent_status :: Lens' LifecycleEvent (Maybe LifecycleEventStatus)
-- | Information about the Elastic Load Balancing load balancer or target
-- group used in a deployment.
--
-- See: newLoadBalancerInfo smart constructor.
data LoadBalancerInfo
LoadBalancerInfo' :: Maybe [ELBInfo] -> Maybe [TargetGroupInfo] -> Maybe [TargetGroupPairInfo] -> LoadBalancerInfo
-- | An array that contains information about the load balancer to use for
-- load balancing in a deployment. In Elastic Load Balancing, load
-- balancers are used with Classic Load Balancers.
--
-- Adding more than one load balancer to the array is not supported.
[$sel:elbInfoList:LoadBalancerInfo'] :: LoadBalancerInfo -> Maybe [ELBInfo]
-- | An array that contains information about the target group to use for
-- load balancing in a deployment. In Elastic Load Balancing, target
-- groups are used with Application Load Balancers.
--
-- Adding more than one target group to the array is not supported.
[$sel:targetGroupInfoList:LoadBalancerInfo'] :: LoadBalancerInfo -> Maybe [TargetGroupInfo]
-- | The target group pair information. This is an array of
-- TargeGroupPairInfo objects with a maximum size of one.
[$sel:targetGroupPairInfoList:LoadBalancerInfo'] :: LoadBalancerInfo -> Maybe [TargetGroupPairInfo]
-- | Create a value of LoadBalancerInfo with all optional fields
-- omitted.
--
-- 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:elbInfoList:LoadBalancerInfo',
-- loadBalancerInfo_elbInfoList - An array that contains
-- information about the load balancer to use for load balancing in a
-- deployment. In Elastic Load Balancing, load balancers are used with
-- Classic Load Balancers.
--
-- Adding more than one load balancer to the array is not supported.
--
-- $sel:targetGroupInfoList:LoadBalancerInfo',
-- loadBalancerInfo_targetGroupInfoList - An array that contains
-- information about the target group to use for load balancing in a
-- deployment. In Elastic Load Balancing, target groups are used with
-- Application Load Balancers.
--
-- Adding more than one target group to the array is not supported.
--
-- $sel:targetGroupPairInfoList:LoadBalancerInfo',
-- loadBalancerInfo_targetGroupPairInfoList - The target group
-- pair information. This is an array of TargeGroupPairInfo
-- objects with a maximum size of one.
newLoadBalancerInfo :: LoadBalancerInfo
-- | An array that contains information about the load balancer to use for
-- load balancing in a deployment. In Elastic Load Balancing, load
-- balancers are used with Classic Load Balancers.
--
-- Adding more than one load balancer to the array is not supported.
loadBalancerInfo_elbInfoList :: Lens' LoadBalancerInfo (Maybe [ELBInfo])
-- | An array that contains information about the target group to use for
-- load balancing in a deployment. In Elastic Load Balancing, target
-- groups are used with Application Load Balancers.
--
-- Adding more than one target group to the array is not supported.
loadBalancerInfo_targetGroupInfoList :: Lens' LoadBalancerInfo (Maybe [TargetGroupInfo])
-- | The target group pair information. This is an array of
-- TargeGroupPairInfo objects with a maximum size of one.
loadBalancerInfo_targetGroupPairInfoList :: Lens' LoadBalancerInfo (Maybe [TargetGroupPairInfo])
-- | Information about minimum healthy instance.
--
-- See: newMinimumHealthyHosts smart constructor.
data MinimumHealthyHosts
MinimumHealthyHosts' :: Maybe MinimumHealthyHostsType -> Maybe Int -> MinimumHealthyHosts
-- | The minimum healthy instance type:
--
--
-- - HOST_COUNT: The minimum number of healthy instances as an
-- absolute value.
-- - FLEET_PERCENT: The minimum number of healthy instances as
-- a percentage of the total number of instances in the deployment.
--
--
-- In an example of nine instances, if a HOST_COUNT of six is specified,
-- deploy to up to three instances at a time. The deployment is
-- successful if six or more instances are deployed to successfully.
-- Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is
-- specified, deploy to up to five instances at a time. The deployment is
-- successful if four or more instances are deployed to successfully.
-- Otherwise, the deployment fails.
--
-- In a call to the GetDeploymentConfig,
-- CodeDeployDefault.OneAtATime returns a minimum healthy instance type
-- of MOST_CONCURRENCY and a value of 1. This means a deployment to only
-- one instance at a time. (You cannot set the type to MOST_CONCURRENCY,
-- only to HOST_COUNT or FLEET_PERCENT.) In addition, with
-- CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all
-- instances but one are kept in a healthy state during the deployment.
-- Although this allows one instance at a time to be taken offline for a
-- new deployment, it also means that if the deployment to the last
-- instance fails, the overall deployment is still successful.
--
-- For more information, see CodeDeploy Instance Health in the
-- CodeDeploy User Guide.
[$sel:type':MinimumHealthyHosts'] :: MinimumHealthyHosts -> Maybe MinimumHealthyHostsType
-- | The minimum healthy instance value.
[$sel:value:MinimumHealthyHosts'] :: MinimumHealthyHosts -> Maybe Int
-- | Create a value of MinimumHealthyHosts with all optional fields
-- omitted.
--
-- 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:type':MinimumHealthyHosts',
-- minimumHealthyHosts_type - The minimum healthy instance type:
--
--
-- - HOST_COUNT: The minimum number of healthy instances as an
-- absolute value.
-- - FLEET_PERCENT: The minimum number of healthy instances as
-- a percentage of the total number of instances in the deployment.
--
--
-- In an example of nine instances, if a HOST_COUNT of six is specified,
-- deploy to up to three instances at a time. The deployment is
-- successful if six or more instances are deployed to successfully.
-- Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is
-- specified, deploy to up to five instances at a time. The deployment is
-- successful if four or more instances are deployed to successfully.
-- Otherwise, the deployment fails.
--
-- In a call to the GetDeploymentConfig,
-- CodeDeployDefault.OneAtATime returns a minimum healthy instance type
-- of MOST_CONCURRENCY and a value of 1. This means a deployment to only
-- one instance at a time. (You cannot set the type to MOST_CONCURRENCY,
-- only to HOST_COUNT or FLEET_PERCENT.) In addition, with
-- CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all
-- instances but one are kept in a healthy state during the deployment.
-- Although this allows one instance at a time to be taken offline for a
-- new deployment, it also means that if the deployment to the last
-- instance fails, the overall deployment is still successful.
--
-- For more information, see CodeDeploy Instance Health in the
-- CodeDeploy User Guide.
--
-- $sel:value:MinimumHealthyHosts',
-- minimumHealthyHosts_value - The minimum healthy instance value.
newMinimumHealthyHosts :: MinimumHealthyHosts
-- | The minimum healthy instance type:
--
--
-- - HOST_COUNT: The minimum number of healthy instances as an
-- absolute value.
-- - FLEET_PERCENT: The minimum number of healthy instances as
-- a percentage of the total number of instances in the deployment.
--
--
-- In an example of nine instances, if a HOST_COUNT of six is specified,
-- deploy to up to three instances at a time. The deployment is
-- successful if six or more instances are deployed to successfully.
-- Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is
-- specified, deploy to up to five instances at a time. The deployment is
-- successful if four or more instances are deployed to successfully.
-- Otherwise, the deployment fails.
--
-- In a call to the GetDeploymentConfig,
-- CodeDeployDefault.OneAtATime returns a minimum healthy instance type
-- of MOST_CONCURRENCY and a value of 1. This means a deployment to only
-- one instance at a time. (You cannot set the type to MOST_CONCURRENCY,
-- only to HOST_COUNT or FLEET_PERCENT.) In addition, with
-- CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all
-- instances but one are kept in a healthy state during the deployment.
-- Although this allows one instance at a time to be taken offline for a
-- new deployment, it also means that if the deployment to the last
-- instance fails, the overall deployment is still successful.
--
-- For more information, see CodeDeploy Instance Health in the
-- CodeDeploy User Guide.
minimumHealthyHosts_type :: Lens' MinimumHealthyHosts (Maybe MinimumHealthyHostsType)
-- | The minimum healthy instance value.
minimumHealthyHosts_value :: Lens' MinimumHealthyHosts (Maybe Int)
-- | Information about groups of on-premises instance tags.
--
-- See: newOnPremisesTagSet smart constructor.
data OnPremisesTagSet
OnPremisesTagSet' :: Maybe [[TagFilter]] -> OnPremisesTagSet
-- | A list that contains other lists of on-premises instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
[$sel:onPremisesTagSetList:OnPremisesTagSet'] :: OnPremisesTagSet -> Maybe [[TagFilter]]
-- | Create a value of OnPremisesTagSet with all optional fields
-- omitted.
--
-- 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:onPremisesTagSetList:OnPremisesTagSet',
-- onPremisesTagSet_onPremisesTagSetList - A list that contains
-- other lists of on-premises instance tag groups. For an instance to be
-- included in the deployment group, it must be identified by all of the
-- tag groups in the list.
newOnPremisesTagSet :: OnPremisesTagSet
-- | A list that contains other lists of on-premises instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
onPremisesTagSet_onPremisesTagSetList :: Lens' OnPremisesTagSet (Maybe [[TagFilter]])
-- | A revision for an Lambda deployment that is a YAML-formatted or
-- JSON-formatted string. For Lambda deployments, the revision is the
-- same as the AppSpec file.
--
-- See: newRawString smart constructor.
data RawString
RawString' :: Maybe Text -> Maybe Text -> RawString
-- | The YAML-formatted or JSON-formatted revision string. It includes
-- information about which Lambda function to update and optional Lambda
-- functions that validate deployment lifecycle events.
[$sel:content:RawString'] :: RawString -> Maybe Text
-- | The SHA256 hash value of the revision content.
[$sel:sha256:RawString'] :: RawString -> Maybe Text
-- | Create a value of RawString with all optional fields omitted.
--
-- 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:content:RawString', rawString_content - The
-- YAML-formatted or JSON-formatted revision string. It includes
-- information about which Lambda function to update and optional Lambda
-- functions that validate deployment lifecycle events.
--
-- $sel:sha256:RawString', rawString_sha256 - The SHA256
-- hash value of the revision content.
newRawString :: RawString
-- | The YAML-formatted or JSON-formatted revision string. It includes
-- information about which Lambda function to update and optional Lambda
-- functions that validate deployment lifecycle events.
rawString_content :: Lens' RawString (Maybe Text)
-- | The SHA256 hash value of the revision content.
rawString_sha256 :: Lens' RawString (Maybe Text)
-- | Information about deployments related to the specified deployment.
--
-- See: newRelatedDeployments smart constructor.
data RelatedDeployments
RelatedDeployments' :: Maybe [Text] -> Maybe Text -> RelatedDeployments
-- | The deployment IDs of 'auto-update outdated instances' deployments
-- triggered by this deployment.
[$sel:autoUpdateOutdatedInstancesDeploymentIds:RelatedDeployments'] :: RelatedDeployments -> Maybe [Text]
-- | The deployment ID of the root deployment that triggered this
-- deployment.
[$sel:autoUpdateOutdatedInstancesRootDeploymentId:RelatedDeployments'] :: RelatedDeployments -> Maybe Text
-- | Create a value of RelatedDeployments with all optional fields
-- omitted.
--
-- 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:autoUpdateOutdatedInstancesDeploymentIds:RelatedDeployments',
-- relatedDeployments_autoUpdateOutdatedInstancesDeploymentIds -
-- The deployment IDs of 'auto-update outdated instances' deployments
-- triggered by this deployment.
--
--
-- $sel:autoUpdateOutdatedInstancesRootDeploymentId:RelatedDeployments',
-- relatedDeployments_autoUpdateOutdatedInstancesRootDeploymentId
-- - The deployment ID of the root deployment that triggered this
-- deployment.
newRelatedDeployments :: RelatedDeployments
-- | The deployment IDs of 'auto-update outdated instances' deployments
-- triggered by this deployment.
relatedDeployments_autoUpdateOutdatedInstancesDeploymentIds :: Lens' RelatedDeployments (Maybe [Text])
-- | The deployment ID of the root deployment that triggered this
-- deployment.
relatedDeployments_autoUpdateOutdatedInstancesRootDeploymentId :: Lens' RelatedDeployments (Maybe Text)
-- | Information about an application revision.
--
-- See: newRevisionInfo smart constructor.
data RevisionInfo
RevisionInfo' :: Maybe GenericRevisionInfo -> Maybe RevisionLocation -> RevisionInfo
-- | Information about an application revision, including usage details and
-- associated deployment groups.
[$sel:genericRevisionInfo:RevisionInfo'] :: RevisionInfo -> Maybe GenericRevisionInfo
-- | Information about the location and type of an application revision.
[$sel:revisionLocation:RevisionInfo'] :: RevisionInfo -> Maybe RevisionLocation
-- | Create a value of RevisionInfo with all optional fields
-- omitted.
--
-- 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:genericRevisionInfo:RevisionInfo',
-- revisionInfo_genericRevisionInfo - Information about an
-- application revision, including usage details and associated
-- deployment groups.
--
-- $sel:revisionLocation:RevisionInfo',
-- revisionInfo_revisionLocation - Information about the location
-- and type of an application revision.
newRevisionInfo :: RevisionInfo
-- | Information about an application revision, including usage details and
-- associated deployment groups.
revisionInfo_genericRevisionInfo :: Lens' RevisionInfo (Maybe GenericRevisionInfo)
-- | Information about the location and type of an application revision.
revisionInfo_revisionLocation :: Lens' RevisionInfo (Maybe RevisionLocation)
-- | Information about the location of an application revision.
--
-- See: newRevisionLocation smart constructor.
data RevisionLocation
RevisionLocation' :: Maybe AppSpecContent -> Maybe GitHubLocation -> Maybe RevisionLocationType -> Maybe S3Location -> Maybe RawString -> RevisionLocation
-- | The content of an AppSpec file for an Lambda or Amazon ECS deployment.
-- The content is formatted as JSON or YAML and stored as a RawString.
[$sel:appSpecContent:RevisionLocation'] :: RevisionLocation -> Maybe AppSpecContent
-- | Information about the location of application artifacts stored in
-- GitHub.
[$sel:gitHubLocation:RevisionLocation'] :: RevisionLocation -> Maybe GitHubLocation
-- | The type of application revision:
--
--
-- - S3: An application revision stored in Amazon S3.
-- - GitHub: An application revision stored in GitHub (EC2/On-premises
-- deployments only).
-- - String: A YAML-formatted or JSON-formatted string (Lambda
-- deployments only).
-- - AppSpecContent: An AppSpecContent object that contains
-- the contents of an AppSpec file for an Lambda or Amazon ECS
-- deployment. The content is formatted as JSON or YAML stored as a
-- RawString.
--
[$sel:revisionType:RevisionLocation'] :: RevisionLocation -> Maybe RevisionLocationType
-- | Information about the location of a revision stored in Amazon S3.
[$sel:s3Location:RevisionLocation'] :: RevisionLocation -> Maybe S3Location
-- | Information about the location of an Lambda deployment revision stored
-- as a RawString.
[$sel:string:RevisionLocation'] :: RevisionLocation -> Maybe RawString
-- | Create a value of RevisionLocation with all optional fields
-- omitted.
--
-- 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:appSpecContent:RevisionLocation',
-- revisionLocation_appSpecContent - The content of an AppSpec
-- file for an Lambda or Amazon ECS deployment. The content is formatted
-- as JSON or YAML and stored as a RawString.
--
-- $sel:gitHubLocation:RevisionLocation',
-- revisionLocation_gitHubLocation - Information about the
-- location of application artifacts stored in GitHub.
--
-- $sel:revisionType:RevisionLocation',
-- revisionLocation_revisionType - The type of application
-- revision:
--
--
-- - S3: An application revision stored in Amazon S3.
-- - GitHub: An application revision stored in GitHub (EC2/On-premises
-- deployments only).
-- - String: A YAML-formatted or JSON-formatted string (Lambda
-- deployments only).
-- - AppSpecContent: An AppSpecContent object that contains
-- the contents of an AppSpec file for an Lambda or Amazon ECS
-- deployment. The content is formatted as JSON or YAML stored as a
-- RawString.
--
--
-- $sel:s3Location:RevisionLocation',
-- revisionLocation_s3Location - Information about the location of
-- a revision stored in Amazon S3.
--
-- $sel:string:RevisionLocation', revisionLocation_string -
-- Information about the location of an Lambda deployment revision stored
-- as a RawString.
newRevisionLocation :: RevisionLocation
-- | The content of an AppSpec file for an Lambda or Amazon ECS deployment.
-- The content is formatted as JSON or YAML and stored as a RawString.
revisionLocation_appSpecContent :: Lens' RevisionLocation (Maybe AppSpecContent)
-- | Information about the location of application artifacts stored in
-- GitHub.
revisionLocation_gitHubLocation :: Lens' RevisionLocation (Maybe GitHubLocation)
-- | The type of application revision:
--
--
-- - S3: An application revision stored in Amazon S3.
-- - GitHub: An application revision stored in GitHub (EC2/On-premises
-- deployments only).
-- - String: A YAML-formatted or JSON-formatted string (Lambda
-- deployments only).
-- - AppSpecContent: An AppSpecContent object that contains
-- the contents of an AppSpec file for an Lambda or Amazon ECS
-- deployment. The content is formatted as JSON or YAML stored as a
-- RawString.
--
revisionLocation_revisionType :: Lens' RevisionLocation (Maybe RevisionLocationType)
-- | Information about the location of a revision stored in Amazon S3.
revisionLocation_s3Location :: Lens' RevisionLocation (Maybe S3Location)
-- | Information about the location of an Lambda deployment revision stored
-- as a RawString.
revisionLocation_string :: Lens' RevisionLocation (Maybe RawString)
-- | Information about a deployment rollback.
--
-- See: newRollbackInfo smart constructor.
data RollbackInfo
RollbackInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> RollbackInfo
-- | The ID of the deployment rollback.
[$sel:rollbackDeploymentId:RollbackInfo'] :: RollbackInfo -> Maybe Text
-- | Information that describes the status of a deployment rollback (for
-- example, whether the deployment can't be rolled back, is in progress,
-- failed, or succeeded).
[$sel:rollbackMessage:RollbackInfo'] :: RollbackInfo -> Maybe Text
-- | The deployment ID of the deployment that was underway and triggered a
-- rollback deployment because it failed or was stopped.
[$sel:rollbackTriggeringDeploymentId:RollbackInfo'] :: RollbackInfo -> Maybe Text
-- | Create a value of RollbackInfo with all optional fields
-- omitted.
--
-- 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:rollbackDeploymentId:RollbackInfo',
-- rollbackInfo_rollbackDeploymentId - The ID of the deployment
-- rollback.
--
-- $sel:rollbackMessage:RollbackInfo',
-- rollbackInfo_rollbackMessage - Information that describes the
-- status of a deployment rollback (for example, whether the deployment
-- can't be rolled back, is in progress, failed, or succeeded).
--
-- $sel:rollbackTriggeringDeploymentId:RollbackInfo',
-- rollbackInfo_rollbackTriggeringDeploymentId - The deployment ID
-- of the deployment that was underway and triggered a rollback
-- deployment because it failed or was stopped.
newRollbackInfo :: RollbackInfo
-- | The ID of the deployment rollback.
rollbackInfo_rollbackDeploymentId :: Lens' RollbackInfo (Maybe Text)
-- | Information that describes the status of a deployment rollback (for
-- example, whether the deployment can't be rolled back, is in progress,
-- failed, or succeeded).
rollbackInfo_rollbackMessage :: Lens' RollbackInfo (Maybe Text)
-- | The deployment ID of the deployment that was underway and triggered a
-- rollback deployment because it failed or was stopped.
rollbackInfo_rollbackTriggeringDeploymentId :: Lens' RollbackInfo (Maybe Text)
-- | Information about the location of application artifacts stored in
-- Amazon S3.
--
-- See: newS3Location smart constructor.
data S3Location
S3Location' :: Maybe Text -> Maybe BundleType -> Maybe Text -> Maybe Text -> Maybe Text -> S3Location
-- | The name of the Amazon S3 bucket where the application revision is
-- stored.
[$sel:bucket:S3Location'] :: S3Location -> Maybe Text
-- | The file type of the application revision. Must be one of the
-- following:
--
--
-- - tar: A tar archive file.
-- - tgz: A compressed tar archive file.
-- - zip: A zip archive file.
--
[$sel:bundleType:S3Location'] :: S3Location -> Maybe BundleType
-- | The ETag of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
--
-- If the ETag is not specified as an input parameter, ETag validation of
-- the object is skipped.
[$sel:eTag:S3Location'] :: S3Location -> Maybe Text
-- | The name of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
[$sel:key:S3Location'] :: S3Location -> Maybe Text
-- | A specific version of the Amazon S3 object that represents the bundled
-- artifacts for the application revision.
--
-- If the version is not specified, the system uses the most recent
-- version by default.
[$sel:version:S3Location'] :: S3Location -> Maybe Text
-- | Create a value of S3Location with all optional fields omitted.
--
-- 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:bucket:S3Location', s3Location_bucket - The name of
-- the Amazon S3 bucket where the application revision is stored.
--
-- $sel:bundleType:S3Location', s3Location_bundleType - The
-- file type of the application revision. Must be one of the following:
--
--
-- - tar: A tar archive file.
-- - tgz: A compressed tar archive file.
-- - zip: A zip archive file.
--
--
-- $sel:eTag:S3Location', s3Location_eTag - The ETag of the
-- Amazon S3 object that represents the bundled artifacts for the
-- application revision.
--
-- If the ETag is not specified as an input parameter, ETag validation of
-- the object is skipped.
--
-- $sel:key:S3Location', s3Location_key - The name of the
-- Amazon S3 object that represents the bundled artifacts for the
-- application revision.
--
-- $sel:version:S3Location', s3Location_version - A
-- specific version of the Amazon S3 object that represents the bundled
-- artifacts for the application revision.
--
-- If the version is not specified, the system uses the most recent
-- version by default.
newS3Location :: S3Location
-- | The name of the Amazon S3 bucket where the application revision is
-- stored.
s3Location_bucket :: Lens' S3Location (Maybe Text)
-- | The file type of the application revision. Must be one of the
-- following:
--
--
-- - tar: A tar archive file.
-- - tgz: A compressed tar archive file.
-- - zip: A zip archive file.
--
s3Location_bundleType :: Lens' S3Location (Maybe BundleType)
-- | The ETag of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
--
-- If the ETag is not specified as an input parameter, ETag validation of
-- the object is skipped.
s3Location_eTag :: Lens' S3Location (Maybe Text)
-- | The name of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
s3Location_key :: Lens' S3Location (Maybe Text)
-- | A specific version of the Amazon S3 object that represents the bundled
-- artifacts for the application revision.
--
-- If the version is not specified, the system uses the most recent
-- version by default.
s3Location_version :: Lens' S3Location (Maybe Text)
-- | Information about a tag.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | The tag's key.
[$sel:key:Tag'] :: Tag -> Maybe Text
-- | The tag's value.
[$sel:value:Tag'] :: Tag -> Maybe Text
-- | Create a value of Tag with all optional fields omitted.
--
-- 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:key:Tag', tag_key - The tag's key.
--
-- $sel:value:Tag', tag_value - The tag's value.
newTag :: Tag
-- | The tag's key.
tag_key :: Lens' Tag (Maybe Text)
-- | The tag's value.
tag_value :: Lens' Tag (Maybe Text)
-- | Information about an on-premises instance tag filter.
--
-- See: newTagFilter smart constructor.
data TagFilter
TagFilter' :: Maybe Text -> Maybe TagFilterType -> Maybe Text -> TagFilter
-- | The on-premises instance tag filter key.
[$sel:key:TagFilter'] :: TagFilter -> Maybe Text
-- | The on-premises instance tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
[$sel:type':TagFilter'] :: TagFilter -> Maybe TagFilterType
-- | The on-premises instance tag filter value.
[$sel:value:TagFilter'] :: TagFilter -> Maybe Text
-- | Create a value of TagFilter with all optional fields omitted.
--
-- 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:key:TagFilter', tagFilter_key - The on-premises
-- instance tag filter key.
--
-- $sel:type':TagFilter', tagFilter_type - The on-premises
-- instance tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
--
-- $sel:value:TagFilter', tagFilter_value - The on-premises
-- instance tag filter value.
newTagFilter :: TagFilter
-- | The on-premises instance tag filter key.
tagFilter_key :: Lens' TagFilter (Maybe Text)
-- | The on-premises instance tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
tagFilter_type :: Lens' TagFilter (Maybe TagFilterType)
-- | The on-premises instance tag filter value.
tagFilter_value :: Lens' TagFilter (Maybe Text)
-- | Information about a target group in Elastic Load Balancing to use in a
-- deployment. Instances are registered as targets in a target group, and
-- traffic is routed to the target group.
--
-- See: newTargetGroupInfo smart constructor.
data TargetGroupInfo
TargetGroupInfo' :: Maybe Text -> TargetGroupInfo
-- | For blue/green deployments, the name of the target group that
-- instances in the original environment are deregistered from, and
-- instances in the replacement environment are registered with. For
-- in-place deployments, the name of the target group that instances are
-- deregistered from, so they are not serving traffic during a
-- deployment, and then re-registered with after the deployment is
-- complete.
[$sel:name:TargetGroupInfo'] :: TargetGroupInfo -> Maybe Text
-- | Create a value of TargetGroupInfo with all optional fields
-- omitted.
--
-- 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:TargetGroupInfo', targetGroupInfo_name - For
-- blue/green deployments, the name of the target group that instances in
-- the original environment are deregistered from, and instances in the
-- replacement environment are registered with. For in-place deployments,
-- the name of the target group that instances are deregistered from, so
-- they are not serving traffic during a deployment, and then
-- re-registered with after the deployment is complete.
newTargetGroupInfo :: TargetGroupInfo
-- | For blue/green deployments, the name of the target group that
-- instances in the original environment are deregistered from, and
-- instances in the replacement environment are registered with. For
-- in-place deployments, the name of the target group that instances are
-- deregistered from, so they are not serving traffic during a
-- deployment, and then re-registered with after the deployment is
-- complete.
targetGroupInfo_name :: Lens' TargetGroupInfo (Maybe Text)
-- | Information about two target groups and how traffic is routed during
-- an Amazon ECS deployment. An optional test traffic route can be
-- specified.
--
-- See: newTargetGroupPairInfo smart constructor.
data TargetGroupPairInfo
TargetGroupPairInfo' :: Maybe TrafficRoute -> Maybe [TargetGroupInfo] -> Maybe TrafficRoute -> TargetGroupPairInfo
-- | The path used by a load balancer to route production traffic when an
-- Amazon ECS deployment is complete.
[$sel:prodTrafficRoute:TargetGroupPairInfo'] :: TargetGroupPairInfo -> Maybe TrafficRoute
-- | One pair of target groups. One is associated with the original task
-- set. The second is associated with the task set that serves traffic
-- after the deployment is complete.
[$sel:targetGroups:TargetGroupPairInfo'] :: TargetGroupPairInfo -> Maybe [TargetGroupInfo]
-- | An optional path used by a load balancer to route test traffic after
-- an Amazon ECS deployment. Validation can occur while test traffic is
-- served during a deployment.
[$sel:testTrafficRoute:TargetGroupPairInfo'] :: TargetGroupPairInfo -> Maybe TrafficRoute
-- | Create a value of TargetGroupPairInfo with all optional fields
-- omitted.
--
-- 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:prodTrafficRoute:TargetGroupPairInfo',
-- targetGroupPairInfo_prodTrafficRoute - The path used by a load
-- balancer to route production traffic when an Amazon ECS deployment is
-- complete.
--
-- $sel:targetGroups:TargetGroupPairInfo',
-- targetGroupPairInfo_targetGroups - One pair of target groups.
-- One is associated with the original task set. The second is associated
-- with the task set that serves traffic after the deployment is
-- complete.
--
-- $sel:testTrafficRoute:TargetGroupPairInfo',
-- targetGroupPairInfo_testTrafficRoute - An optional path used by
-- a load balancer to route test traffic after an Amazon ECS deployment.
-- Validation can occur while test traffic is served during a deployment.
newTargetGroupPairInfo :: TargetGroupPairInfo
-- | The path used by a load balancer to route production traffic when an
-- Amazon ECS deployment is complete.
targetGroupPairInfo_prodTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute)
-- | One pair of target groups. One is associated with the original task
-- set. The second is associated with the task set that serves traffic
-- after the deployment is complete.
targetGroupPairInfo_targetGroups :: Lens' TargetGroupPairInfo (Maybe [TargetGroupInfo])
-- | An optional path used by a load balancer to route test traffic after
-- an Amazon ECS deployment. Validation can occur while test traffic is
-- served during a deployment.
targetGroupPairInfo_testTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute)
-- | Information about the instances to be used in the replacement
-- environment in a blue/green deployment.
--
-- See: newTargetInstances smart constructor.
data TargetInstances
TargetInstances' :: Maybe [Text] -> Maybe EC2TagSet -> Maybe [EC2TagFilter] -> TargetInstances
-- | The names of one or more Auto Scaling groups to identify a replacement
-- environment for a blue/green deployment.
[$sel:autoScalingGroups:TargetInstances'] :: TargetInstances -> Maybe [Text]
-- | Information about the groups of Amazon EC2 instance tags that an
-- instance must be identified by in order for it to be included in the
-- replacement environment for a blue/green deployment. Cannot be used in
-- the same call as tagFilters.
[$sel:ec2TagSet:TargetInstances'] :: TargetInstances -> Maybe EC2TagSet
-- | The tag filter key, type, and value used to identify Amazon EC2
-- instances in a replacement environment for a blue/green deployment.
-- Cannot be used in the same call as ec2TagSet.
[$sel:tagFilters:TargetInstances'] :: TargetInstances -> Maybe [EC2TagFilter]
-- | Create a value of TargetInstances with all optional fields
-- omitted.
--
-- 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:autoScalingGroups:TargetInstances',
-- targetInstances_autoScalingGroups - The names of one or more
-- Auto Scaling groups to identify a replacement environment for a
-- blue/green deployment.
--
-- $sel:ec2TagSet:TargetInstances',
-- targetInstances_ec2TagSet - Information about the groups of
-- Amazon EC2 instance tags that an instance must be identified by in
-- order for it to be included in the replacement environment for a
-- blue/green deployment. Cannot be used in the same call as
-- tagFilters.
--
-- $sel:tagFilters:TargetInstances',
-- targetInstances_tagFilters - The tag filter key, type, and
-- value used to identify Amazon EC2 instances in a replacement
-- environment for a blue/green deployment. Cannot be used in the same
-- call as ec2TagSet.
newTargetInstances :: TargetInstances
-- | The names of one or more Auto Scaling groups to identify a replacement
-- environment for a blue/green deployment.
targetInstances_autoScalingGroups :: Lens' TargetInstances (Maybe [Text])
-- | Information about the groups of Amazon EC2 instance tags that an
-- instance must be identified by in order for it to be included in the
-- replacement environment for a blue/green deployment. Cannot be used in
-- the same call as tagFilters.
targetInstances_ec2TagSet :: Lens' TargetInstances (Maybe EC2TagSet)
-- | The tag filter key, type, and value used to identify Amazon EC2
-- instances in a replacement environment for a blue/green deployment.
-- Cannot be used in the same call as ec2TagSet.
targetInstances_tagFilters :: Lens' TargetInstances (Maybe [EC2TagFilter])
-- | A configuration that shifts traffic from one version of a Lambda
-- function or Amazon ECS task set to another in two increments. The
-- original and target Lambda function versions or ECS task sets are
-- specified in the deployment's AppSpec file.
--
-- See: newTimeBasedCanary smart constructor.
data TimeBasedCanary
TimeBasedCanary' :: Maybe Int -> Maybe Int -> TimeBasedCanary
-- | The number of minutes between the first and second traffic shifts of a
-- TimeBasedCanary deployment.
[$sel:canaryInterval:TimeBasedCanary'] :: TimeBasedCanary -> Maybe Int
-- | The percentage of traffic to shift in the first increment of a
-- TimeBasedCanary deployment.
[$sel:canaryPercentage:TimeBasedCanary'] :: TimeBasedCanary -> Maybe Int
-- | Create a value of TimeBasedCanary with all optional fields
-- omitted.
--
-- 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:canaryInterval:TimeBasedCanary',
-- timeBasedCanary_canaryInterval - The number of minutes between
-- the first and second traffic shifts of a TimeBasedCanary
-- deployment.
--
-- $sel:canaryPercentage:TimeBasedCanary',
-- timeBasedCanary_canaryPercentage - The percentage of traffic to
-- shift in the first increment of a TimeBasedCanary deployment.
newTimeBasedCanary :: TimeBasedCanary
-- | The number of minutes between the first and second traffic shifts of a
-- TimeBasedCanary deployment.
timeBasedCanary_canaryInterval :: Lens' TimeBasedCanary (Maybe Int)
-- | The percentage of traffic to shift in the first increment of a
-- TimeBasedCanary deployment.
timeBasedCanary_canaryPercentage :: Lens' TimeBasedCanary (Maybe Int)
-- | A configuration that shifts traffic from one version of a Lambda
-- function or ECS task set to another in equal increments, with an equal
-- number of minutes between each increment. The original and target
-- Lambda function versions or ECS task sets are specified in the
-- deployment's AppSpec file.
--
-- See: newTimeBasedLinear smart constructor.
data TimeBasedLinear
TimeBasedLinear' :: Maybe Int -> Maybe Int -> TimeBasedLinear
-- | The number of minutes between each incremental traffic shift of a
-- TimeBasedLinear deployment.
[$sel:linearInterval:TimeBasedLinear'] :: TimeBasedLinear -> Maybe Int
-- | The percentage of traffic that is shifted at the start of each
-- increment of a TimeBasedLinear deployment.
[$sel:linearPercentage:TimeBasedLinear'] :: TimeBasedLinear -> Maybe Int
-- | Create a value of TimeBasedLinear with all optional fields
-- omitted.
--
-- 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:linearInterval:TimeBasedLinear',
-- timeBasedLinear_linearInterval - The number of minutes between
-- each incremental traffic shift of a TimeBasedLinear
-- deployment.
--
-- $sel:linearPercentage:TimeBasedLinear',
-- timeBasedLinear_linearPercentage - The percentage of traffic
-- that is shifted at the start of each increment of a
-- TimeBasedLinear deployment.
newTimeBasedLinear :: TimeBasedLinear
-- | The number of minutes between each incremental traffic shift of a
-- TimeBasedLinear deployment.
timeBasedLinear_linearInterval :: Lens' TimeBasedLinear (Maybe Int)
-- | The percentage of traffic that is shifted at the start of each
-- increment of a TimeBasedLinear deployment.
timeBasedLinear_linearPercentage :: Lens' TimeBasedLinear (Maybe Int)
-- | Information about a time range.
--
-- See: newTimeRange smart constructor.
data TimeRange
TimeRange' :: Maybe POSIX -> Maybe POSIX -> TimeRange
-- | The end time of the time range.
--
-- Specify null to leave the end time open-ended.
[$sel:end:TimeRange'] :: TimeRange -> Maybe POSIX
-- | The start time of the time range.
--
-- Specify null to leave the start time open-ended.
[$sel:start:TimeRange'] :: TimeRange -> Maybe POSIX
-- | Create a value of TimeRange with all optional fields omitted.
--
-- 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:end:TimeRange', timeRange_end - The end time of the
-- time range.
--
-- Specify null to leave the end time open-ended.
--
-- $sel:start:TimeRange', timeRange_start - The start time
-- of the time range.
--
-- Specify null to leave the start time open-ended.
newTimeRange :: TimeRange
-- | The end time of the time range.
--
-- Specify null to leave the end time open-ended.
timeRange_end :: Lens' TimeRange (Maybe UTCTime)
-- | The start time of the time range.
--
-- Specify null to leave the start time open-ended.
timeRange_start :: Lens' TimeRange (Maybe UTCTime)
-- | Information about a listener. The listener contains the path used to
-- route traffic that is received from the load balancer to a target
-- group.
--
-- See: newTrafficRoute smart constructor.
data TrafficRoute
TrafficRoute' :: Maybe [Text] -> TrafficRoute
-- | The Amazon Resource Name (ARN) of one listener. The listener
-- identifies the route between a target group and a load balancer. This
-- is an array of strings with a maximum size of one.
[$sel:listenerArns:TrafficRoute'] :: TrafficRoute -> Maybe [Text]
-- | Create a value of TrafficRoute with all optional fields
-- omitted.
--
-- 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:listenerArns:TrafficRoute',
-- trafficRoute_listenerArns - The Amazon Resource Name (ARN) of
-- one listener. The listener identifies the route between a target group
-- and a load balancer. This is an array of strings with a maximum size
-- of one.
newTrafficRoute :: TrafficRoute
-- | The Amazon Resource Name (ARN) of one listener. The listener
-- identifies the route between a target group and a load balancer. This
-- is an array of strings with a maximum size of one.
trafficRoute_listenerArns :: Lens' TrafficRoute (Maybe [Text])
-- | The configuration that specifies how traffic is shifted from one
-- version of a Lambda function to another version during an Lambda
-- deployment, or from one Amazon ECS task set to another during an
-- Amazon ECS deployment.
--
-- See: newTrafficRoutingConfig smart constructor.
data TrafficRoutingConfig
TrafficRoutingConfig' :: Maybe TimeBasedCanary -> Maybe TimeBasedLinear -> Maybe TrafficRoutingType -> TrafficRoutingConfig
-- | A configuration that shifts traffic from one version of a Lambda
-- function or ECS task set to another in two increments. The original
-- and target Lambda function versions or ECS task sets are specified in
-- the deployment's AppSpec file.
[$sel:timeBasedCanary:TrafficRoutingConfig'] :: TrafficRoutingConfig -> Maybe TimeBasedCanary
-- | A configuration that shifts traffic from one version of a Lambda
-- function or Amazon ECS task set to another in equal increments, with
-- an equal number of minutes between each increment. The original and
-- target Lambda function versions or Amazon ECS task sets are specified
-- in the deployment's AppSpec file.
[$sel:timeBasedLinear:TrafficRoutingConfig'] :: TrafficRoutingConfig -> Maybe TimeBasedLinear
-- | The type of traffic shifting (TimeBasedCanary or
-- TimeBasedLinear) used by a deployment configuration.
[$sel:type':TrafficRoutingConfig'] :: TrafficRoutingConfig -> Maybe TrafficRoutingType
-- | Create a value of TrafficRoutingConfig with all optional fields
-- omitted.
--
-- 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:timeBasedCanary:TrafficRoutingConfig',
-- trafficRoutingConfig_timeBasedCanary - A configuration that
-- shifts traffic from one version of a Lambda function or ECS task set
-- to another in two increments. The original and target Lambda function
-- versions or ECS task sets are specified in the deployment's AppSpec
-- file.
--
-- $sel:timeBasedLinear:TrafficRoutingConfig',
-- trafficRoutingConfig_timeBasedLinear - A configuration that
-- shifts traffic from one version of a Lambda function or Amazon ECS
-- task set to another in equal increments, with an equal number of
-- minutes between each increment. The original and target Lambda
-- function versions or Amazon ECS task sets are specified in the
-- deployment's AppSpec file.
--
-- $sel:type':TrafficRoutingConfig',
-- trafficRoutingConfig_type - The type of traffic shifting
-- (TimeBasedCanary or TimeBasedLinear) used by a
-- deployment configuration.
newTrafficRoutingConfig :: TrafficRoutingConfig
-- | A configuration that shifts traffic from one version of a Lambda
-- function or ECS task set to another in two increments. The original
-- and target Lambda function versions or ECS task sets are specified in
-- the deployment's AppSpec file.
trafficRoutingConfig_timeBasedCanary :: Lens' TrafficRoutingConfig (Maybe TimeBasedCanary)
-- | A configuration that shifts traffic from one version of a Lambda
-- function or Amazon ECS task set to another in equal increments, with
-- an equal number of minutes between each increment. The original and
-- target Lambda function versions or Amazon ECS task sets are specified
-- in the deployment's AppSpec file.
trafficRoutingConfig_timeBasedLinear :: Lens' TrafficRoutingConfig (Maybe TimeBasedLinear)
-- | The type of traffic shifting (TimeBasedCanary or
-- TimeBasedLinear) used by a deployment configuration.
trafficRoutingConfig_type :: Lens' TrafficRoutingConfig (Maybe TrafficRoutingType)
-- | Information about notification triggers for the deployment group.
--
-- See: newTriggerConfig smart constructor.
data TriggerConfig
TriggerConfig' :: Maybe [TriggerEventType] -> Maybe Text -> Maybe Text -> TriggerConfig
-- | The event type or types for which notifications are triggered.
[$sel:triggerEvents:TriggerConfig'] :: TriggerConfig -> Maybe [TriggerEventType]
-- | The name of the notification trigger.
[$sel:triggerName:TriggerConfig'] :: TriggerConfig -> Maybe Text
-- | The Amazon Resource Name (ARN) of the Amazon Simple Notification
-- Service topic through which notifications about deployment or instance
-- events are sent.
[$sel:triggerTargetArn:TriggerConfig'] :: TriggerConfig -> Maybe Text
-- | Create a value of TriggerConfig with all optional fields
-- omitted.
--
-- 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:triggerEvents:TriggerConfig',
-- triggerConfig_triggerEvents - The event type or types for which
-- notifications are triggered.
--
-- $sel:triggerName:TriggerConfig',
-- triggerConfig_triggerName - The name of the notification
-- trigger.
--
-- $sel:triggerTargetArn:TriggerConfig',
-- triggerConfig_triggerTargetArn - The Amazon Resource Name (ARN)
-- of the Amazon Simple Notification Service topic through which
-- notifications about deployment or instance events are sent.
newTriggerConfig :: TriggerConfig
-- | The event type or types for which notifications are triggered.
triggerConfig_triggerEvents :: Lens' TriggerConfig (Maybe [TriggerEventType])
-- | The name of the notification trigger.
triggerConfig_triggerName :: Lens' TriggerConfig (Maybe Text)
-- | The Amazon Resource Name (ARN) of the Amazon Simple Notification
-- Service topic through which notifications about deployment or instance
-- events are sent.
triggerConfig_triggerTargetArn :: Lens' TriggerConfig (Maybe Text)
-- | Associates the list of tags in the input Tags parameter with
-- the resource identified by the ResourceArn input parameter.
module Amazonka.CodeDeploy.TagResource
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> [Tag] -> TagResource
-- | The ARN of a resource, such as a CodeDeploy application or deployment
-- group.
[$sel:resourceArn:TagResource'] :: TagResource -> Text
-- | A list of tags that TagResource associates with a resource.
-- The resource is identified by the ResourceArn input
-- parameter.
[$sel:tags:TagResource'] :: TagResource -> [Tag]
-- | 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 ARN of a resource, such as a CodeDeploy application or deployment
-- group.
--
-- TagResource, tagResource_tags - A list of tags that
-- TagResource associates with a resource. The resource is
-- identified by the ResourceArn input parameter.
newTagResource :: Text -> TagResource
-- | The ARN of a resource, such as a CodeDeploy application or deployment
-- group.
tagResource_resourceArn :: Lens' TagResource Text
-- | A list of tags that TagResource associates with a resource.
-- The resource is identified by the ResourceArn input
-- parameter.
tagResource_tags :: Lens' TagResource [Tag]
-- | 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.CodeDeploy.TagResource.TagResource
instance GHC.Show.Show Amazonka.CodeDeploy.TagResource.TagResource
instance GHC.Read.Read Amazonka.CodeDeploy.TagResource.TagResource
instance GHC.Classes.Eq Amazonka.CodeDeploy.TagResource.TagResource
instance GHC.Generics.Generic Amazonka.CodeDeploy.TagResource.TagResourceResponse
instance GHC.Show.Show Amazonka.CodeDeploy.TagResource.TagResourceResponse
instance GHC.Read.Read Amazonka.CodeDeploy.TagResource.TagResourceResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.TagResource.TagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.TagResource.TagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.TagResource.TagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.TagResource.TagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.TagResource.TagResource
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.TagResource.TagResource
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.TagResource.TagResource
-- | Attempts to stop an ongoing deployment.
module Amazonka.CodeDeploy.StopDeployment
-- | Represents the input of a StopDeployment operation.
--
-- See: newStopDeployment smart constructor.
data StopDeployment
StopDeployment' :: Maybe Bool -> Text -> StopDeployment
-- | Indicates, when a deployment is stopped, whether instances that have
-- been updated should be rolled back to the previous version of the
-- application revision.
[$sel:autoRollbackEnabled:StopDeployment'] :: StopDeployment -> Maybe Bool
-- | The unique ID of a deployment.
[$sel:deploymentId:StopDeployment'] :: StopDeployment -> Text
-- | Create a value of StopDeployment with all optional fields
-- omitted.
--
-- 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:autoRollbackEnabled:StopDeployment',
-- stopDeployment_autoRollbackEnabled - Indicates, when a
-- deployment is stopped, whether instances that have been updated should
-- be rolled back to the previous version of the application revision.
--
-- StopDeployment, stopDeployment_deploymentId - The unique
-- ID of a deployment.
newStopDeployment :: Text -> StopDeployment
-- | Indicates, when a deployment is stopped, whether instances that have
-- been updated should be rolled back to the previous version of the
-- application revision.
stopDeployment_autoRollbackEnabled :: Lens' StopDeployment (Maybe Bool)
-- | The unique ID of a deployment.
stopDeployment_deploymentId :: Lens' StopDeployment Text
-- | Represents the output of a StopDeployment operation.
--
-- See: newStopDeploymentResponse smart constructor.
data StopDeploymentResponse
StopDeploymentResponse' :: Maybe StopStatus -> Maybe Text -> Int -> StopDeploymentResponse
-- | The status of the stop deployment operation:
--
--
-- - Pending: The stop operation is pending.
-- - Succeeded: The stop operation was successful.
--
[$sel:status:StopDeploymentResponse'] :: StopDeploymentResponse -> Maybe StopStatus
-- | An accompanying status message.
[$sel:statusMessage:StopDeploymentResponse'] :: StopDeploymentResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:StopDeploymentResponse'] :: StopDeploymentResponse -> Int
-- | Create a value of StopDeploymentResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StopDeploymentResponse, stopDeploymentResponse_status -
-- The status of the stop deployment operation:
--
--
-- - Pending: The stop operation is pending.
-- - Succeeded: The stop operation was successful.
--
--
-- $sel:statusMessage:StopDeploymentResponse',
-- stopDeploymentResponse_statusMessage - An accompanying status
-- message.
--
-- $sel:httpStatus:StopDeploymentResponse',
-- stopDeploymentResponse_httpStatus - The response's http status
-- code.
newStopDeploymentResponse :: Int -> StopDeploymentResponse
-- | The status of the stop deployment operation:
--
--
-- - Pending: The stop operation is pending.
-- - Succeeded: The stop operation was successful.
--
stopDeploymentResponse_status :: Lens' StopDeploymentResponse (Maybe StopStatus)
-- | An accompanying status message.
stopDeploymentResponse_statusMessage :: Lens' StopDeploymentResponse (Maybe Text)
-- | The response's http status code.
stopDeploymentResponse_httpStatus :: Lens' StopDeploymentResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.StopDeployment.StopDeployment
instance GHC.Show.Show Amazonka.CodeDeploy.StopDeployment.StopDeployment
instance GHC.Read.Read Amazonka.CodeDeploy.StopDeployment.StopDeployment
instance GHC.Classes.Eq Amazonka.CodeDeploy.StopDeployment.StopDeployment
instance GHC.Generics.Generic Amazonka.CodeDeploy.StopDeployment.StopDeploymentResponse
instance GHC.Show.Show Amazonka.CodeDeploy.StopDeployment.StopDeploymentResponse
instance GHC.Read.Read Amazonka.CodeDeploy.StopDeployment.StopDeploymentResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.StopDeployment.StopDeploymentResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.StopDeployment.StopDeployment
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.StopDeployment.StopDeploymentResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.StopDeployment.StopDeployment
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.StopDeployment.StopDeployment
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.StopDeployment.StopDeployment
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.StopDeployment.StopDeployment
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.StopDeployment.StopDeployment
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.StopDeployment.StopDeployment
-- | Removes one or more tags from one or more on-premises instances.
module Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances
-- | Represents the input of a RemoveTagsFromOnPremisesInstances
-- operation.
--
-- See: newRemoveTagsFromOnPremisesInstances smart
-- constructor.
data RemoveTagsFromOnPremisesInstances
RemoveTagsFromOnPremisesInstances' :: [Tag] -> [Text] -> RemoveTagsFromOnPremisesInstances
-- | The tag key-value pairs to remove from the on-premises instances.
[$sel:tags:RemoveTagsFromOnPremisesInstances'] :: RemoveTagsFromOnPremisesInstances -> [Tag]
-- | The names of the on-premises instances from which to remove tags.
[$sel:instanceNames:RemoveTagsFromOnPremisesInstances'] :: RemoveTagsFromOnPremisesInstances -> [Text]
-- | Create a value of RemoveTagsFromOnPremisesInstances with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RemoveTagsFromOnPremisesInstances,
-- removeTagsFromOnPremisesInstances_tags - The tag key-value
-- pairs to remove from the on-premises instances.
--
-- $sel:instanceNames:RemoveTagsFromOnPremisesInstances',
-- removeTagsFromOnPremisesInstances_instanceNames - The names of
-- the on-premises instances from which to remove tags.
newRemoveTagsFromOnPremisesInstances :: RemoveTagsFromOnPremisesInstances
-- | The tag key-value pairs to remove from the on-premises instances.
removeTagsFromOnPremisesInstances_tags :: Lens' RemoveTagsFromOnPremisesInstances [Tag]
-- | The names of the on-premises instances from which to remove tags.
removeTagsFromOnPremisesInstances_instanceNames :: Lens' RemoveTagsFromOnPremisesInstances [Text]
-- | See: newRemoveTagsFromOnPremisesInstancesResponse smart
-- constructor.
data RemoveTagsFromOnPremisesInstancesResponse
RemoveTagsFromOnPremisesInstancesResponse' :: RemoveTagsFromOnPremisesInstancesResponse
-- | Create a value of RemoveTagsFromOnPremisesInstancesResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newRemoveTagsFromOnPremisesInstancesResponse :: RemoveTagsFromOnPremisesInstancesResponse
instance GHC.Generics.Generic Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance GHC.Show.Show Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance GHC.Read.Read Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance GHC.Classes.Eq Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance GHC.Generics.Generic Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstancesResponse
instance GHC.Show.Show Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstancesResponse
instance GHC.Read.Read Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstancesResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstancesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstancesResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
-- | Registers an on-premises instance.
--
-- Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in
-- the request. You cannot use both.
module Amazonka.CodeDeploy.RegisterOnPremisesInstance
-- | Represents the input of the register on-premises instance operation.
--
-- See: newRegisterOnPremisesInstance smart constructor.
data RegisterOnPremisesInstance
RegisterOnPremisesInstance' :: Maybe Text -> Maybe Text -> Text -> RegisterOnPremisesInstance
-- | The ARN of the IAM session to associate with the on-premises instance.
[$sel:iamSessionArn:RegisterOnPremisesInstance'] :: RegisterOnPremisesInstance -> Maybe Text
-- | The ARN of the IAM user to associate with the on-premises instance.
[$sel:iamUserArn:RegisterOnPremisesInstance'] :: RegisterOnPremisesInstance -> Maybe Text
-- | The name of the on-premises instance to register.
[$sel:instanceName:RegisterOnPremisesInstance'] :: RegisterOnPremisesInstance -> Text
-- | Create a value of RegisterOnPremisesInstance with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RegisterOnPremisesInstance,
-- registerOnPremisesInstance_iamSessionArn - The ARN of the IAM
-- session to associate with the on-premises instance.
--
-- RegisterOnPremisesInstance,
-- registerOnPremisesInstance_iamUserArn - The ARN of the IAM user
-- to associate with the on-premises instance.
--
-- RegisterOnPremisesInstance,
-- registerOnPremisesInstance_instanceName - The name of the
-- on-premises instance to register.
newRegisterOnPremisesInstance :: Text -> RegisterOnPremisesInstance
-- | The ARN of the IAM session to associate with the on-premises instance.
registerOnPremisesInstance_iamSessionArn :: Lens' RegisterOnPremisesInstance (Maybe Text)
-- | The ARN of the IAM user to associate with the on-premises instance.
registerOnPremisesInstance_iamUserArn :: Lens' RegisterOnPremisesInstance (Maybe Text)
-- | The name of the on-premises instance to register.
registerOnPremisesInstance_instanceName :: Lens' RegisterOnPremisesInstance Text
-- | See: newRegisterOnPremisesInstanceResponse smart
-- constructor.
data RegisterOnPremisesInstanceResponse
RegisterOnPremisesInstanceResponse' :: RegisterOnPremisesInstanceResponse
-- | Create a value of RegisterOnPremisesInstanceResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newRegisterOnPremisesInstanceResponse :: RegisterOnPremisesInstanceResponse
instance GHC.Generics.Generic Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance GHC.Show.Show Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance GHC.Read.Read Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance GHC.Classes.Eq Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance GHC.Generics.Generic Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstanceResponse
instance GHC.Show.Show Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstanceResponse
instance GHC.Read.Read Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstanceResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstanceResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstanceResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
-- | Registers with CodeDeploy a revision for the specified application.
module Amazonka.CodeDeploy.RegisterApplicationRevision
-- | Represents the input of a RegisterApplicationRevision operation.
--
-- See: newRegisterApplicationRevision smart constructor.
data RegisterApplicationRevision
RegisterApplicationRevision' :: Maybe Text -> Text -> RevisionLocation -> RegisterApplicationRevision
-- | A comment about the revision.
[$sel:description:RegisterApplicationRevision'] :: RegisterApplicationRevision -> Maybe Text
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
[$sel:applicationName:RegisterApplicationRevision'] :: RegisterApplicationRevision -> Text
-- | Information about the application revision to register, including type
-- and location.
[$sel:revision:RegisterApplicationRevision'] :: RegisterApplicationRevision -> RevisionLocation
-- | Create a value of RegisterApplicationRevision with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RegisterApplicationRevision,
-- registerApplicationRevision_description - A comment about the
-- revision.
--
-- RegisterApplicationRevision,
-- registerApplicationRevision_applicationName - The name of an
-- CodeDeploy application associated with the IAM user or Amazon Web
-- Services account.
--
-- RegisterApplicationRevision,
-- registerApplicationRevision_revision - Information about the
-- application revision to register, including type and location.
newRegisterApplicationRevision :: Text -> RevisionLocation -> RegisterApplicationRevision
-- | A comment about the revision.
registerApplicationRevision_description :: Lens' RegisterApplicationRevision (Maybe Text)
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
registerApplicationRevision_applicationName :: Lens' RegisterApplicationRevision Text
-- | Information about the application revision to register, including type
-- and location.
registerApplicationRevision_revision :: Lens' RegisterApplicationRevision RevisionLocation
-- | See: newRegisterApplicationRevisionResponse smart
-- constructor.
data RegisterApplicationRevisionResponse
RegisterApplicationRevisionResponse' :: RegisterApplicationRevisionResponse
-- | Create a value of RegisterApplicationRevisionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newRegisterApplicationRevisionResponse :: RegisterApplicationRevisionResponse
instance GHC.Generics.Generic Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance GHC.Show.Show Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance GHC.Read.Read Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance GHC.Classes.Eq Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance GHC.Generics.Generic Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevisionResponse
instance GHC.Show.Show Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevisionResponse
instance GHC.Read.Read Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevisionResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevisionResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevisionResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
-- | Sets the result of a Lambda validation function. The function
-- validates lifecycle hooks during a deployment that uses the Lambda or
-- Amazon ECS compute platform. For Lambda deployments, the available
-- lifecycle hooks are BeforeAllowTraffic and
-- AfterAllowTraffic. For Amazon ECS deployments, the available
-- lifecycle hooks are BeforeInstall, AfterInstall,
-- AfterAllowTestTraffic, BeforeAllowTraffic, and
-- AfterAllowTraffic. Lambda validation functions return
-- Succeeded or Failed. For more information, see
-- AppSpec 'hooks' Section for an Lambda Deployment and AppSpec
-- 'hooks' Section for an Amazon ECS Deployment.
module Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus
-- | See: newPutLifecycleEventHookExecutionStatus smart
-- constructor.
data PutLifecycleEventHookExecutionStatus
PutLifecycleEventHookExecutionStatus' :: Maybe Text -> Maybe Text -> Maybe LifecycleEventStatus -> PutLifecycleEventHookExecutionStatus
-- | The unique ID of a deployment. Pass this ID to a Lambda function that
-- validates a deployment lifecycle event.
[$sel:deploymentId:PutLifecycleEventHookExecutionStatus'] :: PutLifecycleEventHookExecutionStatus -> Maybe Text
-- | The execution ID of a deployment's lifecycle hook. A deployment
-- lifecycle hook is specified in the hooks section of the
-- AppSpec file.
[$sel:lifecycleEventHookExecutionId:PutLifecycleEventHookExecutionStatus'] :: PutLifecycleEventHookExecutionStatus -> Maybe Text
-- | The result of a Lambda function that validates a deployment lifecycle
-- event. The values listed in Valid Values are valid for
-- lifecycle statuses in general; however, only Succeeded and
-- Failed can be passed successfully in your API call.
[$sel:status:PutLifecycleEventHookExecutionStatus'] :: PutLifecycleEventHookExecutionStatus -> Maybe LifecycleEventStatus
-- | Create a value of PutLifecycleEventHookExecutionStatus with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PutLifecycleEventHookExecutionStatus,
-- putLifecycleEventHookExecutionStatus_deploymentId - The unique
-- ID of a deployment. Pass this ID to a Lambda function that validates a
-- deployment lifecycle event.
--
-- PutLifecycleEventHookExecutionStatus,
-- putLifecycleEventHookExecutionStatus_lifecycleEventHookExecutionId
-- - The execution ID of a deployment's lifecycle hook. A deployment
-- lifecycle hook is specified in the hooks section of the
-- AppSpec file.
--
-- PutLifecycleEventHookExecutionStatus,
-- putLifecycleEventHookExecutionStatus_status - The result of a
-- Lambda function that validates a deployment lifecycle event. The
-- values listed in Valid Values are valid for lifecycle statuses
-- in general; however, only Succeeded and Failed can
-- be passed successfully in your API call.
newPutLifecycleEventHookExecutionStatus :: PutLifecycleEventHookExecutionStatus
-- | The unique ID of a deployment. Pass this ID to a Lambda function that
-- validates a deployment lifecycle event.
putLifecycleEventHookExecutionStatus_deploymentId :: Lens' PutLifecycleEventHookExecutionStatus (Maybe Text)
-- | The execution ID of a deployment's lifecycle hook. A deployment
-- lifecycle hook is specified in the hooks section of the
-- AppSpec file.
putLifecycleEventHookExecutionStatus_lifecycleEventHookExecutionId :: Lens' PutLifecycleEventHookExecutionStatus (Maybe Text)
-- | The result of a Lambda function that validates a deployment lifecycle
-- event. The values listed in Valid Values are valid for
-- lifecycle statuses in general; however, only Succeeded and
-- Failed can be passed successfully in your API call.
putLifecycleEventHookExecutionStatus_status :: Lens' PutLifecycleEventHookExecutionStatus (Maybe LifecycleEventStatus)
-- | See: newPutLifecycleEventHookExecutionStatusResponse
-- smart constructor.
data PutLifecycleEventHookExecutionStatusResponse
PutLifecycleEventHookExecutionStatusResponse' :: Maybe Text -> Int -> PutLifecycleEventHookExecutionStatusResponse
-- | The execution ID of the lifecycle event hook. A hook is specified in
-- the hooks section of the deployment's AppSpec file.
[$sel:lifecycleEventHookExecutionId:PutLifecycleEventHookExecutionStatusResponse'] :: PutLifecycleEventHookExecutionStatusResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:PutLifecycleEventHookExecutionStatusResponse'] :: PutLifecycleEventHookExecutionStatusResponse -> Int
-- | Create a value of PutLifecycleEventHookExecutionStatusResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PutLifecycleEventHookExecutionStatus,
-- putLifecycleEventHookExecutionStatusResponse_lifecycleEventHookExecutionId
-- - The execution ID of the lifecycle event hook. A hook is specified in
-- the hooks section of the deployment's AppSpec file.
--
-- $sel:httpStatus:PutLifecycleEventHookExecutionStatusResponse',
-- putLifecycleEventHookExecutionStatusResponse_httpStatus - The
-- response's http status code.
newPutLifecycleEventHookExecutionStatusResponse :: Int -> PutLifecycleEventHookExecutionStatusResponse
-- | The execution ID of the lifecycle event hook. A hook is specified in
-- the hooks section of the deployment's AppSpec file.
putLifecycleEventHookExecutionStatusResponse_lifecycleEventHookExecutionId :: Lens' PutLifecycleEventHookExecutionStatusResponse (Maybe Text)
-- | The response's http status code.
putLifecycleEventHookExecutionStatusResponse_httpStatus :: Lens' PutLifecycleEventHookExecutionStatusResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance GHC.Show.Show Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance GHC.Read.Read Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance GHC.Classes.Eq Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance GHC.Generics.Generic Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatusResponse
instance GHC.Show.Show Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatusResponse
instance GHC.Read.Read Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatusResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatusResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatusResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
-- | Returns a list of tags for the resource identified by a specified
-- Amazon Resource Name (ARN). Tags are used to organize and categorize
-- your CodeDeploy resources.
module Amazonka.CodeDeploy.ListTagsForResource
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Maybe Text -> Text -> ListTagsForResource
-- | An identifier returned from the previous ListTagsForResource
-- call. It can be used to return the next set of applications in the
-- list.
[$sel:nextToken:ListTagsForResource'] :: ListTagsForResource -> Maybe Text
-- | The ARN of a CodeDeploy resource. ListTagsForResource returns
-- all the tags associated with the resource that is identified by the
-- ResourceArn.
[$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:
--
-- ListTagsForResource, listTagsForResource_nextToken - An
-- identifier returned from the previous ListTagsForResource
-- call. It can be used to return the next set of applications in the
-- list.
--
-- $sel:resourceArn:ListTagsForResource',
-- listTagsForResource_resourceArn - The ARN of a CodeDeploy
-- resource. ListTagsForResource returns all the tags associated
-- with the resource that is identified by the ResourceArn.
newListTagsForResource :: Text -> ListTagsForResource
-- | An identifier returned from the previous ListTagsForResource
-- call. It can be used to return the next set of applications in the
-- list.
listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
-- | The ARN of a CodeDeploy resource. ListTagsForResource returns
-- all the tags associated with the resource that is identified by the
-- ResourceArn.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe Text -> Maybe [Tag] -> Int -> ListTagsForResourceResponse
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list application revisions
-- call to return the next set of application revisions in the list.
[$sel:nextToken:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe Text
-- | A list of tags returned by ListTagsForResource. The tags are
-- associated with the resource identified by the input
-- ResourceArn parameter.
[$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [Tag]
-- | 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:
--
-- ListTagsForResource,
-- listTagsForResourceResponse_nextToken - If a large amount of
-- information is returned, an identifier is also returned. It can be
-- used in a subsequent list application revisions call to return the
-- next set of application revisions in the list.
--
-- ListTagsForResourceResponse,
-- listTagsForResourceResponse_tags - A list of tags returned by
-- ListTagsForResource. The tags are associated with the
-- resource identified by the input ResourceArn parameter.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list application revisions
-- call to return the next set of application revisions in the list.
listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
-- | A list of tags returned by ListTagsForResource. The tags are
-- associated with the resource identified by the input
-- ResourceArn parameter.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResource
instance GHC.Show.Show Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResource
instance GHC.Read.Read Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResource
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResource
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Show.Show Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Read.Read Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.ListTagsForResource.ListTagsForResource
-- | Gets a list of names for one or more on-premises instances.
--
-- Unless otherwise specified, both registered and deregistered
-- on-premises instance names are listed. To list only registered or
-- deregistered on-premises instance names, use the registration status
-- parameter.
--
-- This operation returns paginated results.
module Amazonka.CodeDeploy.ListOnPremisesInstances
-- | Represents the input of a ListOnPremisesInstances operation.
--
-- See: newListOnPremisesInstances smart constructor.
data ListOnPremisesInstances
ListOnPremisesInstances' :: Maybe Text -> Maybe RegistrationStatus -> Maybe [TagFilter] -> ListOnPremisesInstances
-- | An identifier returned from the previous list on-premises instances
-- call. It can be used to return the next set of on-premises instances
-- in the list.
[$sel:nextToken:ListOnPremisesInstances'] :: ListOnPremisesInstances -> Maybe Text
-- | The registration status of the on-premises instances:
--
--
-- - Deregistered: Include deregistered on-premises instances
-- in the resulting list.
-- - Registered: Include registered on-premises instances in
-- the resulting list.
--
[$sel:registrationStatus:ListOnPremisesInstances'] :: ListOnPremisesInstances -> Maybe RegistrationStatus
-- | The on-premises instance tags that are used to restrict the
-- on-premises instance names returned.
[$sel:tagFilters:ListOnPremisesInstances'] :: ListOnPremisesInstances -> Maybe [TagFilter]
-- | Create a value of ListOnPremisesInstances with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListOnPremisesInstances,
-- listOnPremisesInstances_nextToken - An identifier returned from
-- the previous list on-premises instances call. It can be used to return
-- the next set of on-premises instances in the list.
--
-- $sel:registrationStatus:ListOnPremisesInstances',
-- listOnPremisesInstances_registrationStatus - The registration
-- status of the on-premises instances:
--
--
-- - Deregistered: Include deregistered on-premises instances
-- in the resulting list.
-- - Registered: Include registered on-premises instances in
-- the resulting list.
--
--
-- ListOnPremisesInstances,
-- listOnPremisesInstances_tagFilters - The on-premises instance
-- tags that are used to restrict the on-premises instance names
-- returned.
newListOnPremisesInstances :: ListOnPremisesInstances
-- | An identifier returned from the previous list on-premises instances
-- call. It can be used to return the next set of on-premises instances
-- in the list.
listOnPremisesInstances_nextToken :: Lens' ListOnPremisesInstances (Maybe Text)
-- | The registration status of the on-premises instances:
--
--
-- - Deregistered: Include deregistered on-premises instances
-- in the resulting list.
-- - Registered: Include registered on-premises instances in
-- the resulting list.
--
listOnPremisesInstances_registrationStatus :: Lens' ListOnPremisesInstances (Maybe RegistrationStatus)
-- | The on-premises instance tags that are used to restrict the
-- on-premises instance names returned.
listOnPremisesInstances_tagFilters :: Lens' ListOnPremisesInstances (Maybe [TagFilter])
-- | Represents the output of the list on-premises instances operation.
--
-- See: newListOnPremisesInstancesResponse smart
-- constructor.
data ListOnPremisesInstancesResponse
ListOnPremisesInstancesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListOnPremisesInstancesResponse
-- | The list of matching on-premises instance names.
[$sel:instanceNames:ListOnPremisesInstancesResponse'] :: ListOnPremisesInstancesResponse -> Maybe [Text]
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list on-premises instances
-- call to return the next set of on-premises instances in the list.
[$sel:nextToken:ListOnPremisesInstancesResponse'] :: ListOnPremisesInstancesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListOnPremisesInstancesResponse'] :: ListOnPremisesInstancesResponse -> Int
-- | Create a value of ListOnPremisesInstancesResponse with all
-- optional fields omitted.
--
-- 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:instanceNames:ListOnPremisesInstancesResponse',
-- listOnPremisesInstancesResponse_instanceNames - The list of
-- matching on-premises instance names.
--
-- ListOnPremisesInstances,
-- listOnPremisesInstancesResponse_nextToken - If a large amount
-- of information is returned, an identifier is also returned. It can be
-- used in a subsequent list on-premises instances call to return the
-- next set of on-premises instances in the list.
--
-- $sel:httpStatus:ListOnPremisesInstancesResponse',
-- listOnPremisesInstancesResponse_httpStatus - The response's
-- http status code.
newListOnPremisesInstancesResponse :: Int -> ListOnPremisesInstancesResponse
-- | The list of matching on-premises instance names.
listOnPremisesInstancesResponse_instanceNames :: Lens' ListOnPremisesInstancesResponse (Maybe [Text])
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list on-premises instances
-- call to return the next set of on-premises instances in the list.
listOnPremisesInstancesResponse_nextToken :: Lens' ListOnPremisesInstancesResponse (Maybe Text)
-- | The response's http status code.
listOnPremisesInstancesResponse_httpStatus :: Lens' ListOnPremisesInstancesResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance GHC.Show.Show Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance GHC.Read.Read Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstancesResponse
instance GHC.Show.Show Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstancesResponse
instance GHC.Read.Read Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstancesResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstancesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstancesResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
-- | Lists the names of stored connections to GitHub accounts.
--
-- This operation returns paginated results.
module Amazonka.CodeDeploy.ListGitHubAccountTokenNames
-- | Represents the input of a ListGitHubAccountTokenNames
-- operation.
--
-- See: newListGitHubAccountTokenNames smart constructor.
data ListGitHubAccountTokenNames
ListGitHubAccountTokenNames' :: Maybe Text -> ListGitHubAccountTokenNames
-- | An identifier returned from the previous
-- ListGitHubAccountTokenNames call. It can be used to return
-- the next set of names in the list.
[$sel:nextToken:ListGitHubAccountTokenNames'] :: ListGitHubAccountTokenNames -> Maybe Text
-- | Create a value of ListGitHubAccountTokenNames with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListGitHubAccountTokenNames,
-- listGitHubAccountTokenNames_nextToken - An identifier returned
-- from the previous ListGitHubAccountTokenNames call. It can be
-- used to return the next set of names in the list.
newListGitHubAccountTokenNames :: ListGitHubAccountTokenNames
-- | An identifier returned from the previous
-- ListGitHubAccountTokenNames call. It can be used to return
-- the next set of names in the list.
listGitHubAccountTokenNames_nextToken :: Lens' ListGitHubAccountTokenNames (Maybe Text)
-- | Represents the output of a ListGitHubAccountTokenNames
-- operation.
--
-- See: newListGitHubAccountTokenNamesResponse smart
-- constructor.
data ListGitHubAccountTokenNamesResponse
ListGitHubAccountTokenNamesResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListGitHubAccountTokenNamesResponse
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent
-- ListGitHubAccountTokenNames call to return the next set of
-- names in the list.
[$sel:nextToken:ListGitHubAccountTokenNamesResponse'] :: ListGitHubAccountTokenNamesResponse -> Maybe Text
-- | A list of names of connections to GitHub accounts.
[$sel:tokenNameList:ListGitHubAccountTokenNamesResponse'] :: ListGitHubAccountTokenNamesResponse -> Maybe [Text]
-- | The response's http status code.
[$sel:httpStatus:ListGitHubAccountTokenNamesResponse'] :: ListGitHubAccountTokenNamesResponse -> Int
-- | Create a value of ListGitHubAccountTokenNamesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListGitHubAccountTokenNames,
-- listGitHubAccountTokenNamesResponse_nextToken - If a large
-- amount of information is returned, an identifier is also returned. It
-- can be used in a subsequent ListGitHubAccountTokenNames call
-- to return the next set of names in the list.
--
-- $sel:tokenNameList:ListGitHubAccountTokenNamesResponse',
-- listGitHubAccountTokenNamesResponse_tokenNameList - A list of
-- names of connections to GitHub accounts.
--
-- $sel:httpStatus:ListGitHubAccountTokenNamesResponse',
-- listGitHubAccountTokenNamesResponse_httpStatus - The response's
-- http status code.
newListGitHubAccountTokenNamesResponse :: Int -> ListGitHubAccountTokenNamesResponse
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent
-- ListGitHubAccountTokenNames call to return the next set of
-- names in the list.
listGitHubAccountTokenNamesResponse_nextToken :: Lens' ListGitHubAccountTokenNamesResponse (Maybe Text)
-- | A list of names of connections to GitHub accounts.
listGitHubAccountTokenNamesResponse_tokenNameList :: Lens' ListGitHubAccountTokenNamesResponse (Maybe [Text])
-- | The response's http status code.
listGitHubAccountTokenNamesResponse_httpStatus :: Lens' ListGitHubAccountTokenNamesResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance GHC.Show.Show Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance GHC.Read.Read Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNamesResponse
instance GHC.Show.Show Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNamesResponse
instance GHC.Read.Read Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNamesResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNamesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNamesResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
-- | Lists the deployments in a deployment group for an application
-- registered with the IAM user or Amazon Web Services account.
--
-- This operation returns paginated results.
module Amazonka.CodeDeploy.ListDeployments
-- | Represents the input of a ListDeployments operation.
--
-- See: newListDeployments smart constructor.
data ListDeployments
ListDeployments' :: Maybe Text -> Maybe TimeRange -> Maybe Text -> Maybe Text -> Maybe [DeploymentStatus] -> Maybe Text -> ListDeployments
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
--
-- If applicationName is specified, then
-- deploymentGroupName must be specified. If it is not
-- specified, then deploymentGroupName must not be specified.
[$sel:applicationName:ListDeployments'] :: ListDeployments -> Maybe Text
-- | A time range (start and end) for returning a subset of the list of
-- deployments.
[$sel:createTimeRange:ListDeployments'] :: ListDeployments -> Maybe TimeRange
-- | The name of a deployment group for the specified application.
--
-- If deploymentGroupName is specified, then
-- applicationName must be specified. If it is not specified,
-- then applicationName must not be specified.
[$sel:deploymentGroupName:ListDeployments'] :: ListDeployments -> Maybe Text
-- | The unique ID of an external resource for returning deployments linked
-- to the external resource.
[$sel:externalId:ListDeployments'] :: ListDeployments -> Maybe Text
-- | A subset of deployments to list by status:
--
--
-- - Created: Include created deployments in the resulting
-- list.
-- - Queued: Include queued deployments in the resulting
-- list.
-- - In Progress: Include in-progress deployments in the
-- resulting list.
-- - Succeeded: Include successful deployments in the
-- resulting list.
-- - Failed: Include failed deployments in the resulting
-- list.
-- - Stopped: Include stopped deployments in the resulting
-- list.
--
[$sel:includeOnlyStatuses:ListDeployments'] :: ListDeployments -> Maybe [DeploymentStatus]
-- | An identifier returned from the previous list deployments call. It can
-- be used to return the next set of deployments in the list.
[$sel:nextToken:ListDeployments'] :: ListDeployments -> Maybe Text
-- | Create a value of ListDeployments with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeployments, listDeployments_applicationName - The
-- name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
--
-- If applicationName is specified, then
-- deploymentGroupName must be specified. If it is not
-- specified, then deploymentGroupName must not be specified.
--
-- $sel:createTimeRange:ListDeployments',
-- listDeployments_createTimeRange - A time range (start and end)
-- for returning a subset of the list of deployments.
--
-- ListDeployments, listDeployments_deploymentGroupName -
-- The name of a deployment group for the specified application.
--
-- If deploymentGroupName is specified, then
-- applicationName must be specified. If it is not specified,
-- then applicationName must not be specified.
--
-- ListDeployments, listDeployments_externalId - The unique
-- ID of an external resource for returning deployments linked to the
-- external resource.
--
-- $sel:includeOnlyStatuses:ListDeployments',
-- listDeployments_includeOnlyStatuses - A subset of deployments
-- to list by status:
--
--
-- - Created: Include created deployments in the resulting
-- list.
-- - Queued: Include queued deployments in the resulting
-- list.
-- - In Progress: Include in-progress deployments in the
-- resulting list.
-- - Succeeded: Include successful deployments in the
-- resulting list.
-- - Failed: Include failed deployments in the resulting
-- list.
-- - Stopped: Include stopped deployments in the resulting
-- list.
--
--
-- ListDeployments, listDeployments_nextToken - An
-- identifier returned from the previous list deployments call. It can be
-- used to return the next set of deployments in the list.
newListDeployments :: ListDeployments
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
--
-- If applicationName is specified, then
-- deploymentGroupName must be specified. If it is not
-- specified, then deploymentGroupName must not be specified.
listDeployments_applicationName :: Lens' ListDeployments (Maybe Text)
-- | A time range (start and end) for returning a subset of the list of
-- deployments.
listDeployments_createTimeRange :: Lens' ListDeployments (Maybe TimeRange)
-- | The name of a deployment group for the specified application.
--
-- If deploymentGroupName is specified, then
-- applicationName must be specified. If it is not specified,
-- then applicationName must not be specified.
listDeployments_deploymentGroupName :: Lens' ListDeployments (Maybe Text)
-- | The unique ID of an external resource for returning deployments linked
-- to the external resource.
listDeployments_externalId :: Lens' ListDeployments (Maybe Text)
-- | A subset of deployments to list by status:
--
--
-- - Created: Include created deployments in the resulting
-- list.
-- - Queued: Include queued deployments in the resulting
-- list.
-- - In Progress: Include in-progress deployments in the
-- resulting list.
-- - Succeeded: Include successful deployments in the
-- resulting list.
-- - Failed: Include failed deployments in the resulting
-- list.
-- - Stopped: Include stopped deployments in the resulting
-- list.
--
listDeployments_includeOnlyStatuses :: Lens' ListDeployments (Maybe [DeploymentStatus])
-- | An identifier returned from the previous list deployments call. It can
-- be used to return the next set of deployments in the list.
listDeployments_nextToken :: Lens' ListDeployments (Maybe Text)
-- | Represents the output of a ListDeployments operation.
--
-- See: newListDeploymentsResponse smart constructor.
data ListDeploymentsResponse
ListDeploymentsResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListDeploymentsResponse
-- | A list of deployment IDs.
[$sel:deployments:ListDeploymentsResponse'] :: ListDeploymentsResponse -> Maybe [Text]
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployments call to
-- return the next set of deployments in the list.
[$sel:nextToken:ListDeploymentsResponse'] :: ListDeploymentsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListDeploymentsResponse'] :: ListDeploymentsResponse -> Int
-- | Create a value of ListDeploymentsResponse with all optional
-- fields omitted.
--
-- 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:deployments:ListDeploymentsResponse',
-- listDeploymentsResponse_deployments - A list of deployment IDs.
--
-- ListDeployments, listDeploymentsResponse_nextToken - If
-- a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployments call to
-- return the next set of deployments in the list.
--
-- $sel:httpStatus:ListDeploymentsResponse',
-- listDeploymentsResponse_httpStatus - The response's http status
-- code.
newListDeploymentsResponse :: Int -> ListDeploymentsResponse
-- | A list of deployment IDs.
listDeploymentsResponse_deployments :: Lens' ListDeploymentsResponse (Maybe [Text])
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployments call to
-- return the next set of deployments in the list.
listDeploymentsResponse_nextToken :: Lens' ListDeploymentsResponse (Maybe Text)
-- | The response's http status code.
listDeploymentsResponse_httpStatus :: Lens' ListDeploymentsResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListDeployments.ListDeployments
instance GHC.Show.Show Amazonka.CodeDeploy.ListDeployments.ListDeployments
instance GHC.Read.Read Amazonka.CodeDeploy.ListDeployments.ListDeployments
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListDeployments.ListDeployments
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListDeployments.ListDeploymentsResponse
instance GHC.Show.Show Amazonka.CodeDeploy.ListDeployments.ListDeploymentsResponse
instance GHC.Read.Read Amazonka.CodeDeploy.ListDeployments.ListDeploymentsResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListDeployments.ListDeploymentsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.ListDeployments.ListDeployments
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListDeployments.ListDeploymentsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeDeploy.ListDeployments.ListDeployments
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.ListDeployments.ListDeployments
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListDeployments.ListDeployments
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.ListDeployments.ListDeployments
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.ListDeployments.ListDeployments
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.ListDeployments.ListDeployments
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.ListDeployments.ListDeployments
-- | Returns an array of target IDs that are associated a deployment.
--
-- This operation returns paginated results.
module Amazonka.CodeDeploy.ListDeploymentTargets
-- | See: newListDeploymentTargets smart constructor.
data ListDeploymentTargets
ListDeploymentTargets' :: Maybe Text -> Maybe Text -> Maybe (HashMap TargetFilterName [Text]) -> ListDeploymentTargets
-- | The unique ID of a deployment.
[$sel:deploymentId:ListDeploymentTargets'] :: ListDeploymentTargets -> Maybe Text
-- | A token identifier returned from the previous
-- ListDeploymentTargets call. It can be used to return the next
-- set of deployment targets in the list.
[$sel:nextToken:ListDeploymentTargets'] :: ListDeploymentTargets -> Maybe Text
-- | A key used to filter the returned targets. The two valid values are:
--
--
-- - TargetStatus - A TargetStatus filter string can
-- be Failed, InProgress, Pending,
-- Ready, Skipped, Succeeded, or
-- Unknown.
-- - ServerInstanceLabel - A ServerInstanceLabel
-- filter string can be Blue or Green.
--
[$sel:targetFilters:ListDeploymentTargets'] :: ListDeploymentTargets -> Maybe (HashMap TargetFilterName [Text])
-- | Create a value of ListDeploymentTargets with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeploymentTargets,
-- listDeploymentTargets_deploymentId - The unique ID of a
-- deployment.
--
-- ListDeploymentTargets, listDeploymentTargets_nextToken -
-- A token identifier returned from the previous
-- ListDeploymentTargets call. It can be used to return the next
-- set of deployment targets in the list.
--
-- $sel:targetFilters:ListDeploymentTargets',
-- listDeploymentTargets_targetFilters - A key used to filter the
-- returned targets. The two valid values are:
--
--
-- - TargetStatus - A TargetStatus filter string can
-- be Failed, InProgress, Pending,
-- Ready, Skipped, Succeeded, or
-- Unknown.
-- - ServerInstanceLabel - A ServerInstanceLabel
-- filter string can be Blue or Green.
--
newListDeploymentTargets :: ListDeploymentTargets
-- | The unique ID of a deployment.
listDeploymentTargets_deploymentId :: Lens' ListDeploymentTargets (Maybe Text)
-- | A token identifier returned from the previous
-- ListDeploymentTargets call. It can be used to return the next
-- set of deployment targets in the list.
listDeploymentTargets_nextToken :: Lens' ListDeploymentTargets (Maybe Text)
-- | A key used to filter the returned targets. The two valid values are:
--
--
-- - TargetStatus - A TargetStatus filter string can
-- be Failed, InProgress, Pending,
-- Ready, Skipped, Succeeded, or
-- Unknown.
-- - ServerInstanceLabel - A ServerInstanceLabel
-- filter string can be Blue or Green.
--
listDeploymentTargets_targetFilters :: Lens' ListDeploymentTargets (Maybe (HashMap TargetFilterName [Text]))
-- | See: newListDeploymentTargetsResponse smart constructor.
data ListDeploymentTargetsResponse
ListDeploymentTargetsResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListDeploymentTargetsResponse
-- | If a large amount of information is returned, a token identifier is
-- also returned. It can be used in a subsequent
-- ListDeploymentTargets call to return the next set of
-- deployment targets in the list.
[$sel:nextToken:ListDeploymentTargetsResponse'] :: ListDeploymentTargetsResponse -> Maybe Text
-- | The unique IDs of deployment targets.
[$sel:targetIds:ListDeploymentTargetsResponse'] :: ListDeploymentTargetsResponse -> Maybe [Text]
-- | The response's http status code.
[$sel:httpStatus:ListDeploymentTargetsResponse'] :: ListDeploymentTargetsResponse -> Int
-- | Create a value of ListDeploymentTargetsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeploymentTargets,
-- listDeploymentTargetsResponse_nextToken - If a large amount of
-- information is returned, a token identifier is also returned. It can
-- be used in a subsequent ListDeploymentTargets call to return
-- the next set of deployment targets in the list.
--
-- $sel:targetIds:ListDeploymentTargetsResponse',
-- listDeploymentTargetsResponse_targetIds - The unique IDs of
-- deployment targets.
--
-- $sel:httpStatus:ListDeploymentTargetsResponse',
-- listDeploymentTargetsResponse_httpStatus - The response's http
-- status code.
newListDeploymentTargetsResponse :: Int -> ListDeploymentTargetsResponse
-- | If a large amount of information is returned, a token identifier is
-- also returned. It can be used in a subsequent
-- ListDeploymentTargets call to return the next set of
-- deployment targets in the list.
listDeploymentTargetsResponse_nextToken :: Lens' ListDeploymentTargetsResponse (Maybe Text)
-- | The unique IDs of deployment targets.
listDeploymentTargetsResponse_targetIds :: Lens' ListDeploymentTargetsResponse (Maybe [Text])
-- | The response's http status code.
listDeploymentTargetsResponse_httpStatus :: Lens' ListDeploymentTargetsResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
instance GHC.Show.Show Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
instance GHC.Read.Read Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargetsResponse
instance GHC.Show.Show Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargetsResponse
instance GHC.Read.Read Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargetsResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargetsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargetsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.ListDeploymentTargets.ListDeploymentTargets
-- | Lists the deployment groups for an application registered with the IAM
-- user or Amazon Web Services account.
--
-- This operation returns paginated results.
module Amazonka.CodeDeploy.ListDeploymentGroups
-- | Represents the input of a ListDeploymentGroups operation.
--
-- See: newListDeploymentGroups smart constructor.
data ListDeploymentGroups
ListDeploymentGroups' :: Maybe Text -> Text -> ListDeploymentGroups
-- | An identifier returned from the previous list deployment groups call.
-- It can be used to return the next set of deployment groups in the
-- list.
[$sel:nextToken:ListDeploymentGroups'] :: ListDeploymentGroups -> Maybe Text
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
[$sel:applicationName:ListDeploymentGroups'] :: ListDeploymentGroups -> Text
-- | Create a value of ListDeploymentGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeploymentGroups, listDeploymentGroups_nextToken -
-- An identifier returned from the previous list deployment groups call.
-- It can be used to return the next set of deployment groups in the
-- list.
--
-- ListDeploymentGroups,
-- listDeploymentGroups_applicationName - The name of an
-- CodeDeploy application associated with the IAM user or Amazon Web
-- Services account.
newListDeploymentGroups :: Text -> ListDeploymentGroups
-- | An identifier returned from the previous list deployment groups call.
-- It can be used to return the next set of deployment groups in the
-- list.
listDeploymentGroups_nextToken :: Lens' ListDeploymentGroups (Maybe Text)
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
listDeploymentGroups_applicationName :: Lens' ListDeploymentGroups Text
-- | Represents the output of a ListDeploymentGroups operation.
--
-- See: newListDeploymentGroupsResponse smart constructor.
data ListDeploymentGroupsResponse
ListDeploymentGroupsResponse' :: Maybe Text -> Maybe [Text] -> Maybe Text -> Int -> ListDeploymentGroupsResponse
-- | The application name.
[$sel:applicationName:ListDeploymentGroupsResponse'] :: ListDeploymentGroupsResponse -> Maybe Text
-- | A list of deployment group names.
[$sel:deploymentGroups:ListDeploymentGroupsResponse'] :: ListDeploymentGroupsResponse -> Maybe [Text]
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployment groups call
-- to return the next set of deployment groups in the list.
[$sel:nextToken:ListDeploymentGroupsResponse'] :: ListDeploymentGroupsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListDeploymentGroupsResponse'] :: ListDeploymentGroupsResponse -> Int
-- | Create a value of ListDeploymentGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeploymentGroups,
-- listDeploymentGroupsResponse_applicationName - The application
-- name.
--
-- ListDeploymentGroupsResponse,
-- listDeploymentGroupsResponse_deploymentGroups - A list of
-- deployment group names.
--
-- ListDeploymentGroups,
-- listDeploymentGroupsResponse_nextToken - If a large amount of
-- information is returned, an identifier is also returned. It can be
-- used in a subsequent list deployment groups call to return the next
-- set of deployment groups in the list.
--
-- $sel:httpStatus:ListDeploymentGroupsResponse',
-- listDeploymentGroupsResponse_httpStatus - The response's http
-- status code.
newListDeploymentGroupsResponse :: Int -> ListDeploymentGroupsResponse
-- | The application name.
listDeploymentGroupsResponse_applicationName :: Lens' ListDeploymentGroupsResponse (Maybe Text)
-- | A list of deployment group names.
listDeploymentGroupsResponse_deploymentGroups :: Lens' ListDeploymentGroupsResponse (Maybe [Text])
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployment groups call
-- to return the next set of deployment groups in the list.
listDeploymentGroupsResponse_nextToken :: Lens' ListDeploymentGroupsResponse (Maybe Text)
-- | The response's http status code.
listDeploymentGroupsResponse_httpStatus :: Lens' ListDeploymentGroupsResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance GHC.Show.Show Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance GHC.Read.Read Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroupsResponse
instance GHC.Show.Show Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroupsResponse
instance GHC.Read.Read Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroupsResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroupsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
-- | Lists the deployment configurations with the IAM user or Amazon Web
-- Services account.
--
-- This operation returns paginated results.
module Amazonka.CodeDeploy.ListDeploymentConfigs
-- | Represents the input of a ListDeploymentConfigs operation.
--
-- See: newListDeploymentConfigs smart constructor.
data ListDeploymentConfigs
ListDeploymentConfigs' :: Maybe Text -> ListDeploymentConfigs
-- | An identifier returned from the previous
-- ListDeploymentConfigs call. It can be used to return the next
-- set of deployment configurations in the list.
[$sel:nextToken:ListDeploymentConfigs'] :: ListDeploymentConfigs -> Maybe Text
-- | Create a value of ListDeploymentConfigs with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeploymentConfigs, listDeploymentConfigs_nextToken -
-- An identifier returned from the previous
-- ListDeploymentConfigs call. It can be used to return the next
-- set of deployment configurations in the list.
newListDeploymentConfigs :: ListDeploymentConfigs
-- | An identifier returned from the previous
-- ListDeploymentConfigs call. It can be used to return the next
-- set of deployment configurations in the list.
listDeploymentConfigs_nextToken :: Lens' ListDeploymentConfigs (Maybe Text)
-- | Represents the output of a ListDeploymentConfigs operation.
--
-- See: newListDeploymentConfigsResponse smart constructor.
data ListDeploymentConfigsResponse
ListDeploymentConfigsResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListDeploymentConfigsResponse
-- | A list of deployment configurations, including built-in configurations
-- such as CodeDeployDefault.OneAtATime.
[$sel:deploymentConfigsList:ListDeploymentConfigsResponse'] :: ListDeploymentConfigsResponse -> Maybe [Text]
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployment
-- configurations call to return the next set of deployment
-- configurations in the list.
[$sel:nextToken:ListDeploymentConfigsResponse'] :: ListDeploymentConfigsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListDeploymentConfigsResponse'] :: ListDeploymentConfigsResponse -> Int
-- | Create a value of ListDeploymentConfigsResponse with all
-- optional fields omitted.
--
-- 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:deploymentConfigsList:ListDeploymentConfigsResponse',
-- listDeploymentConfigsResponse_deploymentConfigsList - A list of
-- deployment configurations, including built-in configurations such as
-- CodeDeployDefault.OneAtATime.
--
-- ListDeploymentConfigs,
-- listDeploymentConfigsResponse_nextToken - If a large amount of
-- information is returned, an identifier is also returned. It can be
-- used in a subsequent list deployment configurations call to return the
-- next set of deployment configurations in the list.
--
-- $sel:httpStatus:ListDeploymentConfigsResponse',
-- listDeploymentConfigsResponse_httpStatus - The response's http
-- status code.
newListDeploymentConfigsResponse :: Int -> ListDeploymentConfigsResponse
-- | A list of deployment configurations, including built-in configurations
-- such as CodeDeployDefault.OneAtATime.
listDeploymentConfigsResponse_deploymentConfigsList :: Lens' ListDeploymentConfigsResponse (Maybe [Text])
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployment
-- configurations call to return the next set of deployment
-- configurations in the list.
listDeploymentConfigsResponse_nextToken :: Lens' ListDeploymentConfigsResponse (Maybe Text)
-- | The response's http status code.
listDeploymentConfigsResponse_httpStatus :: Lens' ListDeploymentConfigsResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance GHC.Show.Show Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance GHC.Read.Read Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigsResponse
instance GHC.Show.Show Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigsResponse
instance GHC.Read.Read Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigsResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
-- | Lists the applications registered with the IAM user or Amazon Web
-- Services account.
--
-- This operation returns paginated results.
module Amazonka.CodeDeploy.ListApplications
-- | Represents the input of a ListApplications operation.
--
-- See: newListApplications smart constructor.
data ListApplications
ListApplications' :: Maybe Text -> ListApplications
-- | An identifier returned from the previous list applications call. It
-- can be used to return the next set of applications in the list.
[$sel:nextToken:ListApplications'] :: ListApplications -> Maybe Text
-- | Create a value of ListApplications with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListApplications, listApplications_nextToken - An
-- identifier returned from the previous list applications call. It can
-- be used to return the next set of applications in the list.
newListApplications :: ListApplications
-- | An identifier returned from the previous list applications call. It
-- can be used to return the next set of applications in the list.
listApplications_nextToken :: Lens' ListApplications (Maybe Text)
-- | Represents the output of a ListApplications operation.
--
-- See: newListApplicationsResponse smart constructor.
data ListApplicationsResponse
ListApplicationsResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListApplicationsResponse
-- | A list of application names.
[$sel:applications:ListApplicationsResponse'] :: ListApplicationsResponse -> Maybe [Text]
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list applications call to
-- return the next set of applications in the list.
[$sel:nextToken:ListApplicationsResponse'] :: ListApplicationsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListApplicationsResponse'] :: ListApplicationsResponse -> Int
-- | Create a value of ListApplicationsResponse with all optional
-- fields omitted.
--
-- 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:applications:ListApplicationsResponse',
-- listApplicationsResponse_applications - A list of application
-- names.
--
-- ListApplications, listApplicationsResponse_nextToken -
-- If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list applications call to
-- return the next set of applications in the list.
--
-- $sel:httpStatus:ListApplicationsResponse',
-- listApplicationsResponse_httpStatus - The response's http
-- status code.
newListApplicationsResponse :: Int -> ListApplicationsResponse
-- | A list of application names.
listApplicationsResponse_applications :: Lens' ListApplicationsResponse (Maybe [Text])
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list applications call to
-- return the next set of applications in the list.
listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text)
-- | The response's http status code.
listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListApplications.ListApplications
instance GHC.Show.Show Amazonka.CodeDeploy.ListApplications.ListApplications
instance GHC.Read.Read Amazonka.CodeDeploy.ListApplications.ListApplications
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListApplications.ListApplications
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListApplications.ListApplicationsResponse
instance GHC.Show.Show Amazonka.CodeDeploy.ListApplications.ListApplicationsResponse
instance GHC.Read.Read Amazonka.CodeDeploy.ListApplications.ListApplicationsResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListApplications.ListApplicationsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.ListApplications.ListApplications
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListApplications.ListApplicationsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeDeploy.ListApplications.ListApplications
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.ListApplications.ListApplications
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListApplications.ListApplications
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.ListApplications.ListApplications
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.ListApplications.ListApplications
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.ListApplications.ListApplications
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.ListApplications.ListApplications
-- | Lists information about revisions for an application.
--
-- This operation returns paginated results.
module Amazonka.CodeDeploy.ListApplicationRevisions
-- | Represents the input of a ListApplicationRevisions operation.
--
-- See: newListApplicationRevisions smart constructor.
data ListApplicationRevisions
ListApplicationRevisions' :: Maybe ListStateFilterAction -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ApplicationRevisionSortBy -> Maybe SortOrder -> Text -> ListApplicationRevisions
-- | Whether to list revisions based on whether the revision is the target
-- revision of a deployment group:
--
--
-- - include: List revisions that are target revisions of a
-- deployment group.
-- - exclude: Do not list revisions that are target revisions
-- of a deployment group.
-- - ignore: List all revisions.
--
[$sel:deployed:ListApplicationRevisions'] :: ListApplicationRevisions -> Maybe ListStateFilterAction
-- | An identifier returned from the previous
-- ListApplicationRevisions call. It can be used to return the
-- next set of applications in the list.
[$sel:nextToken:ListApplicationRevisions'] :: ListApplicationRevisions -> Maybe Text
-- | An Amazon S3 bucket name to limit the search for revisions.
--
-- If set to null, all of the user's buckets are searched.
[$sel:s3Bucket:ListApplicationRevisions'] :: ListApplicationRevisions -> Maybe Text
-- | A key prefix for the set of Amazon S3 objects to limit the search for
-- revisions.
[$sel:s3KeyPrefix:ListApplicationRevisions'] :: ListApplicationRevisions -> Maybe Text
-- | The column name to use to sort the list results:
--
--
-- - registerTime: Sort by the time the revisions were
-- registered with CodeDeploy.
-- - firstUsedTime: Sort by the time the revisions were first
-- used in a deployment.
-- - lastUsedTime: Sort by the time the revisions were last
-- used in a deployment.
--
--
-- If not specified or set to null, the results are returned in an
-- arbitrary order.
[$sel:sortBy:ListApplicationRevisions'] :: ListApplicationRevisions -> Maybe ApplicationRevisionSortBy
-- | The order in which to sort the list results:
--
--
-- - ascending: ascending order.
-- - descending: descending order.
--
--
-- If not specified, the results are sorted in ascending order.
--
-- If set to null, the results are sorted in an arbitrary order.
[$sel:sortOrder:ListApplicationRevisions'] :: ListApplicationRevisions -> Maybe SortOrder
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
[$sel:applicationName:ListApplicationRevisions'] :: ListApplicationRevisions -> Text
-- | Create a value of ListApplicationRevisions with all optional
-- fields omitted.
--
-- 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:deployed:ListApplicationRevisions',
-- listApplicationRevisions_deployed - Whether to list revisions
-- based on whether the revision is the target revision of a deployment
-- group:
--
--
-- - include: List revisions that are target revisions of a
-- deployment group.
-- - exclude: Do not list revisions that are target revisions
-- of a deployment group.
-- - ignore: List all revisions.
--
--
-- ListApplicationRevisions,
-- listApplicationRevisions_nextToken - An identifier returned
-- from the previous ListApplicationRevisions call. It can be
-- used to return the next set of applications in the list.
--
-- $sel:s3Bucket:ListApplicationRevisions',
-- listApplicationRevisions_s3Bucket - An Amazon S3 bucket name to
-- limit the search for revisions.
--
-- If set to null, all of the user's buckets are searched.
--
-- $sel:s3KeyPrefix:ListApplicationRevisions',
-- listApplicationRevisions_s3KeyPrefix - A key prefix for the set
-- of Amazon S3 objects to limit the search for revisions.
--
-- $sel:sortBy:ListApplicationRevisions',
-- listApplicationRevisions_sortBy - The column name to use to
-- sort the list results:
--
--
-- - registerTime: Sort by the time the revisions were
-- registered with CodeDeploy.
-- - firstUsedTime: Sort by the time the revisions were first
-- used in a deployment.
-- - lastUsedTime: Sort by the time the revisions were last
-- used in a deployment.
--
--
-- If not specified or set to null, the results are returned in an
-- arbitrary order.
--
-- $sel:sortOrder:ListApplicationRevisions',
-- listApplicationRevisions_sortOrder - The order in which to sort
-- the list results:
--
--
-- - ascending: ascending order.
-- - descending: descending order.
--
--
-- If not specified, the results are sorted in ascending order.
--
-- If set to null, the results are sorted in an arbitrary order.
--
-- ListApplicationRevisions,
-- listApplicationRevisions_applicationName - The name of an
-- CodeDeploy application associated with the IAM user or Amazon Web
-- Services account.
newListApplicationRevisions :: Text -> ListApplicationRevisions
-- | Whether to list revisions based on whether the revision is the target
-- revision of a deployment group:
--
--
-- - include: List revisions that are target revisions of a
-- deployment group.
-- - exclude: Do not list revisions that are target revisions
-- of a deployment group.
-- - ignore: List all revisions.
--
listApplicationRevisions_deployed :: Lens' ListApplicationRevisions (Maybe ListStateFilterAction)
-- | An identifier returned from the previous
-- ListApplicationRevisions call. It can be used to return the
-- next set of applications in the list.
listApplicationRevisions_nextToken :: Lens' ListApplicationRevisions (Maybe Text)
-- | An Amazon S3 bucket name to limit the search for revisions.
--
-- If set to null, all of the user's buckets are searched.
listApplicationRevisions_s3Bucket :: Lens' ListApplicationRevisions (Maybe Text)
-- | A key prefix for the set of Amazon S3 objects to limit the search for
-- revisions.
listApplicationRevisions_s3KeyPrefix :: Lens' ListApplicationRevisions (Maybe Text)
-- | The column name to use to sort the list results:
--
--
-- - registerTime: Sort by the time the revisions were
-- registered with CodeDeploy.
-- - firstUsedTime: Sort by the time the revisions were first
-- used in a deployment.
-- - lastUsedTime: Sort by the time the revisions were last
-- used in a deployment.
--
--
-- If not specified or set to null, the results are returned in an
-- arbitrary order.
listApplicationRevisions_sortBy :: Lens' ListApplicationRevisions (Maybe ApplicationRevisionSortBy)
-- | The order in which to sort the list results:
--
--
-- - ascending: ascending order.
-- - descending: descending order.
--
--
-- If not specified, the results are sorted in ascending order.
--
-- If set to null, the results are sorted in an arbitrary order.
listApplicationRevisions_sortOrder :: Lens' ListApplicationRevisions (Maybe SortOrder)
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
listApplicationRevisions_applicationName :: Lens' ListApplicationRevisions Text
-- | Represents the output of a ListApplicationRevisions
-- operation.
--
-- See: newListApplicationRevisionsResponse smart
-- constructor.
data ListApplicationRevisionsResponse
ListApplicationRevisionsResponse' :: Maybe Text -> Maybe [RevisionLocation] -> Int -> ListApplicationRevisionsResponse
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list application revisions
-- call to return the next set of application revisions in the list.
[$sel:nextToken:ListApplicationRevisionsResponse'] :: ListApplicationRevisionsResponse -> Maybe Text
-- | A list of locations that contain the matching revisions.
[$sel:revisions:ListApplicationRevisionsResponse'] :: ListApplicationRevisionsResponse -> Maybe [RevisionLocation]
-- | The response's http status code.
[$sel:httpStatus:ListApplicationRevisionsResponse'] :: ListApplicationRevisionsResponse -> Int
-- | Create a value of ListApplicationRevisionsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListApplicationRevisions,
-- listApplicationRevisionsResponse_nextToken - If a large amount
-- of information is returned, an identifier is also returned. It can be
-- used in a subsequent list application revisions call to return the
-- next set of application revisions in the list.
--
-- $sel:revisions:ListApplicationRevisionsResponse',
-- listApplicationRevisionsResponse_revisions - A list of
-- locations that contain the matching revisions.
--
-- $sel:httpStatus:ListApplicationRevisionsResponse',
-- listApplicationRevisionsResponse_httpStatus - The response's
-- http status code.
newListApplicationRevisionsResponse :: Int -> ListApplicationRevisionsResponse
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list application revisions
-- call to return the next set of application revisions in the list.
listApplicationRevisionsResponse_nextToken :: Lens' ListApplicationRevisionsResponse (Maybe Text)
-- | A list of locations that contain the matching revisions.
listApplicationRevisionsResponse_revisions :: Lens' ListApplicationRevisionsResponse (Maybe [RevisionLocation])
-- | The response's http status code.
listApplicationRevisionsResponse_httpStatus :: Lens' ListApplicationRevisionsResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance GHC.Show.Show Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance GHC.Read.Read Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance GHC.Generics.Generic Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisionsResponse
instance GHC.Show.Show Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisionsResponse
instance GHC.Read.Read Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisionsResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisionsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
-- | Gets information about an on-premises instance.
module Amazonka.CodeDeploy.GetOnPremisesInstance
-- | Represents the input of a GetOnPremisesInstance operation.
--
-- See: newGetOnPremisesInstance smart constructor.
data GetOnPremisesInstance
GetOnPremisesInstance' :: Text -> GetOnPremisesInstance
-- | The name of the on-premises instance about which to get information.
[$sel:instanceName:GetOnPremisesInstance'] :: GetOnPremisesInstance -> Text
-- | Create a value of GetOnPremisesInstance with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetOnPremisesInstance,
-- getOnPremisesInstance_instanceName - The name of the
-- on-premises instance about which to get information.
newGetOnPremisesInstance :: Text -> GetOnPremisesInstance
-- | The name of the on-premises instance about which to get information.
getOnPremisesInstance_instanceName :: Lens' GetOnPremisesInstance Text
-- | Represents the output of a GetOnPremisesInstance operation.
--
-- See: newGetOnPremisesInstanceResponse smart constructor.
data GetOnPremisesInstanceResponse
GetOnPremisesInstanceResponse' :: Maybe InstanceInfo -> Int -> GetOnPremisesInstanceResponse
-- | Information about the on-premises instance.
[$sel:instanceInfo:GetOnPremisesInstanceResponse'] :: GetOnPremisesInstanceResponse -> Maybe InstanceInfo
-- | The response's http status code.
[$sel:httpStatus:GetOnPremisesInstanceResponse'] :: GetOnPremisesInstanceResponse -> Int
-- | Create a value of GetOnPremisesInstanceResponse with all
-- optional fields omitted.
--
-- 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:instanceInfo:GetOnPremisesInstanceResponse',
-- getOnPremisesInstanceResponse_instanceInfo - Information about
-- the on-premises instance.
--
-- $sel:httpStatus:GetOnPremisesInstanceResponse',
-- getOnPremisesInstanceResponse_httpStatus - The response's http
-- status code.
newGetOnPremisesInstanceResponse :: Int -> GetOnPremisesInstanceResponse
-- | Information about the on-premises instance.
getOnPremisesInstanceResponse_instanceInfo :: Lens' GetOnPremisesInstanceResponse (Maybe InstanceInfo)
-- | The response's http status code.
getOnPremisesInstanceResponse_httpStatus :: Lens' GetOnPremisesInstanceResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance GHC.Show.Show Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance GHC.Read.Read Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstanceResponse
instance GHC.Show.Show Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstanceResponse
instance GHC.Read.Read Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstanceResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstanceResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstanceResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
-- | Returns information about a deployment target.
module Amazonka.CodeDeploy.GetDeploymentTarget
-- | See: newGetDeploymentTarget smart constructor.
data GetDeploymentTarget
GetDeploymentTarget' :: Maybe Text -> Maybe Text -> GetDeploymentTarget
-- | The unique ID of a deployment.
[$sel:deploymentId:GetDeploymentTarget'] :: GetDeploymentTarget -> Maybe Text
-- | The unique ID of a deployment target.
[$sel:targetId:GetDeploymentTarget'] :: GetDeploymentTarget -> Maybe Text
-- | Create a value of GetDeploymentTarget with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDeploymentTarget, getDeploymentTarget_deploymentId -
-- The unique ID of a deployment.
--
-- GetDeploymentTarget, getDeploymentTarget_targetId - The
-- unique ID of a deployment target.
newGetDeploymentTarget :: GetDeploymentTarget
-- | The unique ID of a deployment.
getDeploymentTarget_deploymentId :: Lens' GetDeploymentTarget (Maybe Text)
-- | The unique ID of a deployment target.
getDeploymentTarget_targetId :: Lens' GetDeploymentTarget (Maybe Text)
-- | See: newGetDeploymentTargetResponse smart constructor.
data GetDeploymentTargetResponse
GetDeploymentTargetResponse' :: Maybe DeploymentTarget -> Int -> GetDeploymentTargetResponse
-- | A deployment target that contains information about a deployment such
-- as its status, lifecycle events, and when it was last updated. It also
-- contains metadata about the deployment target. The deployment target
-- metadata depends on the deployment target's type
-- (instanceTarget, lambdaTarget, or
-- ecsTarget).
[$sel:deploymentTarget:GetDeploymentTargetResponse'] :: GetDeploymentTargetResponse -> Maybe DeploymentTarget
-- | The response's http status code.
[$sel:httpStatus:GetDeploymentTargetResponse'] :: GetDeploymentTargetResponse -> Int
-- | Create a value of GetDeploymentTargetResponse with all optional
-- fields omitted.
--
-- 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:deploymentTarget:GetDeploymentTargetResponse',
-- getDeploymentTargetResponse_deploymentTarget - A deployment
-- target that contains information about a deployment such as its
-- status, lifecycle events, and when it was last updated. It also
-- contains metadata about the deployment target. The deployment target
-- metadata depends on the deployment target's type
-- (instanceTarget, lambdaTarget, or
-- ecsTarget).
--
-- $sel:httpStatus:GetDeploymentTargetResponse',
-- getDeploymentTargetResponse_httpStatus - The response's http
-- status code.
newGetDeploymentTargetResponse :: Int -> GetDeploymentTargetResponse
-- | A deployment target that contains information about a deployment such
-- as its status, lifecycle events, and when it was last updated. It also
-- contains metadata about the deployment target. The deployment target
-- metadata depends on the deployment target's type
-- (instanceTarget, lambdaTarget, or
-- ecsTarget).
getDeploymentTargetResponse_deploymentTarget :: Lens' GetDeploymentTargetResponse (Maybe DeploymentTarget)
-- | The response's http status code.
getDeploymentTargetResponse_httpStatus :: Lens' GetDeploymentTargetResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTarget
instance GHC.Show.Show Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTarget
instance GHC.Read.Read Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTarget
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTarget
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTargetResponse
instance GHC.Show.Show Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTargetResponse
instance GHC.Read.Read Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTargetResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTargetResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTarget
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTargetResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTarget
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTarget
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTarget
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTarget
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTarget
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.GetDeploymentTarget.GetDeploymentTarget
-- | Gets information about a deployment group.
module Amazonka.CodeDeploy.GetDeploymentGroup
-- | Represents the input of a GetDeploymentGroup operation.
--
-- See: newGetDeploymentGroup smart constructor.
data GetDeploymentGroup
GetDeploymentGroup' :: Text -> Text -> GetDeploymentGroup
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
[$sel:applicationName:GetDeploymentGroup'] :: GetDeploymentGroup -> Text
-- | The name of a deployment group for the specified application.
[$sel:deploymentGroupName:GetDeploymentGroup'] :: GetDeploymentGroup -> Text
-- | Create a value of GetDeploymentGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDeploymentGroup, getDeploymentGroup_applicationName -
-- The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
--
-- GetDeploymentGroup,
-- getDeploymentGroup_deploymentGroupName - The name of a
-- deployment group for the specified application.
newGetDeploymentGroup :: Text -> Text -> GetDeploymentGroup
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
getDeploymentGroup_applicationName :: Lens' GetDeploymentGroup Text
-- | The name of a deployment group for the specified application.
getDeploymentGroup_deploymentGroupName :: Lens' GetDeploymentGroup Text
-- | Represents the output of a GetDeploymentGroup operation.
--
-- See: newGetDeploymentGroupResponse smart constructor.
data GetDeploymentGroupResponse
GetDeploymentGroupResponse' :: Maybe DeploymentGroupInfo -> Int -> GetDeploymentGroupResponse
-- | Information about the deployment group.
[$sel:deploymentGroupInfo:GetDeploymentGroupResponse'] :: GetDeploymentGroupResponse -> Maybe DeploymentGroupInfo
-- | The response's http status code.
[$sel:httpStatus:GetDeploymentGroupResponse'] :: GetDeploymentGroupResponse -> Int
-- | Create a value of GetDeploymentGroupResponse with all optional
-- fields omitted.
--
-- 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:deploymentGroupInfo:GetDeploymentGroupResponse',
-- getDeploymentGroupResponse_deploymentGroupInfo - Information
-- about the deployment group.
--
-- $sel:httpStatus:GetDeploymentGroupResponse',
-- getDeploymentGroupResponse_httpStatus - The response's http
-- status code.
newGetDeploymentGroupResponse :: Int -> GetDeploymentGroupResponse
-- | Information about the deployment group.
getDeploymentGroupResponse_deploymentGroupInfo :: Lens' GetDeploymentGroupResponse (Maybe DeploymentGroupInfo)
-- | The response's http status code.
getDeploymentGroupResponse_httpStatus :: Lens' GetDeploymentGroupResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance GHC.Show.Show Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance GHC.Read.Read Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroupResponse
instance GHC.Show.Show Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroupResponse
instance GHC.Read.Read Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroupResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
-- | Gets information about a deployment configuration.
module Amazonka.CodeDeploy.GetDeploymentConfig
-- | Represents the input of a GetDeploymentConfig operation.
--
-- See: newGetDeploymentConfig smart constructor.
data GetDeploymentConfig
GetDeploymentConfig' :: Text -> GetDeploymentConfig
-- | The name of a deployment configuration associated with the IAM user or
-- Amazon Web Services account.
[$sel:deploymentConfigName:GetDeploymentConfig'] :: GetDeploymentConfig -> Text
-- | Create a value of GetDeploymentConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDeploymentConfig,
-- getDeploymentConfig_deploymentConfigName - The name of a
-- deployment configuration associated with the IAM user or Amazon Web
-- Services account.
newGetDeploymentConfig :: Text -> GetDeploymentConfig
-- | The name of a deployment configuration associated with the IAM user or
-- Amazon Web Services account.
getDeploymentConfig_deploymentConfigName :: Lens' GetDeploymentConfig Text
-- | Represents the output of a GetDeploymentConfig operation.
--
-- See: newGetDeploymentConfigResponse smart constructor.
data GetDeploymentConfigResponse
GetDeploymentConfigResponse' :: Maybe DeploymentConfigInfo -> Int -> GetDeploymentConfigResponse
-- | Information about the deployment configuration.
[$sel:deploymentConfigInfo:GetDeploymentConfigResponse'] :: GetDeploymentConfigResponse -> Maybe DeploymentConfigInfo
-- | The response's http status code.
[$sel:httpStatus:GetDeploymentConfigResponse'] :: GetDeploymentConfigResponse -> Int
-- | Create a value of GetDeploymentConfigResponse with all optional
-- fields omitted.
--
-- 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:deploymentConfigInfo:GetDeploymentConfigResponse',
-- getDeploymentConfigResponse_deploymentConfigInfo - Information
-- about the deployment configuration.
--
-- $sel:httpStatus:GetDeploymentConfigResponse',
-- getDeploymentConfigResponse_httpStatus - The response's http
-- status code.
newGetDeploymentConfigResponse :: Int -> GetDeploymentConfigResponse
-- | Information about the deployment configuration.
getDeploymentConfigResponse_deploymentConfigInfo :: Lens' GetDeploymentConfigResponse (Maybe DeploymentConfigInfo)
-- | The response's http status code.
getDeploymentConfigResponse_httpStatus :: Lens' GetDeploymentConfigResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance GHC.Show.Show Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance GHC.Read.Read Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfigResponse
instance GHC.Show.Show Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfigResponse
instance GHC.Read.Read Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfigResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
-- | Gets information about a deployment.
--
-- The content property of the appSpecContent object in
-- the returned revision is always null. Use
-- GetApplicationRevision and the sha256 property of
-- the returned appSpecContent object to get the content of the
-- deployment’s AppSpec file.
module Amazonka.CodeDeploy.GetDeployment
-- | Represents the input of a GetDeployment operation.
--
-- See: newGetDeployment smart constructor.
data GetDeployment
GetDeployment' :: Text -> GetDeployment
-- | The unique ID of a deployment associated with the IAM user or Amazon
-- Web Services account.
[$sel:deploymentId:GetDeployment'] :: GetDeployment -> Text
-- | Create a value of GetDeployment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDeployment, getDeployment_deploymentId - The unique
-- ID of a deployment associated with the IAM user or Amazon Web Services
-- account.
newGetDeployment :: Text -> GetDeployment
-- | The unique ID of a deployment associated with the IAM user or Amazon
-- Web Services account.
getDeployment_deploymentId :: Lens' GetDeployment Text
-- | Represents the output of a GetDeployment operation.
--
-- See: newGetDeploymentResponse smart constructor.
data GetDeploymentResponse
GetDeploymentResponse' :: Maybe DeploymentInfo -> Int -> GetDeploymentResponse
-- | Information about the deployment.
[$sel:deploymentInfo:GetDeploymentResponse'] :: GetDeploymentResponse -> Maybe DeploymentInfo
-- | The response's http status code.
[$sel:httpStatus:GetDeploymentResponse'] :: GetDeploymentResponse -> Int
-- | Create a value of GetDeploymentResponse with all optional
-- fields omitted.
--
-- 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:deploymentInfo:GetDeploymentResponse',
-- getDeploymentResponse_deploymentInfo - Information about the
-- deployment.
--
-- $sel:httpStatus:GetDeploymentResponse',
-- getDeploymentResponse_httpStatus - The response's http status
-- code.
newGetDeploymentResponse :: Int -> GetDeploymentResponse
-- | Information about the deployment.
getDeploymentResponse_deploymentInfo :: Lens' GetDeploymentResponse (Maybe DeploymentInfo)
-- | The response's http status code.
getDeploymentResponse_httpStatus :: Lens' GetDeploymentResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetDeployment.GetDeployment
instance GHC.Show.Show Amazonka.CodeDeploy.GetDeployment.GetDeployment
instance GHC.Read.Read Amazonka.CodeDeploy.GetDeployment.GetDeployment
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetDeployment.GetDeployment
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetDeployment.GetDeploymentResponse
instance GHC.Show.Show Amazonka.CodeDeploy.GetDeployment.GetDeploymentResponse
instance GHC.Read.Read Amazonka.CodeDeploy.GetDeployment.GetDeploymentResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetDeployment.GetDeploymentResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.GetDeployment.GetDeployment
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetDeployment.GetDeploymentResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.GetDeployment.GetDeployment
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetDeployment.GetDeployment
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.GetDeployment.GetDeployment
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.GetDeployment.GetDeployment
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.GetDeployment.GetDeployment
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.GetDeployment.GetDeployment
-- | Gets information about an application revision.
module Amazonka.CodeDeploy.GetApplicationRevision
-- | Represents the input of a GetApplicationRevision operation.
--
-- See: newGetApplicationRevision smart constructor.
data GetApplicationRevision
GetApplicationRevision' :: Text -> RevisionLocation -> GetApplicationRevision
-- | The name of the application that corresponds to the revision.
[$sel:applicationName:GetApplicationRevision'] :: GetApplicationRevision -> Text
-- | Information about the application revision to get, including type and
-- location.
[$sel:revision:GetApplicationRevision'] :: GetApplicationRevision -> RevisionLocation
-- | Create a value of GetApplicationRevision with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetApplicationRevision,
-- getApplicationRevision_applicationName - The name of the
-- application that corresponds to the revision.
--
-- GetApplicationRevision, getApplicationRevision_revision
-- - Information about the application revision to get, including type
-- and location.
newGetApplicationRevision :: Text -> RevisionLocation -> GetApplicationRevision
-- | The name of the application that corresponds to the revision.
getApplicationRevision_applicationName :: Lens' GetApplicationRevision Text
-- | Information about the application revision to get, including type and
-- location.
getApplicationRevision_revision :: Lens' GetApplicationRevision RevisionLocation
-- | Represents the output of a GetApplicationRevision operation.
--
-- See: newGetApplicationRevisionResponse smart
-- constructor.
data GetApplicationRevisionResponse
GetApplicationRevisionResponse' :: Maybe Text -> Maybe RevisionLocation -> Maybe GenericRevisionInfo -> Int -> GetApplicationRevisionResponse
-- | The name of the application that corresponds to the revision.
[$sel:applicationName:GetApplicationRevisionResponse'] :: GetApplicationRevisionResponse -> Maybe Text
-- | Additional information about the revision, including type and
-- location.
[$sel:revision:GetApplicationRevisionResponse'] :: GetApplicationRevisionResponse -> Maybe RevisionLocation
-- | General information about the revision.
[$sel:revisionInfo:GetApplicationRevisionResponse'] :: GetApplicationRevisionResponse -> Maybe GenericRevisionInfo
-- | The response's http status code.
[$sel:httpStatus:GetApplicationRevisionResponse'] :: GetApplicationRevisionResponse -> Int
-- | Create a value of GetApplicationRevisionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetApplicationRevision,
-- getApplicationRevisionResponse_applicationName - The name of
-- the application that corresponds to the revision.
--
-- GetApplicationRevision,
-- getApplicationRevisionResponse_revision - Additional
-- information about the revision, including type and location.
--
-- $sel:revisionInfo:GetApplicationRevisionResponse',
-- getApplicationRevisionResponse_revisionInfo - General
-- information about the revision.
--
-- $sel:httpStatus:GetApplicationRevisionResponse',
-- getApplicationRevisionResponse_httpStatus - The response's http
-- status code.
newGetApplicationRevisionResponse :: Int -> GetApplicationRevisionResponse
-- | The name of the application that corresponds to the revision.
getApplicationRevisionResponse_applicationName :: Lens' GetApplicationRevisionResponse (Maybe Text)
-- | Additional information about the revision, including type and
-- location.
getApplicationRevisionResponse_revision :: Lens' GetApplicationRevisionResponse (Maybe RevisionLocation)
-- | General information about the revision.
getApplicationRevisionResponse_revisionInfo :: Lens' GetApplicationRevisionResponse (Maybe GenericRevisionInfo)
-- | The response's http status code.
getApplicationRevisionResponse_httpStatus :: Lens' GetApplicationRevisionResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance GHC.Show.Show Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance GHC.Read.Read Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevisionResponse
instance GHC.Show.Show Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevisionResponse
instance GHC.Read.Read Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevisionResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevisionResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevisionResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.GetApplicationRevision.GetApplicationRevision
-- | Gets information about an application.
module Amazonka.CodeDeploy.GetApplication
-- | Represents the input of a GetApplication operation.
--
-- See: newGetApplication smart constructor.
data GetApplication
GetApplication' :: Text -> GetApplication
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
[$sel:applicationName:GetApplication'] :: GetApplication -> Text
-- | Create a value of GetApplication with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetApplication, getApplication_applicationName - The
-- name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
newGetApplication :: Text -> GetApplication
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
getApplication_applicationName :: Lens' GetApplication Text
-- | Represents the output of a GetApplication operation.
--
-- See: newGetApplicationResponse smart constructor.
data GetApplicationResponse
GetApplicationResponse' :: Maybe ApplicationInfo -> Int -> GetApplicationResponse
-- | Information about the application.
[$sel:application:GetApplicationResponse'] :: GetApplicationResponse -> Maybe ApplicationInfo
-- | The response's http status code.
[$sel:httpStatus:GetApplicationResponse'] :: GetApplicationResponse -> Int
-- | Create a value of GetApplicationResponse with all optional
-- fields omitted.
--
-- 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:application:GetApplicationResponse',
-- getApplicationResponse_application - Information about the
-- application.
--
-- $sel:httpStatus:GetApplicationResponse',
-- getApplicationResponse_httpStatus - The response's http status
-- code.
newGetApplicationResponse :: Int -> GetApplicationResponse
-- | Information about the application.
getApplicationResponse_application :: Lens' GetApplicationResponse (Maybe ApplicationInfo)
-- | The response's http status code.
getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetApplication.GetApplication
instance GHC.Show.Show Amazonka.CodeDeploy.GetApplication.GetApplication
instance GHC.Read.Read Amazonka.CodeDeploy.GetApplication.GetApplication
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetApplication.GetApplication
instance GHC.Generics.Generic Amazonka.CodeDeploy.GetApplication.GetApplicationResponse
instance GHC.Show.Show Amazonka.CodeDeploy.GetApplication.GetApplicationResponse
instance GHC.Read.Read Amazonka.CodeDeploy.GetApplication.GetApplicationResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.GetApplication.GetApplicationResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.GetApplication.GetApplication
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetApplication.GetApplicationResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.GetApplication.GetApplication
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.GetApplication.GetApplication
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.GetApplication.GetApplication
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.GetApplication.GetApplication
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.GetApplication.GetApplication
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.GetApplication.GetApplication
-- | Deregisters an on-premises instance.
module Amazonka.CodeDeploy.DeregisterOnPremisesInstance
-- | Represents the input of a DeregisterOnPremisesInstance
-- operation.
--
-- See: newDeregisterOnPremisesInstance smart constructor.
data DeregisterOnPremisesInstance
DeregisterOnPremisesInstance' :: Text -> DeregisterOnPremisesInstance
-- | The name of the on-premises instance to deregister.
[$sel:instanceName:DeregisterOnPremisesInstance'] :: DeregisterOnPremisesInstance -> Text
-- | Create a value of DeregisterOnPremisesInstance with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeregisterOnPremisesInstance,
-- deregisterOnPremisesInstance_instanceName - The name of the
-- on-premises instance to deregister.
newDeregisterOnPremisesInstance :: Text -> DeregisterOnPremisesInstance
-- | The name of the on-premises instance to deregister.
deregisterOnPremisesInstance_instanceName :: Lens' DeregisterOnPremisesInstance Text
-- | See: newDeregisterOnPremisesInstanceResponse smart
-- constructor.
data DeregisterOnPremisesInstanceResponse
DeregisterOnPremisesInstanceResponse' :: DeregisterOnPremisesInstanceResponse
-- | Create a value of DeregisterOnPremisesInstanceResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeregisterOnPremisesInstanceResponse :: DeregisterOnPremisesInstanceResponse
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance GHC.Show.Show Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance GHC.Read.Read Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstanceResponse
instance GHC.Show.Show Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstanceResponse
instance GHC.Read.Read Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstanceResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstanceResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstanceResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
-- | Deletes resources linked to an external ID.
module Amazonka.CodeDeploy.DeleteResourcesByExternalId
-- | See: newDeleteResourcesByExternalId smart constructor.
data DeleteResourcesByExternalId
DeleteResourcesByExternalId' :: Maybe Text -> DeleteResourcesByExternalId
-- | The unique ID of an external resource (for example, a CloudFormation
-- stack ID) that is linked to one or more CodeDeploy resources.
[$sel:externalId:DeleteResourcesByExternalId'] :: DeleteResourcesByExternalId -> Maybe Text
-- | Create a value of DeleteResourcesByExternalId with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteResourcesByExternalId,
-- deleteResourcesByExternalId_externalId - The unique ID of an
-- external resource (for example, a CloudFormation stack ID) that is
-- linked to one or more CodeDeploy resources.
newDeleteResourcesByExternalId :: DeleteResourcesByExternalId
-- | The unique ID of an external resource (for example, a CloudFormation
-- stack ID) that is linked to one or more CodeDeploy resources.
deleteResourcesByExternalId_externalId :: Lens' DeleteResourcesByExternalId (Maybe Text)
-- | See: newDeleteResourcesByExternalIdResponse smart
-- constructor.
data DeleteResourcesByExternalIdResponse
DeleteResourcesByExternalIdResponse' :: Int -> DeleteResourcesByExternalIdResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteResourcesByExternalIdResponse'] :: DeleteResourcesByExternalIdResponse -> Int
-- | Create a value of DeleteResourcesByExternalIdResponse with all
-- optional fields omitted.
--
-- 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:DeleteResourcesByExternalIdResponse',
-- deleteResourcesByExternalIdResponse_httpStatus - The response's
-- http status code.
newDeleteResourcesByExternalIdResponse :: Int -> DeleteResourcesByExternalIdResponse
-- | The response's http status code.
deleteResourcesByExternalIdResponse_httpStatus :: Lens' DeleteResourcesByExternalIdResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalId
instance GHC.Show.Show Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalId
instance GHC.Read.Read Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalId
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalId
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalIdResponse
instance GHC.Show.Show Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalIdResponse
instance GHC.Read.Read Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalIdResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalIdResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalId
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalIdResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalId
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalId
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalId
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalId
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalId
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.DeleteResourcesByExternalId.DeleteResourcesByExternalId
-- | Deletes a GitHub account connection.
module Amazonka.CodeDeploy.DeleteGitHubAccountToken
-- | Represents the input of a DeleteGitHubAccount operation.
--
-- See: newDeleteGitHubAccountToken smart constructor.
data DeleteGitHubAccountToken
DeleteGitHubAccountToken' :: Maybe Text -> DeleteGitHubAccountToken
-- | The name of the GitHub account connection to delete.
[$sel:tokenName:DeleteGitHubAccountToken'] :: DeleteGitHubAccountToken -> Maybe Text
-- | Create a value of DeleteGitHubAccountToken with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteGitHubAccountToken,
-- deleteGitHubAccountToken_tokenName - The name of the GitHub
-- account connection to delete.
newDeleteGitHubAccountToken :: DeleteGitHubAccountToken
-- | The name of the GitHub account connection to delete.
deleteGitHubAccountToken_tokenName :: Lens' DeleteGitHubAccountToken (Maybe Text)
-- | Represents the output of a DeleteGitHubAccountToken
-- operation.
--
-- See: newDeleteGitHubAccountTokenResponse smart
-- constructor.
data DeleteGitHubAccountTokenResponse
DeleteGitHubAccountTokenResponse' :: Maybe Text -> Int -> DeleteGitHubAccountTokenResponse
-- | The name of the GitHub account connection that was deleted.
[$sel:tokenName:DeleteGitHubAccountTokenResponse'] :: DeleteGitHubAccountTokenResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DeleteGitHubAccountTokenResponse'] :: DeleteGitHubAccountTokenResponse -> Int
-- | Create a value of DeleteGitHubAccountTokenResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteGitHubAccountToken,
-- deleteGitHubAccountTokenResponse_tokenName - The name of the
-- GitHub account connection that was deleted.
--
-- $sel:httpStatus:DeleteGitHubAccountTokenResponse',
-- deleteGitHubAccountTokenResponse_httpStatus - The response's
-- http status code.
newDeleteGitHubAccountTokenResponse :: Int -> DeleteGitHubAccountTokenResponse
-- | The name of the GitHub account connection that was deleted.
deleteGitHubAccountTokenResponse_tokenName :: Lens' DeleteGitHubAccountTokenResponse (Maybe Text)
-- | The response's http status code.
deleteGitHubAccountTokenResponse_httpStatus :: Lens' DeleteGitHubAccountTokenResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance GHC.Show.Show Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance GHC.Read.Read Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountTokenResponse
instance GHC.Show.Show Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountTokenResponse
instance GHC.Read.Read Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountTokenResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountTokenResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountTokenResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
-- | Deletes a deployment group.
module Amazonka.CodeDeploy.DeleteDeploymentGroup
-- | Represents the input of a DeleteDeploymentGroup operation.
--
-- See: newDeleteDeploymentGroup smart constructor.
data DeleteDeploymentGroup
DeleteDeploymentGroup' :: Text -> Text -> DeleteDeploymentGroup
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
[$sel:applicationName:DeleteDeploymentGroup'] :: DeleteDeploymentGroup -> Text
-- | The name of a deployment group for the specified application.
[$sel:deploymentGroupName:DeleteDeploymentGroup'] :: DeleteDeploymentGroup -> Text
-- | Create a value of DeleteDeploymentGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteDeploymentGroup,
-- deleteDeploymentGroup_applicationName - The name of an
-- CodeDeploy application associated with the IAM user or Amazon Web
-- Services account.
--
-- DeleteDeploymentGroup,
-- deleteDeploymentGroup_deploymentGroupName - The name of a
-- deployment group for the specified application.
newDeleteDeploymentGroup :: Text -> Text -> DeleteDeploymentGroup
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
deleteDeploymentGroup_applicationName :: Lens' DeleteDeploymentGroup Text
-- | The name of a deployment group for the specified application.
deleteDeploymentGroup_deploymentGroupName :: Lens' DeleteDeploymentGroup Text
-- | Represents the output of a DeleteDeploymentGroup operation.
--
-- See: newDeleteDeploymentGroupResponse smart constructor.
data DeleteDeploymentGroupResponse
DeleteDeploymentGroupResponse' :: Maybe [AutoScalingGroup] -> Int -> DeleteDeploymentGroupResponse
-- | If the output contains no data, and the corresponding deployment group
-- contained at least one Auto Scaling group, CodeDeploy successfully
-- removed all corresponding Auto Scaling lifecycle event hooks from the
-- Amazon EC2 instances in the Auto Scaling group. If the output contains
-- data, CodeDeploy could not remove some Auto Scaling lifecycle event
-- hooks from the Amazon EC2 instances in the Auto Scaling group.
[$sel:hooksNotCleanedUp:DeleteDeploymentGroupResponse'] :: DeleteDeploymentGroupResponse -> Maybe [AutoScalingGroup]
-- | The response's http status code.
[$sel:httpStatus:DeleteDeploymentGroupResponse'] :: DeleteDeploymentGroupResponse -> Int
-- | Create a value of DeleteDeploymentGroupResponse with all
-- optional fields omitted.
--
-- 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:hooksNotCleanedUp:DeleteDeploymentGroupResponse',
-- deleteDeploymentGroupResponse_hooksNotCleanedUp - If the output
-- contains no data, and the corresponding deployment group contained at
-- least one Auto Scaling group, CodeDeploy successfully removed all
-- corresponding Auto Scaling lifecycle event hooks from the Amazon EC2
-- instances in the Auto Scaling group. If the output contains data,
-- CodeDeploy could not remove some Auto Scaling lifecycle event hooks
-- from the Amazon EC2 instances in the Auto Scaling group.
--
-- $sel:httpStatus:DeleteDeploymentGroupResponse',
-- deleteDeploymentGroupResponse_httpStatus - The response's http
-- status code.
newDeleteDeploymentGroupResponse :: Int -> DeleteDeploymentGroupResponse
-- | If the output contains no data, and the corresponding deployment group
-- contained at least one Auto Scaling group, CodeDeploy successfully
-- removed all corresponding Auto Scaling lifecycle event hooks from the
-- Amazon EC2 instances in the Auto Scaling group. If the output contains
-- data, CodeDeploy could not remove some Auto Scaling lifecycle event
-- hooks from the Amazon EC2 instances in the Auto Scaling group.
deleteDeploymentGroupResponse_hooksNotCleanedUp :: Lens' DeleteDeploymentGroupResponse (Maybe [AutoScalingGroup])
-- | The response's http status code.
deleteDeploymentGroupResponse_httpStatus :: Lens' DeleteDeploymentGroupResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance GHC.Show.Show Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance GHC.Read.Read Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroupResponse
instance GHC.Show.Show Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroupResponse
instance GHC.Read.Read Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroupResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
-- | Deletes a deployment configuration.
--
-- A deployment configuration cannot be deleted if it is currently in
-- use. Predefined configurations cannot be deleted.
module Amazonka.CodeDeploy.DeleteDeploymentConfig
-- | Represents the input of a DeleteDeploymentConfig operation.
--
-- See: newDeleteDeploymentConfig smart constructor.
data DeleteDeploymentConfig
DeleteDeploymentConfig' :: Text -> DeleteDeploymentConfig
-- | The name of a deployment configuration associated with the IAM user or
-- Amazon Web Services account.
[$sel:deploymentConfigName:DeleteDeploymentConfig'] :: DeleteDeploymentConfig -> Text
-- | Create a value of DeleteDeploymentConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteDeploymentConfig,
-- deleteDeploymentConfig_deploymentConfigName - The name of a
-- deployment configuration associated with the IAM user or Amazon Web
-- Services account.
newDeleteDeploymentConfig :: Text -> DeleteDeploymentConfig
-- | The name of a deployment configuration associated with the IAM user or
-- Amazon Web Services account.
deleteDeploymentConfig_deploymentConfigName :: Lens' DeleteDeploymentConfig Text
-- | See: newDeleteDeploymentConfigResponse smart
-- constructor.
data DeleteDeploymentConfigResponse
DeleteDeploymentConfigResponse' :: DeleteDeploymentConfigResponse
-- | Create a value of DeleteDeploymentConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteDeploymentConfigResponse :: DeleteDeploymentConfigResponse
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance GHC.Show.Show Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance GHC.Read.Read Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfigResponse
instance GHC.Show.Show Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfigResponse
instance GHC.Read.Read Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfigResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
-- | Deletes an application.
module Amazonka.CodeDeploy.DeleteApplication
-- | Represents the input of a DeleteApplication operation.
--
-- See: newDeleteApplication smart constructor.
data DeleteApplication
DeleteApplication' :: Text -> DeleteApplication
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
[$sel:applicationName:DeleteApplication'] :: DeleteApplication -> Text
-- | Create a value of DeleteApplication with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteApplication, deleteApplication_applicationName -
-- The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
newDeleteApplication :: Text -> DeleteApplication
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
deleteApplication_applicationName :: Lens' DeleteApplication Text
-- | See: newDeleteApplicationResponse smart constructor.
data DeleteApplicationResponse
DeleteApplicationResponse' :: DeleteApplicationResponse
-- | Create a value of DeleteApplicationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteApplicationResponse :: DeleteApplicationResponse
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeleteApplication.DeleteApplication
instance GHC.Show.Show Amazonka.CodeDeploy.DeleteApplication.DeleteApplication
instance GHC.Read.Read Amazonka.CodeDeploy.DeleteApplication.DeleteApplication
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeleteApplication.DeleteApplication
instance GHC.Generics.Generic Amazonka.CodeDeploy.DeleteApplication.DeleteApplicationResponse
instance GHC.Show.Show Amazonka.CodeDeploy.DeleteApplication.DeleteApplicationResponse
instance GHC.Read.Read Amazonka.CodeDeploy.DeleteApplication.DeleteApplicationResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.DeleteApplication.DeleteApplicationResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.DeleteApplication.DeleteApplication
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeleteApplication.DeleteApplicationResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.DeleteApplication.DeleteApplication
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.DeleteApplication.DeleteApplication
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.DeleteApplication.DeleteApplication
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.DeleteApplication.DeleteApplication
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.DeleteApplication.DeleteApplication
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.DeleteApplication.DeleteApplication
-- | Creates a deployment group to which application revisions are
-- deployed.
module Amazonka.CodeDeploy.CreateDeploymentGroup
-- | Represents the input of a CreateDeploymentGroup operation.
--
-- See: newCreateDeploymentGroup smart constructor.
data CreateDeploymentGroup
CreateDeploymentGroup' :: Maybe AlarmConfiguration -> Maybe AutoRollbackConfiguration -> Maybe [Text] -> Maybe BlueGreenDeploymentConfiguration -> Maybe Text -> Maybe DeploymentStyle -> Maybe [EC2TagFilter] -> Maybe EC2TagSet -> Maybe [ECSService] -> Maybe LoadBalancerInfo -> Maybe [TagFilter] -> Maybe OnPremisesTagSet -> Maybe OutdatedInstancesStrategy -> Maybe [Tag] -> Maybe [TriggerConfig] -> Text -> Text -> Text -> CreateDeploymentGroup
-- | Information to add about Amazon CloudWatch alarms when the deployment
-- group is created.
[$sel:alarmConfiguration:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe AlarmConfiguration
-- | Configuration information for an automatic rollback that is added when
-- a deployment group is created.
[$sel:autoRollbackConfiguration:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe AutoRollbackConfiguration
-- | A list of associated Amazon EC2 Auto Scaling groups.
[$sel:autoScalingGroups:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe [Text]
-- | Information about blue/green deployment options for a deployment
-- group.
[$sel:blueGreenDeploymentConfiguration:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe BlueGreenDeploymentConfiguration
-- | If specified, the deployment configuration name can be either one of
-- the predefined configurations provided with CodeDeploy or a custom
-- deployment configuration that you create by calling the create
-- deployment configuration operation.
--
-- CodeDeployDefault.OneAtATime is the default deployment
-- configuration. It is used if a configuration isn't specified for the
-- deployment or deployment group.
--
-- For more information about the predefined deployment configurations in
-- CodeDeploy, see Working with Deployment Configurations in
-- CodeDeploy in the CodeDeploy User Guide.
[$sel:deploymentConfigName:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe Text
-- | Information about the type of deployment, in-place or blue/green, that
-- you want to run and whether to route deployment traffic behind a load
-- balancer.
[$sel:deploymentStyle:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe DeploymentStyle
-- | The Amazon EC2 tags on which to filter. The deployment group includes
-- Amazon EC2 instances with any of the specified tags. Cannot be used in
-- the same call as ec2TagSet.
[$sel:ec2TagFilters:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe [EC2TagFilter]
-- | Information about groups of tags applied to Amazon EC2 instances. The
-- deployment group includes only Amazon EC2 instances identified by all
-- the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
[$sel:ec2TagSet:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe EC2TagSet
-- | The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
[$sel:ecsServices:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe [ECSService]
-- | Information about the load balancer used in a deployment.
[$sel:loadBalancerInfo:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe LoadBalancerInfo
-- | The on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags. Cannot
-- be used in the same call as OnPremisesTagSet.
[$sel:onPremisesInstanceTagFilters:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe [TagFilter]
-- | Information about groups of tags applied to on-premises instances. The
-- deployment group includes only on-premises instances identified by all
-- of the tag groups. Cannot be used in the same call as
-- onPremisesInstanceTagFilters.
[$sel:onPremisesTagSet:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe OnPremisesTagSet
-- | Indicates what happens when new Amazon EC2 instances are launched
-- mid-deployment and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
[$sel:outdatedInstancesStrategy:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe OutdatedInstancesStrategy
-- | The metadata that you apply to CodeDeploy deployment groups to help
-- you organize and categorize them. Each tag consists of a key and an
-- optional value, both of which you define.
[$sel:tags:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe [Tag]
-- | Information about triggers to create when the deployment group is
-- created. For examples, see Create a Trigger for an CodeDeploy
-- Event in the CodeDeploy User Guide.
[$sel:triggerConfigurations:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Maybe [TriggerConfig]
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
[$sel:applicationName:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Text
-- | The name of a new deployment group for the specified application.
[$sel:deploymentGroupName:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Text
-- | A service role Amazon Resource Name (ARN) that allows CodeDeploy to
-- act on the user's behalf when interacting with Amazon Web Services
-- services.
[$sel:serviceRoleArn:CreateDeploymentGroup'] :: CreateDeploymentGroup -> Text
-- | Create a value of CreateDeploymentGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_alarmConfiguration - Information to add
-- about Amazon CloudWatch alarms when the deployment group is created.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_autoRollbackConfiguration - Configuration
-- information for an automatic rollback that is added when a deployment
-- group is created.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_autoScalingGroups - A list of associated
-- Amazon EC2 Auto Scaling groups.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_blueGreenDeploymentConfiguration -
-- Information about blue/green deployment options for a deployment
-- group.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_deploymentConfigName - If specified, the
-- deployment configuration name can be either one of the predefined
-- configurations provided with CodeDeploy or a custom deployment
-- configuration that you create by calling the create deployment
-- configuration operation.
--
-- CodeDeployDefault.OneAtATime is the default deployment
-- configuration. It is used if a configuration isn't specified for the
-- deployment or deployment group.
--
-- For more information about the predefined deployment configurations in
-- CodeDeploy, see Working with Deployment Configurations in
-- CodeDeploy in the CodeDeploy User Guide.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_deploymentStyle - Information about the
-- type of deployment, in-place or blue/green, that you want to run and
-- whether to route deployment traffic behind a load balancer.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_ec2TagFilters - The Amazon EC2 tags on
-- which to filter. The deployment group includes Amazon EC2 instances
-- with any of the specified tags. Cannot be used in the same call as
-- ec2TagSet.
--
-- CreateDeploymentGroup, createDeploymentGroup_ec2TagSet -
-- Information about groups of tags applied to Amazon EC2 instances. The
-- deployment group includes only Amazon EC2 instances identified by all
-- the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
--
-- CreateDeploymentGroup, createDeploymentGroup_ecsServices
-- - The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_loadBalancerInfo - Information about the
-- load balancer used in a deployment.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_onPremisesInstanceTagFilters - The
-- on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags. Cannot
-- be used in the same call as OnPremisesTagSet.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_onPremisesTagSet - Information about
-- groups of tags applied to on-premises instances. The deployment group
-- includes only on-premises instances identified by all of the tag
-- groups. Cannot be used in the same call as
-- onPremisesInstanceTagFilters.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_outdatedInstancesStrategy - Indicates
-- what happens when new Amazon EC2 instances are launched mid-deployment
-- and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
--
-- CreateDeploymentGroup, createDeploymentGroup_tags - The
-- metadata that you apply to CodeDeploy deployment groups to help you
-- organize and categorize them. Each tag consists of a key and an
-- optional value, both of which you define.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_triggerConfigurations - Information about
-- triggers to create when the deployment group is created. For examples,
-- see Create a Trigger for an CodeDeploy Event in the
-- CodeDeploy User Guide.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_applicationName - The name of an
-- CodeDeploy application associated with the IAM user or Amazon Web
-- Services account.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_deploymentGroupName - The name of a new
-- deployment group for the specified application.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_serviceRoleArn - A service role Amazon
-- Resource Name (ARN) that allows CodeDeploy to act on the user's behalf
-- when interacting with Amazon Web Services services.
newCreateDeploymentGroup :: Text -> Text -> Text -> CreateDeploymentGroup
-- | Information to add about Amazon CloudWatch alarms when the deployment
-- group is created.
createDeploymentGroup_alarmConfiguration :: Lens' CreateDeploymentGroup (Maybe AlarmConfiguration)
-- | Configuration information for an automatic rollback that is added when
-- a deployment group is created.
createDeploymentGroup_autoRollbackConfiguration :: Lens' CreateDeploymentGroup (Maybe AutoRollbackConfiguration)
-- | A list of associated Amazon EC2 Auto Scaling groups.
createDeploymentGroup_autoScalingGroups :: Lens' CreateDeploymentGroup (Maybe [Text])
-- | Information about blue/green deployment options for a deployment
-- group.
createDeploymentGroup_blueGreenDeploymentConfiguration :: Lens' CreateDeploymentGroup (Maybe BlueGreenDeploymentConfiguration)
-- | If specified, the deployment configuration name can be either one of
-- the predefined configurations provided with CodeDeploy or a custom
-- deployment configuration that you create by calling the create
-- deployment configuration operation.
--
-- CodeDeployDefault.OneAtATime is the default deployment
-- configuration. It is used if a configuration isn't specified for the
-- deployment or deployment group.
--
-- For more information about the predefined deployment configurations in
-- CodeDeploy, see Working with Deployment Configurations in
-- CodeDeploy in the CodeDeploy User Guide.
createDeploymentGroup_deploymentConfigName :: Lens' CreateDeploymentGroup (Maybe Text)
-- | Information about the type of deployment, in-place or blue/green, that
-- you want to run and whether to route deployment traffic behind a load
-- balancer.
createDeploymentGroup_deploymentStyle :: Lens' CreateDeploymentGroup (Maybe DeploymentStyle)
-- | The Amazon EC2 tags on which to filter. The deployment group includes
-- Amazon EC2 instances with any of the specified tags. Cannot be used in
-- the same call as ec2TagSet.
createDeploymentGroup_ec2TagFilters :: Lens' CreateDeploymentGroup (Maybe [EC2TagFilter])
-- | Information about groups of tags applied to Amazon EC2 instances. The
-- deployment group includes only Amazon EC2 instances identified by all
-- the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
createDeploymentGroup_ec2TagSet :: Lens' CreateDeploymentGroup (Maybe EC2TagSet)
-- | The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
createDeploymentGroup_ecsServices :: Lens' CreateDeploymentGroup (Maybe [ECSService])
-- | Information about the load balancer used in a deployment.
createDeploymentGroup_loadBalancerInfo :: Lens' CreateDeploymentGroup (Maybe LoadBalancerInfo)
-- | The on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags. Cannot
-- be used in the same call as OnPremisesTagSet.
createDeploymentGroup_onPremisesInstanceTagFilters :: Lens' CreateDeploymentGroup (Maybe [TagFilter])
-- | Information about groups of tags applied to on-premises instances. The
-- deployment group includes only on-premises instances identified by all
-- of the tag groups. Cannot be used in the same call as
-- onPremisesInstanceTagFilters.
createDeploymentGroup_onPremisesTagSet :: Lens' CreateDeploymentGroup (Maybe OnPremisesTagSet)
-- | Indicates what happens when new Amazon EC2 instances are launched
-- mid-deployment and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
createDeploymentGroup_outdatedInstancesStrategy :: Lens' CreateDeploymentGroup (Maybe OutdatedInstancesStrategy)
-- | The metadata that you apply to CodeDeploy deployment groups to help
-- you organize and categorize them. Each tag consists of a key and an
-- optional value, both of which you define.
createDeploymentGroup_tags :: Lens' CreateDeploymentGroup (Maybe [Tag])
-- | Information about triggers to create when the deployment group is
-- created. For examples, see Create a Trigger for an CodeDeploy
-- Event in the CodeDeploy User Guide.
createDeploymentGroup_triggerConfigurations :: Lens' CreateDeploymentGroup (Maybe [TriggerConfig])
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
createDeploymentGroup_applicationName :: Lens' CreateDeploymentGroup Text
-- | The name of a new deployment group for the specified application.
createDeploymentGroup_deploymentGroupName :: Lens' CreateDeploymentGroup Text
-- | A service role Amazon Resource Name (ARN) that allows CodeDeploy to
-- act on the user's behalf when interacting with Amazon Web Services
-- services.
createDeploymentGroup_serviceRoleArn :: Lens' CreateDeploymentGroup Text
-- | Represents the output of a CreateDeploymentGroup operation.
--
-- See: newCreateDeploymentGroupResponse smart constructor.
data CreateDeploymentGroupResponse
CreateDeploymentGroupResponse' :: Maybe Text -> Int -> CreateDeploymentGroupResponse
-- | A unique deployment group ID.
[$sel:deploymentGroupId:CreateDeploymentGroupResponse'] :: CreateDeploymentGroupResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateDeploymentGroupResponse'] :: CreateDeploymentGroupResponse -> Int
-- | Create a value of CreateDeploymentGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeploymentGroupResponse,
-- createDeploymentGroupResponse_deploymentGroupId - A unique
-- deployment group ID.
--
-- $sel:httpStatus:CreateDeploymentGroupResponse',
-- createDeploymentGroupResponse_httpStatus - The response's http
-- status code.
newCreateDeploymentGroupResponse :: Int -> CreateDeploymentGroupResponse
-- | A unique deployment group ID.
createDeploymentGroupResponse_deploymentGroupId :: Lens' CreateDeploymentGroupResponse (Maybe Text)
-- | The response's http status code.
createDeploymentGroupResponse_httpStatus :: Lens' CreateDeploymentGroupResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance GHC.Show.Show Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance GHC.Read.Read Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance GHC.Classes.Eq Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance GHC.Generics.Generic Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroupResponse
instance GHC.Show.Show Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroupResponse
instance GHC.Read.Read Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroupResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
-- | Creates a deployment configuration.
module Amazonka.CodeDeploy.CreateDeploymentConfig
-- | Represents the input of a CreateDeploymentConfig operation.
--
-- See: newCreateDeploymentConfig smart constructor.
data CreateDeploymentConfig
CreateDeploymentConfig' :: Maybe ComputePlatform -> Maybe MinimumHealthyHosts -> Maybe TrafficRoutingConfig -> Text -> CreateDeploymentConfig
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
[$sel:computePlatform:CreateDeploymentConfig'] :: CreateDeploymentConfig -> Maybe ComputePlatform
-- | The minimum number of healthy instances that should be available at
-- any time during the deployment. There are two parameters expected in
-- the input: type and value.
--
-- The type parameter takes either of the following values:
--
--
-- - HOST_COUNT: The value parameter represents the minimum number of
-- healthy instances as an absolute value.
-- - FLEET_PERCENT: The value parameter represents the minimum number
-- of healthy instances as a percentage of the total number of instances
-- in the deployment. If you specify FLEET_PERCENT, at the start of the
-- deployment, CodeDeploy converts the percentage to the equivalent
-- number of instances and rounds up fractional instances.
--
--
-- The value parameter takes an integer.
--
-- For example, to set a minimum of 95% healthy instance, specify a type
-- of FLEET_PERCENT and a value of 95.
[$sel:minimumHealthyHosts:CreateDeploymentConfig'] :: CreateDeploymentConfig -> Maybe MinimumHealthyHosts
-- | The configuration that specifies how the deployment traffic is routed.
[$sel:trafficRoutingConfig:CreateDeploymentConfig'] :: CreateDeploymentConfig -> Maybe TrafficRoutingConfig
-- | The name of the deployment configuration to create.
[$sel:deploymentConfigName:CreateDeploymentConfig'] :: CreateDeploymentConfig -> Text
-- | Create a value of CreateDeploymentConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeploymentConfig,
-- createDeploymentConfig_computePlatform - The destination
-- platform type for the deployment (Lambda, Server, or
-- ECS).
--
-- CreateDeploymentConfig,
-- createDeploymentConfig_minimumHealthyHosts - The minimum number
-- of healthy instances that should be available at any time during the
-- deployment. There are two parameters expected in the input: type and
-- value.
--
-- The type parameter takes either of the following values:
--
--
-- - HOST_COUNT: The value parameter represents the minimum number of
-- healthy instances as an absolute value.
-- - FLEET_PERCENT: The value parameter represents the minimum number
-- of healthy instances as a percentage of the total number of instances
-- in the deployment. If you specify FLEET_PERCENT, at the start of the
-- deployment, CodeDeploy converts the percentage to the equivalent
-- number of instances and rounds up fractional instances.
--
--
-- The value parameter takes an integer.
--
-- For example, to set a minimum of 95% healthy instance, specify a type
-- of FLEET_PERCENT and a value of 95.
--
-- CreateDeploymentConfig,
-- createDeploymentConfig_trafficRoutingConfig - The configuration
-- that specifies how the deployment traffic is routed.
--
-- CreateDeploymentConfig,
-- createDeploymentConfig_deploymentConfigName - The name of the
-- deployment configuration to create.
newCreateDeploymentConfig :: Text -> CreateDeploymentConfig
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
createDeploymentConfig_computePlatform :: Lens' CreateDeploymentConfig (Maybe ComputePlatform)
-- | The minimum number of healthy instances that should be available at
-- any time during the deployment. There are two parameters expected in
-- the input: type and value.
--
-- The type parameter takes either of the following values:
--
--
-- - HOST_COUNT: The value parameter represents the minimum number of
-- healthy instances as an absolute value.
-- - FLEET_PERCENT: The value parameter represents the minimum number
-- of healthy instances as a percentage of the total number of instances
-- in the deployment. If you specify FLEET_PERCENT, at the start of the
-- deployment, CodeDeploy converts the percentage to the equivalent
-- number of instances and rounds up fractional instances.
--
--
-- The value parameter takes an integer.
--
-- For example, to set a minimum of 95% healthy instance, specify a type
-- of FLEET_PERCENT and a value of 95.
createDeploymentConfig_minimumHealthyHosts :: Lens' CreateDeploymentConfig (Maybe MinimumHealthyHosts)
-- | The configuration that specifies how the deployment traffic is routed.
createDeploymentConfig_trafficRoutingConfig :: Lens' CreateDeploymentConfig (Maybe TrafficRoutingConfig)
-- | The name of the deployment configuration to create.
createDeploymentConfig_deploymentConfigName :: Lens' CreateDeploymentConfig Text
-- | Represents the output of a CreateDeploymentConfig operation.
--
-- See: newCreateDeploymentConfigResponse smart
-- constructor.
data CreateDeploymentConfigResponse
CreateDeploymentConfigResponse' :: Maybe Text -> Int -> CreateDeploymentConfigResponse
-- | A unique deployment configuration ID.
[$sel:deploymentConfigId:CreateDeploymentConfigResponse'] :: CreateDeploymentConfigResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateDeploymentConfigResponse'] :: CreateDeploymentConfigResponse -> Int
-- | Create a value of CreateDeploymentConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeploymentConfigResponse,
-- createDeploymentConfigResponse_deploymentConfigId - A unique
-- deployment configuration ID.
--
-- $sel:httpStatus:CreateDeploymentConfigResponse',
-- createDeploymentConfigResponse_httpStatus - The response's http
-- status code.
newCreateDeploymentConfigResponse :: Int -> CreateDeploymentConfigResponse
-- | A unique deployment configuration ID.
createDeploymentConfigResponse_deploymentConfigId :: Lens' CreateDeploymentConfigResponse (Maybe Text)
-- | The response's http status code.
createDeploymentConfigResponse_httpStatus :: Lens' CreateDeploymentConfigResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance GHC.Show.Show Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance GHC.Read.Read Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance GHC.Classes.Eq Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance GHC.Generics.Generic Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfigResponse
instance GHC.Show.Show Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfigResponse
instance GHC.Read.Read Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfigResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfigResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfigResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
-- | Deploys an application revision through the specified deployment
-- group.
module Amazonka.CodeDeploy.CreateDeployment
-- | Represents the input of a CreateDeployment operation.
--
-- See: newCreateDeployment smart constructor.
data CreateDeployment
CreateDeployment' :: Maybe AutoRollbackConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe FileExistsBehavior -> Maybe Bool -> Maybe AlarmConfiguration -> Maybe RevisionLocation -> Maybe TargetInstances -> Maybe Bool -> Text -> CreateDeployment
-- | Configuration information for an automatic rollback that is added when
-- a deployment is created.
[$sel:autoRollbackConfiguration:CreateDeployment'] :: CreateDeployment -> Maybe AutoRollbackConfiguration
-- | The name of a deployment configuration associated with the IAM user or
-- Amazon Web Services account.
--
-- If not specified, the value configured in the deployment group is used
-- as the default. If the deployment group does not have a deployment
-- configuration associated with it,
-- CodeDeployDefault.OneAtATime is used by default.
[$sel:deploymentConfigName:CreateDeployment'] :: CreateDeployment -> Maybe Text
-- | The name of the deployment group.
[$sel:deploymentGroupName:CreateDeployment'] :: CreateDeployment -> Maybe Text
-- | A comment about the deployment.
[$sel:description:CreateDeployment'] :: CreateDeployment -> Maybe Text
-- | Information about how CodeDeploy handles files that already exist in a
-- deployment target location but weren't part of the previous successful
-- deployment.
--
-- The fileExistsBehavior parameter takes any of the following
-- values:
--
--
-- - DISALLOW: The deployment fails. This is also the default behavior
-- if no option is specified.
-- - OVERWRITE: The version of the file from the application revision
-- currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance is kept
-- and used as part of the new deployment.
--
[$sel:fileExistsBehavior:CreateDeployment'] :: CreateDeployment -> Maybe FileExistsBehavior
-- | If true, then if an ApplicationStop,
-- BeforeBlockTraffic, or AfterBlockTraffic deployment
-- lifecycle event to an instance fails, then the deployment continues to
-- the next deployment lifecycle event. For example, if
-- ApplicationStop fails, the deployment continues with
-- DownloadBundle. If BeforeBlockTraffic fails, the
-- deployment continues with BlockTraffic. If
-- AfterBlockTraffic fails, the deployment continues with
-- ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
[$sel:ignoreApplicationStopFailures:CreateDeployment'] :: CreateDeployment -> Maybe Bool
-- | Allows you to specify information about alarms associated with a
-- deployment. The alarm configuration that you specify here will
-- override the alarm configuration at the deployment group level.
-- Consider overriding the alarm configuration if you have set up alarms
-- at the deployment group level that are causing deployment failures. In
-- this case, you would call CreateDeployment to create a new
-- deployment that uses a previous application revision that is known to
-- work, and set its alarm configuration to turn off alarm polling.
-- Turning off alarm polling ensures that the new deployment proceeds
-- without being blocked by the alarm that was generated by the previous,
-- failed, deployment.
--
-- If you specify an overrideAlarmConfiguration, you need the
-- UpdateDeploymentGroup IAM permission when calling
-- CreateDeployment.
[$sel:overrideAlarmConfiguration:CreateDeployment'] :: CreateDeployment -> Maybe AlarmConfiguration
-- | The type and location of the revision to deploy.
[$sel:revision:CreateDeployment'] :: CreateDeployment -> Maybe RevisionLocation
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
[$sel:targetInstances:CreateDeployment'] :: CreateDeployment -> Maybe TargetInstances
-- | Indicates whether to deploy to all instances or only to instances that
-- are not running the latest application revision.
[$sel:updateOutdatedInstancesOnly:CreateDeployment'] :: CreateDeployment -> Maybe Bool
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
[$sel:applicationName:CreateDeployment'] :: CreateDeployment -> Text
-- | Create a value of CreateDeployment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeployment,
-- createDeployment_autoRollbackConfiguration - Configuration
-- information for an automatic rollback that is added when a deployment
-- is created.
--
-- CreateDeployment, createDeployment_deploymentConfigName
-- - The name of a deployment configuration associated with the IAM user
-- or Amazon Web Services account.
--
-- If not specified, the value configured in the deployment group is used
-- as the default. If the deployment group does not have a deployment
-- configuration associated with it,
-- CodeDeployDefault.OneAtATime is used by default.
--
-- CreateDeployment, createDeployment_deploymentGroupName -
-- The name of the deployment group.
--
-- CreateDeployment, createDeployment_description - A
-- comment about the deployment.
--
-- CreateDeployment, createDeployment_fileExistsBehavior -
-- Information about how CodeDeploy handles files that already exist in a
-- deployment target location but weren't part of the previous successful
-- deployment.
--
-- The fileExistsBehavior parameter takes any of the following
-- values:
--
--
-- - DISALLOW: The deployment fails. This is also the default behavior
-- if no option is specified.
-- - OVERWRITE: The version of the file from the application revision
-- currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance is kept
-- and used as part of the new deployment.
--
--
-- CreateDeployment,
-- createDeployment_ignoreApplicationStopFailures - If true, then
-- if an ApplicationStop, BeforeBlockTraffic, or
-- AfterBlockTraffic deployment lifecycle event to an instance
-- fails, then the deployment continues to the next deployment lifecycle
-- event. For example, if ApplicationStop fails, the deployment
-- continues with DownloadBundle. If BeforeBlockTraffic
-- fails, the deployment continues with BlockTraffic. If
-- AfterBlockTraffic fails, the deployment continues with
-- ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
--
-- CreateDeployment,
-- createDeployment_overrideAlarmConfiguration - Allows you to
-- specify information about alarms associated with a deployment. The
-- alarm configuration that you specify here will override the alarm
-- configuration at the deployment group level. Consider overriding the
-- alarm configuration if you have set up alarms at the deployment group
-- level that are causing deployment failures. In this case, you would
-- call CreateDeployment to create a new deployment that uses a
-- previous application revision that is known to work, and set its alarm
-- configuration to turn off alarm polling. Turning off alarm polling
-- ensures that the new deployment proceeds without being blocked by the
-- alarm that was generated by the previous, failed, deployment.
--
-- If you specify an overrideAlarmConfiguration, you need the
-- UpdateDeploymentGroup IAM permission when calling
-- CreateDeployment.
--
-- CreateDeployment, createDeployment_revision - The type
-- and location of the revision to deploy.
--
-- CreateDeployment, createDeployment_targetInstances -
-- Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
--
-- CreateDeployment,
-- createDeployment_updateOutdatedInstancesOnly - Indicates
-- whether to deploy to all instances or only to instances that are not
-- running the latest application revision.
--
-- CreateDeployment, createDeployment_applicationName - The
-- name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
newCreateDeployment :: Text -> CreateDeployment
-- | Configuration information for an automatic rollback that is added when
-- a deployment is created.
createDeployment_autoRollbackConfiguration :: Lens' CreateDeployment (Maybe AutoRollbackConfiguration)
-- | The name of a deployment configuration associated with the IAM user or
-- Amazon Web Services account.
--
-- If not specified, the value configured in the deployment group is used
-- as the default. If the deployment group does not have a deployment
-- configuration associated with it,
-- CodeDeployDefault.OneAtATime is used by default.
createDeployment_deploymentConfigName :: Lens' CreateDeployment (Maybe Text)
-- | The name of the deployment group.
createDeployment_deploymentGroupName :: Lens' CreateDeployment (Maybe Text)
-- | A comment about the deployment.
createDeployment_description :: Lens' CreateDeployment (Maybe Text)
-- | Information about how CodeDeploy handles files that already exist in a
-- deployment target location but weren't part of the previous successful
-- deployment.
--
-- The fileExistsBehavior parameter takes any of the following
-- values:
--
--
-- - DISALLOW: The deployment fails. This is also the default behavior
-- if no option is specified.
-- - OVERWRITE: The version of the file from the application revision
-- currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance is kept
-- and used as part of the new deployment.
--
createDeployment_fileExistsBehavior :: Lens' CreateDeployment (Maybe FileExistsBehavior)
-- | If true, then if an ApplicationStop,
-- BeforeBlockTraffic, or AfterBlockTraffic deployment
-- lifecycle event to an instance fails, then the deployment continues to
-- the next deployment lifecycle event. For example, if
-- ApplicationStop fails, the deployment continues with
-- DownloadBundle. If BeforeBlockTraffic fails, the
-- deployment continues with BlockTraffic. If
-- AfterBlockTraffic fails, the deployment continues with
-- ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
createDeployment_ignoreApplicationStopFailures :: Lens' CreateDeployment (Maybe Bool)
-- | Allows you to specify information about alarms associated with a
-- deployment. The alarm configuration that you specify here will
-- override the alarm configuration at the deployment group level.
-- Consider overriding the alarm configuration if you have set up alarms
-- at the deployment group level that are causing deployment failures. In
-- this case, you would call CreateDeployment to create a new
-- deployment that uses a previous application revision that is known to
-- work, and set its alarm configuration to turn off alarm polling.
-- Turning off alarm polling ensures that the new deployment proceeds
-- without being blocked by the alarm that was generated by the previous,
-- failed, deployment.
--
-- If you specify an overrideAlarmConfiguration, you need the
-- UpdateDeploymentGroup IAM permission when calling
-- CreateDeployment.
createDeployment_overrideAlarmConfiguration :: Lens' CreateDeployment (Maybe AlarmConfiguration)
-- | The type and location of the revision to deploy.
createDeployment_revision :: Lens' CreateDeployment (Maybe RevisionLocation)
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
createDeployment_targetInstances :: Lens' CreateDeployment (Maybe TargetInstances)
-- | Indicates whether to deploy to all instances or only to instances that
-- are not running the latest application revision.
createDeployment_updateOutdatedInstancesOnly :: Lens' CreateDeployment (Maybe Bool)
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
createDeployment_applicationName :: Lens' CreateDeployment Text
-- | Represents the output of a CreateDeployment operation.
--
-- See: newCreateDeploymentResponse smart constructor.
data CreateDeploymentResponse
CreateDeploymentResponse' :: Maybe Text -> Int -> CreateDeploymentResponse
-- | The unique ID of a deployment.
[$sel:deploymentId:CreateDeploymentResponse'] :: CreateDeploymentResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateDeploymentResponse'] :: CreateDeploymentResponse -> Int
-- | Create a value of CreateDeploymentResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeploymentResponse,
-- createDeploymentResponse_deploymentId - The unique ID of a
-- deployment.
--
-- $sel:httpStatus:CreateDeploymentResponse',
-- createDeploymentResponse_httpStatus - The response's http
-- status code.
newCreateDeploymentResponse :: Int -> CreateDeploymentResponse
-- | The unique ID of a deployment.
createDeploymentResponse_deploymentId :: Lens' CreateDeploymentResponse (Maybe Text)
-- | The response's http status code.
createDeploymentResponse_httpStatus :: Lens' CreateDeploymentResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.CreateDeployment.CreateDeployment
instance GHC.Show.Show Amazonka.CodeDeploy.CreateDeployment.CreateDeployment
instance GHC.Read.Read Amazonka.CodeDeploy.CreateDeployment.CreateDeployment
instance GHC.Classes.Eq Amazonka.CodeDeploy.CreateDeployment.CreateDeployment
instance GHC.Generics.Generic Amazonka.CodeDeploy.CreateDeployment.CreateDeploymentResponse
instance GHC.Show.Show Amazonka.CodeDeploy.CreateDeployment.CreateDeploymentResponse
instance GHC.Read.Read Amazonka.CodeDeploy.CreateDeployment.CreateDeploymentResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.CreateDeployment.CreateDeploymentResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.CreateDeployment.CreateDeployment
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.CreateDeployment.CreateDeploymentResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.CreateDeployment.CreateDeployment
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.CreateDeployment.CreateDeployment
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.CreateDeployment.CreateDeployment
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.CreateDeployment.CreateDeployment
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.CreateDeployment.CreateDeployment
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.CreateDeployment.CreateDeployment
-- | Creates an application.
module Amazonka.CodeDeploy.CreateApplication
-- | Represents the input of a CreateApplication operation.
--
-- See: newCreateApplication smart constructor.
data CreateApplication
CreateApplication' :: Maybe ComputePlatform -> Maybe [Tag] -> Text -> CreateApplication
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
[$sel:computePlatform:CreateApplication'] :: CreateApplication -> Maybe ComputePlatform
-- | The metadata that you apply to CodeDeploy applications to help you
-- organize and categorize them. Each tag consists of a key and an
-- optional value, both of which you define.
[$sel:tags:CreateApplication'] :: CreateApplication -> Maybe [Tag]
-- | The name of the application. This name must be unique with the
-- applicable IAM or Amazon Web Services account.
[$sel:applicationName:CreateApplication'] :: CreateApplication -> Text
-- | Create a value of CreateApplication with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateApplication, createApplication_computePlatform -
-- The destination platform type for the deployment (Lambda,
-- Server, or ECS).
--
-- CreateApplication, createApplication_tags - The metadata
-- that you apply to CodeDeploy applications to help you organize and
-- categorize them. Each tag consists of a key and an optional value,
-- both of which you define.
--
-- CreateApplication, createApplication_applicationName -
-- The name of the application. This name must be unique with the
-- applicable IAM or Amazon Web Services account.
newCreateApplication :: Text -> CreateApplication
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
createApplication_computePlatform :: Lens' CreateApplication (Maybe ComputePlatform)
-- | The metadata that you apply to CodeDeploy applications to help you
-- organize and categorize them. Each tag consists of a key and an
-- optional value, both of which you define.
createApplication_tags :: Lens' CreateApplication (Maybe [Tag])
-- | The name of the application. This name must be unique with the
-- applicable IAM or Amazon Web Services account.
createApplication_applicationName :: Lens' CreateApplication Text
-- | Represents the output of a CreateApplication operation.
--
-- See: newCreateApplicationResponse smart constructor.
data CreateApplicationResponse
CreateApplicationResponse' :: Maybe Text -> Int -> CreateApplicationResponse
-- | A unique application ID.
[$sel:applicationId:CreateApplicationResponse'] :: CreateApplicationResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:CreateApplicationResponse'] :: CreateApplicationResponse -> Int
-- | Create a value of CreateApplicationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateApplicationResponse,
-- createApplicationResponse_applicationId - A unique application
-- ID.
--
-- $sel:httpStatus:CreateApplicationResponse',
-- createApplicationResponse_httpStatus - The response's http
-- status code.
newCreateApplicationResponse :: Int -> CreateApplicationResponse
-- | A unique application ID.
createApplicationResponse_applicationId :: Lens' CreateApplicationResponse (Maybe Text)
-- | The response's http status code.
createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.CreateApplication.CreateApplication
instance GHC.Show.Show Amazonka.CodeDeploy.CreateApplication.CreateApplication
instance GHC.Read.Read Amazonka.CodeDeploy.CreateApplication.CreateApplication
instance GHC.Classes.Eq Amazonka.CodeDeploy.CreateApplication.CreateApplication
instance GHC.Generics.Generic Amazonka.CodeDeploy.CreateApplication.CreateApplicationResponse
instance GHC.Show.Show Amazonka.CodeDeploy.CreateApplication.CreateApplicationResponse
instance GHC.Read.Read Amazonka.CodeDeploy.CreateApplication.CreateApplicationResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.CreateApplication.CreateApplicationResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.CreateApplication.CreateApplication
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.CreateApplication.CreateApplicationResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.CreateApplication.CreateApplication
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.CreateApplication.CreateApplication
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.CreateApplication.CreateApplication
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.CreateApplication.CreateApplication
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.CreateApplication.CreateApplication
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.CreateApplication.CreateApplication
-- | For a blue/green deployment, starts the process of rerouting traffic
-- from instances in the original environment to instances in the
-- replacement environment without waiting for a specified wait time to
-- elapse. (Traffic rerouting, which is achieved by registering instances
-- in the replacement environment with the load balancer, can start as
-- soon as all instances have a status of Ready.)
module Amazonka.CodeDeploy.ContinueDeployment
-- | See: newContinueDeployment smart constructor.
data ContinueDeployment
ContinueDeployment' :: Maybe Text -> Maybe DeploymentWaitType -> ContinueDeployment
-- | The unique ID of a blue/green deployment for which you want to start
-- rerouting traffic to the replacement environment.
[$sel:deploymentId:ContinueDeployment'] :: ContinueDeployment -> Maybe Text
-- | The status of the deployment's waiting period. READY_WAIT
-- indicates that the deployment is ready to start shifting traffic.
-- TERMINATION_WAIT indicates that the traffic is shifted, but
-- the original target is not terminated.
[$sel:deploymentWaitType:ContinueDeployment'] :: ContinueDeployment -> Maybe DeploymentWaitType
-- | Create a value of ContinueDeployment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ContinueDeployment, continueDeployment_deploymentId -
-- The unique ID of a blue/green deployment for which you want to start
-- rerouting traffic to the replacement environment.
--
-- $sel:deploymentWaitType:ContinueDeployment',
-- continueDeployment_deploymentWaitType - The status of the
-- deployment's waiting period. READY_WAIT indicates that the
-- deployment is ready to start shifting traffic.
-- TERMINATION_WAIT indicates that the traffic is shifted, but
-- the original target is not terminated.
newContinueDeployment :: ContinueDeployment
-- | The unique ID of a blue/green deployment for which you want to start
-- rerouting traffic to the replacement environment.
continueDeployment_deploymentId :: Lens' ContinueDeployment (Maybe Text)
-- | The status of the deployment's waiting period. READY_WAIT
-- indicates that the deployment is ready to start shifting traffic.
-- TERMINATION_WAIT indicates that the traffic is shifted, but
-- the original target is not terminated.
continueDeployment_deploymentWaitType :: Lens' ContinueDeployment (Maybe DeploymentWaitType)
-- | See: newContinueDeploymentResponse smart constructor.
data ContinueDeploymentResponse
ContinueDeploymentResponse' :: ContinueDeploymentResponse
-- | Create a value of ContinueDeploymentResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newContinueDeploymentResponse :: ContinueDeploymentResponse
instance GHC.Generics.Generic Amazonka.CodeDeploy.ContinueDeployment.ContinueDeployment
instance GHC.Show.Show Amazonka.CodeDeploy.ContinueDeployment.ContinueDeployment
instance GHC.Read.Read Amazonka.CodeDeploy.ContinueDeployment.ContinueDeployment
instance GHC.Classes.Eq Amazonka.CodeDeploy.ContinueDeployment.ContinueDeployment
instance GHC.Generics.Generic Amazonka.CodeDeploy.ContinueDeployment.ContinueDeploymentResponse
instance GHC.Show.Show Amazonka.CodeDeploy.ContinueDeployment.ContinueDeploymentResponse
instance GHC.Read.Read Amazonka.CodeDeploy.ContinueDeployment.ContinueDeploymentResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.ContinueDeployment.ContinueDeploymentResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ContinueDeployment.ContinueDeploymentResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.ContinueDeployment.ContinueDeployment
-- | Gets information about one or more on-premises instances. The maximum
-- number of on-premises instances that can be returned is 25.
module Amazonka.CodeDeploy.BatchGetOnPremisesInstances
-- | Represents the input of a BatchGetOnPremisesInstances
-- operation.
--
-- See: newBatchGetOnPremisesInstances smart constructor.
data BatchGetOnPremisesInstances
BatchGetOnPremisesInstances' :: [Text] -> BatchGetOnPremisesInstances
-- | The names of the on-premises instances about which to get information.
-- The maximum number of instance names you can specify is 25.
[$sel:instanceNames:BatchGetOnPremisesInstances'] :: BatchGetOnPremisesInstances -> [Text]
-- | Create a value of BatchGetOnPremisesInstances with all optional
-- fields omitted.
--
-- 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:instanceNames:BatchGetOnPremisesInstances',
-- batchGetOnPremisesInstances_instanceNames - The names of the
-- on-premises instances about which to get information. The maximum
-- number of instance names you can specify is 25.
newBatchGetOnPremisesInstances :: BatchGetOnPremisesInstances
-- | The names of the on-premises instances about which to get information.
-- The maximum number of instance names you can specify is 25.
batchGetOnPremisesInstances_instanceNames :: Lens' BatchGetOnPremisesInstances [Text]
-- | Represents the output of a BatchGetOnPremisesInstances
-- operation.
--
-- See: newBatchGetOnPremisesInstancesResponse smart
-- constructor.
data BatchGetOnPremisesInstancesResponse
BatchGetOnPremisesInstancesResponse' :: Maybe [InstanceInfo] -> Int -> BatchGetOnPremisesInstancesResponse
-- | Information about the on-premises instances.
[$sel:instanceInfos:BatchGetOnPremisesInstancesResponse'] :: BatchGetOnPremisesInstancesResponse -> Maybe [InstanceInfo]
-- | The response's http status code.
[$sel:httpStatus:BatchGetOnPremisesInstancesResponse'] :: BatchGetOnPremisesInstancesResponse -> Int
-- | Create a value of BatchGetOnPremisesInstancesResponse with all
-- optional fields omitted.
--
-- 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:instanceInfos:BatchGetOnPremisesInstancesResponse',
-- batchGetOnPremisesInstancesResponse_instanceInfos - Information
-- about the on-premises instances.
--
-- $sel:httpStatus:BatchGetOnPremisesInstancesResponse',
-- batchGetOnPremisesInstancesResponse_httpStatus - The response's
-- http status code.
newBatchGetOnPremisesInstancesResponse :: Int -> BatchGetOnPremisesInstancesResponse
-- | Information about the on-premises instances.
batchGetOnPremisesInstancesResponse_instanceInfos :: Lens' BatchGetOnPremisesInstancesResponse (Maybe [InstanceInfo])
-- | The response's http status code.
batchGetOnPremisesInstancesResponse_httpStatus :: Lens' BatchGetOnPremisesInstancesResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstancesResponse
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstancesResponse
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstancesResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstancesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstancesResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
-- | Gets information about one or more deployments. The maximum number of
-- deployments that can be returned is 25.
module Amazonka.CodeDeploy.BatchGetDeployments
-- | Represents the input of a BatchGetDeployments operation.
--
-- See: newBatchGetDeployments smart constructor.
data BatchGetDeployments
BatchGetDeployments' :: [Text] -> BatchGetDeployments
-- | A list of deployment IDs, separated by spaces. The maximum number of
-- deployment IDs you can specify is 25.
[$sel:deploymentIds:BatchGetDeployments'] :: BatchGetDeployments -> [Text]
-- | Create a value of BatchGetDeployments with all optional fields
-- omitted.
--
-- 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:deploymentIds:BatchGetDeployments',
-- batchGetDeployments_deploymentIds - A list of deployment IDs,
-- separated by spaces. The maximum number of deployment IDs you can
-- specify is 25.
newBatchGetDeployments :: BatchGetDeployments
-- | A list of deployment IDs, separated by spaces. The maximum number of
-- deployment IDs you can specify is 25.
batchGetDeployments_deploymentIds :: Lens' BatchGetDeployments [Text]
-- | Represents the output of a BatchGetDeployments operation.
--
-- See: newBatchGetDeploymentsResponse smart constructor.
data BatchGetDeploymentsResponse
BatchGetDeploymentsResponse' :: Maybe [DeploymentInfo] -> Int -> BatchGetDeploymentsResponse
-- | Information about the deployments.
[$sel:deploymentsInfo:BatchGetDeploymentsResponse'] :: BatchGetDeploymentsResponse -> Maybe [DeploymentInfo]
-- | The response's http status code.
[$sel:httpStatus:BatchGetDeploymentsResponse'] :: BatchGetDeploymentsResponse -> Int
-- | Create a value of BatchGetDeploymentsResponse with all optional
-- fields omitted.
--
-- 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:deploymentsInfo:BatchGetDeploymentsResponse',
-- batchGetDeploymentsResponse_deploymentsInfo - Information about
-- the deployments.
--
-- $sel:httpStatus:BatchGetDeploymentsResponse',
-- batchGetDeploymentsResponse_httpStatus - The response's http
-- status code.
newBatchGetDeploymentsResponse :: Int -> BatchGetDeploymentsResponse
-- | Information about the deployments.
batchGetDeploymentsResponse_deploymentsInfo :: Lens' BatchGetDeploymentsResponse (Maybe [DeploymentInfo])
-- | The response's http status code.
batchGetDeploymentsResponse_httpStatus :: Lens' BatchGetDeploymentsResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeploymentsResponse
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeploymentsResponse
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeploymentsResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeploymentsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeploymentsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.BatchGetDeployments.BatchGetDeployments
-- | Returns an array of one or more targets associated with a deployment.
-- This method works with all compute types and should be used instead of
-- the deprecated BatchGetDeploymentInstances. The maximum
-- number of targets that can be returned is 25.
--
-- The type of targets returned depends on the deployment's compute
-- platform or deployment method:
--
--
-- - EC2/On-premises: Information about Amazon EC2 instance
-- targets.
-- - Lambda: Information about Lambda functions targets.
-- - Amazon ECS: Information about Amazon ECS service
-- targets.
-- - CloudFormation: Information about targets of blue/green
-- deployments initiated by a CloudFormation stack update.
--
module Amazonka.CodeDeploy.BatchGetDeploymentTargets
-- | See: newBatchGetDeploymentTargets smart constructor.
data BatchGetDeploymentTargets
BatchGetDeploymentTargets' :: Maybe Text -> Maybe [Text] -> BatchGetDeploymentTargets
-- | The unique ID of a deployment.
[$sel:deploymentId:BatchGetDeploymentTargets'] :: BatchGetDeploymentTargets -> Maybe Text
-- | The unique IDs of the deployment targets. The compute platform of the
-- deployment determines the type of the targets and their formats. The
-- maximum number of deployment target IDs you can specify is 25.
--
--
-- - For deployments that use the EC2/On-premises compute platform, the
-- target IDs are Amazon EC2 or on-premises instances IDs, and their
-- target type is instanceTarget.
-- - For deployments that use the Lambda compute platform, the target
-- IDs are the names of Lambda functions, and their target type is
-- instanceTarget.
-- - For deployments that use the Amazon ECS compute platform, the
-- target IDs are pairs of Amazon ECS clusters and services specified
-- using the format <clustername>:<servicename>.
-- Their target type is ecsTarget.
-- - For deployments that are deployed with CloudFormation, the target
-- IDs are CloudFormation stack IDs. Their target type is
-- cloudFormationTarget.
--
[$sel:targetIds:BatchGetDeploymentTargets'] :: BatchGetDeploymentTargets -> Maybe [Text]
-- | Create a value of BatchGetDeploymentTargets with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- BatchGetDeploymentTargets,
-- batchGetDeploymentTargets_deploymentId - The unique ID of a
-- deployment.
--
-- $sel:targetIds:BatchGetDeploymentTargets',
-- batchGetDeploymentTargets_targetIds - The unique IDs of the
-- deployment targets. The compute platform of the deployment determines
-- the type of the targets and their formats. The maximum number of
-- deployment target IDs you can specify is 25.
--
--
-- - For deployments that use the EC2/On-premises compute platform, the
-- target IDs are Amazon EC2 or on-premises instances IDs, and their
-- target type is instanceTarget.
-- - For deployments that use the Lambda compute platform, the target
-- IDs are the names of Lambda functions, and their target type is
-- instanceTarget.
-- - For deployments that use the Amazon ECS compute platform, the
-- target IDs are pairs of Amazon ECS clusters and services specified
-- using the format <clustername>:<servicename>.
-- Their target type is ecsTarget.
-- - For deployments that are deployed with CloudFormation, the target
-- IDs are CloudFormation stack IDs. Their target type is
-- cloudFormationTarget.
--
newBatchGetDeploymentTargets :: BatchGetDeploymentTargets
-- | The unique ID of a deployment.
batchGetDeploymentTargets_deploymentId :: Lens' BatchGetDeploymentTargets (Maybe Text)
-- | The unique IDs of the deployment targets. The compute platform of the
-- deployment determines the type of the targets and their formats. The
-- maximum number of deployment target IDs you can specify is 25.
--
--
-- - For deployments that use the EC2/On-premises compute platform, the
-- target IDs are Amazon EC2 or on-premises instances IDs, and their
-- target type is instanceTarget.
-- - For deployments that use the Lambda compute platform, the target
-- IDs are the names of Lambda functions, and their target type is
-- instanceTarget.
-- - For deployments that use the Amazon ECS compute platform, the
-- target IDs are pairs of Amazon ECS clusters and services specified
-- using the format <clustername>:<servicename>.
-- Their target type is ecsTarget.
-- - For deployments that are deployed with CloudFormation, the target
-- IDs are CloudFormation stack IDs. Their target type is
-- cloudFormationTarget.
--
batchGetDeploymentTargets_targetIds :: Lens' BatchGetDeploymentTargets (Maybe [Text])
-- | See: newBatchGetDeploymentTargetsResponse smart
-- constructor.
data BatchGetDeploymentTargetsResponse
BatchGetDeploymentTargetsResponse' :: Maybe [DeploymentTarget] -> Int -> BatchGetDeploymentTargetsResponse
-- | A list of target objects for a deployment. Each target object contains
-- details about the target, such as its status and lifecycle events. The
-- type of the target objects depends on the deployment' compute
-- platform.
--
--
-- - EC2/On-premises: Each target object is an Amazon EC2 or
-- on-premises instance.
-- - Lambda: The target object is a specific version of an
-- Lambda function.
-- - Amazon ECS: The target object is an Amazon ECS
-- service.
-- - CloudFormation: The target object is an CloudFormation
-- blue/green deployment.
--
[$sel:deploymentTargets:BatchGetDeploymentTargetsResponse'] :: BatchGetDeploymentTargetsResponse -> Maybe [DeploymentTarget]
-- | The response's http status code.
[$sel:httpStatus:BatchGetDeploymentTargetsResponse'] :: BatchGetDeploymentTargetsResponse -> Int
-- | Create a value of BatchGetDeploymentTargetsResponse with all
-- optional fields omitted.
--
-- 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:deploymentTargets:BatchGetDeploymentTargetsResponse',
-- batchGetDeploymentTargetsResponse_deploymentTargets - A list of
-- target objects for a deployment. Each target object contains details
-- about the target, such as its status and lifecycle events. The type of
-- the target objects depends on the deployment' compute platform.
--
--
-- - EC2/On-premises: Each target object is an Amazon EC2 or
-- on-premises instance.
-- - Lambda: The target object is a specific version of an
-- Lambda function.
-- - Amazon ECS: The target object is an Amazon ECS
-- service.
-- - CloudFormation: The target object is an CloudFormation
-- blue/green deployment.
--
--
-- $sel:httpStatus:BatchGetDeploymentTargetsResponse',
-- batchGetDeploymentTargetsResponse_httpStatus - The response's
-- http status code.
newBatchGetDeploymentTargetsResponse :: Int -> BatchGetDeploymentTargetsResponse
-- | A list of target objects for a deployment. Each target object contains
-- details about the target, such as its status and lifecycle events. The
-- type of the target objects depends on the deployment' compute
-- platform.
--
--
-- - EC2/On-premises: Each target object is an Amazon EC2 or
-- on-premises instance.
-- - Lambda: The target object is a specific version of an
-- Lambda function.
-- - Amazon ECS: The target object is an Amazon ECS
-- service.
-- - CloudFormation: The target object is an CloudFormation
-- blue/green deployment.
--
batchGetDeploymentTargetsResponse_deploymentTargets :: Lens' BatchGetDeploymentTargetsResponse (Maybe [DeploymentTarget])
-- | The response's http status code.
batchGetDeploymentTargetsResponse_httpStatus :: Lens' BatchGetDeploymentTargetsResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargets
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargets
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargets
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargets
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargetsResponse
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargetsResponse
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargetsResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargetsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargets
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargetsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargets
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargets
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargets
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargets
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargets
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.BatchGetDeploymentTargets.BatchGetDeploymentTargets
-- | Gets information about one or more deployment groups.
module Amazonka.CodeDeploy.BatchGetDeploymentGroups
-- | Represents the input of a BatchGetDeploymentGroups operation.
--
-- See: newBatchGetDeploymentGroups smart constructor.
data BatchGetDeploymentGroups
BatchGetDeploymentGroups' :: Text -> [Text] -> BatchGetDeploymentGroups
-- | The name of an CodeDeploy application associated with the applicable
-- IAM or Amazon Web Services account.
[$sel:applicationName:BatchGetDeploymentGroups'] :: BatchGetDeploymentGroups -> Text
-- | The names of the deployment groups.
[$sel:deploymentGroupNames:BatchGetDeploymentGroups'] :: BatchGetDeploymentGroups -> [Text]
-- | Create a value of BatchGetDeploymentGroups with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- BatchGetDeploymentGroups,
-- batchGetDeploymentGroups_applicationName - The name of an
-- CodeDeploy application associated with the applicable IAM or Amazon
-- Web Services account.
--
-- $sel:deploymentGroupNames:BatchGetDeploymentGroups',
-- batchGetDeploymentGroups_deploymentGroupNames - The names of
-- the deployment groups.
newBatchGetDeploymentGroups :: Text -> BatchGetDeploymentGroups
-- | The name of an CodeDeploy application associated with the applicable
-- IAM or Amazon Web Services account.
batchGetDeploymentGroups_applicationName :: Lens' BatchGetDeploymentGroups Text
-- | The names of the deployment groups.
batchGetDeploymentGroups_deploymentGroupNames :: Lens' BatchGetDeploymentGroups [Text]
-- | Represents the output of a BatchGetDeploymentGroups
-- operation.
--
-- See: newBatchGetDeploymentGroupsResponse smart
-- constructor.
data BatchGetDeploymentGroupsResponse
BatchGetDeploymentGroupsResponse' :: Maybe [DeploymentGroupInfo] -> Maybe Text -> Int -> BatchGetDeploymentGroupsResponse
-- | Information about the deployment groups.
[$sel:deploymentGroupsInfo:BatchGetDeploymentGroupsResponse'] :: BatchGetDeploymentGroupsResponse -> Maybe [DeploymentGroupInfo]
-- | Information about errors that might have occurred during the API call.
[$sel:errorMessage:BatchGetDeploymentGroupsResponse'] :: BatchGetDeploymentGroupsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:BatchGetDeploymentGroupsResponse'] :: BatchGetDeploymentGroupsResponse -> Int
-- | Create a value of BatchGetDeploymentGroupsResponse with all
-- optional fields omitted.
--
-- 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:deploymentGroupsInfo:BatchGetDeploymentGroupsResponse',
-- batchGetDeploymentGroupsResponse_deploymentGroupsInfo -
-- Information about the deployment groups.
--
-- $sel:errorMessage:BatchGetDeploymentGroupsResponse',
-- batchGetDeploymentGroupsResponse_errorMessage - Information
-- about errors that might have occurred during the API call.
--
-- $sel:httpStatus:BatchGetDeploymentGroupsResponse',
-- batchGetDeploymentGroupsResponse_httpStatus - The response's
-- http status code.
newBatchGetDeploymentGroupsResponse :: Int -> BatchGetDeploymentGroupsResponse
-- | Information about the deployment groups.
batchGetDeploymentGroupsResponse_deploymentGroupsInfo :: Lens' BatchGetDeploymentGroupsResponse (Maybe [DeploymentGroupInfo])
-- | Information about errors that might have occurred during the API call.
batchGetDeploymentGroupsResponse_errorMessage :: Lens' BatchGetDeploymentGroupsResponse (Maybe Text)
-- | The response's http status code.
batchGetDeploymentGroupsResponse_httpStatus :: Lens' BatchGetDeploymentGroupsResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroupsResponse
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroupsResponse
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroupsResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroupsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroupsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
-- | Gets information about one or more applications. The maximum number of
-- applications that can be returned is 100.
module Amazonka.CodeDeploy.BatchGetApplications
-- | Represents the input of a BatchGetApplications operation.
--
-- See: newBatchGetApplications smart constructor.
data BatchGetApplications
BatchGetApplications' :: [Text] -> BatchGetApplications
-- | A list of application names separated by spaces. The maximum number of
-- application names you can specify is 100.
[$sel:applicationNames:BatchGetApplications'] :: BatchGetApplications -> [Text]
-- | Create a value of BatchGetApplications with all optional fields
-- omitted.
--
-- 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:applicationNames:BatchGetApplications',
-- batchGetApplications_applicationNames - A list of application
-- names separated by spaces. The maximum number of application names you
-- can specify is 100.
newBatchGetApplications :: BatchGetApplications
-- | A list of application names separated by spaces. The maximum number of
-- application names you can specify is 100.
batchGetApplications_applicationNames :: Lens' BatchGetApplications [Text]
-- | Represents the output of a BatchGetApplications operation.
--
-- See: newBatchGetApplicationsResponse smart constructor.
data BatchGetApplicationsResponse
BatchGetApplicationsResponse' :: Maybe [ApplicationInfo] -> Int -> BatchGetApplicationsResponse
-- | Information about the applications.
[$sel:applicationsInfo:BatchGetApplicationsResponse'] :: BatchGetApplicationsResponse -> Maybe [ApplicationInfo]
-- | The response's http status code.
[$sel:httpStatus:BatchGetApplicationsResponse'] :: BatchGetApplicationsResponse -> Int
-- | Create a value of BatchGetApplicationsResponse with all
-- optional fields omitted.
--
-- 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:applicationsInfo:BatchGetApplicationsResponse',
-- batchGetApplicationsResponse_applicationsInfo - Information
-- about the applications.
--
-- $sel:httpStatus:BatchGetApplicationsResponse',
-- batchGetApplicationsResponse_httpStatus - The response's http
-- status code.
newBatchGetApplicationsResponse :: Int -> BatchGetApplicationsResponse
-- | Information about the applications.
batchGetApplicationsResponse_applicationsInfo :: Lens' BatchGetApplicationsResponse (Maybe [ApplicationInfo])
-- | The response's http status code.
batchGetApplicationsResponse_httpStatus :: Lens' BatchGetApplicationsResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplications
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplications
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplications
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplications
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplicationsResponse
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplicationsResponse
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplicationsResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplicationsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplicationsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.BatchGetApplications.BatchGetApplications
-- | Gets information about one or more application revisions. The maximum
-- number of application revisions that can be returned is 25.
module Amazonka.CodeDeploy.BatchGetApplicationRevisions
-- | Represents the input of a BatchGetApplicationRevisions
-- operation.
--
-- See: newBatchGetApplicationRevisions smart constructor.
data BatchGetApplicationRevisions
BatchGetApplicationRevisions' :: Text -> [RevisionLocation] -> BatchGetApplicationRevisions
-- | The name of an CodeDeploy application about which to get revision
-- information.
[$sel:applicationName:BatchGetApplicationRevisions'] :: BatchGetApplicationRevisions -> Text
-- | An array of RevisionLocation objects that specify information
-- to get about the application revisions, including type and location.
-- The maximum number of RevisionLocation objects you can
-- specify is 25.
[$sel:revisions:BatchGetApplicationRevisions'] :: BatchGetApplicationRevisions -> [RevisionLocation]
-- | Create a value of BatchGetApplicationRevisions with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- BatchGetApplicationRevisions,
-- batchGetApplicationRevisions_applicationName - The name of an
-- CodeDeploy application about which to get revision information.
--
-- BatchGetApplicationRevisions,
-- batchGetApplicationRevisions_revisions - An array of
-- RevisionLocation objects that specify information to get
-- about the application revisions, including type and location. The
-- maximum number of RevisionLocation objects you can specify is
-- 25.
newBatchGetApplicationRevisions :: Text -> BatchGetApplicationRevisions
-- | The name of an CodeDeploy application about which to get revision
-- information.
batchGetApplicationRevisions_applicationName :: Lens' BatchGetApplicationRevisions Text
-- | An array of RevisionLocation objects that specify information
-- to get about the application revisions, including type and location.
-- The maximum number of RevisionLocation objects you can
-- specify is 25.
batchGetApplicationRevisions_revisions :: Lens' BatchGetApplicationRevisions [RevisionLocation]
-- | Represents the output of a BatchGetApplicationRevisions
-- operation.
--
-- See: newBatchGetApplicationRevisionsResponse smart
-- constructor.
data BatchGetApplicationRevisionsResponse
BatchGetApplicationRevisionsResponse' :: Maybe Text -> Maybe Text -> Maybe [RevisionInfo] -> Int -> BatchGetApplicationRevisionsResponse
-- | The name of the application that corresponds to the revisions.
[$sel:applicationName:BatchGetApplicationRevisionsResponse'] :: BatchGetApplicationRevisionsResponse -> Maybe Text
-- | Information about errors that might have occurred during the API call.
[$sel:errorMessage:BatchGetApplicationRevisionsResponse'] :: BatchGetApplicationRevisionsResponse -> Maybe Text
-- | Additional information about the revisions, including the type and
-- location.
[$sel:revisions:BatchGetApplicationRevisionsResponse'] :: BatchGetApplicationRevisionsResponse -> Maybe [RevisionInfo]
-- | The response's http status code.
[$sel:httpStatus:BatchGetApplicationRevisionsResponse'] :: BatchGetApplicationRevisionsResponse -> Int
-- | Create a value of BatchGetApplicationRevisionsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- BatchGetApplicationRevisions,
-- batchGetApplicationRevisionsResponse_applicationName - The name
-- of the application that corresponds to the revisions.
--
-- $sel:errorMessage:BatchGetApplicationRevisionsResponse',
-- batchGetApplicationRevisionsResponse_errorMessage - Information
-- about errors that might have occurred during the API call.
--
-- BatchGetApplicationRevisions,
-- batchGetApplicationRevisionsResponse_revisions - Additional
-- information about the revisions, including the type and location.
--
-- $sel:httpStatus:BatchGetApplicationRevisionsResponse',
-- batchGetApplicationRevisionsResponse_httpStatus - The
-- response's http status code.
newBatchGetApplicationRevisionsResponse :: Int -> BatchGetApplicationRevisionsResponse
-- | The name of the application that corresponds to the revisions.
batchGetApplicationRevisionsResponse_applicationName :: Lens' BatchGetApplicationRevisionsResponse (Maybe Text)
-- | Information about errors that might have occurred during the API call.
batchGetApplicationRevisionsResponse_errorMessage :: Lens' BatchGetApplicationRevisionsResponse (Maybe Text)
-- | Additional information about the revisions, including the type and
-- location.
batchGetApplicationRevisionsResponse_revisions :: Lens' BatchGetApplicationRevisionsResponse (Maybe [RevisionInfo])
-- | The response's http status code.
batchGetApplicationRevisionsResponse_httpStatus :: Lens' BatchGetApplicationRevisionsResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance GHC.Generics.Generic Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisionsResponse
instance GHC.Show.Show Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisionsResponse
instance GHC.Read.Read Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisionsResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisionsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
-- | Adds tags to on-premises instances.
module Amazonka.CodeDeploy.AddTagsToOnPremisesInstances
-- | Represents the input of, and adds tags to, an on-premises instance
-- operation.
--
-- See: newAddTagsToOnPremisesInstances smart constructor.
data AddTagsToOnPremisesInstances
AddTagsToOnPremisesInstances' :: [Tag] -> [Text] -> AddTagsToOnPremisesInstances
-- | The tag key-value pairs to add to the on-premises instances.
--
-- Keys and values are both required. Keys cannot be null or empty
-- strings. Value-only tags are not allowed.
[$sel:tags:AddTagsToOnPremisesInstances'] :: AddTagsToOnPremisesInstances -> [Tag]
-- | The names of the on-premises instances to which to add tags.
[$sel:instanceNames:AddTagsToOnPremisesInstances'] :: AddTagsToOnPremisesInstances -> [Text]
-- | Create a value of AddTagsToOnPremisesInstances with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- AddTagsToOnPremisesInstances,
-- addTagsToOnPremisesInstances_tags - The tag key-value pairs to
-- add to the on-premises instances.
--
-- Keys and values are both required. Keys cannot be null or empty
-- strings. Value-only tags are not allowed.
--
-- $sel:instanceNames:AddTagsToOnPremisesInstances',
-- addTagsToOnPremisesInstances_instanceNames - The names of the
-- on-premises instances to which to add tags.
newAddTagsToOnPremisesInstances :: AddTagsToOnPremisesInstances
-- | The tag key-value pairs to add to the on-premises instances.
--
-- Keys and values are both required. Keys cannot be null or empty
-- strings. Value-only tags are not allowed.
addTagsToOnPremisesInstances_tags :: Lens' AddTagsToOnPremisesInstances [Tag]
-- | The names of the on-premises instances to which to add tags.
addTagsToOnPremisesInstances_instanceNames :: Lens' AddTagsToOnPremisesInstances [Text]
-- | See: newAddTagsToOnPremisesInstancesResponse smart
-- constructor.
data AddTagsToOnPremisesInstancesResponse
AddTagsToOnPremisesInstancesResponse' :: AddTagsToOnPremisesInstancesResponse
-- | Create a value of AddTagsToOnPremisesInstancesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newAddTagsToOnPremisesInstancesResponse :: AddTagsToOnPremisesInstancesResponse
instance GHC.Generics.Generic Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance GHC.Show.Show Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance GHC.Read.Read Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance GHC.Classes.Eq Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance GHC.Generics.Generic Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstancesResponse
instance GHC.Show.Show Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstancesResponse
instance GHC.Read.Read Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstancesResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstancesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstancesResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
-- | Disassociates a resource from a list of tags. The resource is
-- identified by the ResourceArn input parameter. The tags are
-- identified by the list of keys in the TagKeys input
-- parameter.
module Amazonka.CodeDeploy.UntagResource
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> [Text] -> UntagResource
-- | The Amazon Resource Name (ARN) that specifies from which resource to
-- disassociate the tags with the keys in the TagKeys input
-- parameter.
[$sel:resourceArn:UntagResource'] :: UntagResource -> Text
-- | A list of keys of Tag objects. The Tag objects
-- identified by the keys are disassociated from the resource specified
-- by the ResourceArn input parameter.
[$sel:tagKeys:UntagResource'] :: UntagResource -> [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) that
-- specifies from which resource to disassociate the tags with the keys
-- in the TagKeys input parameter.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - A
-- list of keys of Tag objects. The Tag objects
-- identified by the keys are disassociated from the resource specified
-- by the ResourceArn input parameter.
newUntagResource :: Text -> UntagResource
-- | The Amazon Resource Name (ARN) that specifies from which resource to
-- disassociate the tags with the keys in the TagKeys input
-- parameter.
untagResource_resourceArn :: Lens' UntagResource Text
-- | A list of keys of Tag objects. The Tag objects
-- identified by the keys are disassociated from the resource specified
-- by the ResourceArn input parameter.
untagResource_tagKeys :: Lens' UntagResource [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.CodeDeploy.UntagResource.UntagResource
instance GHC.Show.Show Amazonka.CodeDeploy.UntagResource.UntagResource
instance GHC.Read.Read Amazonka.CodeDeploy.UntagResource.UntagResource
instance GHC.Classes.Eq Amazonka.CodeDeploy.UntagResource.UntagResource
instance GHC.Generics.Generic Amazonka.CodeDeploy.UntagResource.UntagResourceResponse
instance GHC.Show.Show Amazonka.CodeDeploy.UntagResource.UntagResourceResponse
instance GHC.Read.Read Amazonka.CodeDeploy.UntagResource.UntagResourceResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.UntagResource.UntagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.UntagResource.UntagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.UntagResource.UntagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.UntagResource.UntagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.UntagResource.UntagResource
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.UntagResource.UntagResource
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.UntagResource.UntagResource
-- | Changes the name of an application.
module Amazonka.CodeDeploy.UpdateApplication
-- | Represents the input of an UpdateApplication operation.
--
-- See: newUpdateApplication smart constructor.
data UpdateApplication
UpdateApplication' :: Maybe Text -> Maybe Text -> UpdateApplication
-- | The current name of the application you want to change.
[$sel:applicationName:UpdateApplication'] :: UpdateApplication -> Maybe Text
-- | The new name to give the application.
[$sel:newApplicationName':UpdateApplication'] :: UpdateApplication -> Maybe Text
-- | Create a value of UpdateApplication with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateApplication, updateApplication_applicationName -
-- The current name of the application you want to change.
--
-- $sel:newApplicationName':UpdateApplication',
-- updateApplication_newApplicationName - The new name to give the
-- application.
newUpdateApplication :: UpdateApplication
-- | The current name of the application you want to change.
updateApplication_applicationName :: Lens' UpdateApplication (Maybe Text)
-- | The new name to give the application.
updateApplication_newApplicationName :: Lens' UpdateApplication (Maybe Text)
-- | See: newUpdateApplicationResponse smart constructor.
data UpdateApplicationResponse
UpdateApplicationResponse' :: UpdateApplicationResponse
-- | Create a value of UpdateApplicationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newUpdateApplicationResponse :: UpdateApplicationResponse
instance GHC.Generics.Generic Amazonka.CodeDeploy.UpdateApplication.UpdateApplication
instance GHC.Show.Show Amazonka.CodeDeploy.UpdateApplication.UpdateApplication
instance GHC.Read.Read Amazonka.CodeDeploy.UpdateApplication.UpdateApplication
instance GHC.Classes.Eq Amazonka.CodeDeploy.UpdateApplication.UpdateApplication
instance GHC.Generics.Generic Amazonka.CodeDeploy.UpdateApplication.UpdateApplicationResponse
instance GHC.Show.Show Amazonka.CodeDeploy.UpdateApplication.UpdateApplicationResponse
instance GHC.Read.Read Amazonka.CodeDeploy.UpdateApplication.UpdateApplicationResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.UpdateApplication.UpdateApplicationResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.UpdateApplication.UpdateApplication
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.UpdateApplication.UpdateApplicationResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.UpdateApplication.UpdateApplication
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.UpdateApplication.UpdateApplication
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.UpdateApplication.UpdateApplication
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.UpdateApplication.UpdateApplication
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.UpdateApplication.UpdateApplication
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.UpdateApplication.UpdateApplication
-- | Changes information about a deployment group.
module Amazonka.CodeDeploy.UpdateDeploymentGroup
-- | Represents the input of an UpdateDeploymentGroup operation.
--
-- See: newUpdateDeploymentGroup smart constructor.
data UpdateDeploymentGroup
UpdateDeploymentGroup' :: Maybe AlarmConfiguration -> Maybe AutoRollbackConfiguration -> Maybe [Text] -> Maybe BlueGreenDeploymentConfiguration -> Maybe Text -> Maybe DeploymentStyle -> Maybe [EC2TagFilter] -> Maybe EC2TagSet -> Maybe [ECSService] -> Maybe LoadBalancerInfo -> Maybe Text -> Maybe [TagFilter] -> Maybe OnPremisesTagSet -> Maybe OutdatedInstancesStrategy -> Maybe Text -> Maybe [TriggerConfig] -> Text -> Text -> UpdateDeploymentGroup
-- | Information to add or change about Amazon CloudWatch alarms when the
-- deployment group is updated.
[$sel:alarmConfiguration:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe AlarmConfiguration
-- | Information for an automatic rollback configuration that is added or
-- changed when a deployment group is updated.
[$sel:autoRollbackConfiguration:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe AutoRollbackConfiguration
-- | The replacement list of Auto Scaling groups to be included in the
-- deployment group, if you want to change them.
--
--
[$sel:autoScalingGroups:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe [Text]
-- | Information about blue/green deployment options for a deployment
-- group.
[$sel:blueGreenDeploymentConfiguration:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe BlueGreenDeploymentConfiguration
-- | The replacement deployment configuration name to use, if you want to
-- change it.
[$sel:deploymentConfigName:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe Text
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
[$sel:deploymentStyle:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe DeploymentStyle
-- | The replacement set of Amazon EC2 tags on which to filter, if you want
-- to change them. To keep the existing tags, enter their names. To
-- remove tags, do not enter any tag names.
[$sel:ec2TagFilters:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe [EC2TagFilter]
-- | Information about groups of tags applied to on-premises instances. The
-- deployment group includes only Amazon EC2 instances identified by all
-- the tag groups.
[$sel:ec2TagSet:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe EC2TagSet
-- | The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
[$sel:ecsServices:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe [ECSService]
-- | Information about the load balancer used in a deployment.
[$sel:loadBalancerInfo:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe LoadBalancerInfo
-- | The new name of the deployment group, if you want to change it.
[$sel:newDeploymentGroupName':UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe Text
-- | The replacement set of on-premises instance tags on which to filter,
-- if you want to change them. To keep the existing tags, enter their
-- names. To remove tags, do not enter any tag names.
[$sel:onPremisesInstanceTagFilters:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe [TagFilter]
-- | Information about an on-premises instance tag set. The deployment
-- group includes only on-premises instances identified by all the tag
-- groups.
[$sel:onPremisesTagSet:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe OnPremisesTagSet
-- | Indicates what happens when new Amazon EC2 instances are launched
-- mid-deployment and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
[$sel:outdatedInstancesStrategy:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe OutdatedInstancesStrategy
-- | A replacement ARN for the service role, if you want to change it.
[$sel:serviceRoleArn:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe Text
-- | Information about triggers to change when the deployment group is
-- updated. For examples, see Edit a Trigger in a CodeDeploy
-- Deployment Group in the CodeDeploy User Guide.
[$sel:triggerConfigurations:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Maybe [TriggerConfig]
-- | The application name that corresponds to the deployment group to
-- update.
[$sel:applicationName:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Text
-- | The current name of the deployment group.
[$sel:currentDeploymentGroupName:UpdateDeploymentGroup'] :: UpdateDeploymentGroup -> Text
-- | Create a value of UpdateDeploymentGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_alarmConfiguration - Information to add
-- or change about Amazon CloudWatch alarms when the deployment group is
-- updated.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_autoRollbackConfiguration - Information
-- for an automatic rollback configuration that is added or changed when
-- a deployment group is updated.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_autoScalingGroups - The replacement list
-- of Auto Scaling groups to be included in the deployment group, if you
-- want to change them.
--
--
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_blueGreenDeploymentConfiguration -
-- Information about blue/green deployment options for a deployment
-- group.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_deploymentConfigName - The replacement
-- deployment configuration name to use, if you want to change it.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_deploymentStyle - Information about the
-- type of deployment, either in-place or blue/green, you want to run and
-- whether to route deployment traffic behind a load balancer.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_ec2TagFilters - The replacement set of
-- Amazon EC2 tags on which to filter, if you want to change them. To
-- keep the existing tags, enter their names. To remove tags, do not
-- enter any tag names.
--
-- UpdateDeploymentGroup, updateDeploymentGroup_ec2TagSet -
-- Information about groups of tags applied to on-premises instances. The
-- deployment group includes only Amazon EC2 instances identified by all
-- the tag groups.
--
-- UpdateDeploymentGroup, updateDeploymentGroup_ecsServices
-- - The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_loadBalancerInfo - Information about the
-- load balancer used in a deployment.
--
-- $sel:newDeploymentGroupName':UpdateDeploymentGroup',
-- updateDeploymentGroup_newDeploymentGroupName - The new name of
-- the deployment group, if you want to change it.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_onPremisesInstanceTagFilters - The
-- replacement set of on-premises instance tags on which to filter, if
-- you want to change them. To keep the existing tags, enter their names.
-- To remove tags, do not enter any tag names.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_onPremisesTagSet - Information about an
-- on-premises instance tag set. The deployment group includes only
-- on-premises instances identified by all the tag groups.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_outdatedInstancesStrategy - Indicates
-- what happens when new Amazon EC2 instances are launched mid-deployment
-- and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_serviceRoleArn - A replacement ARN for
-- the service role, if you want to change it.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_triggerConfigurations - Information about
-- triggers to change when the deployment group is updated. For examples,
-- see Edit a Trigger in a CodeDeploy Deployment Group in the
-- CodeDeploy User Guide.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_applicationName - The application name
-- that corresponds to the deployment group to update.
--
-- $sel:currentDeploymentGroupName:UpdateDeploymentGroup',
-- updateDeploymentGroup_currentDeploymentGroupName - The current
-- name of the deployment group.
newUpdateDeploymentGroup :: Text -> Text -> UpdateDeploymentGroup
-- | Information to add or change about Amazon CloudWatch alarms when the
-- deployment group is updated.
updateDeploymentGroup_alarmConfiguration :: Lens' UpdateDeploymentGroup (Maybe AlarmConfiguration)
-- | Information for an automatic rollback configuration that is added or
-- changed when a deployment group is updated.
updateDeploymentGroup_autoRollbackConfiguration :: Lens' UpdateDeploymentGroup (Maybe AutoRollbackConfiguration)
-- | The replacement list of Auto Scaling groups to be included in the
-- deployment group, if you want to change them.
--
--
updateDeploymentGroup_autoScalingGroups :: Lens' UpdateDeploymentGroup (Maybe [Text])
-- | Information about blue/green deployment options for a deployment
-- group.
updateDeploymentGroup_blueGreenDeploymentConfiguration :: Lens' UpdateDeploymentGroup (Maybe BlueGreenDeploymentConfiguration)
-- | The replacement deployment configuration name to use, if you want to
-- change it.
updateDeploymentGroup_deploymentConfigName :: Lens' UpdateDeploymentGroup (Maybe Text)
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
updateDeploymentGroup_deploymentStyle :: Lens' UpdateDeploymentGroup (Maybe DeploymentStyle)
-- | The replacement set of Amazon EC2 tags on which to filter, if you want
-- to change them. To keep the existing tags, enter their names. To
-- remove tags, do not enter any tag names.
updateDeploymentGroup_ec2TagFilters :: Lens' UpdateDeploymentGroup (Maybe [EC2TagFilter])
-- | Information about groups of tags applied to on-premises instances. The
-- deployment group includes only Amazon EC2 instances identified by all
-- the tag groups.
updateDeploymentGroup_ec2TagSet :: Lens' UpdateDeploymentGroup (Maybe EC2TagSet)
-- | The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
updateDeploymentGroup_ecsServices :: Lens' UpdateDeploymentGroup (Maybe [ECSService])
-- | Information about the load balancer used in a deployment.
updateDeploymentGroup_loadBalancerInfo :: Lens' UpdateDeploymentGroup (Maybe LoadBalancerInfo)
-- | The new name of the deployment group, if you want to change it.
updateDeploymentGroup_newDeploymentGroupName :: Lens' UpdateDeploymentGroup (Maybe Text)
-- | The replacement set of on-premises instance tags on which to filter,
-- if you want to change them. To keep the existing tags, enter their
-- names. To remove tags, do not enter any tag names.
updateDeploymentGroup_onPremisesInstanceTagFilters :: Lens' UpdateDeploymentGroup (Maybe [TagFilter])
-- | Information about an on-premises instance tag set. The deployment
-- group includes only on-premises instances identified by all the tag
-- groups.
updateDeploymentGroup_onPremisesTagSet :: Lens' UpdateDeploymentGroup (Maybe OnPremisesTagSet)
-- | Indicates what happens when new Amazon EC2 instances are launched
-- mid-deployment and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
updateDeploymentGroup_outdatedInstancesStrategy :: Lens' UpdateDeploymentGroup (Maybe OutdatedInstancesStrategy)
-- | A replacement ARN for the service role, if you want to change it.
updateDeploymentGroup_serviceRoleArn :: Lens' UpdateDeploymentGroup (Maybe Text)
-- | Information about triggers to change when the deployment group is
-- updated. For examples, see Edit a Trigger in a CodeDeploy
-- Deployment Group in the CodeDeploy User Guide.
updateDeploymentGroup_triggerConfigurations :: Lens' UpdateDeploymentGroup (Maybe [TriggerConfig])
-- | The application name that corresponds to the deployment group to
-- update.
updateDeploymentGroup_applicationName :: Lens' UpdateDeploymentGroup Text
-- | The current name of the deployment group.
updateDeploymentGroup_currentDeploymentGroupName :: Lens' UpdateDeploymentGroup Text
-- | Represents the output of an UpdateDeploymentGroup operation.
--
-- See: newUpdateDeploymentGroupResponse smart constructor.
data UpdateDeploymentGroupResponse
UpdateDeploymentGroupResponse' :: Maybe [AutoScalingGroup] -> Int -> UpdateDeploymentGroupResponse
-- | If the output contains no data, and the corresponding deployment group
-- contained at least one Auto Scaling group, CodeDeploy successfully
-- removed all corresponding Auto Scaling lifecycle event hooks from the
-- Amazon Web Services account. If the output contains data, CodeDeploy
-- could not remove some Auto Scaling lifecycle event hooks from the
-- Amazon Web Services account.
[$sel:hooksNotCleanedUp:UpdateDeploymentGroupResponse'] :: UpdateDeploymentGroupResponse -> Maybe [AutoScalingGroup]
-- | The response's http status code.
[$sel:httpStatus:UpdateDeploymentGroupResponse'] :: UpdateDeploymentGroupResponse -> Int
-- | Create a value of UpdateDeploymentGroupResponse with all
-- optional fields omitted.
--
-- 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:hooksNotCleanedUp:UpdateDeploymentGroupResponse',
-- updateDeploymentGroupResponse_hooksNotCleanedUp - If the output
-- contains no data, and the corresponding deployment group contained at
-- least one Auto Scaling group, CodeDeploy successfully removed all
-- corresponding Auto Scaling lifecycle event hooks from the Amazon Web
-- Services account. If the output contains data, CodeDeploy could not
-- remove some Auto Scaling lifecycle event hooks from the Amazon Web
-- Services account.
--
-- $sel:httpStatus:UpdateDeploymentGroupResponse',
-- updateDeploymentGroupResponse_httpStatus - The response's http
-- status code.
newUpdateDeploymentGroupResponse :: Int -> UpdateDeploymentGroupResponse
-- | If the output contains no data, and the corresponding deployment group
-- contained at least one Auto Scaling group, CodeDeploy successfully
-- removed all corresponding Auto Scaling lifecycle event hooks from the
-- Amazon Web Services account. If the output contains data, CodeDeploy
-- could not remove some Auto Scaling lifecycle event hooks from the
-- Amazon Web Services account.
updateDeploymentGroupResponse_hooksNotCleanedUp :: Lens' UpdateDeploymentGroupResponse (Maybe [AutoScalingGroup])
-- | The response's http status code.
updateDeploymentGroupResponse_httpStatus :: Lens' UpdateDeploymentGroupResponse Int
instance GHC.Generics.Generic Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance GHC.Show.Show Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance GHC.Read.Read Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance GHC.Classes.Eq Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance GHC.Generics.Generic Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroupResponse
instance GHC.Show.Show Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroupResponse
instance GHC.Read.Read Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroupResponse
instance GHC.Classes.Eq Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroupResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroupResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Control.DeepSeq.NFData Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Amazonka.Data.Path.ToPath Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Amazonka.Data.Query.ToQuery Amazonka.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
module Amazonka.CodeDeploy.Lens
-- | The tag key-value pairs to add to the on-premises instances.
--
-- Keys and values are both required. Keys cannot be null or empty
-- strings. Value-only tags are not allowed.
addTagsToOnPremisesInstances_tags :: Lens' AddTagsToOnPremisesInstances [Tag]
-- | The names of the on-premises instances to which to add tags.
addTagsToOnPremisesInstances_instanceNames :: Lens' AddTagsToOnPremisesInstances [Text]
-- | The name of an CodeDeploy application about which to get revision
-- information.
batchGetApplicationRevisions_applicationName :: Lens' BatchGetApplicationRevisions Text
-- | An array of RevisionLocation objects that specify information
-- to get about the application revisions, including type and location.
-- The maximum number of RevisionLocation objects you can
-- specify is 25.
batchGetApplicationRevisions_revisions :: Lens' BatchGetApplicationRevisions [RevisionLocation]
-- | The name of the application that corresponds to the revisions.
batchGetApplicationRevisionsResponse_applicationName :: Lens' BatchGetApplicationRevisionsResponse (Maybe Text)
-- | Information about errors that might have occurred during the API call.
batchGetApplicationRevisionsResponse_errorMessage :: Lens' BatchGetApplicationRevisionsResponse (Maybe Text)
-- | Additional information about the revisions, including the type and
-- location.
batchGetApplicationRevisionsResponse_revisions :: Lens' BatchGetApplicationRevisionsResponse (Maybe [RevisionInfo])
-- | The response's http status code.
batchGetApplicationRevisionsResponse_httpStatus :: Lens' BatchGetApplicationRevisionsResponse Int
-- | A list of application names separated by spaces. The maximum number of
-- application names you can specify is 100.
batchGetApplications_applicationNames :: Lens' BatchGetApplications [Text]
-- | Information about the applications.
batchGetApplicationsResponse_applicationsInfo :: Lens' BatchGetApplicationsResponse (Maybe [ApplicationInfo])
-- | The response's http status code.
batchGetApplicationsResponse_httpStatus :: Lens' BatchGetApplicationsResponse Int
-- | The name of an CodeDeploy application associated with the applicable
-- IAM or Amazon Web Services account.
batchGetDeploymentGroups_applicationName :: Lens' BatchGetDeploymentGroups Text
-- | The names of the deployment groups.
batchGetDeploymentGroups_deploymentGroupNames :: Lens' BatchGetDeploymentGroups [Text]
-- | Information about the deployment groups.
batchGetDeploymentGroupsResponse_deploymentGroupsInfo :: Lens' BatchGetDeploymentGroupsResponse (Maybe [DeploymentGroupInfo])
-- | Information about errors that might have occurred during the API call.
batchGetDeploymentGroupsResponse_errorMessage :: Lens' BatchGetDeploymentGroupsResponse (Maybe Text)
-- | The response's http status code.
batchGetDeploymentGroupsResponse_httpStatus :: Lens' BatchGetDeploymentGroupsResponse Int
-- | The unique ID of a deployment.
batchGetDeploymentTargets_deploymentId :: Lens' BatchGetDeploymentTargets (Maybe Text)
-- | The unique IDs of the deployment targets. The compute platform of the
-- deployment determines the type of the targets and their formats. The
-- maximum number of deployment target IDs you can specify is 25.
--
--
-- - For deployments that use the EC2/On-premises compute platform, the
-- target IDs are Amazon EC2 or on-premises instances IDs, and their
-- target type is instanceTarget.
-- - For deployments that use the Lambda compute platform, the target
-- IDs are the names of Lambda functions, and their target type is
-- instanceTarget.
-- - For deployments that use the Amazon ECS compute platform, the
-- target IDs are pairs of Amazon ECS clusters and services specified
-- using the format <clustername>:<servicename>.
-- Their target type is ecsTarget.
-- - For deployments that are deployed with CloudFormation, the target
-- IDs are CloudFormation stack IDs. Their target type is
-- cloudFormationTarget.
--
batchGetDeploymentTargets_targetIds :: Lens' BatchGetDeploymentTargets (Maybe [Text])
-- | A list of target objects for a deployment. Each target object contains
-- details about the target, such as its status and lifecycle events. The
-- type of the target objects depends on the deployment' compute
-- platform.
--
--
-- - EC2/On-premises: Each target object is an Amazon EC2 or
-- on-premises instance.
-- - Lambda: The target object is a specific version of an
-- Lambda function.
-- - Amazon ECS: The target object is an Amazon ECS
-- service.
-- - CloudFormation: The target object is an CloudFormation
-- blue/green deployment.
--
batchGetDeploymentTargetsResponse_deploymentTargets :: Lens' BatchGetDeploymentTargetsResponse (Maybe [DeploymentTarget])
-- | The response's http status code.
batchGetDeploymentTargetsResponse_httpStatus :: Lens' BatchGetDeploymentTargetsResponse Int
-- | A list of deployment IDs, separated by spaces. The maximum number of
-- deployment IDs you can specify is 25.
batchGetDeployments_deploymentIds :: Lens' BatchGetDeployments [Text]
-- | Information about the deployments.
batchGetDeploymentsResponse_deploymentsInfo :: Lens' BatchGetDeploymentsResponse (Maybe [DeploymentInfo])
-- | The response's http status code.
batchGetDeploymentsResponse_httpStatus :: Lens' BatchGetDeploymentsResponse Int
-- | The names of the on-premises instances about which to get information.
-- The maximum number of instance names you can specify is 25.
batchGetOnPremisesInstances_instanceNames :: Lens' BatchGetOnPremisesInstances [Text]
-- | Information about the on-premises instances.
batchGetOnPremisesInstancesResponse_instanceInfos :: Lens' BatchGetOnPremisesInstancesResponse (Maybe [InstanceInfo])
-- | The response's http status code.
batchGetOnPremisesInstancesResponse_httpStatus :: Lens' BatchGetOnPremisesInstancesResponse Int
-- | The unique ID of a blue/green deployment for which you want to start
-- rerouting traffic to the replacement environment.
continueDeployment_deploymentId :: Lens' ContinueDeployment (Maybe Text)
-- | The status of the deployment's waiting period. READY_WAIT
-- indicates that the deployment is ready to start shifting traffic.
-- TERMINATION_WAIT indicates that the traffic is shifted, but
-- the original target is not terminated.
continueDeployment_deploymentWaitType :: Lens' ContinueDeployment (Maybe DeploymentWaitType)
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
createApplication_computePlatform :: Lens' CreateApplication (Maybe ComputePlatform)
-- | The metadata that you apply to CodeDeploy applications to help you
-- organize and categorize them. Each tag consists of a key and an
-- optional value, both of which you define.
createApplication_tags :: Lens' CreateApplication (Maybe [Tag])
-- | The name of the application. This name must be unique with the
-- applicable IAM or Amazon Web Services account.
createApplication_applicationName :: Lens' CreateApplication Text
-- | A unique application ID.
createApplicationResponse_applicationId :: Lens' CreateApplicationResponse (Maybe Text)
-- | The response's http status code.
createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int
-- | Configuration information for an automatic rollback that is added when
-- a deployment is created.
createDeployment_autoRollbackConfiguration :: Lens' CreateDeployment (Maybe AutoRollbackConfiguration)
-- | The name of a deployment configuration associated with the IAM user or
-- Amazon Web Services account.
--
-- If not specified, the value configured in the deployment group is used
-- as the default. If the deployment group does not have a deployment
-- configuration associated with it,
-- CodeDeployDefault.OneAtATime is used by default.
createDeployment_deploymentConfigName :: Lens' CreateDeployment (Maybe Text)
-- | The name of the deployment group.
createDeployment_deploymentGroupName :: Lens' CreateDeployment (Maybe Text)
-- | A comment about the deployment.
createDeployment_description :: Lens' CreateDeployment (Maybe Text)
-- | Information about how CodeDeploy handles files that already exist in a
-- deployment target location but weren't part of the previous successful
-- deployment.
--
-- The fileExistsBehavior parameter takes any of the following
-- values:
--
--
-- - DISALLOW: The deployment fails. This is also the default behavior
-- if no option is specified.
-- - OVERWRITE: The version of the file from the application revision
-- currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance is kept
-- and used as part of the new deployment.
--
createDeployment_fileExistsBehavior :: Lens' CreateDeployment (Maybe FileExistsBehavior)
-- | If true, then if an ApplicationStop,
-- BeforeBlockTraffic, or AfterBlockTraffic deployment
-- lifecycle event to an instance fails, then the deployment continues to
-- the next deployment lifecycle event. For example, if
-- ApplicationStop fails, the deployment continues with
-- DownloadBundle. If BeforeBlockTraffic fails, the
-- deployment continues with BlockTraffic. If
-- AfterBlockTraffic fails, the deployment continues with
-- ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
createDeployment_ignoreApplicationStopFailures :: Lens' CreateDeployment (Maybe Bool)
-- | Allows you to specify information about alarms associated with a
-- deployment. The alarm configuration that you specify here will
-- override the alarm configuration at the deployment group level.
-- Consider overriding the alarm configuration if you have set up alarms
-- at the deployment group level that are causing deployment failures. In
-- this case, you would call CreateDeployment to create a new
-- deployment that uses a previous application revision that is known to
-- work, and set its alarm configuration to turn off alarm polling.
-- Turning off alarm polling ensures that the new deployment proceeds
-- without being blocked by the alarm that was generated by the previous,
-- failed, deployment.
--
-- If you specify an overrideAlarmConfiguration, you need the
-- UpdateDeploymentGroup IAM permission when calling
-- CreateDeployment.
createDeployment_overrideAlarmConfiguration :: Lens' CreateDeployment (Maybe AlarmConfiguration)
-- | The type and location of the revision to deploy.
createDeployment_revision :: Lens' CreateDeployment (Maybe RevisionLocation)
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
createDeployment_targetInstances :: Lens' CreateDeployment (Maybe TargetInstances)
-- | Indicates whether to deploy to all instances or only to instances that
-- are not running the latest application revision.
createDeployment_updateOutdatedInstancesOnly :: Lens' CreateDeployment (Maybe Bool)
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
createDeployment_applicationName :: Lens' CreateDeployment Text
-- | The unique ID of a deployment.
createDeploymentResponse_deploymentId :: Lens' CreateDeploymentResponse (Maybe Text)
-- | The response's http status code.
createDeploymentResponse_httpStatus :: Lens' CreateDeploymentResponse Int
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
createDeploymentConfig_computePlatform :: Lens' CreateDeploymentConfig (Maybe ComputePlatform)
-- | The minimum number of healthy instances that should be available at
-- any time during the deployment. There are two parameters expected in
-- the input: type and value.
--
-- The type parameter takes either of the following values:
--
--
-- - HOST_COUNT: The value parameter represents the minimum number of
-- healthy instances as an absolute value.
-- - FLEET_PERCENT: The value parameter represents the minimum number
-- of healthy instances as a percentage of the total number of instances
-- in the deployment. If you specify FLEET_PERCENT, at the start of the
-- deployment, CodeDeploy converts the percentage to the equivalent
-- number of instances and rounds up fractional instances.
--
--
-- The value parameter takes an integer.
--
-- For example, to set a minimum of 95% healthy instance, specify a type
-- of FLEET_PERCENT and a value of 95.
createDeploymentConfig_minimumHealthyHosts :: Lens' CreateDeploymentConfig (Maybe MinimumHealthyHosts)
-- | The configuration that specifies how the deployment traffic is routed.
createDeploymentConfig_trafficRoutingConfig :: Lens' CreateDeploymentConfig (Maybe TrafficRoutingConfig)
-- | The name of the deployment configuration to create.
createDeploymentConfig_deploymentConfigName :: Lens' CreateDeploymentConfig Text
-- | A unique deployment configuration ID.
createDeploymentConfigResponse_deploymentConfigId :: Lens' CreateDeploymentConfigResponse (Maybe Text)
-- | The response's http status code.
createDeploymentConfigResponse_httpStatus :: Lens' CreateDeploymentConfigResponse Int
-- | Information to add about Amazon CloudWatch alarms when the deployment
-- group is created.
createDeploymentGroup_alarmConfiguration :: Lens' CreateDeploymentGroup (Maybe AlarmConfiguration)
-- | Configuration information for an automatic rollback that is added when
-- a deployment group is created.
createDeploymentGroup_autoRollbackConfiguration :: Lens' CreateDeploymentGroup (Maybe AutoRollbackConfiguration)
-- | A list of associated Amazon EC2 Auto Scaling groups.
createDeploymentGroup_autoScalingGroups :: Lens' CreateDeploymentGroup (Maybe [Text])
-- | Information about blue/green deployment options for a deployment
-- group.
createDeploymentGroup_blueGreenDeploymentConfiguration :: Lens' CreateDeploymentGroup (Maybe BlueGreenDeploymentConfiguration)
-- | If specified, the deployment configuration name can be either one of
-- the predefined configurations provided with CodeDeploy or a custom
-- deployment configuration that you create by calling the create
-- deployment configuration operation.
--
-- CodeDeployDefault.OneAtATime is the default deployment
-- configuration. It is used if a configuration isn't specified for the
-- deployment or deployment group.
--
-- For more information about the predefined deployment configurations in
-- CodeDeploy, see Working with Deployment Configurations in
-- CodeDeploy in the CodeDeploy User Guide.
createDeploymentGroup_deploymentConfigName :: Lens' CreateDeploymentGroup (Maybe Text)
-- | Information about the type of deployment, in-place or blue/green, that
-- you want to run and whether to route deployment traffic behind a load
-- balancer.
createDeploymentGroup_deploymentStyle :: Lens' CreateDeploymentGroup (Maybe DeploymentStyle)
-- | The Amazon EC2 tags on which to filter. The deployment group includes
-- Amazon EC2 instances with any of the specified tags. Cannot be used in
-- the same call as ec2TagSet.
createDeploymentGroup_ec2TagFilters :: Lens' CreateDeploymentGroup (Maybe [EC2TagFilter])
-- | Information about groups of tags applied to Amazon EC2 instances. The
-- deployment group includes only Amazon EC2 instances identified by all
-- the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
createDeploymentGroup_ec2TagSet :: Lens' CreateDeploymentGroup (Maybe EC2TagSet)
-- | The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
createDeploymentGroup_ecsServices :: Lens' CreateDeploymentGroup (Maybe [ECSService])
-- | Information about the load balancer used in a deployment.
createDeploymentGroup_loadBalancerInfo :: Lens' CreateDeploymentGroup (Maybe LoadBalancerInfo)
-- | The on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags. Cannot
-- be used in the same call as OnPremisesTagSet.
createDeploymentGroup_onPremisesInstanceTagFilters :: Lens' CreateDeploymentGroup (Maybe [TagFilter])
-- | Information about groups of tags applied to on-premises instances. The
-- deployment group includes only on-premises instances identified by all
-- of the tag groups. Cannot be used in the same call as
-- onPremisesInstanceTagFilters.
createDeploymentGroup_onPremisesTagSet :: Lens' CreateDeploymentGroup (Maybe OnPremisesTagSet)
-- | Indicates what happens when new Amazon EC2 instances are launched
-- mid-deployment and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
createDeploymentGroup_outdatedInstancesStrategy :: Lens' CreateDeploymentGroup (Maybe OutdatedInstancesStrategy)
-- | The metadata that you apply to CodeDeploy deployment groups to help
-- you organize and categorize them. Each tag consists of a key and an
-- optional value, both of which you define.
createDeploymentGroup_tags :: Lens' CreateDeploymentGroup (Maybe [Tag])
-- | Information about triggers to create when the deployment group is
-- created. For examples, see Create a Trigger for an CodeDeploy
-- Event in the CodeDeploy User Guide.
createDeploymentGroup_triggerConfigurations :: Lens' CreateDeploymentGroup (Maybe [TriggerConfig])
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
createDeploymentGroup_applicationName :: Lens' CreateDeploymentGroup Text
-- | The name of a new deployment group for the specified application.
createDeploymentGroup_deploymentGroupName :: Lens' CreateDeploymentGroup Text
-- | A service role Amazon Resource Name (ARN) that allows CodeDeploy to
-- act on the user's behalf when interacting with Amazon Web Services
-- services.
createDeploymentGroup_serviceRoleArn :: Lens' CreateDeploymentGroup Text
-- | A unique deployment group ID.
createDeploymentGroupResponse_deploymentGroupId :: Lens' CreateDeploymentGroupResponse (Maybe Text)
-- | The response's http status code.
createDeploymentGroupResponse_httpStatus :: Lens' CreateDeploymentGroupResponse Int
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
deleteApplication_applicationName :: Lens' DeleteApplication Text
-- | The name of a deployment configuration associated with the IAM user or
-- Amazon Web Services account.
deleteDeploymentConfig_deploymentConfigName :: Lens' DeleteDeploymentConfig Text
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
deleteDeploymentGroup_applicationName :: Lens' DeleteDeploymentGroup Text
-- | The name of a deployment group for the specified application.
deleteDeploymentGroup_deploymentGroupName :: Lens' DeleteDeploymentGroup Text
-- | If the output contains no data, and the corresponding deployment group
-- contained at least one Auto Scaling group, CodeDeploy successfully
-- removed all corresponding Auto Scaling lifecycle event hooks from the
-- Amazon EC2 instances in the Auto Scaling group. If the output contains
-- data, CodeDeploy could not remove some Auto Scaling lifecycle event
-- hooks from the Amazon EC2 instances in the Auto Scaling group.
deleteDeploymentGroupResponse_hooksNotCleanedUp :: Lens' DeleteDeploymentGroupResponse (Maybe [AutoScalingGroup])
-- | The response's http status code.
deleteDeploymentGroupResponse_httpStatus :: Lens' DeleteDeploymentGroupResponse Int
-- | The name of the GitHub account connection to delete.
deleteGitHubAccountToken_tokenName :: Lens' DeleteGitHubAccountToken (Maybe Text)
-- | The name of the GitHub account connection that was deleted.
deleteGitHubAccountTokenResponse_tokenName :: Lens' DeleteGitHubAccountTokenResponse (Maybe Text)
-- | The response's http status code.
deleteGitHubAccountTokenResponse_httpStatus :: Lens' DeleteGitHubAccountTokenResponse Int
-- | The unique ID of an external resource (for example, a CloudFormation
-- stack ID) that is linked to one or more CodeDeploy resources.
deleteResourcesByExternalId_externalId :: Lens' DeleteResourcesByExternalId (Maybe Text)
-- | The response's http status code.
deleteResourcesByExternalIdResponse_httpStatus :: Lens' DeleteResourcesByExternalIdResponse Int
-- | The name of the on-premises instance to deregister.
deregisterOnPremisesInstance_instanceName :: Lens' DeregisterOnPremisesInstance Text
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
getApplication_applicationName :: Lens' GetApplication Text
-- | Information about the application.
getApplicationResponse_application :: Lens' GetApplicationResponse (Maybe ApplicationInfo)
-- | The response's http status code.
getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int
-- | The name of the application that corresponds to the revision.
getApplicationRevision_applicationName :: Lens' GetApplicationRevision Text
-- | Information about the application revision to get, including type and
-- location.
getApplicationRevision_revision :: Lens' GetApplicationRevision RevisionLocation
-- | The name of the application that corresponds to the revision.
getApplicationRevisionResponse_applicationName :: Lens' GetApplicationRevisionResponse (Maybe Text)
-- | Additional information about the revision, including type and
-- location.
getApplicationRevisionResponse_revision :: Lens' GetApplicationRevisionResponse (Maybe RevisionLocation)
-- | General information about the revision.
getApplicationRevisionResponse_revisionInfo :: Lens' GetApplicationRevisionResponse (Maybe GenericRevisionInfo)
-- | The response's http status code.
getApplicationRevisionResponse_httpStatus :: Lens' GetApplicationRevisionResponse Int
-- | The unique ID of a deployment associated with the IAM user or Amazon
-- Web Services account.
getDeployment_deploymentId :: Lens' GetDeployment Text
-- | Information about the deployment.
getDeploymentResponse_deploymentInfo :: Lens' GetDeploymentResponse (Maybe DeploymentInfo)
-- | The response's http status code.
getDeploymentResponse_httpStatus :: Lens' GetDeploymentResponse Int
-- | The name of a deployment configuration associated with the IAM user or
-- Amazon Web Services account.
getDeploymentConfig_deploymentConfigName :: Lens' GetDeploymentConfig Text
-- | Information about the deployment configuration.
getDeploymentConfigResponse_deploymentConfigInfo :: Lens' GetDeploymentConfigResponse (Maybe DeploymentConfigInfo)
-- | The response's http status code.
getDeploymentConfigResponse_httpStatus :: Lens' GetDeploymentConfigResponse Int
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
getDeploymentGroup_applicationName :: Lens' GetDeploymentGroup Text
-- | The name of a deployment group for the specified application.
getDeploymentGroup_deploymentGroupName :: Lens' GetDeploymentGroup Text
-- | Information about the deployment group.
getDeploymentGroupResponse_deploymentGroupInfo :: Lens' GetDeploymentGroupResponse (Maybe DeploymentGroupInfo)
-- | The response's http status code.
getDeploymentGroupResponse_httpStatus :: Lens' GetDeploymentGroupResponse Int
-- | The unique ID of a deployment.
getDeploymentTarget_deploymentId :: Lens' GetDeploymentTarget (Maybe Text)
-- | The unique ID of a deployment target.
getDeploymentTarget_targetId :: Lens' GetDeploymentTarget (Maybe Text)
-- | A deployment target that contains information about a deployment such
-- as its status, lifecycle events, and when it was last updated. It also
-- contains metadata about the deployment target. The deployment target
-- metadata depends on the deployment target's type
-- (instanceTarget, lambdaTarget, or
-- ecsTarget).
getDeploymentTargetResponse_deploymentTarget :: Lens' GetDeploymentTargetResponse (Maybe DeploymentTarget)
-- | The response's http status code.
getDeploymentTargetResponse_httpStatus :: Lens' GetDeploymentTargetResponse Int
-- | The name of the on-premises instance about which to get information.
getOnPremisesInstance_instanceName :: Lens' GetOnPremisesInstance Text
-- | Information about the on-premises instance.
getOnPremisesInstanceResponse_instanceInfo :: Lens' GetOnPremisesInstanceResponse (Maybe InstanceInfo)
-- | The response's http status code.
getOnPremisesInstanceResponse_httpStatus :: Lens' GetOnPremisesInstanceResponse Int
-- | Whether to list revisions based on whether the revision is the target
-- revision of a deployment group:
--
--
-- - include: List revisions that are target revisions of a
-- deployment group.
-- - exclude: Do not list revisions that are target revisions
-- of a deployment group.
-- - ignore: List all revisions.
--
listApplicationRevisions_deployed :: Lens' ListApplicationRevisions (Maybe ListStateFilterAction)
-- | An identifier returned from the previous
-- ListApplicationRevisions call. It can be used to return the
-- next set of applications in the list.
listApplicationRevisions_nextToken :: Lens' ListApplicationRevisions (Maybe Text)
-- | An Amazon S3 bucket name to limit the search for revisions.
--
-- If set to null, all of the user's buckets are searched.
listApplicationRevisions_s3Bucket :: Lens' ListApplicationRevisions (Maybe Text)
-- | A key prefix for the set of Amazon S3 objects to limit the search for
-- revisions.
listApplicationRevisions_s3KeyPrefix :: Lens' ListApplicationRevisions (Maybe Text)
-- | The column name to use to sort the list results:
--
--
-- - registerTime: Sort by the time the revisions were
-- registered with CodeDeploy.
-- - firstUsedTime: Sort by the time the revisions were first
-- used in a deployment.
-- - lastUsedTime: Sort by the time the revisions were last
-- used in a deployment.
--
--
-- If not specified or set to null, the results are returned in an
-- arbitrary order.
listApplicationRevisions_sortBy :: Lens' ListApplicationRevisions (Maybe ApplicationRevisionSortBy)
-- | The order in which to sort the list results:
--
--
-- - ascending: ascending order.
-- - descending: descending order.
--
--
-- If not specified, the results are sorted in ascending order.
--
-- If set to null, the results are sorted in an arbitrary order.
listApplicationRevisions_sortOrder :: Lens' ListApplicationRevisions (Maybe SortOrder)
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
listApplicationRevisions_applicationName :: Lens' ListApplicationRevisions Text
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list application revisions
-- call to return the next set of application revisions in the list.
listApplicationRevisionsResponse_nextToken :: Lens' ListApplicationRevisionsResponse (Maybe Text)
-- | A list of locations that contain the matching revisions.
listApplicationRevisionsResponse_revisions :: Lens' ListApplicationRevisionsResponse (Maybe [RevisionLocation])
-- | The response's http status code.
listApplicationRevisionsResponse_httpStatus :: Lens' ListApplicationRevisionsResponse Int
-- | An identifier returned from the previous list applications call. It
-- can be used to return the next set of applications in the list.
listApplications_nextToken :: Lens' ListApplications (Maybe Text)
-- | A list of application names.
listApplicationsResponse_applications :: Lens' ListApplicationsResponse (Maybe [Text])
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list applications call to
-- return the next set of applications in the list.
listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text)
-- | The response's http status code.
listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int
-- | An identifier returned from the previous
-- ListDeploymentConfigs call. It can be used to return the next
-- set of deployment configurations in the list.
listDeploymentConfigs_nextToken :: Lens' ListDeploymentConfigs (Maybe Text)
-- | A list of deployment configurations, including built-in configurations
-- such as CodeDeployDefault.OneAtATime.
listDeploymentConfigsResponse_deploymentConfigsList :: Lens' ListDeploymentConfigsResponse (Maybe [Text])
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployment
-- configurations call to return the next set of deployment
-- configurations in the list.
listDeploymentConfigsResponse_nextToken :: Lens' ListDeploymentConfigsResponse (Maybe Text)
-- | The response's http status code.
listDeploymentConfigsResponse_httpStatus :: Lens' ListDeploymentConfigsResponse Int
-- | An identifier returned from the previous list deployment groups call.
-- It can be used to return the next set of deployment groups in the
-- list.
listDeploymentGroups_nextToken :: Lens' ListDeploymentGroups (Maybe Text)
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
listDeploymentGroups_applicationName :: Lens' ListDeploymentGroups Text
-- | The application name.
listDeploymentGroupsResponse_applicationName :: Lens' ListDeploymentGroupsResponse (Maybe Text)
-- | A list of deployment group names.
listDeploymentGroupsResponse_deploymentGroups :: Lens' ListDeploymentGroupsResponse (Maybe [Text])
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployment groups call
-- to return the next set of deployment groups in the list.
listDeploymentGroupsResponse_nextToken :: Lens' ListDeploymentGroupsResponse (Maybe Text)
-- | The response's http status code.
listDeploymentGroupsResponse_httpStatus :: Lens' ListDeploymentGroupsResponse Int
-- | The unique ID of a deployment.
listDeploymentTargets_deploymentId :: Lens' ListDeploymentTargets (Maybe Text)
-- | A token identifier returned from the previous
-- ListDeploymentTargets call. It can be used to return the next
-- set of deployment targets in the list.
listDeploymentTargets_nextToken :: Lens' ListDeploymentTargets (Maybe Text)
-- | A key used to filter the returned targets. The two valid values are:
--
--
-- - TargetStatus - A TargetStatus filter string can
-- be Failed, InProgress, Pending,
-- Ready, Skipped, Succeeded, or
-- Unknown.
-- - ServerInstanceLabel - A ServerInstanceLabel
-- filter string can be Blue or Green.
--
listDeploymentTargets_targetFilters :: Lens' ListDeploymentTargets (Maybe (HashMap TargetFilterName [Text]))
-- | If a large amount of information is returned, a token identifier is
-- also returned. It can be used in a subsequent
-- ListDeploymentTargets call to return the next set of
-- deployment targets in the list.
listDeploymentTargetsResponse_nextToken :: Lens' ListDeploymentTargetsResponse (Maybe Text)
-- | The unique IDs of deployment targets.
listDeploymentTargetsResponse_targetIds :: Lens' ListDeploymentTargetsResponse (Maybe [Text])
-- | The response's http status code.
listDeploymentTargetsResponse_httpStatus :: Lens' ListDeploymentTargetsResponse Int
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
--
-- If applicationName is specified, then
-- deploymentGroupName must be specified. If it is not
-- specified, then deploymentGroupName must not be specified.
listDeployments_applicationName :: Lens' ListDeployments (Maybe Text)
-- | A time range (start and end) for returning a subset of the list of
-- deployments.
listDeployments_createTimeRange :: Lens' ListDeployments (Maybe TimeRange)
-- | The name of a deployment group for the specified application.
--
-- If deploymentGroupName is specified, then
-- applicationName must be specified. If it is not specified,
-- then applicationName must not be specified.
listDeployments_deploymentGroupName :: Lens' ListDeployments (Maybe Text)
-- | The unique ID of an external resource for returning deployments linked
-- to the external resource.
listDeployments_externalId :: Lens' ListDeployments (Maybe Text)
-- | A subset of deployments to list by status:
--
--
-- - Created: Include created deployments in the resulting
-- list.
-- - Queued: Include queued deployments in the resulting
-- list.
-- - In Progress: Include in-progress deployments in the
-- resulting list.
-- - Succeeded: Include successful deployments in the
-- resulting list.
-- - Failed: Include failed deployments in the resulting
-- list.
-- - Stopped: Include stopped deployments in the resulting
-- list.
--
listDeployments_includeOnlyStatuses :: Lens' ListDeployments (Maybe [DeploymentStatus])
-- | An identifier returned from the previous list deployments call. It can
-- be used to return the next set of deployments in the list.
listDeployments_nextToken :: Lens' ListDeployments (Maybe Text)
-- | A list of deployment IDs.
listDeploymentsResponse_deployments :: Lens' ListDeploymentsResponse (Maybe [Text])
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployments call to
-- return the next set of deployments in the list.
listDeploymentsResponse_nextToken :: Lens' ListDeploymentsResponse (Maybe Text)
-- | The response's http status code.
listDeploymentsResponse_httpStatus :: Lens' ListDeploymentsResponse Int
-- | An identifier returned from the previous
-- ListGitHubAccountTokenNames call. It can be used to return
-- the next set of names in the list.
listGitHubAccountTokenNames_nextToken :: Lens' ListGitHubAccountTokenNames (Maybe Text)
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent
-- ListGitHubAccountTokenNames call to return the next set of
-- names in the list.
listGitHubAccountTokenNamesResponse_nextToken :: Lens' ListGitHubAccountTokenNamesResponse (Maybe Text)
-- | A list of names of connections to GitHub accounts.
listGitHubAccountTokenNamesResponse_tokenNameList :: Lens' ListGitHubAccountTokenNamesResponse (Maybe [Text])
-- | The response's http status code.
listGitHubAccountTokenNamesResponse_httpStatus :: Lens' ListGitHubAccountTokenNamesResponse Int
-- | An identifier returned from the previous list on-premises instances
-- call. It can be used to return the next set of on-premises instances
-- in the list.
listOnPremisesInstances_nextToken :: Lens' ListOnPremisesInstances (Maybe Text)
-- | The registration status of the on-premises instances:
--
--
-- - Deregistered: Include deregistered on-premises instances
-- in the resulting list.
-- - Registered: Include registered on-premises instances in
-- the resulting list.
--
listOnPremisesInstances_registrationStatus :: Lens' ListOnPremisesInstances (Maybe RegistrationStatus)
-- | The on-premises instance tags that are used to restrict the
-- on-premises instance names returned.
listOnPremisesInstances_tagFilters :: Lens' ListOnPremisesInstances (Maybe [TagFilter])
-- | The list of matching on-premises instance names.
listOnPremisesInstancesResponse_instanceNames :: Lens' ListOnPremisesInstancesResponse (Maybe [Text])
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list on-premises instances
-- call to return the next set of on-premises instances in the list.
listOnPremisesInstancesResponse_nextToken :: Lens' ListOnPremisesInstancesResponse (Maybe Text)
-- | The response's http status code.
listOnPremisesInstancesResponse_httpStatus :: Lens' ListOnPremisesInstancesResponse Int
-- | An identifier returned from the previous ListTagsForResource
-- call. It can be used to return the next set of applications in the
-- list.
listTagsForResource_nextToken :: Lens' ListTagsForResource (Maybe Text)
-- | The ARN of a CodeDeploy resource. ListTagsForResource returns
-- all the tags associated with the resource that is identified by the
-- ResourceArn.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list application revisions
-- call to return the next set of application revisions in the list.
listTagsForResourceResponse_nextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
-- | A list of tags returned by ListTagsForResource. The tags are
-- associated with the resource identified by the input
-- ResourceArn parameter.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
-- | The unique ID of a deployment. Pass this ID to a Lambda function that
-- validates a deployment lifecycle event.
putLifecycleEventHookExecutionStatus_deploymentId :: Lens' PutLifecycleEventHookExecutionStatus (Maybe Text)
-- | The execution ID of a deployment's lifecycle hook. A deployment
-- lifecycle hook is specified in the hooks section of the
-- AppSpec file.
putLifecycleEventHookExecutionStatus_lifecycleEventHookExecutionId :: Lens' PutLifecycleEventHookExecutionStatus (Maybe Text)
-- | The result of a Lambda function that validates a deployment lifecycle
-- event. The values listed in Valid Values are valid for
-- lifecycle statuses in general; however, only Succeeded and
-- Failed can be passed successfully in your API call.
putLifecycleEventHookExecutionStatus_status :: Lens' PutLifecycleEventHookExecutionStatus (Maybe LifecycleEventStatus)
-- | The execution ID of the lifecycle event hook. A hook is specified in
-- the hooks section of the deployment's AppSpec file.
putLifecycleEventHookExecutionStatusResponse_lifecycleEventHookExecutionId :: Lens' PutLifecycleEventHookExecutionStatusResponse (Maybe Text)
-- | The response's http status code.
putLifecycleEventHookExecutionStatusResponse_httpStatus :: Lens' PutLifecycleEventHookExecutionStatusResponse Int
-- | A comment about the revision.
registerApplicationRevision_description :: Lens' RegisterApplicationRevision (Maybe Text)
-- | The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
registerApplicationRevision_applicationName :: Lens' RegisterApplicationRevision Text
-- | Information about the application revision to register, including type
-- and location.
registerApplicationRevision_revision :: Lens' RegisterApplicationRevision RevisionLocation
-- | The ARN of the IAM session to associate with the on-premises instance.
registerOnPremisesInstance_iamSessionArn :: Lens' RegisterOnPremisesInstance (Maybe Text)
-- | The ARN of the IAM user to associate with the on-premises instance.
registerOnPremisesInstance_iamUserArn :: Lens' RegisterOnPremisesInstance (Maybe Text)
-- | The name of the on-premises instance to register.
registerOnPremisesInstance_instanceName :: Lens' RegisterOnPremisesInstance Text
-- | The tag key-value pairs to remove from the on-premises instances.
removeTagsFromOnPremisesInstances_tags :: Lens' RemoveTagsFromOnPremisesInstances [Tag]
-- | The names of the on-premises instances from which to remove tags.
removeTagsFromOnPremisesInstances_instanceNames :: Lens' RemoveTagsFromOnPremisesInstances [Text]
-- | Indicates, when a deployment is stopped, whether instances that have
-- been updated should be rolled back to the previous version of the
-- application revision.
stopDeployment_autoRollbackEnabled :: Lens' StopDeployment (Maybe Bool)
-- | The unique ID of a deployment.
stopDeployment_deploymentId :: Lens' StopDeployment Text
-- | The status of the stop deployment operation:
--
--
-- - Pending: The stop operation is pending.
-- - Succeeded: The stop operation was successful.
--
stopDeploymentResponse_status :: Lens' StopDeploymentResponse (Maybe StopStatus)
-- | An accompanying status message.
stopDeploymentResponse_statusMessage :: Lens' StopDeploymentResponse (Maybe Text)
-- | The response's http status code.
stopDeploymentResponse_httpStatus :: Lens' StopDeploymentResponse Int
-- | The ARN of a resource, such as a CodeDeploy application or deployment
-- group.
tagResource_resourceArn :: Lens' TagResource Text
-- | A list of tags that TagResource associates with a resource.
-- The resource is identified by the ResourceArn input
-- parameter.
tagResource_tags :: Lens' TagResource [Tag]
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
-- | The Amazon Resource Name (ARN) that specifies from which resource to
-- disassociate the tags with the keys in the TagKeys input
-- parameter.
untagResource_resourceArn :: Lens' UntagResource Text
-- | A list of keys of Tag objects. The Tag objects
-- identified by the keys are disassociated from the resource specified
-- by the ResourceArn input parameter.
untagResource_tagKeys :: Lens' UntagResource [Text]
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
-- | The current name of the application you want to change.
updateApplication_applicationName :: Lens' UpdateApplication (Maybe Text)
-- | The new name to give the application.
updateApplication_newApplicationName :: Lens' UpdateApplication (Maybe Text)
-- | Information to add or change about Amazon CloudWatch alarms when the
-- deployment group is updated.
updateDeploymentGroup_alarmConfiguration :: Lens' UpdateDeploymentGroup (Maybe AlarmConfiguration)
-- | Information for an automatic rollback configuration that is added or
-- changed when a deployment group is updated.
updateDeploymentGroup_autoRollbackConfiguration :: Lens' UpdateDeploymentGroup (Maybe AutoRollbackConfiguration)
-- | The replacement list of Auto Scaling groups to be included in the
-- deployment group, if you want to change them.
--
--
updateDeploymentGroup_autoScalingGroups :: Lens' UpdateDeploymentGroup (Maybe [Text])
-- | Information about blue/green deployment options for a deployment
-- group.
updateDeploymentGroup_blueGreenDeploymentConfiguration :: Lens' UpdateDeploymentGroup (Maybe BlueGreenDeploymentConfiguration)
-- | The replacement deployment configuration name to use, if you want to
-- change it.
updateDeploymentGroup_deploymentConfigName :: Lens' UpdateDeploymentGroup (Maybe Text)
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
updateDeploymentGroup_deploymentStyle :: Lens' UpdateDeploymentGroup (Maybe DeploymentStyle)
-- | The replacement set of Amazon EC2 tags on which to filter, if you want
-- to change them. To keep the existing tags, enter their names. To
-- remove tags, do not enter any tag names.
updateDeploymentGroup_ec2TagFilters :: Lens' UpdateDeploymentGroup (Maybe [EC2TagFilter])
-- | Information about groups of tags applied to on-premises instances. The
-- deployment group includes only Amazon EC2 instances identified by all
-- the tag groups.
updateDeploymentGroup_ec2TagSet :: Lens' UpdateDeploymentGroup (Maybe EC2TagSet)
-- | The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
updateDeploymentGroup_ecsServices :: Lens' UpdateDeploymentGroup (Maybe [ECSService])
-- | Information about the load balancer used in a deployment.
updateDeploymentGroup_loadBalancerInfo :: Lens' UpdateDeploymentGroup (Maybe LoadBalancerInfo)
-- | The new name of the deployment group, if you want to change it.
updateDeploymentGroup_newDeploymentGroupName :: Lens' UpdateDeploymentGroup (Maybe Text)
-- | The replacement set of on-premises instance tags on which to filter,
-- if you want to change them. To keep the existing tags, enter their
-- names. To remove tags, do not enter any tag names.
updateDeploymentGroup_onPremisesInstanceTagFilters :: Lens' UpdateDeploymentGroup (Maybe [TagFilter])
-- | Information about an on-premises instance tag set. The deployment
-- group includes only on-premises instances identified by all the tag
-- groups.
updateDeploymentGroup_onPremisesTagSet :: Lens' UpdateDeploymentGroup (Maybe OnPremisesTagSet)
-- | Indicates what happens when new Amazon EC2 instances are launched
-- mid-deployment and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
updateDeploymentGroup_outdatedInstancesStrategy :: Lens' UpdateDeploymentGroup (Maybe OutdatedInstancesStrategy)
-- | A replacement ARN for the service role, if you want to change it.
updateDeploymentGroup_serviceRoleArn :: Lens' UpdateDeploymentGroup (Maybe Text)
-- | Information about triggers to change when the deployment group is
-- updated. For examples, see Edit a Trigger in a CodeDeploy
-- Deployment Group in the CodeDeploy User Guide.
updateDeploymentGroup_triggerConfigurations :: Lens' UpdateDeploymentGroup (Maybe [TriggerConfig])
-- | The application name that corresponds to the deployment group to
-- update.
updateDeploymentGroup_applicationName :: Lens' UpdateDeploymentGroup Text
-- | The current name of the deployment group.
updateDeploymentGroup_currentDeploymentGroupName :: Lens' UpdateDeploymentGroup Text
-- | If the output contains no data, and the corresponding deployment group
-- contained at least one Auto Scaling group, CodeDeploy successfully
-- removed all corresponding Auto Scaling lifecycle event hooks from the
-- Amazon Web Services account. If the output contains data, CodeDeploy
-- could not remove some Auto Scaling lifecycle event hooks from the
-- Amazon Web Services account.
updateDeploymentGroupResponse_hooksNotCleanedUp :: Lens' UpdateDeploymentGroupResponse (Maybe [AutoScalingGroup])
-- | The response's http status code.
updateDeploymentGroupResponse_httpStatus :: Lens' UpdateDeploymentGroupResponse Int
-- | The name of the alarm. Maximum length is 255 characters. Each alarm
-- name can be used only once in a list of alarms.
alarm_name :: Lens' Alarm (Maybe Text)
-- | A list of alarms configured for the deployment or deployment group. A
-- maximum of 10 alarms can be added.
alarmConfiguration_alarms :: Lens' AlarmConfiguration (Maybe [Alarm])
-- | Indicates whether the alarm configuration is enabled.
alarmConfiguration_enabled :: Lens' AlarmConfiguration (Maybe Bool)
-- | Indicates whether a deployment should continue if information about
-- the current state of alarms cannot be retrieved from Amazon
-- CloudWatch. The default value is false.
--
--
-- - true: The deployment proceeds even if alarm status
-- information can't be retrieved from Amazon CloudWatch.
-- - false: The deployment stops if alarm status information
-- can't be retrieved from Amazon CloudWatch.
--
alarmConfiguration_ignorePollAlarmFailure :: Lens' AlarmConfiguration (Maybe Bool)
-- | The YAML-formatted or JSON-formatted revision string.
--
-- For an Lambda deployment, the content includes a Lambda function name,
-- the alias for its original version, and the alias for its replacement
-- version. The deployment shifts traffic from the original version of
-- the Lambda function to the replacement version.
--
-- For an Amazon ECS deployment, the content includes the task name,
-- information about the load balancer that serves traffic to the
-- container, and more.
--
-- For both types of deployments, the content can specify Lambda
-- functions that run at specified hooks, such as BeforeInstall,
-- during a deployment.
appSpecContent_content :: Lens' AppSpecContent (Maybe Text)
-- | The SHA256 hash value of the revision content.
appSpecContent_sha256 :: Lens' AppSpecContent (Maybe Text)
-- | The application ID.
applicationInfo_applicationId :: Lens' ApplicationInfo (Maybe Text)
-- | The application name.
applicationInfo_applicationName :: Lens' ApplicationInfo (Maybe Text)
-- | The destination platform type for deployment of the application
-- (Lambda or Server).
applicationInfo_computePlatform :: Lens' ApplicationInfo (Maybe ComputePlatform)
-- | The time at which the application was created.
applicationInfo_createTime :: Lens' ApplicationInfo (Maybe UTCTime)
-- | The name for a connection to a GitHub account.
applicationInfo_gitHubAccountName :: Lens' ApplicationInfo (Maybe Text)
-- | True if the user has authenticated with GitHub for the specified
-- application. Otherwise, false.
applicationInfo_linkedToGitHub :: Lens' ApplicationInfo (Maybe Bool)
-- | Indicates whether a defined automatic rollback configuration is
-- currently enabled.
autoRollbackConfiguration_enabled :: Lens' AutoRollbackConfiguration (Maybe Bool)
-- | The event type or types that trigger a rollback.
autoRollbackConfiguration_events :: Lens' AutoRollbackConfiguration (Maybe [AutoRollbackEvent])
-- | An Auto Scaling lifecycle event hook name.
autoScalingGroup_hook :: Lens' AutoScalingGroup (Maybe Text)
-- | The Auto Scaling group name.
autoScalingGroup_name :: Lens' AutoScalingGroup (Maybe Text)
-- | Information about the action to take when newly provisioned instances
-- are ready to receive traffic in a blue/green deployment.
blueGreenDeploymentConfiguration_deploymentReadyOption :: Lens' BlueGreenDeploymentConfiguration (Maybe DeploymentReadyOption)
-- | Information about how instances are provisioned for a replacement
-- environment in a blue/green deployment.
blueGreenDeploymentConfiguration_greenFleetProvisioningOption :: Lens' BlueGreenDeploymentConfiguration (Maybe GreenFleetProvisioningOption)
-- | Information about whether to terminate instances in the original fleet
-- during a blue/green deployment.
blueGreenDeploymentConfiguration_terminateBlueInstancesOnDeploymentSuccess :: Lens' BlueGreenDeploymentConfiguration (Maybe BlueInstanceTerminationOption)
-- | The action to take on instances in the original environment after a
-- successful blue/green deployment.
--
--
-- - TERMINATE: Instances are terminated after a specified
-- wait time.
-- - KEEP_ALIVE: Instances are left running after they are
-- deregistered from the load balancer and removed from the deployment
-- group.
--
blueInstanceTerminationOption_action :: Lens' BlueInstanceTerminationOption (Maybe InstanceAction)
-- | For an Amazon EC2 deployment, the number of minutes to wait after a
-- successful blue/green deployment before terminating instances from the
-- original environment.
--
-- For an Amazon ECS deployment, the number of minutes before deleting
-- the original (blue) task set. During an Amazon ECS deployment,
-- CodeDeploy shifts traffic from the original (blue) task set to a
-- replacement (green) task set.
--
-- The maximum setting is 2880 minutes (2 days).
blueInstanceTerminationOption_terminationWaitTimeInMinutes :: Lens' BlueInstanceTerminationOption (Maybe Int)
-- | The unique ID of an CloudFormation blue/green deployment.
cloudFormationTarget_deploymentId :: Lens' CloudFormationTarget (Maybe Text)
-- | The date and time when the target application was updated by an
-- CloudFormation blue/green deployment.
cloudFormationTarget_lastUpdatedAt :: Lens' CloudFormationTarget (Maybe UTCTime)
-- | The lifecycle events of the CloudFormation blue/green deployment to
-- this target application.
cloudFormationTarget_lifecycleEvents :: Lens' CloudFormationTarget (Maybe [LifecycleEvent])
-- | The resource type for the CloudFormation blue/green deployment.
cloudFormationTarget_resourceType :: Lens' CloudFormationTarget (Maybe Text)
-- | The status of an CloudFormation blue/green deployment's target
-- application.
cloudFormationTarget_status :: Lens' CloudFormationTarget (Maybe TargetStatus)
-- | The unique ID of a deployment target that has a type of
-- CloudFormationTarget.
cloudFormationTarget_targetId :: Lens' CloudFormationTarget (Maybe Text)
-- | The percentage of production traffic that the target version of an
-- CloudFormation blue/green deployment receives.
cloudFormationTarget_targetVersionWeight :: Lens' CloudFormationTarget (Maybe Double)
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
deploymentConfigInfo_computePlatform :: Lens' DeploymentConfigInfo (Maybe ComputePlatform)
-- | The time at which the deployment configuration was created.
deploymentConfigInfo_createTime :: Lens' DeploymentConfigInfo (Maybe UTCTime)
-- | The deployment configuration ID.
deploymentConfigInfo_deploymentConfigId :: Lens' DeploymentConfigInfo (Maybe Text)
-- | The deployment configuration name.
deploymentConfigInfo_deploymentConfigName :: Lens' DeploymentConfigInfo (Maybe Text)
-- | Information about the number or percentage of minimum healthy
-- instance.
deploymentConfigInfo_minimumHealthyHosts :: Lens' DeploymentConfigInfo (Maybe MinimumHealthyHosts)
-- | The configuration that specifies how the deployment traffic is routed.
-- Used for deployments with a Lambda or Amazon ECS compute platform
-- only.
deploymentConfigInfo_trafficRoutingConfig :: Lens' DeploymentConfigInfo (Maybe TrafficRoutingConfig)
-- | A list of alarms associated with the deployment group.
deploymentGroupInfo_alarmConfiguration :: Lens' DeploymentGroupInfo (Maybe AlarmConfiguration)
-- | The application name.
deploymentGroupInfo_applicationName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about the automatic rollback configuration associated with
-- the deployment group.
deploymentGroupInfo_autoRollbackConfiguration :: Lens' DeploymentGroupInfo (Maybe AutoRollbackConfiguration)
-- | A list of associated Auto Scaling groups.
deploymentGroupInfo_autoScalingGroups :: Lens' DeploymentGroupInfo (Maybe [AutoScalingGroup])
-- | Information about blue/green deployment options for a deployment
-- group.
deploymentGroupInfo_blueGreenDeploymentConfiguration :: Lens' DeploymentGroupInfo (Maybe BlueGreenDeploymentConfiguration)
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
deploymentGroupInfo_computePlatform :: Lens' DeploymentGroupInfo (Maybe ComputePlatform)
-- | The deployment configuration name.
deploymentGroupInfo_deploymentConfigName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | The deployment group ID.
deploymentGroupInfo_deploymentGroupId :: Lens' DeploymentGroupInfo (Maybe Text)
-- | The deployment group name.
deploymentGroupInfo_deploymentGroupName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
deploymentGroupInfo_deploymentStyle :: Lens' DeploymentGroupInfo (Maybe DeploymentStyle)
-- | The Amazon EC2 tags on which to filter. The deployment group includes
-- EC2 instances with any of the specified tags.
deploymentGroupInfo_ec2TagFilters :: Lens' DeploymentGroupInfo (Maybe [EC2TagFilter])
-- | Information about groups of tags applied to an Amazon EC2 instance.
-- The deployment group includes only Amazon EC2 instances identified by
-- all of the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
deploymentGroupInfo_ec2TagSet :: Lens' DeploymentGroupInfo (Maybe EC2TagSet)
-- | The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
deploymentGroupInfo_ecsServices :: Lens' DeploymentGroupInfo (Maybe [ECSService])
-- | Information about the most recent attempted deployment to the
-- deployment group.
deploymentGroupInfo_lastAttemptedDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo)
-- | Information about the most recent successful deployment to the
-- deployment group.
deploymentGroupInfo_lastSuccessfulDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo)
-- | Information about the load balancer to use in a deployment.
deploymentGroupInfo_loadBalancerInfo :: Lens' DeploymentGroupInfo (Maybe LoadBalancerInfo)
-- | The on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags.
deploymentGroupInfo_onPremisesInstanceTagFilters :: Lens' DeploymentGroupInfo (Maybe [TagFilter])
-- | Information about groups of tags applied to an on-premises instance.
-- The deployment group includes only on-premises instances identified by
-- all the tag groups. Cannot be used in the same call as
-- onPremisesInstanceTagFilters.
deploymentGroupInfo_onPremisesTagSet :: Lens' DeploymentGroupInfo (Maybe OnPremisesTagSet)
-- | Indicates what happens when new Amazon EC2 instances are launched
-- mid-deployment and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
deploymentGroupInfo_outdatedInstancesStrategy :: Lens' DeploymentGroupInfo (Maybe OutdatedInstancesStrategy)
-- | A service role Amazon Resource Name (ARN) that grants CodeDeploy
-- permission to make calls to Amazon Web Services services on your
-- behalf. For more information, see Create a Service Role for
-- CodeDeploy in the CodeDeploy User Guide.
deploymentGroupInfo_serviceRoleArn :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about the deployment group's target revision, including
-- type and location.
deploymentGroupInfo_targetRevision :: Lens' DeploymentGroupInfo (Maybe RevisionLocation)
-- | Information about triggers associated with the deployment group.
deploymentGroupInfo_triggerConfigurations :: Lens' DeploymentGroupInfo (Maybe [TriggerConfig])
-- | Provides information about the results of a deployment, such as
-- whether instances in the original environment in a blue/green
-- deployment were not terminated.
deploymentInfo_additionalDeploymentStatusInfo :: Lens' DeploymentInfo (Maybe Text)
-- | The application name.
deploymentInfo_applicationName :: Lens' DeploymentInfo (Maybe Text)
-- | Information about the automatic rollback configuration associated with
-- the deployment.
deploymentInfo_autoRollbackConfiguration :: Lens' DeploymentInfo (Maybe AutoRollbackConfiguration)
-- | Information about blue/green deployment options for this deployment.
deploymentInfo_blueGreenDeploymentConfiguration :: Lens' DeploymentInfo (Maybe BlueGreenDeploymentConfiguration)
-- | A timestamp that indicates when the deployment was complete.
deploymentInfo_completeTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | The destination platform type for the deployment (Lambda,
-- Server, or ECS).
deploymentInfo_computePlatform :: Lens' DeploymentInfo (Maybe ComputePlatform)
-- | A timestamp that indicates when the deployment was created.
deploymentInfo_createTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | The means by which the deployment was created:
--
--
-- - user: A user created the deployment.
-- - autoscaling: Amazon EC2 Auto Scaling created the
-- deployment.
-- - codeDeployRollback: A rollback process created the
-- deployment.
-- - CodeDeployAutoUpdate: An auto-update process created the
-- deployment when it detected outdated Amazon EC2 instances.
--
deploymentInfo_creator :: Lens' DeploymentInfo (Maybe DeploymentCreator)
-- | The deployment configuration name.
deploymentInfo_deploymentConfigName :: Lens' DeploymentInfo (Maybe Text)
-- | The deployment group name.
deploymentInfo_deploymentGroupName :: Lens' DeploymentInfo (Maybe Text)
-- | The unique ID of a deployment.
deploymentInfo_deploymentId :: Lens' DeploymentInfo (Maybe Text)
-- | A summary of the deployment status of the instances in the deployment.
deploymentInfo_deploymentOverview :: Lens' DeploymentInfo (Maybe DeploymentOverview)
-- | Messages that contain information about the status of a deployment.
deploymentInfo_deploymentStatusMessages :: Lens' DeploymentInfo (Maybe [Text])
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
deploymentInfo_deploymentStyle :: Lens' DeploymentInfo (Maybe DeploymentStyle)
-- | A comment about the deployment.
deploymentInfo_description :: Lens' DeploymentInfo (Maybe Text)
-- | Information about any error associated with this deployment.
deploymentInfo_errorInformation :: Lens' DeploymentInfo (Maybe ErrorInformation)
-- | The unique ID for an external resource (for example, a CloudFormation
-- stack ID) that is linked to this deployment.
deploymentInfo_externalId :: Lens' DeploymentInfo (Maybe Text)
-- | Information about how CodeDeploy handles files that already exist in a
-- deployment target location but weren't part of the previous successful
-- deployment.
--
--
-- - DISALLOW: The deployment fails. This is also the default
-- behavior if no option is specified.
-- - OVERWRITE: The version of the file from the application
-- revision currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance
-- is kept and used as part of the new deployment.
--
deploymentInfo_fileExistsBehavior :: Lens' DeploymentInfo (Maybe FileExistsBehavior)
-- | If true, then if an ApplicationStop,
-- BeforeBlockTraffic, or AfterBlockTraffic deployment
-- lifecycle event to an instance fails, then the deployment continues to
-- the next deployment lifecycle event. For example, if
-- ApplicationStop fails, the deployment continues with
-- DownloadBundle. If BeforeBlockTraffic fails, the deployment
-- continues with BlockTraffic. If AfterBlockTraffic
-- fails, the deployment continues with ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
deploymentInfo_ignoreApplicationStopFailures :: Lens' DeploymentInfo (Maybe Bool)
-- | Indicates whether the wait period set for the termination of instances
-- in the original environment has started. Status is 'false' if the
-- KEEP_ALIVE option is specified. Otherwise, 'true' as soon as the
-- termination wait period starts.
deploymentInfo_instanceTerminationWaitTimeStarted :: Lens' DeploymentInfo (Maybe Bool)
-- | Information about the load balancer used in the deployment.
deploymentInfo_loadBalancerInfo :: Lens' DeploymentInfo (Maybe LoadBalancerInfo)
-- | Undocumented member.
deploymentInfo_overrideAlarmConfiguration :: Lens' DeploymentInfo (Maybe AlarmConfiguration)
-- | Information about the application revision that was deployed to the
-- deployment group before the most recent successful deployment.
deploymentInfo_previousRevision :: Lens' DeploymentInfo (Maybe RevisionLocation)
-- | Undocumented member.
deploymentInfo_relatedDeployments :: Lens' DeploymentInfo (Maybe RelatedDeployments)
-- | Information about the location of stored application artifacts and the
-- service from which to retrieve them.
deploymentInfo_revision :: Lens' DeploymentInfo (Maybe RevisionLocation)
-- | Information about a deployment rollback.
deploymentInfo_rollbackInfo :: Lens' DeploymentInfo (Maybe RollbackInfo)
-- | A timestamp that indicates when the deployment was deployed to the
-- deployment group.
--
-- In some cases, the reported value of the start time might be later
-- than the complete time. This is due to differences in the clock
-- settings of backend servers that participate in the deployment
-- process.
deploymentInfo_startTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | The current state of the deployment as a whole.
deploymentInfo_status :: Lens' DeploymentInfo (Maybe DeploymentStatus)
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
deploymentInfo_targetInstances :: Lens' DeploymentInfo (Maybe TargetInstances)
-- | Indicates whether only instances that are not running the latest
-- application revision are to be deployed to.
deploymentInfo_updateOutdatedInstancesOnly :: Lens' DeploymentInfo (Maybe Bool)
-- | The number of instances in the deployment in a failed state.
deploymentOverview_failed :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in which the deployment is in progress.
deploymentOverview_inProgress :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment in a pending state.
deploymentOverview_pending :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in a replacement environment ready to receive
-- traffic in a blue/green deployment.
deploymentOverview_ready :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment in a skipped state.
deploymentOverview_skipped :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment to which revisions have been
-- successfully deployed.
deploymentOverview_succeeded :: Lens' DeploymentOverview (Maybe Integer)
-- | Information about when to reroute traffic from an original environment
-- to a replacement environment in a blue/green deployment.
--
--
-- - CONTINUE_DEPLOYMENT: Register new instances with the load balancer
-- immediately after the new application revision is installed on the
-- instances in the replacement environment.
-- - STOP_DEPLOYMENT: Do not register new instances with a load
-- balancer unless traffic rerouting is started using ContinueDeployment.
-- If traffic rerouting is not started before the end of the specified
-- wait period, the deployment status is changed to Stopped.
--
deploymentReadyOption_actionOnTimeout :: Lens' DeploymentReadyOption (Maybe DeploymentReadyAction)
-- | The number of minutes to wait before the status of a blue/green
-- deployment is changed to Stopped if rerouting is not started manually.
-- Applies only to the STOP_DEPLOYMENT option for
-- actionOnTimeout.
deploymentReadyOption_waitTimeInMinutes :: Lens' DeploymentReadyOption (Maybe Int)
-- | Indicates whether to route deployment traffic behind a load balancer.
deploymentStyle_deploymentOption :: Lens' DeploymentStyle (Maybe DeploymentOption)
-- | Indicates whether to run an in-place deployment or a blue/green
-- deployment.
deploymentStyle_deploymentType :: Lens' DeploymentStyle (Maybe DeploymentType)
-- | Undocumented member.
deploymentTarget_cloudFormationTarget :: Lens' DeploymentTarget (Maybe CloudFormationTarget)
-- | The deployment type that is specific to the deployment's compute
-- platform or deployments initiated by a CloudFormation stack update.
deploymentTarget_deploymentTargetType :: Lens' DeploymentTarget (Maybe DeploymentTargetType)
-- | Information about the target for a deployment that uses the Amazon ECS
-- compute platform.
deploymentTarget_ecsTarget :: Lens' DeploymentTarget (Maybe ECSTarget)
-- | Information about the target for a deployment that uses the
-- EC2/On-premises compute platform.
deploymentTarget_instanceTarget :: Lens' DeploymentTarget (Maybe InstanceTarget)
-- | Information about the target for a deployment that uses the Lambda
-- compute platform.
deploymentTarget_lambdaTarget :: Lens' DeploymentTarget (Maybe LambdaTarget)
-- | The associated error code:
--
--
-- - Success: The specified script ran.
-- - ScriptMissing: The specified script was not found in the specified
-- location.
-- - ScriptNotExecutable: The specified script is not a recognized
-- executable file type.
-- - ScriptTimedOut: The specified script did not finish running in the
-- specified time period.
-- - ScriptFailed: The specified script failed to run as expected.
-- - UnknownError: The specified script did not run for an unknown
-- reason.
--
diagnostics_errorCode :: Lens' Diagnostics (Maybe LifecycleErrorCode)
-- | The last portion of the diagnostic log.
--
-- If available, CodeDeploy returns up to the last 4 KB of the diagnostic
-- log.
diagnostics_logTail :: Lens' Diagnostics (Maybe Text)
-- | The message associated with the error.
diagnostics_message :: Lens' Diagnostics (Maybe Text)
-- | The name of the script.
diagnostics_scriptName :: Lens' Diagnostics (Maybe Text)
-- | The tag filter key.
eC2TagFilter_key :: Lens' EC2TagFilter (Maybe Text)
-- | The tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
eC2TagFilter_type :: Lens' EC2TagFilter (Maybe EC2TagFilterType)
-- | The tag filter value.
eC2TagFilter_value :: Lens' EC2TagFilter (Maybe Text)
-- | A list that contains other lists of Amazon EC2 instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
eC2TagSet_ec2TagSetList :: Lens' EC2TagSet (Maybe [[EC2TagFilter]])
-- | The name of the cluster that the Amazon ECS service is associated
-- with.
eCSService_clusterName :: Lens' ECSService (Maybe Text)
-- | The name of the target Amazon ECS service.
eCSService_serviceName :: Lens' ECSService (Maybe Text)
-- | The unique ID of a deployment.
eCSTarget_deploymentId :: Lens' ECSTarget (Maybe Text)
-- | The date and time when the target Amazon ECS application was updated
-- by a deployment.
eCSTarget_lastUpdatedAt :: Lens' ECSTarget (Maybe UTCTime)
-- | The lifecycle events of the deployment to this target Amazon ECS
-- application.
eCSTarget_lifecycleEvents :: Lens' ECSTarget (Maybe [LifecycleEvent])
-- | The status an Amazon ECS deployment's target ECS application.
eCSTarget_status :: Lens' ECSTarget (Maybe TargetStatus)
-- | The Amazon Resource Name (ARN) of the target.
eCSTarget_targetArn :: Lens' ECSTarget (Maybe Text)
-- | The unique ID of a deployment target that has a type of
-- ecsTarget.
eCSTarget_targetId :: Lens' ECSTarget (Maybe Text)
-- | The ECSTaskSet objects associated with the ECS target.
eCSTarget_taskSetsInfo :: Lens' ECSTarget (Maybe [ECSTaskSet])
-- | The number of tasks in a task set. During a deployment that uses the
-- Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a
-- new task set and uses this value to determine how many tasks to
-- create. After the updated task set is created, CodeDeploy shifts
-- traffic to the new task set.
eCSTaskSet_desiredCount :: Lens' ECSTaskSet (Maybe Integer)
-- | A unique ID of an ECSTaskSet.
eCSTaskSet_identifer :: Lens' ECSTaskSet (Maybe Text)
-- | The number of tasks in the task set that are in the PENDING
-- status during an Amazon ECS deployment. A task in the PENDING
-- state is preparing to enter the RUNNING state. A task set
-- enters the PENDING status when it launches for the first
-- time, or when it is restarted after being in the STOPPED
-- state.
eCSTaskSet_pendingCount :: Lens' ECSTaskSet (Maybe Integer)
-- | The number of tasks in the task set that are in the RUNNING
-- status during an Amazon ECS deployment. A task in the RUNNING
-- state is running and ready for use.
eCSTaskSet_runningCount :: Lens' ECSTaskSet (Maybe Integer)
-- | The status of the task set. There are three valid task set statuses:
--
--
-- - PRIMARY: Indicates the task set is serving production
-- traffic.
-- - ACTIVE: Indicates the task set is not serving production
-- traffic.
-- - DRAINING: Indicates the tasks in the task set are being
-- stopped and their corresponding targets are being deregistered from
-- their target group.
--
eCSTaskSet_status :: Lens' ECSTaskSet (Maybe Text)
-- | The target group associated with the task set. The target group is
-- used by CodeDeploy to manage traffic to a task set.
eCSTaskSet_targetGroup :: Lens' ECSTaskSet (Maybe TargetGroupInfo)
-- | A label that identifies whether the ECS task set is an original target
-- (BLUE) or a replacement target (GREEN).
eCSTaskSet_taskSetLabel :: Lens' ECSTaskSet (Maybe TargetLabel)
-- | The percentage of traffic served by this task set.
eCSTaskSet_trafficWeight :: Lens' ECSTaskSet (Maybe Double)
-- | For blue/green deployments, the name of the load balancer that is used
-- to route traffic from original instances to replacement instances in a
-- blue/green deployment. For in-place deployments, the name of the load
-- balancer that instances are deregistered from so they are not serving
-- traffic during a deployment, and then re-registered with after the
-- deployment is complete.
eLBInfo_name :: Lens' ELBInfo (Maybe Text)
-- | For more information, see Error Codes for CodeDeploy in the
-- CodeDeploy User Guide.
--
-- The error code:
--
--
-- - APPLICATION_MISSING: The application was missing. This error code
-- is most likely raised if the application is deleted after the
-- deployment is created, but before it is started.
-- - DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This
-- error code is most likely raised if the deployment group is deleted
-- after the deployment is created, but before it is started.
-- - HEALTH_CONSTRAINTS: The deployment failed on too many instances to
-- be successfully deployed within the instance health constraints
-- specified.
-- - HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully
-- deployed within the instance health constraints specified.
-- - IAM_ROLE_MISSING: The service role cannot be accessed.
-- - IAM_ROLE_PERMISSIONS: The service role does not have the correct
-- permissions.
-- - INTERNAL_ERROR: There was an internal error.
-- - NO_EC2_SUBSCRIPTION: The calling account is not subscribed to
-- Amazon EC2.
-- - NO_INSTANCES: No instances were specified, or no instances can be
-- found.
-- - OVER_MAX_INSTANCES: The maximum number of instances was
-- exceeded.
-- - THROTTLED: The operation was throttled because the calling account
-- exceeded the throttling limits of one or more Amazon Web Services
-- services.
-- - TIMEOUT: The deployment has timed out.
-- - REVISION_MISSING: The revision ID was missing. This error code is
-- most likely raised if the revision is deleted after the deployment is
-- created, but before it is started.
--
errorInformation_code :: Lens' ErrorInformation (Maybe DeployErrorCode)
-- | An accompanying error message.
errorInformation_message :: Lens' ErrorInformation (Maybe Text)
-- | The deployment groups for which this is the current target revision.
genericRevisionInfo_deploymentGroups :: Lens' GenericRevisionInfo (Maybe [Text])
-- | A comment about the revision.
genericRevisionInfo_description :: Lens' GenericRevisionInfo (Maybe Text)
-- | When the revision was first used by CodeDeploy.
genericRevisionInfo_firstUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | When the revision was last used by CodeDeploy.
genericRevisionInfo_lastUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | When the revision was registered with CodeDeploy.
genericRevisionInfo_registerTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | The SHA1 commit ID of the GitHub commit that represents the bundled
-- artifacts for the application revision.
gitHubLocation_commitId :: Lens' GitHubLocation (Maybe Text)
-- | The GitHub account and repository pair that stores a reference to the
-- commit that represents the bundled artifacts for the application
-- revision.
--
-- Specified as account/repository.
gitHubLocation_repository :: Lens' GitHubLocation (Maybe Text)
-- | The method used to add instances to a replacement environment.
--
--
-- - DISCOVER_EXISTING: Use instances that already exist or
-- will be created manually.
-- - COPY_AUTO_SCALING_GROUP: Use settings from a specified
-- Auto Scaling group to define and create instances in a new Auto
-- Scaling group.
--
greenFleetProvisioningOption_action :: Lens' GreenFleetProvisioningOption (Maybe GreenFleetProvisioningAction)
-- | If the on-premises instance was deregistered, the time at which the
-- on-premises instance was deregistered.
instanceInfo_deregisterTime :: Lens' InstanceInfo (Maybe UTCTime)
-- | The ARN of the IAM session associated with the on-premises instance.
instanceInfo_iamSessionArn :: Lens' InstanceInfo (Maybe Text)
-- | The IAM user ARN associated with the on-premises instance.
instanceInfo_iamUserArn :: Lens' InstanceInfo (Maybe Text)
-- | The ARN of the on-premises instance.
instanceInfo_instanceArn :: Lens' InstanceInfo (Maybe Text)
-- | The name of the on-premises instance.
instanceInfo_instanceName :: Lens' InstanceInfo (Maybe Text)
-- | The time at which the on-premises instance was registered.
instanceInfo_registerTime :: Lens' InstanceInfo (Maybe UTCTime)
-- | The tags currently associated with the on-premises instance.
instanceInfo_tags :: Lens' InstanceInfo (Maybe [Tag])
-- | The unique ID of a deployment.
instanceTarget_deploymentId :: Lens' InstanceTarget (Maybe Text)
-- | A label that identifies whether the instance is an original target
-- (BLUE) or a replacement target (GREEN).
instanceTarget_instanceLabel :: Lens' InstanceTarget (Maybe TargetLabel)
-- | The date and time when the target instance was updated by a
-- deployment.
instanceTarget_lastUpdatedAt :: Lens' InstanceTarget (Maybe UTCTime)
-- | The lifecycle events of the deployment to this target instance.
instanceTarget_lifecycleEvents :: Lens' InstanceTarget (Maybe [LifecycleEvent])
-- | The status an EC2/On-premises deployment's target instance.
instanceTarget_status :: Lens' InstanceTarget (Maybe TargetStatus)
-- | The Amazon Resource Name (ARN) of the target.
instanceTarget_targetArn :: Lens' InstanceTarget (Maybe Text)
-- | The unique ID of a deployment target that has a type of
-- instanceTarget.
instanceTarget_targetId :: Lens' InstanceTarget (Maybe Text)
-- | The version of a Lambda function that production traffic points to.
lambdaFunctionInfo_currentVersion :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The alias of a Lambda function. For more information, see Lambda
-- Function Aliases in the Lambda Developer Guide.
lambdaFunctionInfo_functionAlias :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The name of a Lambda function.
lambdaFunctionInfo_functionName :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The version of a Lambda function that production traffic points to
-- after the Lambda function is deployed.
lambdaFunctionInfo_targetVersion :: Lens' LambdaFunctionInfo (Maybe Text)
-- | The percentage of production traffic that the target version of a
-- Lambda function receives.
lambdaFunctionInfo_targetVersionWeight :: Lens' LambdaFunctionInfo (Maybe Double)
-- | The unique ID of a deployment.
lambdaTarget_deploymentId :: Lens' LambdaTarget (Maybe Text)
-- | A LambdaFunctionInfo object that describes a target Lambda
-- function.
lambdaTarget_lambdaFunctionInfo :: Lens' LambdaTarget (Maybe LambdaFunctionInfo)
-- | The date and time when the target Lambda function was updated by a
-- deployment.
lambdaTarget_lastUpdatedAt :: Lens' LambdaTarget (Maybe UTCTime)
-- | The lifecycle events of the deployment to this target Lambda function.
lambdaTarget_lifecycleEvents :: Lens' LambdaTarget (Maybe [LifecycleEvent])
-- | The status an Lambda deployment's target Lambda function.
lambdaTarget_status :: Lens' LambdaTarget (Maybe TargetStatus)
-- | The Amazon Resource Name (ARN) of the target.
lambdaTarget_targetArn :: Lens' LambdaTarget (Maybe Text)
-- | The unique ID of a deployment target that has a type of
-- lambdaTarget.
lambdaTarget_targetId :: Lens' LambdaTarget (Maybe Text)
-- | A timestamp that indicates when the most recent deployment to the
-- deployment group started.
lastDeploymentInfo_createTime :: Lens' LastDeploymentInfo (Maybe UTCTime)
-- | The unique ID of a deployment.
lastDeploymentInfo_deploymentId :: Lens' LastDeploymentInfo (Maybe Text)
-- | A timestamp that indicates when the most recent deployment to the
-- deployment group was complete.
lastDeploymentInfo_endTime :: Lens' LastDeploymentInfo (Maybe UTCTime)
-- | The status of the most recent deployment.
lastDeploymentInfo_status :: Lens' LastDeploymentInfo (Maybe DeploymentStatus)
-- | Diagnostic information about the deployment lifecycle event.
lifecycleEvent_diagnostics :: Lens' LifecycleEvent (Maybe Diagnostics)
-- | A timestamp that indicates when the deployment lifecycle event ended.
lifecycleEvent_endTime :: Lens' LifecycleEvent (Maybe UTCTime)
-- | The deployment lifecycle event name, such as ApplicationStop,
-- BeforeInstall, AfterInstall,
-- ApplicationStart, or ValidateService.
lifecycleEvent_lifecycleEventName :: Lens' LifecycleEvent (Maybe Text)
-- | A timestamp that indicates when the deployment lifecycle event
-- started.
lifecycleEvent_startTime :: Lens' LifecycleEvent (Maybe UTCTime)
-- | The deployment lifecycle event status:
--
--
-- - Pending: The deployment lifecycle event is pending.
-- - InProgress: The deployment lifecycle event is in progress.
-- - Succeeded: The deployment lifecycle event ran successfully.
-- - Failed: The deployment lifecycle event has failed.
-- - Skipped: The deployment lifecycle event has been skipped.
-- - Unknown: The deployment lifecycle event is unknown.
--
lifecycleEvent_status :: Lens' LifecycleEvent (Maybe LifecycleEventStatus)
-- | An array that contains information about the load balancer to use for
-- load balancing in a deployment. In Elastic Load Balancing, load
-- balancers are used with Classic Load Balancers.
--
-- Adding more than one load balancer to the array is not supported.
loadBalancerInfo_elbInfoList :: Lens' LoadBalancerInfo (Maybe [ELBInfo])
-- | An array that contains information about the target group to use for
-- load balancing in a deployment. In Elastic Load Balancing, target
-- groups are used with Application Load Balancers.
--
-- Adding more than one target group to the array is not supported.
loadBalancerInfo_targetGroupInfoList :: Lens' LoadBalancerInfo (Maybe [TargetGroupInfo])
-- | The target group pair information. This is an array of
-- TargeGroupPairInfo objects with a maximum size of one.
loadBalancerInfo_targetGroupPairInfoList :: Lens' LoadBalancerInfo (Maybe [TargetGroupPairInfo])
-- | The minimum healthy instance type:
--
--
-- - HOST_COUNT: The minimum number of healthy instances as an
-- absolute value.
-- - FLEET_PERCENT: The minimum number of healthy instances as
-- a percentage of the total number of instances in the deployment.
--
--
-- In an example of nine instances, if a HOST_COUNT of six is specified,
-- deploy to up to three instances at a time. The deployment is
-- successful if six or more instances are deployed to successfully.
-- Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is
-- specified, deploy to up to five instances at a time. The deployment is
-- successful if four or more instances are deployed to successfully.
-- Otherwise, the deployment fails.
--
-- In a call to the GetDeploymentConfig,
-- CodeDeployDefault.OneAtATime returns a minimum healthy instance type
-- of MOST_CONCURRENCY and a value of 1. This means a deployment to only
-- one instance at a time. (You cannot set the type to MOST_CONCURRENCY,
-- only to HOST_COUNT or FLEET_PERCENT.) In addition, with
-- CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all
-- instances but one are kept in a healthy state during the deployment.
-- Although this allows one instance at a time to be taken offline for a
-- new deployment, it also means that if the deployment to the last
-- instance fails, the overall deployment is still successful.
--
-- For more information, see CodeDeploy Instance Health in the
-- CodeDeploy User Guide.
minimumHealthyHosts_type :: Lens' MinimumHealthyHosts (Maybe MinimumHealthyHostsType)
-- | The minimum healthy instance value.
minimumHealthyHosts_value :: Lens' MinimumHealthyHosts (Maybe Int)
-- | A list that contains other lists of on-premises instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
onPremisesTagSet_onPremisesTagSetList :: Lens' OnPremisesTagSet (Maybe [[TagFilter]])
-- | The YAML-formatted or JSON-formatted revision string. It includes
-- information about which Lambda function to update and optional Lambda
-- functions that validate deployment lifecycle events.
rawString_content :: Lens' RawString (Maybe Text)
-- | The SHA256 hash value of the revision content.
rawString_sha256 :: Lens' RawString (Maybe Text)
-- | The deployment IDs of 'auto-update outdated instances' deployments
-- triggered by this deployment.
relatedDeployments_autoUpdateOutdatedInstancesDeploymentIds :: Lens' RelatedDeployments (Maybe [Text])
-- | The deployment ID of the root deployment that triggered this
-- deployment.
relatedDeployments_autoUpdateOutdatedInstancesRootDeploymentId :: Lens' RelatedDeployments (Maybe Text)
-- | Information about an application revision, including usage details and
-- associated deployment groups.
revisionInfo_genericRevisionInfo :: Lens' RevisionInfo (Maybe GenericRevisionInfo)
-- | Information about the location and type of an application revision.
revisionInfo_revisionLocation :: Lens' RevisionInfo (Maybe RevisionLocation)
-- | The content of an AppSpec file for an Lambda or Amazon ECS deployment.
-- The content is formatted as JSON or YAML and stored as a RawString.
revisionLocation_appSpecContent :: Lens' RevisionLocation (Maybe AppSpecContent)
-- | Information about the location of application artifacts stored in
-- GitHub.
revisionLocation_gitHubLocation :: Lens' RevisionLocation (Maybe GitHubLocation)
-- | The type of application revision:
--
--
-- - S3: An application revision stored in Amazon S3.
-- - GitHub: An application revision stored in GitHub (EC2/On-premises
-- deployments only).
-- - String: A YAML-formatted or JSON-formatted string (Lambda
-- deployments only).
-- - AppSpecContent: An AppSpecContent object that contains
-- the contents of an AppSpec file for an Lambda or Amazon ECS
-- deployment. The content is formatted as JSON or YAML stored as a
-- RawString.
--
revisionLocation_revisionType :: Lens' RevisionLocation (Maybe RevisionLocationType)
-- | Information about the location of a revision stored in Amazon S3.
revisionLocation_s3Location :: Lens' RevisionLocation (Maybe S3Location)
-- | Information about the location of an Lambda deployment revision stored
-- as a RawString.
revisionLocation_string :: Lens' RevisionLocation (Maybe RawString)
-- | The ID of the deployment rollback.
rollbackInfo_rollbackDeploymentId :: Lens' RollbackInfo (Maybe Text)
-- | Information that describes the status of a deployment rollback (for
-- example, whether the deployment can't be rolled back, is in progress,
-- failed, or succeeded).
rollbackInfo_rollbackMessage :: Lens' RollbackInfo (Maybe Text)
-- | The deployment ID of the deployment that was underway and triggered a
-- rollback deployment because it failed or was stopped.
rollbackInfo_rollbackTriggeringDeploymentId :: Lens' RollbackInfo (Maybe Text)
-- | The name of the Amazon S3 bucket where the application revision is
-- stored.
s3Location_bucket :: Lens' S3Location (Maybe Text)
-- | The file type of the application revision. Must be one of the
-- following:
--
--
-- - tar: A tar archive file.
-- - tgz: A compressed tar archive file.
-- - zip: A zip archive file.
--
s3Location_bundleType :: Lens' S3Location (Maybe BundleType)
-- | The ETag of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
--
-- If the ETag is not specified as an input parameter, ETag validation of
-- the object is skipped.
s3Location_eTag :: Lens' S3Location (Maybe Text)
-- | The name of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
s3Location_key :: Lens' S3Location (Maybe Text)
-- | A specific version of the Amazon S3 object that represents the bundled
-- artifacts for the application revision.
--
-- If the version is not specified, the system uses the most recent
-- version by default.
s3Location_version :: Lens' S3Location (Maybe Text)
-- | The tag's key.
tag_key :: Lens' Tag (Maybe Text)
-- | The tag's value.
tag_value :: Lens' Tag (Maybe Text)
-- | The on-premises instance tag filter key.
tagFilter_key :: Lens' TagFilter (Maybe Text)
-- | The on-premises instance tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
tagFilter_type :: Lens' TagFilter (Maybe TagFilterType)
-- | The on-premises instance tag filter value.
tagFilter_value :: Lens' TagFilter (Maybe Text)
-- | For blue/green deployments, the name of the target group that
-- instances in the original environment are deregistered from, and
-- instances in the replacement environment are registered with. For
-- in-place deployments, the name of the target group that instances are
-- deregistered from, so they are not serving traffic during a
-- deployment, and then re-registered with after the deployment is
-- complete.
targetGroupInfo_name :: Lens' TargetGroupInfo (Maybe Text)
-- | The path used by a load balancer to route production traffic when an
-- Amazon ECS deployment is complete.
targetGroupPairInfo_prodTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute)
-- | One pair of target groups. One is associated with the original task
-- set. The second is associated with the task set that serves traffic
-- after the deployment is complete.
targetGroupPairInfo_targetGroups :: Lens' TargetGroupPairInfo (Maybe [TargetGroupInfo])
-- | An optional path used by a load balancer to route test traffic after
-- an Amazon ECS deployment. Validation can occur while test traffic is
-- served during a deployment.
targetGroupPairInfo_testTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute)
-- | The names of one or more Auto Scaling groups to identify a replacement
-- environment for a blue/green deployment.
targetInstances_autoScalingGroups :: Lens' TargetInstances (Maybe [Text])
-- | Information about the groups of Amazon EC2 instance tags that an
-- instance must be identified by in order for it to be included in the
-- replacement environment for a blue/green deployment. Cannot be used in
-- the same call as tagFilters.
targetInstances_ec2TagSet :: Lens' TargetInstances (Maybe EC2TagSet)
-- | The tag filter key, type, and value used to identify Amazon EC2
-- instances in a replacement environment for a blue/green deployment.
-- Cannot be used in the same call as ec2TagSet.
targetInstances_tagFilters :: Lens' TargetInstances (Maybe [EC2TagFilter])
-- | The number of minutes between the first and second traffic shifts of a
-- TimeBasedCanary deployment.
timeBasedCanary_canaryInterval :: Lens' TimeBasedCanary (Maybe Int)
-- | The percentage of traffic to shift in the first increment of a
-- TimeBasedCanary deployment.
timeBasedCanary_canaryPercentage :: Lens' TimeBasedCanary (Maybe Int)
-- | The number of minutes between each incremental traffic shift of a
-- TimeBasedLinear deployment.
timeBasedLinear_linearInterval :: Lens' TimeBasedLinear (Maybe Int)
-- | The percentage of traffic that is shifted at the start of each
-- increment of a TimeBasedLinear deployment.
timeBasedLinear_linearPercentage :: Lens' TimeBasedLinear (Maybe Int)
-- | The end time of the time range.
--
-- Specify null to leave the end time open-ended.
timeRange_end :: Lens' TimeRange (Maybe UTCTime)
-- | The start time of the time range.
--
-- Specify null to leave the start time open-ended.
timeRange_start :: Lens' TimeRange (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of one listener. The listener
-- identifies the route between a target group and a load balancer. This
-- is an array of strings with a maximum size of one.
trafficRoute_listenerArns :: Lens' TrafficRoute (Maybe [Text])
-- | A configuration that shifts traffic from one version of a Lambda
-- function or ECS task set to another in two increments. The original
-- and target Lambda function versions or ECS task sets are specified in
-- the deployment's AppSpec file.
trafficRoutingConfig_timeBasedCanary :: Lens' TrafficRoutingConfig (Maybe TimeBasedCanary)
-- | A configuration that shifts traffic from one version of a Lambda
-- function or Amazon ECS task set to another in equal increments, with
-- an equal number of minutes between each increment. The original and
-- target Lambda function versions or Amazon ECS task sets are specified
-- in the deployment's AppSpec file.
trafficRoutingConfig_timeBasedLinear :: Lens' TrafficRoutingConfig (Maybe TimeBasedLinear)
-- | The type of traffic shifting (TimeBasedCanary or
-- TimeBasedLinear) used by a deployment configuration.
trafficRoutingConfig_type :: Lens' TrafficRoutingConfig (Maybe TrafficRoutingType)
-- | The event type or types for which notifications are triggered.
triggerConfig_triggerEvents :: Lens' TriggerConfig (Maybe [TriggerEventType])
-- | The name of the notification trigger.
triggerConfig_triggerName :: Lens' TriggerConfig (Maybe Text)
-- | The Amazon Resource Name (ARN) of the Amazon Simple Notification
-- Service topic through which notifications about deployment or instance
-- events are sent.
triggerConfig_triggerTargetArn :: Lens' TriggerConfig (Maybe Text)
module Amazonka.CodeDeploy.Waiters
-- | Polls GetDeployment every 15 seconds until a successful state
-- is reached. An error is returned after 120 failed checks.
newDeploymentSuccessful :: Wait GetDeployment
-- | Derived from API version 2014-10-06 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- CodeDeploy is a deployment service that automates application
-- deployments to Amazon EC2 instances, on-premises instances running in
-- your own facility, serverless Lambda functions, or applications in an
-- Amazon ECS service.
--
-- You can deploy a nearly unlimited variety of application content, such
-- as an updated Lambda function, updated applications in an Amazon ECS
-- service, code, web and configuration files, executables, packages,
-- scripts, multimedia files, and so on. CodeDeploy can deploy
-- application content stored in Amazon S3 buckets, GitHub repositories,
-- or Bitbucket repositories. You do not need to make changes to your
-- existing code before you can use CodeDeploy.
--
-- CodeDeploy makes it easier for you to rapidly release new features,
-- helps you avoid downtime during application deployment, and handles
-- the complexity of updating your applications, without many of the
-- risks associated with error-prone manual deployments.
--
-- CodeDeploy Components
--
-- Use the information in this guide to help you work with the following
-- CodeDeploy components:
--
--
-- - Application: A name that uniquely identifies the
-- application you want to deploy. CodeDeploy uses this name, which
-- functions as a container, to ensure the correct combination of
-- revision, deployment configuration, and deployment group are
-- referenced during a deployment.
-- - Deployment group: A set of individual instances, CodeDeploy
-- Lambda deployment configuration settings, or an Amazon ECS service and
-- network details. A Lambda deployment group specifies how to route
-- traffic to a new version of a Lambda function. An Amazon ECS
-- deployment group specifies the service created in Amazon ECS to
-- deploy, a load balancer, and a listener to reroute production traffic
-- to an updated containerized application. An Amazon EC2/On-premises
-- deployment group contains individually tagged instances, Amazon EC2
-- instances in Amazon EC2 Auto Scaling groups, or both. All deployment
-- groups can specify optional trigger, alarm, and rollback
-- settings.
-- - Deployment configuration: A set of deployment rules and
-- deployment success and failure conditions used by CodeDeploy during a
-- deployment.
-- - Deployment: The process and the components used when
-- updating a Lambda function, a containerized application in an Amazon
-- ECS service, or of installing content on one or more instances.
-- - Application revisions: For an Lambda deployment, this is an
-- AppSpec file that specifies the Lambda function to be updated and one
-- or more functions to validate deployment lifecycle events. For an
-- Amazon ECS deployment, this is an AppSpec file that specifies the
-- Amazon ECS task definition, container, and port where production
-- traffic is rerouted. For an EC2/On-premises deployment, this is an
-- archive file that contains source content—source code, webpages,
-- executable files, and deployment scripts—along with an AppSpec file.
-- Revisions are stored in Amazon S3 buckets or GitHub repositories. For
-- Amazon S3, a revision is uniquely identified by its Amazon S3 object
-- key and its ETag, version, or both. For GitHub, a revision is uniquely
-- identified by its commit ID.
--
--
-- This guide also contains information to help you get details about the
-- instances in your deployments, to make on-premises instances available
-- for CodeDeploy deployments, to get details about a Lambda function
-- deployment, and to get details about Amazon ECS service deployments.
--
-- CodeDeploy Information Resources
--
--
module Amazonka.CodeDeploy
-- | API version 2014-10-06 of the Amazon CodeDeploy SDK
-- configuration.
defaultService :: Service
-- | The maximum number of alarms for a deployment group (10) was exceeded.
_AlarmsLimitExceededException :: AsError a => Fold a ServiceError
-- | An application with the specified name with the IAM user or Amazon Web
-- Services account already exists.
_ApplicationAlreadyExistsException :: AsError a => Fold a ServiceError
-- | The application does not exist with the IAM user or Amazon Web
-- Services account.
_ApplicationDoesNotExistException :: AsError a => Fold a ServiceError
-- | More applications were attempted to be created than are allowed.
_ApplicationLimitExceededException :: AsError a => Fold a ServiceError
-- | The minimum number of required application names was not specified.
_ApplicationNameRequiredException :: AsError a => Fold a ServiceError
-- | The specified ARN is not supported. For example, it might be an ARN
-- for a resource that is not expected.
_ArnNotSupportedException :: AsError a => Fold a ServiceError
-- | The maximum number of names or IDs allowed for this request (100) was
-- exceeded.
_BatchLimitExceededException :: AsError a => Fold a ServiceError
-- | A bucket name is required, but was not provided.
_BucketNameFilterRequiredException :: AsError a => Fold a ServiceError
-- | The deployment is already complete.
_DeploymentAlreadyCompletedException :: AsError a => Fold a ServiceError
-- | A deployment to a target was attempted while another deployment was in
-- progress.
_DeploymentAlreadyStartedException :: AsError a => Fold a ServiceError
-- | A deployment configuration with the specified name with the IAM user
-- or Amazon Web Services account already exists.
_DeploymentConfigAlreadyExistsException :: AsError a => Fold a ServiceError
-- | The deployment configuration does not exist with the IAM user or
-- Amazon Web Services account.
_DeploymentConfigDoesNotExistException :: AsError a => Fold a ServiceError
-- | The deployment configuration is still in use.
_DeploymentConfigInUseException :: AsError a => Fold a ServiceError
-- | The deployment configurations limit was exceeded.
_DeploymentConfigLimitExceededException :: AsError a => Fold a ServiceError
-- | The deployment configuration name was not specified.
_DeploymentConfigNameRequiredException :: AsError a => Fold a ServiceError
-- | The deployment with the IAM user or Amazon Web Services account does
-- not exist.
_DeploymentDoesNotExistException :: AsError a => Fold a ServiceError
-- | A deployment group with the specified name with the IAM user or Amazon
-- Web Services account already exists.
_DeploymentGroupAlreadyExistsException :: AsError a => Fold a ServiceError
-- | The named deployment group with the IAM user or Amazon Web Services
-- account does not exist.
_DeploymentGroupDoesNotExistException :: AsError a => Fold a ServiceError
-- | The deployment groups limit was exceeded.
_DeploymentGroupLimitExceededException :: AsError a => Fold a ServiceError
-- | The deployment group name was not specified.
_DeploymentGroupNameRequiredException :: AsError a => Fold a ServiceError
-- | At least one deployment ID must be specified.
_DeploymentIdRequiredException :: AsError a => Fold a ServiceError
-- | The deployment does not have a status of Ready and can't continue yet.
_DeploymentIsNotInReadyStateException :: AsError a => Fold a ServiceError
-- | The number of allowed deployments was exceeded.
_DeploymentLimitExceededException :: AsError a => Fold a ServiceError
-- | The specified deployment has not started.
_DeploymentNotStartedException :: AsError a => Fold a ServiceError
-- | The provided target ID does not belong to the attempted deployment.
_DeploymentTargetDoesNotExistException :: AsError a => Fold a ServiceError
-- | A deployment target ID was not provided.
_DeploymentTargetIdRequiredException :: AsError a => Fold a ServiceError
-- | The maximum number of targets that can be associated with an Amazon
-- ECS or Lambda deployment was exceeded. The target list of both types
-- of deployments must have exactly one item. This exception does not
-- apply to EC2/On-premises deployments.
_DeploymentTargetListSizeExceededException :: AsError a => Fold a ServiceError
-- | The description is too long.
_DescriptionTooLongException :: AsError a => Fold a ServiceError
-- | The Amazon ECS service is associated with more than one deployment
-- groups. An Amazon ECS service can be associated with only one
-- deployment group.
_ECSServiceMappingLimitExceededException :: AsError a => Fold a ServiceError
-- | No GitHub account connection exists with the named specified in the
-- call.
_GitHubAccountTokenDoesNotExistException :: AsError a => Fold a ServiceError
-- | The call is missing a required GitHub account connection name.
_GitHubAccountTokenNameRequiredException :: AsError a => Fold a ServiceError
-- | No IAM ARN was included in the request. You must use an IAM session
-- ARN or IAM user ARN in the request.
_IamArnRequiredException :: AsError a => Fold a ServiceError
-- | The request included an IAM session ARN that has already been used to
-- register a different instance.
_IamSessionArnAlreadyRegisteredException :: AsError a => Fold a ServiceError
-- | The specified IAM user ARN is already registered with an on-premises
-- instance.
_IamUserArnAlreadyRegisteredException :: AsError a => Fold a ServiceError
-- | An IAM user ARN was not specified.
_IamUserArnRequiredException :: AsError a => Fold a ServiceError
-- | The specified instance does not exist in the deployment group.
_InstanceDoesNotExistException :: AsError a => Fold a ServiceError
-- | The instance ID was not specified.
_InstanceIdRequiredException :: AsError a => Fold a ServiceError
-- | The maximum number of allowed on-premises instances in a single call
-- was exceeded.
_InstanceLimitExceededException :: AsError a => Fold a ServiceError
-- | The specified on-premises instance name is already registered.
_InstanceNameAlreadyRegisteredException :: AsError a => Fold a ServiceError
-- | An on-premises instance name was not specified.
_InstanceNameRequiredException :: AsError a => Fold a ServiceError
-- | The specified on-premises instance is not registered.
_InstanceNotRegisteredException :: AsError a => Fold a ServiceError
-- | The format of the alarm configuration is invalid. Possible causes
-- include:
--
--
-- - The alarm list is null.
-- - The alarm object is null.
-- - The alarm name is empty or null or exceeds the limit of 255
-- characters.
-- - Two alarms with the same name have been specified.
-- - The alarm configuration is enabled, but the alarm list is
-- empty.
--
_InvalidAlarmConfigException :: AsError a => Fold a ServiceError
-- | The application name was specified in an invalid format.
_InvalidApplicationNameException :: AsError a => Fold a ServiceError
-- | The specified ARN is not in a valid format.
_InvalidArnException :: AsError a => Fold a ServiceError
-- | The automatic rollback configuration was specified in an invalid
-- format. For example, automatic rollback is enabled, but an invalid
-- triggering event type or no event types were listed.
_InvalidAutoRollbackConfigException :: AsError a => Fold a ServiceError
-- | The Auto Scaling group was specified in an invalid format or does not
-- exist.
_InvalidAutoScalingGroupException :: AsError a => Fold a ServiceError
-- | The configuration for the blue/green deployment group was provided in
-- an invalid format. For information about deployment configuration
-- format, see CreateDeploymentConfig.
_InvalidBlueGreenDeploymentConfigurationException :: AsError a => Fold a ServiceError
-- | The bucket name either doesn't exist or was specified in an invalid
-- format.
_InvalidBucketNameFilterException :: AsError a => Fold a ServiceError
-- | The computePlatform is invalid. The computePlatform should be
-- Lambda, Server, or ECS.
_InvalidComputePlatformException :: AsError a => Fold a ServiceError
-- | The deployed state filter was specified in an invalid format.
_InvalidDeployedStateFilterException :: AsError a => Fold a ServiceError
-- | The deployment configuration name was specified in an invalid format.
_InvalidDeploymentConfigNameException :: AsError a => Fold a ServiceError
-- | The deployment group name was specified in an invalid format.
_InvalidDeploymentGroupNameException :: AsError a => Fold a ServiceError
-- | At least one of the deployment IDs was specified in an invalid format.
_InvalidDeploymentIdException :: AsError a => Fold a ServiceError
-- | An instance type was specified for an in-place deployment. Instance
-- types are supported for blue/green deployments only.
_InvalidDeploymentInstanceTypeException :: AsError a => Fold a ServiceError
-- | The specified deployment status doesn't exist or cannot be determined.
_InvalidDeploymentStatusException :: AsError a => Fold a ServiceError
-- | An invalid deployment style was specified. Valid deployment types
-- include "IN_PLACE" and "BLUE_GREEN." Valid deployment options include
-- "WITH_TRAFFIC_CONTROL" and "WITHOUT_TRAFFIC_CONTROL."
_InvalidDeploymentStyleException :: AsError a => Fold a ServiceError
-- | The target ID provided was not valid.
_InvalidDeploymentTargetIdException :: AsError a => Fold a ServiceError
-- | The wait type is invalid.
_InvalidDeploymentWaitTypeException :: AsError a => Fold a ServiceError
-- | A call was submitted that specified both Ec2TagFilters and Ec2TagSet,
-- but only one of these data types can be used in a single call.
_InvalidEC2TagCombinationException :: AsError a => Fold a ServiceError
-- | The tag was specified in an invalid format.
_InvalidEC2TagException :: AsError a => Fold a ServiceError
-- | The Amazon ECS service identifier is not valid.
_InvalidECSServiceException :: AsError a => Fold a ServiceError
-- | The external ID was specified in an invalid format.
_InvalidExternalIdException :: AsError a => Fold a ServiceError
-- | An invalid fileExistsBehavior option was specified to determine how
-- CodeDeploy handles files or directories that already exist in a
-- deployment target location, but weren't part of the previous
-- successful deployment. Valid values include "DISALLOW," "OVERWRITE,"
-- and "RETAIN."
_InvalidFileExistsBehaviorException :: AsError a => Fold a ServiceError
-- | The GitHub token is not valid.
_InvalidGitHubAccountTokenException :: AsError a => Fold a ServiceError
-- | The format of the specified GitHub account connection name is invalid.
_InvalidGitHubAccountTokenNameException :: AsError a => Fold a ServiceError
-- | The IAM session ARN was specified in an invalid format.
_InvalidIamSessionArnException :: AsError a => Fold a ServiceError
-- | The IAM user ARN was specified in an invalid format.
_InvalidIamUserArnException :: AsError a => Fold a ServiceError
-- | The IgnoreApplicationStopFailures value is invalid. For Lambda
-- deployments, false is expected. For EC2/On-premises
-- deployments, true or false is expected.
_InvalidIgnoreApplicationStopFailuresValueException :: AsError a => Fold a ServiceError
-- | The input was specified in an invalid format.
_InvalidInputException :: AsError a => Fold a ServiceError
_InvalidInstanceIdException :: AsError a => Fold a ServiceError
-- | The on-premises instance name was specified in an invalid format.
_InvalidInstanceNameException :: AsError a => Fold a ServiceError
-- | The specified instance status does not exist.
_InvalidInstanceStatusException :: AsError a => Fold a ServiceError
-- | An invalid instance type was specified for instances in a blue/green
-- deployment. Valid values include "Blue" for an original environment
-- and "Green" for a replacement environment.
_InvalidInstanceTypeException :: AsError a => Fold a ServiceError
-- | The specified key prefix filter was specified in an invalid format.
_InvalidKeyPrefixFilterException :: AsError a => Fold a ServiceError
-- | A lifecycle event hook is invalid. Review the hooks section
-- in your AppSpec file to ensure the lifecycle events and hooks
-- functions are valid.
_InvalidLifecycleEventHookExecutionIdException :: AsError a => Fold a ServiceError
-- | The result of a Lambda validation function that verifies a lifecycle
-- event is invalid. It should return Succeeded or
-- Failed.
_InvalidLifecycleEventHookExecutionStatusException :: AsError a => Fold a ServiceError
-- | An invalid load balancer name, or no load balancer name, was
-- specified.
_InvalidLoadBalancerInfoException :: AsError a => Fold a ServiceError
-- | The minimum healthy instance value was specified in an invalid format.
_InvalidMinimumHealthyHostValueException :: AsError a => Fold a ServiceError
-- | The next token was specified in an invalid format.
_InvalidNextTokenException :: AsError a => Fold a ServiceError
-- | A call was submitted that specified both OnPremisesTagFilters and
-- OnPremisesTagSet, but only one of these data types can be used in a
-- single call.
_InvalidOnPremisesTagCombinationException :: AsError a => Fold a ServiceError
-- | An invalid operation was detected.
_InvalidOperationException :: AsError a => Fold a ServiceError
-- | The registration status was specified in an invalid format.
_InvalidRegistrationStatusException :: AsError a => Fold a ServiceError
-- | The revision was specified in an invalid format.
_InvalidRevisionException :: AsError a => Fold a ServiceError
-- | The service role ARN was specified in an invalid format. Or, if an
-- Auto Scaling group was specified, the specified service role does not
-- grant the appropriate permissions to Amazon EC2 Auto Scaling.
_InvalidRoleException :: AsError a => Fold a ServiceError
-- | The column name to sort by is either not present or was specified in
-- an invalid format.
_InvalidSortByException :: AsError a => Fold a ServiceError
-- | The sort order was specified in an invalid format.
_InvalidSortOrderException :: AsError a => Fold a ServiceError
-- | The tag was specified in an invalid format.
_InvalidTagException :: AsError a => Fold a ServiceError
-- | The tag filter was specified in an invalid format.
_InvalidTagFilterException :: AsError a => Fold a ServiceError
-- | The specified tags are not valid.
_InvalidTagsToAddException :: AsError a => Fold a ServiceError
-- | A target is not valid.
_InvalidTargetException :: AsError a => Fold a ServiceError
-- | The target filter name is invalid.
_InvalidTargetFilterNameException :: AsError a => Fold a ServiceError
-- | A target group pair associated with this deployment is not valid.
_InvalidTargetGroupPairException :: AsError a => Fold a ServiceError
-- | The target instance configuration is invalid. Possible causes include:
--
--
-- - Configuration data for target instances was entered for an
-- in-place deployment.
-- - The limit of 10 tags for a tag type was exceeded.
-- - The combined length of the tag names exceeded the limit.
-- - A specified tag is not currently applied to any instances.
--
_InvalidTargetInstancesException :: AsError a => Fold a ServiceError
-- | The specified time range was specified in an invalid format.
_InvalidTimeRangeException :: AsError a => Fold a ServiceError
-- | The configuration that specifies how traffic is routed during a
-- deployment is invalid.
_InvalidTrafficRoutingConfigurationException :: AsError a => Fold a ServiceError
-- | The trigger was specified in an invalid format.
_InvalidTriggerConfigException :: AsError a => Fold a ServiceError
-- | The UpdateOutdatedInstancesOnly value is invalid. For Lambda
-- deployments, false is expected. For EC2/On-premises
-- deployments, true or false is expected.
_InvalidUpdateOutdatedInstancesOnlyValueException :: AsError a => Fold a ServiceError
-- | An attempt to return the status of an already completed lifecycle
-- event occurred.
_LifecycleEventAlreadyCompletedException :: AsError a => Fold a ServiceError
-- | The limit for lifecycle hooks was exceeded.
_LifecycleHookLimitExceededException :: AsError a => Fold a ServiceError
-- | Both an IAM user ARN and an IAM session ARN were included in the
-- request. Use only one ARN type.
_MultipleIamArnsProvidedException :: AsError a => Fold a ServiceError
-- | The API used does not support the deployment.
_OperationNotSupportedException :: AsError a => Fold a ServiceError
-- | The ARN of a resource is required, but was not found.
_ResourceArnRequiredException :: AsError a => Fold a ServiceError
-- | The specified resource could not be validated.
_ResourceValidationException :: AsError a => Fold a ServiceError
-- | The named revision does not exist with the IAM user or Amazon Web
-- Services account.
_RevisionDoesNotExistException :: AsError a => Fold a ServiceError
-- | The revision ID was not specified.
_RevisionRequiredException :: AsError a => Fold a ServiceError
-- | The role ID was not specified.
_RoleRequiredException :: AsError a => Fold a ServiceError
-- | The maximum allowed number of tags was exceeded.
_TagLimitExceededException :: AsError a => Fold a ServiceError
-- | A tag was not specified.
_TagRequiredException :: AsError a => Fold a ServiceError
-- | The number of tag groups included in the tag set list exceeded the
-- maximum allowed limit of 3.
_TagSetListLimitExceededException :: AsError a => Fold a ServiceError
-- | An API function was called too frequently.
_ThrottlingException :: AsError a => Fold a ServiceError
-- | The maximum allowed number of triggers was exceeded.
_TriggerTargetsLimitExceededException :: AsError a => Fold a ServiceError
-- | A call was submitted that is not supported for the specified
-- deployment type.
_UnsupportedActionForDeploymentTypeException :: AsError a => Fold a ServiceError
-- | Polls GetDeployment every 15 seconds until a successful state
-- is reached. An error is returned after 120 failed checks.
newDeploymentSuccessful :: Wait GetDeployment
-- | Represents the input of, and adds tags to, an on-premises instance
-- operation.
--
-- See: newAddTagsToOnPremisesInstances smart constructor.
data AddTagsToOnPremisesInstances
AddTagsToOnPremisesInstances' :: [Tag] -> [Text] -> AddTagsToOnPremisesInstances
-- | Create a value of AddTagsToOnPremisesInstances with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- AddTagsToOnPremisesInstances,
-- addTagsToOnPremisesInstances_tags - The tag key-value pairs to
-- add to the on-premises instances.
--
-- Keys and values are both required. Keys cannot be null or empty
-- strings. Value-only tags are not allowed.
--
-- $sel:instanceNames:AddTagsToOnPremisesInstances',
-- addTagsToOnPremisesInstances_instanceNames - The names of the
-- on-premises instances to which to add tags.
newAddTagsToOnPremisesInstances :: AddTagsToOnPremisesInstances
-- | See: newAddTagsToOnPremisesInstancesResponse smart
-- constructor.
data AddTagsToOnPremisesInstancesResponse
AddTagsToOnPremisesInstancesResponse' :: AddTagsToOnPremisesInstancesResponse
-- | Create a value of AddTagsToOnPremisesInstancesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newAddTagsToOnPremisesInstancesResponse :: AddTagsToOnPremisesInstancesResponse
-- | Represents the input of a BatchGetApplicationRevisions
-- operation.
--
-- See: newBatchGetApplicationRevisions smart constructor.
data BatchGetApplicationRevisions
BatchGetApplicationRevisions' :: Text -> [RevisionLocation] -> BatchGetApplicationRevisions
-- | Create a value of BatchGetApplicationRevisions with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- BatchGetApplicationRevisions,
-- batchGetApplicationRevisions_applicationName - The name of an
-- CodeDeploy application about which to get revision information.
--
-- BatchGetApplicationRevisions,
-- batchGetApplicationRevisions_revisions - An array of
-- RevisionLocation objects that specify information to get
-- about the application revisions, including type and location. The
-- maximum number of RevisionLocation objects you can specify is
-- 25.
newBatchGetApplicationRevisions :: Text -> BatchGetApplicationRevisions
-- | Represents the output of a BatchGetApplicationRevisions
-- operation.
--
-- See: newBatchGetApplicationRevisionsResponse smart
-- constructor.
data BatchGetApplicationRevisionsResponse
BatchGetApplicationRevisionsResponse' :: Maybe Text -> Maybe Text -> Maybe [RevisionInfo] -> Int -> BatchGetApplicationRevisionsResponse
-- | Create a value of BatchGetApplicationRevisionsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- BatchGetApplicationRevisions,
-- batchGetApplicationRevisionsResponse_applicationName - The name
-- of the application that corresponds to the revisions.
--
-- $sel:errorMessage:BatchGetApplicationRevisionsResponse',
-- batchGetApplicationRevisionsResponse_errorMessage - Information
-- about errors that might have occurred during the API call.
--
-- BatchGetApplicationRevisions,
-- batchGetApplicationRevisionsResponse_revisions - Additional
-- information about the revisions, including the type and location.
--
-- $sel:httpStatus:BatchGetApplicationRevisionsResponse',
-- batchGetApplicationRevisionsResponse_httpStatus - The
-- response's http status code.
newBatchGetApplicationRevisionsResponse :: Int -> BatchGetApplicationRevisionsResponse
-- | Represents the input of a BatchGetApplications operation.
--
-- See: newBatchGetApplications smart constructor.
data BatchGetApplications
BatchGetApplications' :: [Text] -> BatchGetApplications
-- | Create a value of BatchGetApplications with all optional fields
-- omitted.
--
-- 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:applicationNames:BatchGetApplications',
-- batchGetApplications_applicationNames - A list of application
-- names separated by spaces. The maximum number of application names you
-- can specify is 100.
newBatchGetApplications :: BatchGetApplications
-- | Represents the output of a BatchGetApplications operation.
--
-- See: newBatchGetApplicationsResponse smart constructor.
data BatchGetApplicationsResponse
BatchGetApplicationsResponse' :: Maybe [ApplicationInfo] -> Int -> BatchGetApplicationsResponse
-- | Create a value of BatchGetApplicationsResponse with all
-- optional fields omitted.
--
-- 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:applicationsInfo:BatchGetApplicationsResponse',
-- batchGetApplicationsResponse_applicationsInfo - Information
-- about the applications.
--
-- $sel:httpStatus:BatchGetApplicationsResponse',
-- batchGetApplicationsResponse_httpStatus - The response's http
-- status code.
newBatchGetApplicationsResponse :: Int -> BatchGetApplicationsResponse
-- | Represents the input of a BatchGetDeploymentGroups operation.
--
-- See: newBatchGetDeploymentGroups smart constructor.
data BatchGetDeploymentGroups
BatchGetDeploymentGroups' :: Text -> [Text] -> BatchGetDeploymentGroups
-- | Create a value of BatchGetDeploymentGroups with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- BatchGetDeploymentGroups,
-- batchGetDeploymentGroups_applicationName - The name of an
-- CodeDeploy application associated with the applicable IAM or Amazon
-- Web Services account.
--
-- $sel:deploymentGroupNames:BatchGetDeploymentGroups',
-- batchGetDeploymentGroups_deploymentGroupNames - The names of
-- the deployment groups.
newBatchGetDeploymentGroups :: Text -> BatchGetDeploymentGroups
-- | Represents the output of a BatchGetDeploymentGroups
-- operation.
--
-- See: newBatchGetDeploymentGroupsResponse smart
-- constructor.
data BatchGetDeploymentGroupsResponse
BatchGetDeploymentGroupsResponse' :: Maybe [DeploymentGroupInfo] -> Maybe Text -> Int -> BatchGetDeploymentGroupsResponse
-- | Create a value of BatchGetDeploymentGroupsResponse with all
-- optional fields omitted.
--
-- 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:deploymentGroupsInfo:BatchGetDeploymentGroupsResponse',
-- batchGetDeploymentGroupsResponse_deploymentGroupsInfo -
-- Information about the deployment groups.
--
-- $sel:errorMessage:BatchGetDeploymentGroupsResponse',
-- batchGetDeploymentGroupsResponse_errorMessage - Information
-- about errors that might have occurred during the API call.
--
-- $sel:httpStatus:BatchGetDeploymentGroupsResponse',
-- batchGetDeploymentGroupsResponse_httpStatus - The response's
-- http status code.
newBatchGetDeploymentGroupsResponse :: Int -> BatchGetDeploymentGroupsResponse
-- | See: newBatchGetDeploymentTargets smart constructor.
data BatchGetDeploymentTargets
BatchGetDeploymentTargets' :: Maybe Text -> Maybe [Text] -> BatchGetDeploymentTargets
-- | Create a value of BatchGetDeploymentTargets with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- BatchGetDeploymentTargets,
-- batchGetDeploymentTargets_deploymentId - The unique ID of a
-- deployment.
--
-- $sel:targetIds:BatchGetDeploymentTargets',
-- batchGetDeploymentTargets_targetIds - The unique IDs of the
-- deployment targets. The compute platform of the deployment determines
-- the type of the targets and their formats. The maximum number of
-- deployment target IDs you can specify is 25.
--
--
-- - For deployments that use the EC2/On-premises compute platform, the
-- target IDs are Amazon EC2 or on-premises instances IDs, and their
-- target type is instanceTarget.
-- - For deployments that use the Lambda compute platform, the target
-- IDs are the names of Lambda functions, and their target type is
-- instanceTarget.
-- - For deployments that use the Amazon ECS compute platform, the
-- target IDs are pairs of Amazon ECS clusters and services specified
-- using the format <clustername>:<servicename>.
-- Their target type is ecsTarget.
-- - For deployments that are deployed with CloudFormation, the target
-- IDs are CloudFormation stack IDs. Their target type is
-- cloudFormationTarget.
--
newBatchGetDeploymentTargets :: BatchGetDeploymentTargets
-- | See: newBatchGetDeploymentTargetsResponse smart
-- constructor.
data BatchGetDeploymentTargetsResponse
BatchGetDeploymentTargetsResponse' :: Maybe [DeploymentTarget] -> Int -> BatchGetDeploymentTargetsResponse
-- | Create a value of BatchGetDeploymentTargetsResponse with all
-- optional fields omitted.
--
-- 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:deploymentTargets:BatchGetDeploymentTargetsResponse',
-- batchGetDeploymentTargetsResponse_deploymentTargets - A list of
-- target objects for a deployment. Each target object contains details
-- about the target, such as its status and lifecycle events. The type of
-- the target objects depends on the deployment' compute platform.
--
--
-- - EC2/On-premises: Each target object is an Amazon EC2 or
-- on-premises instance.
-- - Lambda: The target object is a specific version of an
-- Lambda function.
-- - Amazon ECS: The target object is an Amazon ECS
-- service.
-- - CloudFormation: The target object is an CloudFormation
-- blue/green deployment.
--
--
-- $sel:httpStatus:BatchGetDeploymentTargetsResponse',
-- batchGetDeploymentTargetsResponse_httpStatus - The response's
-- http status code.
newBatchGetDeploymentTargetsResponse :: Int -> BatchGetDeploymentTargetsResponse
-- | Represents the input of a BatchGetDeployments operation.
--
-- See: newBatchGetDeployments smart constructor.
data BatchGetDeployments
BatchGetDeployments' :: [Text] -> BatchGetDeployments
-- | Create a value of BatchGetDeployments with all optional fields
-- omitted.
--
-- 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:deploymentIds:BatchGetDeployments',
-- batchGetDeployments_deploymentIds - A list of deployment IDs,
-- separated by spaces. The maximum number of deployment IDs you can
-- specify is 25.
newBatchGetDeployments :: BatchGetDeployments
-- | Represents the output of a BatchGetDeployments operation.
--
-- See: newBatchGetDeploymentsResponse smart constructor.
data BatchGetDeploymentsResponse
BatchGetDeploymentsResponse' :: Maybe [DeploymentInfo] -> Int -> BatchGetDeploymentsResponse
-- | Create a value of BatchGetDeploymentsResponse with all optional
-- fields omitted.
--
-- 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:deploymentsInfo:BatchGetDeploymentsResponse',
-- batchGetDeploymentsResponse_deploymentsInfo - Information about
-- the deployments.
--
-- $sel:httpStatus:BatchGetDeploymentsResponse',
-- batchGetDeploymentsResponse_httpStatus - The response's http
-- status code.
newBatchGetDeploymentsResponse :: Int -> BatchGetDeploymentsResponse
-- | Represents the input of a BatchGetOnPremisesInstances
-- operation.
--
-- See: newBatchGetOnPremisesInstances smart constructor.
data BatchGetOnPremisesInstances
BatchGetOnPremisesInstances' :: [Text] -> BatchGetOnPremisesInstances
-- | Create a value of BatchGetOnPremisesInstances with all optional
-- fields omitted.
--
-- 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:instanceNames:BatchGetOnPremisesInstances',
-- batchGetOnPremisesInstances_instanceNames - The names of the
-- on-premises instances about which to get information. The maximum
-- number of instance names you can specify is 25.
newBatchGetOnPremisesInstances :: BatchGetOnPremisesInstances
-- | Represents the output of a BatchGetOnPremisesInstances
-- operation.
--
-- See: newBatchGetOnPremisesInstancesResponse smart
-- constructor.
data BatchGetOnPremisesInstancesResponse
BatchGetOnPremisesInstancesResponse' :: Maybe [InstanceInfo] -> Int -> BatchGetOnPremisesInstancesResponse
-- | Create a value of BatchGetOnPremisesInstancesResponse with all
-- optional fields omitted.
--
-- 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:instanceInfos:BatchGetOnPremisesInstancesResponse',
-- batchGetOnPremisesInstancesResponse_instanceInfos - Information
-- about the on-premises instances.
--
-- $sel:httpStatus:BatchGetOnPremisesInstancesResponse',
-- batchGetOnPremisesInstancesResponse_httpStatus - The response's
-- http status code.
newBatchGetOnPremisesInstancesResponse :: Int -> BatchGetOnPremisesInstancesResponse
-- | See: newContinueDeployment smart constructor.
data ContinueDeployment
ContinueDeployment' :: Maybe Text -> Maybe DeploymentWaitType -> ContinueDeployment
-- | Create a value of ContinueDeployment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ContinueDeployment, continueDeployment_deploymentId -
-- The unique ID of a blue/green deployment for which you want to start
-- rerouting traffic to the replacement environment.
--
-- $sel:deploymentWaitType:ContinueDeployment',
-- continueDeployment_deploymentWaitType - The status of the
-- deployment's waiting period. READY_WAIT indicates that the
-- deployment is ready to start shifting traffic.
-- TERMINATION_WAIT indicates that the traffic is shifted, but
-- the original target is not terminated.
newContinueDeployment :: ContinueDeployment
-- | See: newContinueDeploymentResponse smart constructor.
data ContinueDeploymentResponse
ContinueDeploymentResponse' :: ContinueDeploymentResponse
-- | Create a value of ContinueDeploymentResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newContinueDeploymentResponse :: ContinueDeploymentResponse
-- | Represents the input of a CreateApplication operation.
--
-- See: newCreateApplication smart constructor.
data CreateApplication
CreateApplication' :: Maybe ComputePlatform -> Maybe [Tag] -> Text -> CreateApplication
-- | Create a value of CreateApplication with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateApplication, createApplication_computePlatform -
-- The destination platform type for the deployment (Lambda,
-- Server, or ECS).
--
-- CreateApplication, createApplication_tags - The metadata
-- that you apply to CodeDeploy applications to help you organize and
-- categorize them. Each tag consists of a key and an optional value,
-- both of which you define.
--
-- CreateApplication, createApplication_applicationName -
-- The name of the application. This name must be unique with the
-- applicable IAM or Amazon Web Services account.
newCreateApplication :: Text -> CreateApplication
-- | Represents the output of a CreateApplication operation.
--
-- See: newCreateApplicationResponse smart constructor.
data CreateApplicationResponse
CreateApplicationResponse' :: Maybe Text -> Int -> CreateApplicationResponse
-- | Create a value of CreateApplicationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateApplicationResponse,
-- createApplicationResponse_applicationId - A unique application
-- ID.
--
-- $sel:httpStatus:CreateApplicationResponse',
-- createApplicationResponse_httpStatus - The response's http
-- status code.
newCreateApplicationResponse :: Int -> CreateApplicationResponse
-- | Represents the input of a CreateDeployment operation.
--
-- See: newCreateDeployment smart constructor.
data CreateDeployment
CreateDeployment' :: Maybe AutoRollbackConfiguration -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe FileExistsBehavior -> Maybe Bool -> Maybe AlarmConfiguration -> Maybe RevisionLocation -> Maybe TargetInstances -> Maybe Bool -> Text -> CreateDeployment
-- | Create a value of CreateDeployment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeployment,
-- createDeployment_autoRollbackConfiguration - Configuration
-- information for an automatic rollback that is added when a deployment
-- is created.
--
-- CreateDeployment, createDeployment_deploymentConfigName
-- - The name of a deployment configuration associated with the IAM user
-- or Amazon Web Services account.
--
-- If not specified, the value configured in the deployment group is used
-- as the default. If the deployment group does not have a deployment
-- configuration associated with it,
-- CodeDeployDefault.OneAtATime is used by default.
--
-- CreateDeployment, createDeployment_deploymentGroupName -
-- The name of the deployment group.
--
-- CreateDeployment, createDeployment_description - A
-- comment about the deployment.
--
-- CreateDeployment, createDeployment_fileExistsBehavior -
-- Information about how CodeDeploy handles files that already exist in a
-- deployment target location but weren't part of the previous successful
-- deployment.
--
-- The fileExistsBehavior parameter takes any of the following
-- values:
--
--
-- - DISALLOW: The deployment fails. This is also the default behavior
-- if no option is specified.
-- - OVERWRITE: The version of the file from the application revision
-- currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance is kept
-- and used as part of the new deployment.
--
--
-- CreateDeployment,
-- createDeployment_ignoreApplicationStopFailures - If true, then
-- if an ApplicationStop, BeforeBlockTraffic, or
-- AfterBlockTraffic deployment lifecycle event to an instance
-- fails, then the deployment continues to the next deployment lifecycle
-- event. For example, if ApplicationStop fails, the deployment
-- continues with DownloadBundle. If BeforeBlockTraffic
-- fails, the deployment continues with BlockTraffic. If
-- AfterBlockTraffic fails, the deployment continues with
-- ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
--
-- CreateDeployment,
-- createDeployment_overrideAlarmConfiguration - Allows you to
-- specify information about alarms associated with a deployment. The
-- alarm configuration that you specify here will override the alarm
-- configuration at the deployment group level. Consider overriding the
-- alarm configuration if you have set up alarms at the deployment group
-- level that are causing deployment failures. In this case, you would
-- call CreateDeployment to create a new deployment that uses a
-- previous application revision that is known to work, and set its alarm
-- configuration to turn off alarm polling. Turning off alarm polling
-- ensures that the new deployment proceeds without being blocked by the
-- alarm that was generated by the previous, failed, deployment.
--
-- If you specify an overrideAlarmConfiguration, you need the
-- UpdateDeploymentGroup IAM permission when calling
-- CreateDeployment.
--
-- CreateDeployment, createDeployment_revision - The type
-- and location of the revision to deploy.
--
-- CreateDeployment, createDeployment_targetInstances -
-- Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
--
-- CreateDeployment,
-- createDeployment_updateOutdatedInstancesOnly - Indicates
-- whether to deploy to all instances or only to instances that are not
-- running the latest application revision.
--
-- CreateDeployment, createDeployment_applicationName - The
-- name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
newCreateDeployment :: Text -> CreateDeployment
-- | Represents the output of a CreateDeployment operation.
--
-- See: newCreateDeploymentResponse smart constructor.
data CreateDeploymentResponse
CreateDeploymentResponse' :: Maybe Text -> Int -> CreateDeploymentResponse
-- | Create a value of CreateDeploymentResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeploymentResponse,
-- createDeploymentResponse_deploymentId - The unique ID of a
-- deployment.
--
-- $sel:httpStatus:CreateDeploymentResponse',
-- createDeploymentResponse_httpStatus - The response's http
-- status code.
newCreateDeploymentResponse :: Int -> CreateDeploymentResponse
-- | Represents the input of a CreateDeploymentConfig operation.
--
-- See: newCreateDeploymentConfig smart constructor.
data CreateDeploymentConfig
CreateDeploymentConfig' :: Maybe ComputePlatform -> Maybe MinimumHealthyHosts -> Maybe TrafficRoutingConfig -> Text -> CreateDeploymentConfig
-- | Create a value of CreateDeploymentConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeploymentConfig,
-- createDeploymentConfig_computePlatform - The destination
-- platform type for the deployment (Lambda, Server, or
-- ECS).
--
-- CreateDeploymentConfig,
-- createDeploymentConfig_minimumHealthyHosts - The minimum number
-- of healthy instances that should be available at any time during the
-- deployment. There are two parameters expected in the input: type and
-- value.
--
-- The type parameter takes either of the following values:
--
--
-- - HOST_COUNT: The value parameter represents the minimum number of
-- healthy instances as an absolute value.
-- - FLEET_PERCENT: The value parameter represents the minimum number
-- of healthy instances as a percentage of the total number of instances
-- in the deployment. If you specify FLEET_PERCENT, at the start of the
-- deployment, CodeDeploy converts the percentage to the equivalent
-- number of instances and rounds up fractional instances.
--
--
-- The value parameter takes an integer.
--
-- For example, to set a minimum of 95% healthy instance, specify a type
-- of FLEET_PERCENT and a value of 95.
--
-- CreateDeploymentConfig,
-- createDeploymentConfig_trafficRoutingConfig - The configuration
-- that specifies how the deployment traffic is routed.
--
-- CreateDeploymentConfig,
-- createDeploymentConfig_deploymentConfigName - The name of the
-- deployment configuration to create.
newCreateDeploymentConfig :: Text -> CreateDeploymentConfig
-- | Represents the output of a CreateDeploymentConfig operation.
--
-- See: newCreateDeploymentConfigResponse smart
-- constructor.
data CreateDeploymentConfigResponse
CreateDeploymentConfigResponse' :: Maybe Text -> Int -> CreateDeploymentConfigResponse
-- | Create a value of CreateDeploymentConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeploymentConfigResponse,
-- createDeploymentConfigResponse_deploymentConfigId - A unique
-- deployment configuration ID.
--
-- $sel:httpStatus:CreateDeploymentConfigResponse',
-- createDeploymentConfigResponse_httpStatus - The response's http
-- status code.
newCreateDeploymentConfigResponse :: Int -> CreateDeploymentConfigResponse
-- | Represents the input of a CreateDeploymentGroup operation.
--
-- See: newCreateDeploymentGroup smart constructor.
data CreateDeploymentGroup
CreateDeploymentGroup' :: Maybe AlarmConfiguration -> Maybe AutoRollbackConfiguration -> Maybe [Text] -> Maybe BlueGreenDeploymentConfiguration -> Maybe Text -> Maybe DeploymentStyle -> Maybe [EC2TagFilter] -> Maybe EC2TagSet -> Maybe [ECSService] -> Maybe LoadBalancerInfo -> Maybe [TagFilter] -> Maybe OnPremisesTagSet -> Maybe OutdatedInstancesStrategy -> Maybe [Tag] -> Maybe [TriggerConfig] -> Text -> Text -> Text -> CreateDeploymentGroup
-- | Create a value of CreateDeploymentGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_alarmConfiguration - Information to add
-- about Amazon CloudWatch alarms when the deployment group is created.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_autoRollbackConfiguration - Configuration
-- information for an automatic rollback that is added when a deployment
-- group is created.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_autoScalingGroups - A list of associated
-- Amazon EC2 Auto Scaling groups.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_blueGreenDeploymentConfiguration -
-- Information about blue/green deployment options for a deployment
-- group.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_deploymentConfigName - If specified, the
-- deployment configuration name can be either one of the predefined
-- configurations provided with CodeDeploy or a custom deployment
-- configuration that you create by calling the create deployment
-- configuration operation.
--
-- CodeDeployDefault.OneAtATime is the default deployment
-- configuration. It is used if a configuration isn't specified for the
-- deployment or deployment group.
--
-- For more information about the predefined deployment configurations in
-- CodeDeploy, see Working with Deployment Configurations in
-- CodeDeploy in the CodeDeploy User Guide.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_deploymentStyle - Information about the
-- type of deployment, in-place or blue/green, that you want to run and
-- whether to route deployment traffic behind a load balancer.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_ec2TagFilters - The Amazon EC2 tags on
-- which to filter. The deployment group includes Amazon EC2 instances
-- with any of the specified tags. Cannot be used in the same call as
-- ec2TagSet.
--
-- CreateDeploymentGroup, createDeploymentGroup_ec2TagSet -
-- Information about groups of tags applied to Amazon EC2 instances. The
-- deployment group includes only Amazon EC2 instances identified by all
-- the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
--
-- CreateDeploymentGroup, createDeploymentGroup_ecsServices
-- - The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_loadBalancerInfo - Information about the
-- load balancer used in a deployment.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_onPremisesInstanceTagFilters - The
-- on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags. Cannot
-- be used in the same call as OnPremisesTagSet.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_onPremisesTagSet - Information about
-- groups of tags applied to on-premises instances. The deployment group
-- includes only on-premises instances identified by all of the tag
-- groups. Cannot be used in the same call as
-- onPremisesInstanceTagFilters.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_outdatedInstancesStrategy - Indicates
-- what happens when new Amazon EC2 instances are launched mid-deployment
-- and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
--
-- CreateDeploymentGroup, createDeploymentGroup_tags - The
-- metadata that you apply to CodeDeploy deployment groups to help you
-- organize and categorize them. Each tag consists of a key and an
-- optional value, both of which you define.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_triggerConfigurations - Information about
-- triggers to create when the deployment group is created. For examples,
-- see Create a Trigger for an CodeDeploy Event in the
-- CodeDeploy User Guide.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_applicationName - The name of an
-- CodeDeploy application associated with the IAM user or Amazon Web
-- Services account.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_deploymentGroupName - The name of a new
-- deployment group for the specified application.
--
-- CreateDeploymentGroup,
-- createDeploymentGroup_serviceRoleArn - A service role Amazon
-- Resource Name (ARN) that allows CodeDeploy to act on the user's behalf
-- when interacting with Amazon Web Services services.
newCreateDeploymentGroup :: Text -> Text -> Text -> CreateDeploymentGroup
-- | Represents the output of a CreateDeploymentGroup operation.
--
-- See: newCreateDeploymentGroupResponse smart constructor.
data CreateDeploymentGroupResponse
CreateDeploymentGroupResponse' :: Maybe Text -> Int -> CreateDeploymentGroupResponse
-- | Create a value of CreateDeploymentGroupResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- CreateDeploymentGroupResponse,
-- createDeploymentGroupResponse_deploymentGroupId - A unique
-- deployment group ID.
--
-- $sel:httpStatus:CreateDeploymentGroupResponse',
-- createDeploymentGroupResponse_httpStatus - The response's http
-- status code.
newCreateDeploymentGroupResponse :: Int -> CreateDeploymentGroupResponse
-- | Represents the input of a DeleteApplication operation.
--
-- See: newDeleteApplication smart constructor.
data DeleteApplication
DeleteApplication' :: Text -> DeleteApplication
-- | Create a value of DeleteApplication with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteApplication, deleteApplication_applicationName -
-- The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
newDeleteApplication :: Text -> DeleteApplication
-- | See: newDeleteApplicationResponse smart constructor.
data DeleteApplicationResponse
DeleteApplicationResponse' :: DeleteApplicationResponse
-- | Create a value of DeleteApplicationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteApplicationResponse :: DeleteApplicationResponse
-- | Represents the input of a DeleteDeploymentConfig operation.
--
-- See: newDeleteDeploymentConfig smart constructor.
data DeleteDeploymentConfig
DeleteDeploymentConfig' :: Text -> DeleteDeploymentConfig
-- | Create a value of DeleteDeploymentConfig with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteDeploymentConfig,
-- deleteDeploymentConfig_deploymentConfigName - The name of a
-- deployment configuration associated with the IAM user or Amazon Web
-- Services account.
newDeleteDeploymentConfig :: Text -> DeleteDeploymentConfig
-- | See: newDeleteDeploymentConfigResponse smart
-- constructor.
data DeleteDeploymentConfigResponse
DeleteDeploymentConfigResponse' :: DeleteDeploymentConfigResponse
-- | Create a value of DeleteDeploymentConfigResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeleteDeploymentConfigResponse :: DeleteDeploymentConfigResponse
-- | Represents the input of a DeleteDeploymentGroup operation.
--
-- See: newDeleteDeploymentGroup smart constructor.
data DeleteDeploymentGroup
DeleteDeploymentGroup' :: Text -> Text -> DeleteDeploymentGroup
-- | Create a value of DeleteDeploymentGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteDeploymentGroup,
-- deleteDeploymentGroup_applicationName - The name of an
-- CodeDeploy application associated with the IAM user or Amazon Web
-- Services account.
--
-- DeleteDeploymentGroup,
-- deleteDeploymentGroup_deploymentGroupName - The name of a
-- deployment group for the specified application.
newDeleteDeploymentGroup :: Text -> Text -> DeleteDeploymentGroup
-- | Represents the output of a DeleteDeploymentGroup operation.
--
-- See: newDeleteDeploymentGroupResponse smart constructor.
data DeleteDeploymentGroupResponse
DeleteDeploymentGroupResponse' :: Maybe [AutoScalingGroup] -> Int -> DeleteDeploymentGroupResponse
-- | Create a value of DeleteDeploymentGroupResponse with all
-- optional fields omitted.
--
-- 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:hooksNotCleanedUp:DeleteDeploymentGroupResponse',
-- deleteDeploymentGroupResponse_hooksNotCleanedUp - If the output
-- contains no data, and the corresponding deployment group contained at
-- least one Auto Scaling group, CodeDeploy successfully removed all
-- corresponding Auto Scaling lifecycle event hooks from the Amazon EC2
-- instances in the Auto Scaling group. If the output contains data,
-- CodeDeploy could not remove some Auto Scaling lifecycle event hooks
-- from the Amazon EC2 instances in the Auto Scaling group.
--
-- $sel:httpStatus:DeleteDeploymentGroupResponse',
-- deleteDeploymentGroupResponse_httpStatus - The response's http
-- status code.
newDeleteDeploymentGroupResponse :: Int -> DeleteDeploymentGroupResponse
-- | Represents the input of a DeleteGitHubAccount operation.
--
-- See: newDeleteGitHubAccountToken smart constructor.
data DeleteGitHubAccountToken
DeleteGitHubAccountToken' :: Maybe Text -> DeleteGitHubAccountToken
-- | Create a value of DeleteGitHubAccountToken with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteGitHubAccountToken,
-- deleteGitHubAccountToken_tokenName - The name of the GitHub
-- account connection to delete.
newDeleteGitHubAccountToken :: DeleteGitHubAccountToken
-- | Represents the output of a DeleteGitHubAccountToken
-- operation.
--
-- See: newDeleteGitHubAccountTokenResponse smart
-- constructor.
data DeleteGitHubAccountTokenResponse
DeleteGitHubAccountTokenResponse' :: Maybe Text -> Int -> DeleteGitHubAccountTokenResponse
-- | Create a value of DeleteGitHubAccountTokenResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteGitHubAccountToken,
-- deleteGitHubAccountTokenResponse_tokenName - The name of the
-- GitHub account connection that was deleted.
--
-- $sel:httpStatus:DeleteGitHubAccountTokenResponse',
-- deleteGitHubAccountTokenResponse_httpStatus - The response's
-- http status code.
newDeleteGitHubAccountTokenResponse :: Int -> DeleteGitHubAccountTokenResponse
-- | See: newDeleteResourcesByExternalId smart constructor.
data DeleteResourcesByExternalId
DeleteResourcesByExternalId' :: Maybe Text -> DeleteResourcesByExternalId
-- | Create a value of DeleteResourcesByExternalId with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteResourcesByExternalId,
-- deleteResourcesByExternalId_externalId - The unique ID of an
-- external resource (for example, a CloudFormation stack ID) that is
-- linked to one or more CodeDeploy resources.
newDeleteResourcesByExternalId :: DeleteResourcesByExternalId
-- | See: newDeleteResourcesByExternalIdResponse smart
-- constructor.
data DeleteResourcesByExternalIdResponse
DeleteResourcesByExternalIdResponse' :: Int -> DeleteResourcesByExternalIdResponse
-- | Create a value of DeleteResourcesByExternalIdResponse with all
-- optional fields omitted.
--
-- 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:DeleteResourcesByExternalIdResponse',
-- deleteResourcesByExternalIdResponse_httpStatus - The response's
-- http status code.
newDeleteResourcesByExternalIdResponse :: Int -> DeleteResourcesByExternalIdResponse
-- | Represents the input of a DeregisterOnPremisesInstance
-- operation.
--
-- See: newDeregisterOnPremisesInstance smart constructor.
data DeregisterOnPremisesInstance
DeregisterOnPremisesInstance' :: Text -> DeregisterOnPremisesInstance
-- | Create a value of DeregisterOnPremisesInstance with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeregisterOnPremisesInstance,
-- deregisterOnPremisesInstance_instanceName - The name of the
-- on-premises instance to deregister.
newDeregisterOnPremisesInstance :: Text -> DeregisterOnPremisesInstance
-- | See: newDeregisterOnPremisesInstanceResponse smart
-- constructor.
data DeregisterOnPremisesInstanceResponse
DeregisterOnPremisesInstanceResponse' :: DeregisterOnPremisesInstanceResponse
-- | Create a value of DeregisterOnPremisesInstanceResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newDeregisterOnPremisesInstanceResponse :: DeregisterOnPremisesInstanceResponse
-- | Represents the input of a GetApplication operation.
--
-- See: newGetApplication smart constructor.
data GetApplication
GetApplication' :: Text -> GetApplication
-- | Create a value of GetApplication with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetApplication, getApplication_applicationName - The
-- name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
newGetApplication :: Text -> GetApplication
-- | Represents the output of a GetApplication operation.
--
-- See: newGetApplicationResponse smart constructor.
data GetApplicationResponse
GetApplicationResponse' :: Maybe ApplicationInfo -> Int -> GetApplicationResponse
-- | Create a value of GetApplicationResponse with all optional
-- fields omitted.
--
-- 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:application:GetApplicationResponse',
-- getApplicationResponse_application - Information about the
-- application.
--
-- $sel:httpStatus:GetApplicationResponse',
-- getApplicationResponse_httpStatus - The response's http status
-- code.
newGetApplicationResponse :: Int -> GetApplicationResponse
-- | Represents the input of a GetApplicationRevision operation.
--
-- See: newGetApplicationRevision smart constructor.
data GetApplicationRevision
GetApplicationRevision' :: Text -> RevisionLocation -> GetApplicationRevision
-- | Create a value of GetApplicationRevision with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetApplicationRevision,
-- getApplicationRevision_applicationName - The name of the
-- application that corresponds to the revision.
--
-- GetApplicationRevision, getApplicationRevision_revision
-- - Information about the application revision to get, including type
-- and location.
newGetApplicationRevision :: Text -> RevisionLocation -> GetApplicationRevision
-- | Represents the output of a GetApplicationRevision operation.
--
-- See: newGetApplicationRevisionResponse smart
-- constructor.
data GetApplicationRevisionResponse
GetApplicationRevisionResponse' :: Maybe Text -> Maybe RevisionLocation -> Maybe GenericRevisionInfo -> Int -> GetApplicationRevisionResponse
-- | Create a value of GetApplicationRevisionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetApplicationRevision,
-- getApplicationRevisionResponse_applicationName - The name of
-- the application that corresponds to the revision.
--
-- GetApplicationRevision,
-- getApplicationRevisionResponse_revision - Additional
-- information about the revision, including type and location.
--
-- $sel:revisionInfo:GetApplicationRevisionResponse',
-- getApplicationRevisionResponse_revisionInfo - General
-- information about the revision.
--
-- $sel:httpStatus:GetApplicationRevisionResponse',
-- getApplicationRevisionResponse_httpStatus - The response's http
-- status code.
newGetApplicationRevisionResponse :: Int -> GetApplicationRevisionResponse
-- | Represents the input of a GetDeployment operation.
--
-- See: newGetDeployment smart constructor.
data GetDeployment
GetDeployment' :: Text -> GetDeployment
-- | Create a value of GetDeployment with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDeployment, getDeployment_deploymentId - The unique
-- ID of a deployment associated with the IAM user or Amazon Web Services
-- account.
newGetDeployment :: Text -> GetDeployment
-- | Represents the output of a GetDeployment operation.
--
-- See: newGetDeploymentResponse smart constructor.
data GetDeploymentResponse
GetDeploymentResponse' :: Maybe DeploymentInfo -> Int -> GetDeploymentResponse
-- | Create a value of GetDeploymentResponse with all optional
-- fields omitted.
--
-- 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:deploymentInfo:GetDeploymentResponse',
-- getDeploymentResponse_deploymentInfo - Information about the
-- deployment.
--
-- $sel:httpStatus:GetDeploymentResponse',
-- getDeploymentResponse_httpStatus - The response's http status
-- code.
newGetDeploymentResponse :: Int -> GetDeploymentResponse
-- | Represents the input of a GetDeploymentConfig operation.
--
-- See: newGetDeploymentConfig smart constructor.
data GetDeploymentConfig
GetDeploymentConfig' :: Text -> GetDeploymentConfig
-- | Create a value of GetDeploymentConfig with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDeploymentConfig,
-- getDeploymentConfig_deploymentConfigName - The name of a
-- deployment configuration associated with the IAM user or Amazon Web
-- Services account.
newGetDeploymentConfig :: Text -> GetDeploymentConfig
-- | Represents the output of a GetDeploymentConfig operation.
--
-- See: newGetDeploymentConfigResponse smart constructor.
data GetDeploymentConfigResponse
GetDeploymentConfigResponse' :: Maybe DeploymentConfigInfo -> Int -> GetDeploymentConfigResponse
-- | Create a value of GetDeploymentConfigResponse with all optional
-- fields omitted.
--
-- 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:deploymentConfigInfo:GetDeploymentConfigResponse',
-- getDeploymentConfigResponse_deploymentConfigInfo - Information
-- about the deployment configuration.
--
-- $sel:httpStatus:GetDeploymentConfigResponse',
-- getDeploymentConfigResponse_httpStatus - The response's http
-- status code.
newGetDeploymentConfigResponse :: Int -> GetDeploymentConfigResponse
-- | Represents the input of a GetDeploymentGroup operation.
--
-- See: newGetDeploymentGroup smart constructor.
data GetDeploymentGroup
GetDeploymentGroup' :: Text -> Text -> GetDeploymentGroup
-- | Create a value of GetDeploymentGroup with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDeploymentGroup, getDeploymentGroup_applicationName -
-- The name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
--
-- GetDeploymentGroup,
-- getDeploymentGroup_deploymentGroupName - The name of a
-- deployment group for the specified application.
newGetDeploymentGroup :: Text -> Text -> GetDeploymentGroup
-- | Represents the output of a GetDeploymentGroup operation.
--
-- See: newGetDeploymentGroupResponse smart constructor.
data GetDeploymentGroupResponse
GetDeploymentGroupResponse' :: Maybe DeploymentGroupInfo -> Int -> GetDeploymentGroupResponse
-- | Create a value of GetDeploymentGroupResponse with all optional
-- fields omitted.
--
-- 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:deploymentGroupInfo:GetDeploymentGroupResponse',
-- getDeploymentGroupResponse_deploymentGroupInfo - Information
-- about the deployment group.
--
-- $sel:httpStatus:GetDeploymentGroupResponse',
-- getDeploymentGroupResponse_httpStatus - The response's http
-- status code.
newGetDeploymentGroupResponse :: Int -> GetDeploymentGroupResponse
-- | See: newGetDeploymentTarget smart constructor.
data GetDeploymentTarget
GetDeploymentTarget' :: Maybe Text -> Maybe Text -> GetDeploymentTarget
-- | Create a value of GetDeploymentTarget with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetDeploymentTarget, getDeploymentTarget_deploymentId -
-- The unique ID of a deployment.
--
-- GetDeploymentTarget, getDeploymentTarget_targetId - The
-- unique ID of a deployment target.
newGetDeploymentTarget :: GetDeploymentTarget
-- | See: newGetDeploymentTargetResponse smart constructor.
data GetDeploymentTargetResponse
GetDeploymentTargetResponse' :: Maybe DeploymentTarget -> Int -> GetDeploymentTargetResponse
-- | Create a value of GetDeploymentTargetResponse with all optional
-- fields omitted.
--
-- 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:deploymentTarget:GetDeploymentTargetResponse',
-- getDeploymentTargetResponse_deploymentTarget - A deployment
-- target that contains information about a deployment such as its
-- status, lifecycle events, and when it was last updated. It also
-- contains metadata about the deployment target. The deployment target
-- metadata depends on the deployment target's type
-- (instanceTarget, lambdaTarget, or
-- ecsTarget).
--
-- $sel:httpStatus:GetDeploymentTargetResponse',
-- getDeploymentTargetResponse_httpStatus - The response's http
-- status code.
newGetDeploymentTargetResponse :: Int -> GetDeploymentTargetResponse
-- | Represents the input of a GetOnPremisesInstance operation.
--
-- See: newGetOnPremisesInstance smart constructor.
data GetOnPremisesInstance
GetOnPremisesInstance' :: Text -> GetOnPremisesInstance
-- | Create a value of GetOnPremisesInstance with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetOnPremisesInstance,
-- getOnPremisesInstance_instanceName - The name of the
-- on-premises instance about which to get information.
newGetOnPremisesInstance :: Text -> GetOnPremisesInstance
-- | Represents the output of a GetOnPremisesInstance operation.
--
-- See: newGetOnPremisesInstanceResponse smart constructor.
data GetOnPremisesInstanceResponse
GetOnPremisesInstanceResponse' :: Maybe InstanceInfo -> Int -> GetOnPremisesInstanceResponse
-- | Create a value of GetOnPremisesInstanceResponse with all
-- optional fields omitted.
--
-- 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:instanceInfo:GetOnPremisesInstanceResponse',
-- getOnPremisesInstanceResponse_instanceInfo - Information about
-- the on-premises instance.
--
-- $sel:httpStatus:GetOnPremisesInstanceResponse',
-- getOnPremisesInstanceResponse_httpStatus - The response's http
-- status code.
newGetOnPremisesInstanceResponse :: Int -> GetOnPremisesInstanceResponse
-- | Represents the input of a ListApplicationRevisions operation.
--
-- See: newListApplicationRevisions smart constructor.
data ListApplicationRevisions
ListApplicationRevisions' :: Maybe ListStateFilterAction -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe ApplicationRevisionSortBy -> Maybe SortOrder -> Text -> ListApplicationRevisions
-- | Create a value of ListApplicationRevisions with all optional
-- fields omitted.
--
-- 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:deployed:ListApplicationRevisions',
-- listApplicationRevisions_deployed - Whether to list revisions
-- based on whether the revision is the target revision of a deployment
-- group:
--
--
-- - include: List revisions that are target revisions of a
-- deployment group.
-- - exclude: Do not list revisions that are target revisions
-- of a deployment group.
-- - ignore: List all revisions.
--
--
-- ListApplicationRevisions,
-- listApplicationRevisions_nextToken - An identifier returned
-- from the previous ListApplicationRevisions call. It can be
-- used to return the next set of applications in the list.
--
-- $sel:s3Bucket:ListApplicationRevisions',
-- listApplicationRevisions_s3Bucket - An Amazon S3 bucket name to
-- limit the search for revisions.
--
-- If set to null, all of the user's buckets are searched.
--
-- $sel:s3KeyPrefix:ListApplicationRevisions',
-- listApplicationRevisions_s3KeyPrefix - A key prefix for the set
-- of Amazon S3 objects to limit the search for revisions.
--
-- $sel:sortBy:ListApplicationRevisions',
-- listApplicationRevisions_sortBy - The column name to use to
-- sort the list results:
--
--
-- - registerTime: Sort by the time the revisions were
-- registered with CodeDeploy.
-- - firstUsedTime: Sort by the time the revisions were first
-- used in a deployment.
-- - lastUsedTime: Sort by the time the revisions were last
-- used in a deployment.
--
--
-- If not specified or set to null, the results are returned in an
-- arbitrary order.
--
-- $sel:sortOrder:ListApplicationRevisions',
-- listApplicationRevisions_sortOrder - The order in which to sort
-- the list results:
--
--
-- - ascending: ascending order.
-- - descending: descending order.
--
--
-- If not specified, the results are sorted in ascending order.
--
-- If set to null, the results are sorted in an arbitrary order.
--
-- ListApplicationRevisions,
-- listApplicationRevisions_applicationName - The name of an
-- CodeDeploy application associated with the IAM user or Amazon Web
-- Services account.
newListApplicationRevisions :: Text -> ListApplicationRevisions
-- | Represents the output of a ListApplicationRevisions
-- operation.
--
-- See: newListApplicationRevisionsResponse smart
-- constructor.
data ListApplicationRevisionsResponse
ListApplicationRevisionsResponse' :: Maybe Text -> Maybe [RevisionLocation] -> Int -> ListApplicationRevisionsResponse
-- | Create a value of ListApplicationRevisionsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListApplicationRevisions,
-- listApplicationRevisionsResponse_nextToken - If a large amount
-- of information is returned, an identifier is also returned. It can be
-- used in a subsequent list application revisions call to return the
-- next set of application revisions in the list.
--
-- $sel:revisions:ListApplicationRevisionsResponse',
-- listApplicationRevisionsResponse_revisions - A list of
-- locations that contain the matching revisions.
--
-- $sel:httpStatus:ListApplicationRevisionsResponse',
-- listApplicationRevisionsResponse_httpStatus - The response's
-- http status code.
newListApplicationRevisionsResponse :: Int -> ListApplicationRevisionsResponse
-- | Represents the input of a ListApplications operation.
--
-- See: newListApplications smart constructor.
data ListApplications
ListApplications' :: Maybe Text -> ListApplications
-- | Create a value of ListApplications with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListApplications, listApplications_nextToken - An
-- identifier returned from the previous list applications call. It can
-- be used to return the next set of applications in the list.
newListApplications :: ListApplications
-- | Represents the output of a ListApplications operation.
--
-- See: newListApplicationsResponse smart constructor.
data ListApplicationsResponse
ListApplicationsResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListApplicationsResponse
-- | Create a value of ListApplicationsResponse with all optional
-- fields omitted.
--
-- 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:applications:ListApplicationsResponse',
-- listApplicationsResponse_applications - A list of application
-- names.
--
-- ListApplications, listApplicationsResponse_nextToken -
-- If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list applications call to
-- return the next set of applications in the list.
--
-- $sel:httpStatus:ListApplicationsResponse',
-- listApplicationsResponse_httpStatus - The response's http
-- status code.
newListApplicationsResponse :: Int -> ListApplicationsResponse
-- | Represents the input of a ListDeploymentConfigs operation.
--
-- See: newListDeploymentConfigs smart constructor.
data ListDeploymentConfigs
ListDeploymentConfigs' :: Maybe Text -> ListDeploymentConfigs
-- | Create a value of ListDeploymentConfigs with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeploymentConfigs, listDeploymentConfigs_nextToken -
-- An identifier returned from the previous
-- ListDeploymentConfigs call. It can be used to return the next
-- set of deployment configurations in the list.
newListDeploymentConfigs :: ListDeploymentConfigs
-- | Represents the output of a ListDeploymentConfigs operation.
--
-- See: newListDeploymentConfigsResponse smart constructor.
data ListDeploymentConfigsResponse
ListDeploymentConfigsResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListDeploymentConfigsResponse
-- | Create a value of ListDeploymentConfigsResponse with all
-- optional fields omitted.
--
-- 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:deploymentConfigsList:ListDeploymentConfigsResponse',
-- listDeploymentConfigsResponse_deploymentConfigsList - A list of
-- deployment configurations, including built-in configurations such as
-- CodeDeployDefault.OneAtATime.
--
-- ListDeploymentConfigs,
-- listDeploymentConfigsResponse_nextToken - If a large amount of
-- information is returned, an identifier is also returned. It can be
-- used in a subsequent list deployment configurations call to return the
-- next set of deployment configurations in the list.
--
-- $sel:httpStatus:ListDeploymentConfigsResponse',
-- listDeploymentConfigsResponse_httpStatus - The response's http
-- status code.
newListDeploymentConfigsResponse :: Int -> ListDeploymentConfigsResponse
-- | Represents the input of a ListDeploymentGroups operation.
--
-- See: newListDeploymentGroups smart constructor.
data ListDeploymentGroups
ListDeploymentGroups' :: Maybe Text -> Text -> ListDeploymentGroups
-- | Create a value of ListDeploymentGroups with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeploymentGroups, listDeploymentGroups_nextToken -
-- An identifier returned from the previous list deployment groups call.
-- It can be used to return the next set of deployment groups in the
-- list.
--
-- ListDeploymentGroups,
-- listDeploymentGroups_applicationName - The name of an
-- CodeDeploy application associated with the IAM user or Amazon Web
-- Services account.
newListDeploymentGroups :: Text -> ListDeploymentGroups
-- | Represents the output of a ListDeploymentGroups operation.
--
-- See: newListDeploymentGroupsResponse smart constructor.
data ListDeploymentGroupsResponse
ListDeploymentGroupsResponse' :: Maybe Text -> Maybe [Text] -> Maybe Text -> Int -> ListDeploymentGroupsResponse
-- | Create a value of ListDeploymentGroupsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeploymentGroups,
-- listDeploymentGroupsResponse_applicationName - The application
-- name.
--
-- ListDeploymentGroupsResponse,
-- listDeploymentGroupsResponse_deploymentGroups - A list of
-- deployment group names.
--
-- ListDeploymentGroups,
-- listDeploymentGroupsResponse_nextToken - If a large amount of
-- information is returned, an identifier is also returned. It can be
-- used in a subsequent list deployment groups call to return the next
-- set of deployment groups in the list.
--
-- $sel:httpStatus:ListDeploymentGroupsResponse',
-- listDeploymentGroupsResponse_httpStatus - The response's http
-- status code.
newListDeploymentGroupsResponse :: Int -> ListDeploymentGroupsResponse
-- | See: newListDeploymentTargets smart constructor.
data ListDeploymentTargets
ListDeploymentTargets' :: Maybe Text -> Maybe Text -> Maybe (HashMap TargetFilterName [Text]) -> ListDeploymentTargets
-- | Create a value of ListDeploymentTargets with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeploymentTargets,
-- listDeploymentTargets_deploymentId - The unique ID of a
-- deployment.
--
-- ListDeploymentTargets, listDeploymentTargets_nextToken -
-- A token identifier returned from the previous
-- ListDeploymentTargets call. It can be used to return the next
-- set of deployment targets in the list.
--
-- $sel:targetFilters:ListDeploymentTargets',
-- listDeploymentTargets_targetFilters - A key used to filter the
-- returned targets. The two valid values are:
--
--
-- - TargetStatus - A TargetStatus filter string can
-- be Failed, InProgress, Pending,
-- Ready, Skipped, Succeeded, or
-- Unknown.
-- - ServerInstanceLabel - A ServerInstanceLabel
-- filter string can be Blue or Green.
--
newListDeploymentTargets :: ListDeploymentTargets
-- | See: newListDeploymentTargetsResponse smart constructor.
data ListDeploymentTargetsResponse
ListDeploymentTargetsResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListDeploymentTargetsResponse
-- | Create a value of ListDeploymentTargetsResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeploymentTargets,
-- listDeploymentTargetsResponse_nextToken - If a large amount of
-- information is returned, a token identifier is also returned. It can
-- be used in a subsequent ListDeploymentTargets call to return
-- the next set of deployment targets in the list.
--
-- $sel:targetIds:ListDeploymentTargetsResponse',
-- listDeploymentTargetsResponse_targetIds - The unique IDs of
-- deployment targets.
--
-- $sel:httpStatus:ListDeploymentTargetsResponse',
-- listDeploymentTargetsResponse_httpStatus - The response's http
-- status code.
newListDeploymentTargetsResponse :: Int -> ListDeploymentTargetsResponse
-- | Represents the input of a ListDeployments operation.
--
-- See: newListDeployments smart constructor.
data ListDeployments
ListDeployments' :: Maybe Text -> Maybe TimeRange -> Maybe Text -> Maybe Text -> Maybe [DeploymentStatus] -> Maybe Text -> ListDeployments
-- | Create a value of ListDeployments with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListDeployments, listDeployments_applicationName - The
-- name of an CodeDeploy application associated with the IAM user or
-- Amazon Web Services account.
--
-- If applicationName is specified, then
-- deploymentGroupName must be specified. If it is not
-- specified, then deploymentGroupName must not be specified.
--
-- $sel:createTimeRange:ListDeployments',
-- listDeployments_createTimeRange - A time range (start and end)
-- for returning a subset of the list of deployments.
--
-- ListDeployments, listDeployments_deploymentGroupName -
-- The name of a deployment group for the specified application.
--
-- If deploymentGroupName is specified, then
-- applicationName must be specified. If it is not specified,
-- then applicationName must not be specified.
--
-- ListDeployments, listDeployments_externalId - The unique
-- ID of an external resource for returning deployments linked to the
-- external resource.
--
-- $sel:includeOnlyStatuses:ListDeployments',
-- listDeployments_includeOnlyStatuses - A subset of deployments
-- to list by status:
--
--
-- - Created: Include created deployments in the resulting
-- list.
-- - Queued: Include queued deployments in the resulting
-- list.
-- - In Progress: Include in-progress deployments in the
-- resulting list.
-- - Succeeded: Include successful deployments in the
-- resulting list.
-- - Failed: Include failed deployments in the resulting
-- list.
-- - Stopped: Include stopped deployments in the resulting
-- list.
--
--
-- ListDeployments, listDeployments_nextToken - An
-- identifier returned from the previous list deployments call. It can be
-- used to return the next set of deployments in the list.
newListDeployments :: ListDeployments
-- | Represents the output of a ListDeployments operation.
--
-- See: newListDeploymentsResponse smart constructor.
data ListDeploymentsResponse
ListDeploymentsResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListDeploymentsResponse
-- | Create a value of ListDeploymentsResponse with all optional
-- fields omitted.
--
-- 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:deployments:ListDeploymentsResponse',
-- listDeploymentsResponse_deployments - A list of deployment IDs.
--
-- ListDeployments, listDeploymentsResponse_nextToken - If
-- a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployments call to
-- return the next set of deployments in the list.
--
-- $sel:httpStatus:ListDeploymentsResponse',
-- listDeploymentsResponse_httpStatus - The response's http status
-- code.
newListDeploymentsResponse :: Int -> ListDeploymentsResponse
-- | Represents the input of a ListGitHubAccountTokenNames
-- operation.
--
-- See: newListGitHubAccountTokenNames smart constructor.
data ListGitHubAccountTokenNames
ListGitHubAccountTokenNames' :: Maybe Text -> ListGitHubAccountTokenNames
-- | Create a value of ListGitHubAccountTokenNames with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListGitHubAccountTokenNames,
-- listGitHubAccountTokenNames_nextToken - An identifier returned
-- from the previous ListGitHubAccountTokenNames call. It can be
-- used to return the next set of names in the list.
newListGitHubAccountTokenNames :: ListGitHubAccountTokenNames
-- | Represents the output of a ListGitHubAccountTokenNames
-- operation.
--
-- See: newListGitHubAccountTokenNamesResponse smart
-- constructor.
data ListGitHubAccountTokenNamesResponse
ListGitHubAccountTokenNamesResponse' :: Maybe Text -> Maybe [Text] -> Int -> ListGitHubAccountTokenNamesResponse
-- | Create a value of ListGitHubAccountTokenNamesResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListGitHubAccountTokenNames,
-- listGitHubAccountTokenNamesResponse_nextToken - If a large
-- amount of information is returned, an identifier is also returned. It
-- can be used in a subsequent ListGitHubAccountTokenNames call
-- to return the next set of names in the list.
--
-- $sel:tokenNameList:ListGitHubAccountTokenNamesResponse',
-- listGitHubAccountTokenNamesResponse_tokenNameList - A list of
-- names of connections to GitHub accounts.
--
-- $sel:httpStatus:ListGitHubAccountTokenNamesResponse',
-- listGitHubAccountTokenNamesResponse_httpStatus - The response's
-- http status code.
newListGitHubAccountTokenNamesResponse :: Int -> ListGitHubAccountTokenNamesResponse
-- | Represents the input of a ListOnPremisesInstances operation.
--
-- See: newListOnPremisesInstances smart constructor.
data ListOnPremisesInstances
ListOnPremisesInstances' :: Maybe Text -> Maybe RegistrationStatus -> Maybe [TagFilter] -> ListOnPremisesInstances
-- | Create a value of ListOnPremisesInstances with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListOnPremisesInstances,
-- listOnPremisesInstances_nextToken - An identifier returned from
-- the previous list on-premises instances call. It can be used to return
-- the next set of on-premises instances in the list.
--
-- $sel:registrationStatus:ListOnPremisesInstances',
-- listOnPremisesInstances_registrationStatus - The registration
-- status of the on-premises instances:
--
--
-- - Deregistered: Include deregistered on-premises instances
-- in the resulting list.
-- - Registered: Include registered on-premises instances in
-- the resulting list.
--
--
-- ListOnPremisesInstances,
-- listOnPremisesInstances_tagFilters - The on-premises instance
-- tags that are used to restrict the on-premises instance names
-- returned.
newListOnPremisesInstances :: ListOnPremisesInstances
-- | Represents the output of the list on-premises instances operation.
--
-- See: newListOnPremisesInstancesResponse smart
-- constructor.
data ListOnPremisesInstancesResponse
ListOnPremisesInstancesResponse' :: Maybe [Text] -> Maybe Text -> Int -> ListOnPremisesInstancesResponse
-- | Create a value of ListOnPremisesInstancesResponse with all
-- optional fields omitted.
--
-- 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:instanceNames:ListOnPremisesInstancesResponse',
-- listOnPremisesInstancesResponse_instanceNames - The list of
-- matching on-premises instance names.
--
-- ListOnPremisesInstances,
-- listOnPremisesInstancesResponse_nextToken - If a large amount
-- of information is returned, an identifier is also returned. It can be
-- used in a subsequent list on-premises instances call to return the
-- next set of on-premises instances in the list.
--
-- $sel:httpStatus:ListOnPremisesInstancesResponse',
-- listOnPremisesInstancesResponse_httpStatus - The response's
-- http status code.
newListOnPremisesInstancesResponse :: Int -> ListOnPremisesInstancesResponse
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Maybe Text -> 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:
--
-- ListTagsForResource, listTagsForResource_nextToken - An
-- identifier returned from the previous ListTagsForResource
-- call. It can be used to return the next set of applications in the
-- list.
--
-- $sel:resourceArn:ListTagsForResource',
-- listTagsForResource_resourceArn - The ARN of a CodeDeploy
-- resource. ListTagsForResource returns all the tags associated
-- with the resource that is identified by the ResourceArn.
newListTagsForResource :: Text -> ListTagsForResource
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe Text -> Maybe [Tag] -> 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:
--
-- ListTagsForResource,
-- listTagsForResourceResponse_nextToken - If a large amount of
-- information is returned, an identifier is also returned. It can be
-- used in a subsequent list application revisions call to return the
-- next set of application revisions in the list.
--
-- ListTagsForResourceResponse,
-- listTagsForResourceResponse_tags - A list of tags returned by
-- ListTagsForResource. The tags are associated with the
-- resource identified by the input ResourceArn parameter.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | See: newPutLifecycleEventHookExecutionStatus smart
-- constructor.
data PutLifecycleEventHookExecutionStatus
PutLifecycleEventHookExecutionStatus' :: Maybe Text -> Maybe Text -> Maybe LifecycleEventStatus -> PutLifecycleEventHookExecutionStatus
-- | Create a value of PutLifecycleEventHookExecutionStatus with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PutLifecycleEventHookExecutionStatus,
-- putLifecycleEventHookExecutionStatus_deploymentId - The unique
-- ID of a deployment. Pass this ID to a Lambda function that validates a
-- deployment lifecycle event.
--
-- PutLifecycleEventHookExecutionStatus,
-- putLifecycleEventHookExecutionStatus_lifecycleEventHookExecutionId
-- - The execution ID of a deployment's lifecycle hook. A deployment
-- lifecycle hook is specified in the hooks section of the
-- AppSpec file.
--
-- PutLifecycleEventHookExecutionStatus,
-- putLifecycleEventHookExecutionStatus_status - The result of a
-- Lambda function that validates a deployment lifecycle event. The
-- values listed in Valid Values are valid for lifecycle statuses
-- in general; however, only Succeeded and Failed can
-- be passed successfully in your API call.
newPutLifecycleEventHookExecutionStatus :: PutLifecycleEventHookExecutionStatus
-- | See: newPutLifecycleEventHookExecutionStatusResponse
-- smart constructor.
data PutLifecycleEventHookExecutionStatusResponse
PutLifecycleEventHookExecutionStatusResponse' :: Maybe Text -> Int -> PutLifecycleEventHookExecutionStatusResponse
-- | Create a value of PutLifecycleEventHookExecutionStatusResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- PutLifecycleEventHookExecutionStatus,
-- putLifecycleEventHookExecutionStatusResponse_lifecycleEventHookExecutionId
-- - The execution ID of the lifecycle event hook. A hook is specified in
-- the hooks section of the deployment's AppSpec file.
--
-- $sel:httpStatus:PutLifecycleEventHookExecutionStatusResponse',
-- putLifecycleEventHookExecutionStatusResponse_httpStatus - The
-- response's http status code.
newPutLifecycleEventHookExecutionStatusResponse :: Int -> PutLifecycleEventHookExecutionStatusResponse
-- | Represents the input of a RegisterApplicationRevision operation.
--
-- See: newRegisterApplicationRevision smart constructor.
data RegisterApplicationRevision
RegisterApplicationRevision' :: Maybe Text -> Text -> RevisionLocation -> RegisterApplicationRevision
-- | Create a value of RegisterApplicationRevision with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RegisterApplicationRevision,
-- registerApplicationRevision_description - A comment about the
-- revision.
--
-- RegisterApplicationRevision,
-- registerApplicationRevision_applicationName - The name of an
-- CodeDeploy application associated with the IAM user or Amazon Web
-- Services account.
--
-- RegisterApplicationRevision,
-- registerApplicationRevision_revision - Information about the
-- application revision to register, including type and location.
newRegisterApplicationRevision :: Text -> RevisionLocation -> RegisterApplicationRevision
-- | See: newRegisterApplicationRevisionResponse smart
-- constructor.
data RegisterApplicationRevisionResponse
RegisterApplicationRevisionResponse' :: RegisterApplicationRevisionResponse
-- | Create a value of RegisterApplicationRevisionResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newRegisterApplicationRevisionResponse :: RegisterApplicationRevisionResponse
-- | Represents the input of the register on-premises instance operation.
--
-- See: newRegisterOnPremisesInstance smart constructor.
data RegisterOnPremisesInstance
RegisterOnPremisesInstance' :: Maybe Text -> Maybe Text -> Text -> RegisterOnPremisesInstance
-- | Create a value of RegisterOnPremisesInstance with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RegisterOnPremisesInstance,
-- registerOnPremisesInstance_iamSessionArn - The ARN of the IAM
-- session to associate with the on-premises instance.
--
-- RegisterOnPremisesInstance,
-- registerOnPremisesInstance_iamUserArn - The ARN of the IAM user
-- to associate with the on-premises instance.
--
-- RegisterOnPremisesInstance,
-- registerOnPremisesInstance_instanceName - The name of the
-- on-premises instance to register.
newRegisterOnPremisesInstance :: Text -> RegisterOnPremisesInstance
-- | See: newRegisterOnPremisesInstanceResponse smart
-- constructor.
data RegisterOnPremisesInstanceResponse
RegisterOnPremisesInstanceResponse' :: RegisterOnPremisesInstanceResponse
-- | Create a value of RegisterOnPremisesInstanceResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newRegisterOnPremisesInstanceResponse :: RegisterOnPremisesInstanceResponse
-- | Represents the input of a RemoveTagsFromOnPremisesInstances
-- operation.
--
-- See: newRemoveTagsFromOnPremisesInstances smart
-- constructor.
data RemoveTagsFromOnPremisesInstances
RemoveTagsFromOnPremisesInstances' :: [Tag] -> [Text] -> RemoveTagsFromOnPremisesInstances
-- | Create a value of RemoveTagsFromOnPremisesInstances with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- RemoveTagsFromOnPremisesInstances,
-- removeTagsFromOnPremisesInstances_tags - The tag key-value
-- pairs to remove from the on-premises instances.
--
-- $sel:instanceNames:RemoveTagsFromOnPremisesInstances',
-- removeTagsFromOnPremisesInstances_instanceNames - The names of
-- the on-premises instances from which to remove tags.
newRemoveTagsFromOnPremisesInstances :: RemoveTagsFromOnPremisesInstances
-- | See: newRemoveTagsFromOnPremisesInstancesResponse smart
-- constructor.
data RemoveTagsFromOnPremisesInstancesResponse
RemoveTagsFromOnPremisesInstancesResponse' :: RemoveTagsFromOnPremisesInstancesResponse
-- | Create a value of RemoveTagsFromOnPremisesInstancesResponse
-- with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newRemoveTagsFromOnPremisesInstancesResponse :: RemoveTagsFromOnPremisesInstancesResponse
-- | Represents the input of a StopDeployment operation.
--
-- See: newStopDeployment smart constructor.
data StopDeployment
StopDeployment' :: Maybe Bool -> Text -> StopDeployment
-- | Create a value of StopDeployment with all optional fields
-- omitted.
--
-- 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:autoRollbackEnabled:StopDeployment',
-- stopDeployment_autoRollbackEnabled - Indicates, when a
-- deployment is stopped, whether instances that have been updated should
-- be rolled back to the previous version of the application revision.
--
-- StopDeployment, stopDeployment_deploymentId - The unique
-- ID of a deployment.
newStopDeployment :: Text -> StopDeployment
-- | Represents the output of a StopDeployment operation.
--
-- See: newStopDeploymentResponse smart constructor.
data StopDeploymentResponse
StopDeploymentResponse' :: Maybe StopStatus -> Maybe Text -> Int -> StopDeploymentResponse
-- | Create a value of StopDeploymentResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StopDeploymentResponse, stopDeploymentResponse_status -
-- The status of the stop deployment operation:
--
--
-- - Pending: The stop operation is pending.
-- - Succeeded: The stop operation was successful.
--
--
-- $sel:statusMessage:StopDeploymentResponse',
-- stopDeploymentResponse_statusMessage - An accompanying status
-- message.
--
-- $sel:httpStatus:StopDeploymentResponse',
-- stopDeploymentResponse_httpStatus - The response's http status
-- code.
newStopDeploymentResponse :: Int -> StopDeploymentResponse
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> [Tag] -> 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 ARN of a resource, such as a CodeDeploy application or deployment
-- group.
--
-- TagResource, tagResource_tags - A list of tags that
-- TagResource associates with a resource. The resource is
-- identified by the ResourceArn input parameter.
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 -> [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) that
-- specifies from which resource to disassociate the tags with the keys
-- in the TagKeys input parameter.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - A
-- list of keys of Tag objects. The Tag objects
-- identified by the keys are disassociated from the resource specified
-- by the ResourceArn input parameter.
newUntagResource :: 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
-- | Represents the input of an UpdateApplication operation.
--
-- See: newUpdateApplication smart constructor.
data UpdateApplication
UpdateApplication' :: Maybe Text -> Maybe Text -> UpdateApplication
-- | Create a value of UpdateApplication with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateApplication, updateApplication_applicationName -
-- The current name of the application you want to change.
--
-- $sel:newApplicationName':UpdateApplication',
-- updateApplication_newApplicationName - The new name to give the
-- application.
newUpdateApplication :: UpdateApplication
-- | See: newUpdateApplicationResponse smart constructor.
data UpdateApplicationResponse
UpdateApplicationResponse' :: UpdateApplicationResponse
-- | Create a value of UpdateApplicationResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
newUpdateApplicationResponse :: UpdateApplicationResponse
-- | Represents the input of an UpdateDeploymentGroup operation.
--
-- See: newUpdateDeploymentGroup smart constructor.
data UpdateDeploymentGroup
UpdateDeploymentGroup' :: Maybe AlarmConfiguration -> Maybe AutoRollbackConfiguration -> Maybe [Text] -> Maybe BlueGreenDeploymentConfiguration -> Maybe Text -> Maybe DeploymentStyle -> Maybe [EC2TagFilter] -> Maybe EC2TagSet -> Maybe [ECSService] -> Maybe LoadBalancerInfo -> Maybe Text -> Maybe [TagFilter] -> Maybe OnPremisesTagSet -> Maybe OutdatedInstancesStrategy -> Maybe Text -> Maybe [TriggerConfig] -> Text -> Text -> UpdateDeploymentGroup
-- | Create a value of UpdateDeploymentGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_alarmConfiguration - Information to add
-- or change about Amazon CloudWatch alarms when the deployment group is
-- updated.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_autoRollbackConfiguration - Information
-- for an automatic rollback configuration that is added or changed when
-- a deployment group is updated.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_autoScalingGroups - The replacement list
-- of Auto Scaling groups to be included in the deployment group, if you
-- want to change them.
--
--
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_blueGreenDeploymentConfiguration -
-- Information about blue/green deployment options for a deployment
-- group.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_deploymentConfigName - The replacement
-- deployment configuration name to use, if you want to change it.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_deploymentStyle - Information about the
-- type of deployment, either in-place or blue/green, you want to run and
-- whether to route deployment traffic behind a load balancer.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_ec2TagFilters - The replacement set of
-- Amazon EC2 tags on which to filter, if you want to change them. To
-- keep the existing tags, enter their names. To remove tags, do not
-- enter any tag names.
--
-- UpdateDeploymentGroup, updateDeploymentGroup_ec2TagSet -
-- Information about groups of tags applied to on-premises instances. The
-- deployment group includes only Amazon EC2 instances identified by all
-- the tag groups.
--
-- UpdateDeploymentGroup, updateDeploymentGroup_ecsServices
-- - The target Amazon ECS services in the deployment group. This applies
-- only to deployment groups that use the Amazon ECS compute platform. A
-- target Amazon ECS service is specified as an Amazon ECS cluster and
-- service name pair using the format
-- <clustername>:<servicename>.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_loadBalancerInfo - Information about the
-- load balancer used in a deployment.
--
-- $sel:newDeploymentGroupName':UpdateDeploymentGroup',
-- updateDeploymentGroup_newDeploymentGroupName - The new name of
-- the deployment group, if you want to change it.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_onPremisesInstanceTagFilters - The
-- replacement set of on-premises instance tags on which to filter, if
-- you want to change them. To keep the existing tags, enter their names.
-- To remove tags, do not enter any tag names.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_onPremisesTagSet - Information about an
-- on-premises instance tag set. The deployment group includes only
-- on-premises instances identified by all the tag groups.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_outdatedInstancesStrategy - Indicates
-- what happens when new Amazon EC2 instances are launched mid-deployment
-- and do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_serviceRoleArn - A replacement ARN for
-- the service role, if you want to change it.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_triggerConfigurations - Information about
-- triggers to change when the deployment group is updated. For examples,
-- see Edit a Trigger in a CodeDeploy Deployment Group in the
-- CodeDeploy User Guide.
--
-- UpdateDeploymentGroup,
-- updateDeploymentGroup_applicationName - The application name
-- that corresponds to the deployment group to update.
--
-- $sel:currentDeploymentGroupName:UpdateDeploymentGroup',
-- updateDeploymentGroup_currentDeploymentGroupName - The current
-- name of the deployment group.
newUpdateDeploymentGroup :: Text -> Text -> UpdateDeploymentGroup
-- | Represents the output of an UpdateDeploymentGroup operation.
--
-- See: newUpdateDeploymentGroupResponse smart constructor.
data UpdateDeploymentGroupResponse
UpdateDeploymentGroupResponse' :: Maybe [AutoScalingGroup] -> Int -> UpdateDeploymentGroupResponse
-- | Create a value of UpdateDeploymentGroupResponse with all
-- optional fields omitted.
--
-- 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:hooksNotCleanedUp:UpdateDeploymentGroupResponse',
-- updateDeploymentGroupResponse_hooksNotCleanedUp - If the output
-- contains no data, and the corresponding deployment group contained at
-- least one Auto Scaling group, CodeDeploy successfully removed all
-- corresponding Auto Scaling lifecycle event hooks from the Amazon Web
-- Services account. If the output contains data, CodeDeploy could not
-- remove some Auto Scaling lifecycle event hooks from the Amazon Web
-- Services account.
--
-- $sel:httpStatus:UpdateDeploymentGroupResponse',
-- updateDeploymentGroupResponse_httpStatus - The response's http
-- status code.
newUpdateDeploymentGroupResponse :: Int -> UpdateDeploymentGroupResponse
newtype ApplicationRevisionSortBy
ApplicationRevisionSortBy' :: Text -> ApplicationRevisionSortBy
[fromApplicationRevisionSortBy] :: ApplicationRevisionSortBy -> Text
pattern ApplicationRevisionSortBy_FirstUsedTime :: ApplicationRevisionSortBy
pattern ApplicationRevisionSortBy_LastUsedTime :: ApplicationRevisionSortBy
pattern ApplicationRevisionSortBy_RegisterTime :: ApplicationRevisionSortBy
newtype AutoRollbackEvent
AutoRollbackEvent' :: Text -> AutoRollbackEvent
[fromAutoRollbackEvent] :: AutoRollbackEvent -> Text
pattern AutoRollbackEvent_DEPLOYMENT_FAILURE :: AutoRollbackEvent
pattern AutoRollbackEvent_DEPLOYMENT_STOP_ON_ALARM :: AutoRollbackEvent
pattern AutoRollbackEvent_DEPLOYMENT_STOP_ON_REQUEST :: AutoRollbackEvent
newtype BundleType
BundleType' :: Text -> BundleType
[fromBundleType] :: BundleType -> Text
pattern BundleType_JSON :: BundleType
pattern BundleType_Tar :: BundleType
pattern BundleType_Tgz :: BundleType
pattern BundleType_YAML :: BundleType
pattern BundleType_Zip :: BundleType
newtype ComputePlatform
ComputePlatform' :: Text -> ComputePlatform
[fromComputePlatform] :: ComputePlatform -> Text
pattern ComputePlatform_ECS :: ComputePlatform
pattern ComputePlatform_Lambda :: ComputePlatform
pattern ComputePlatform_Server :: ComputePlatform
newtype DeployErrorCode
DeployErrorCode' :: Text -> DeployErrorCode
[fromDeployErrorCode] :: DeployErrorCode -> Text
pattern DeployErrorCode_AGENT_ISSUE :: DeployErrorCode
pattern DeployErrorCode_ALARM_ACTIVE :: DeployErrorCode
pattern DeployErrorCode_APPLICATION_MISSING :: DeployErrorCode
pattern DeployErrorCode_AUTOSCALING_VALIDATION_ERROR :: DeployErrorCode
pattern DeployErrorCode_AUTO_SCALING_CONFIGURATION :: DeployErrorCode
pattern DeployErrorCode_AUTO_SCALING_IAM_ROLE_PERMISSIONS :: DeployErrorCode
pattern DeployErrorCode_CLOUDFORMATION_STACK_FAILURE :: DeployErrorCode
pattern DeployErrorCode_CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND :: DeployErrorCode
pattern DeployErrorCode_CUSTOMER_APPLICATION_UNHEALTHY :: DeployErrorCode
pattern DeployErrorCode_DEPLOYMENT_GROUP_MISSING :: DeployErrorCode
pattern DeployErrorCode_ECS_UPDATE_ERROR :: DeployErrorCode
pattern DeployErrorCode_ELASTIC_LOAD_BALANCING_INVALID :: DeployErrorCode
pattern DeployErrorCode_ELB_INVALID_INSTANCE :: DeployErrorCode
pattern DeployErrorCode_HEALTH_CONSTRAINTS :: DeployErrorCode
pattern DeployErrorCode_HEALTH_CONSTRAINTS_INVALID :: DeployErrorCode
pattern DeployErrorCode_HOOK_EXECUTION_FAILURE :: DeployErrorCode
pattern DeployErrorCode_IAM_ROLE_MISSING :: DeployErrorCode
pattern DeployErrorCode_IAM_ROLE_PERMISSIONS :: DeployErrorCode
pattern DeployErrorCode_INTERNAL_ERROR :: DeployErrorCode
pattern DeployErrorCode_INVALID_ECS_SERVICE :: DeployErrorCode
pattern DeployErrorCode_INVALID_LAMBDA_CONFIGURATION :: DeployErrorCode
pattern DeployErrorCode_INVALID_LAMBDA_FUNCTION :: DeployErrorCode
pattern DeployErrorCode_INVALID_REVISION :: DeployErrorCode
pattern DeployErrorCode_MANUAL_STOP :: DeployErrorCode
pattern DeployErrorCode_MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION :: DeployErrorCode
pattern DeployErrorCode_MISSING_ELB_INFORMATION :: DeployErrorCode
pattern DeployErrorCode_MISSING_GITHUB_TOKEN :: DeployErrorCode
pattern DeployErrorCode_NO_EC2_SUBSCRIPTION :: DeployErrorCode
pattern DeployErrorCode_NO_INSTANCES :: DeployErrorCode
pattern DeployErrorCode_OVER_MAX_INSTANCES :: DeployErrorCode
pattern DeployErrorCode_RESOURCE_LIMIT_EXCEEDED :: DeployErrorCode
pattern DeployErrorCode_REVISION_MISSING :: DeployErrorCode
pattern DeployErrorCode_THROTTLED :: DeployErrorCode
pattern DeployErrorCode_TIMEOUT :: DeployErrorCode
newtype DeploymentCreator
DeploymentCreator' :: Text -> DeploymentCreator
[fromDeploymentCreator] :: DeploymentCreator -> Text
pattern DeploymentCreator_Autoscaling :: DeploymentCreator
pattern DeploymentCreator_CloudFormation :: DeploymentCreator
pattern DeploymentCreator_CloudFormationRollback :: DeploymentCreator
pattern DeploymentCreator_CodeDeploy :: DeploymentCreator
pattern DeploymentCreator_CodeDeployAutoUpdate :: DeploymentCreator
pattern DeploymentCreator_CodeDeployRollback :: DeploymentCreator
pattern DeploymentCreator_User :: DeploymentCreator
newtype DeploymentOption
DeploymentOption' :: Text -> DeploymentOption
[fromDeploymentOption] :: DeploymentOption -> Text
pattern DeploymentOption_WITHOUT_TRAFFIC_CONTROL :: DeploymentOption
pattern DeploymentOption_WITH_TRAFFIC_CONTROL :: DeploymentOption
newtype DeploymentReadyAction
DeploymentReadyAction' :: Text -> DeploymentReadyAction
[fromDeploymentReadyAction] :: DeploymentReadyAction -> Text
pattern DeploymentReadyAction_CONTINUE_DEPLOYMENT :: DeploymentReadyAction
pattern DeploymentReadyAction_STOP_DEPLOYMENT :: DeploymentReadyAction
newtype DeploymentStatus
DeploymentStatus' :: Text -> DeploymentStatus
[fromDeploymentStatus] :: DeploymentStatus -> Text
pattern DeploymentStatus_Baking :: DeploymentStatus
pattern DeploymentStatus_Created :: DeploymentStatus
pattern DeploymentStatus_Failed :: DeploymentStatus
pattern DeploymentStatus_InProgress :: DeploymentStatus
pattern DeploymentStatus_Queued :: DeploymentStatus
pattern DeploymentStatus_Ready :: DeploymentStatus
pattern DeploymentStatus_Stopped :: DeploymentStatus
pattern DeploymentStatus_Succeeded :: DeploymentStatus
newtype DeploymentTargetType
DeploymentTargetType' :: Text -> DeploymentTargetType
[fromDeploymentTargetType] :: DeploymentTargetType -> Text
pattern DeploymentTargetType_CloudFormationTarget :: DeploymentTargetType
pattern DeploymentTargetType_ECSTarget :: DeploymentTargetType
pattern DeploymentTargetType_InstanceTarget :: DeploymentTargetType
pattern DeploymentTargetType_LambdaTarget :: DeploymentTargetType
newtype DeploymentType
DeploymentType' :: Text -> DeploymentType
[fromDeploymentType] :: DeploymentType -> Text
pattern DeploymentType_BLUE_GREEN :: DeploymentType
pattern DeploymentType_IN_PLACE :: DeploymentType
newtype DeploymentWaitType
DeploymentWaitType' :: Text -> DeploymentWaitType
[fromDeploymentWaitType] :: DeploymentWaitType -> Text
pattern DeploymentWaitType_READY_WAIT :: DeploymentWaitType
pattern DeploymentWaitType_TERMINATION_WAIT :: DeploymentWaitType
newtype EC2TagFilterType
EC2TagFilterType' :: Text -> EC2TagFilterType
[fromEC2TagFilterType] :: EC2TagFilterType -> Text
pattern EC2TagFilterType_KEY_AND_VALUE :: EC2TagFilterType
pattern EC2TagFilterType_KEY_ONLY :: EC2TagFilterType
pattern EC2TagFilterType_VALUE_ONLY :: EC2TagFilterType
newtype FileExistsBehavior
FileExistsBehavior' :: Text -> FileExistsBehavior
[fromFileExistsBehavior] :: FileExistsBehavior -> Text
pattern FileExistsBehavior_DISALLOW :: FileExistsBehavior
pattern FileExistsBehavior_OVERWRITE :: FileExistsBehavior
pattern FileExistsBehavior_RETAIN :: FileExistsBehavior
newtype GreenFleetProvisioningAction
GreenFleetProvisioningAction' :: Text -> GreenFleetProvisioningAction
[fromGreenFleetProvisioningAction] :: GreenFleetProvisioningAction -> Text
pattern GreenFleetProvisioningAction_COPY_AUTO_SCALING_GROUP :: GreenFleetProvisioningAction
pattern GreenFleetProvisioningAction_DISCOVER_EXISTING :: GreenFleetProvisioningAction
newtype InstanceAction
InstanceAction' :: Text -> InstanceAction
[fromInstanceAction] :: InstanceAction -> Text
pattern InstanceAction_KEEP_ALIVE :: InstanceAction
pattern InstanceAction_TERMINATE :: InstanceAction
newtype LifecycleErrorCode
LifecycleErrorCode' :: Text -> LifecycleErrorCode
[fromLifecycleErrorCode] :: LifecycleErrorCode -> Text
pattern LifecycleErrorCode_ScriptFailed :: LifecycleErrorCode
pattern LifecycleErrorCode_ScriptMissing :: LifecycleErrorCode
pattern LifecycleErrorCode_ScriptNotExecutable :: LifecycleErrorCode
pattern LifecycleErrorCode_ScriptTimedOut :: LifecycleErrorCode
pattern LifecycleErrorCode_Success :: LifecycleErrorCode
pattern LifecycleErrorCode_UnknownError :: LifecycleErrorCode
newtype LifecycleEventStatus
LifecycleEventStatus' :: Text -> LifecycleEventStatus
[fromLifecycleEventStatus] :: LifecycleEventStatus -> Text
pattern LifecycleEventStatus_Failed :: LifecycleEventStatus
pattern LifecycleEventStatus_InProgress :: LifecycleEventStatus
pattern LifecycleEventStatus_Pending :: LifecycleEventStatus
pattern LifecycleEventStatus_Skipped :: LifecycleEventStatus
pattern LifecycleEventStatus_Succeeded :: LifecycleEventStatus
pattern LifecycleEventStatus_Unknown :: LifecycleEventStatus
newtype ListStateFilterAction
ListStateFilterAction' :: Text -> ListStateFilterAction
[fromListStateFilterAction] :: ListStateFilterAction -> Text
pattern ListStateFilterAction_Exclude :: ListStateFilterAction
pattern ListStateFilterAction_Ignore :: ListStateFilterAction
pattern ListStateFilterAction_Include :: ListStateFilterAction
newtype MinimumHealthyHostsType
MinimumHealthyHostsType' :: Text -> MinimumHealthyHostsType
[fromMinimumHealthyHostsType] :: MinimumHealthyHostsType -> Text
pattern MinimumHealthyHostsType_FLEET_PERCENT :: MinimumHealthyHostsType
pattern MinimumHealthyHostsType_HOST_COUNT :: MinimumHealthyHostsType
newtype OutdatedInstancesStrategy
OutdatedInstancesStrategy' :: Text -> OutdatedInstancesStrategy
[fromOutdatedInstancesStrategy] :: OutdatedInstancesStrategy -> Text
pattern OutdatedInstancesStrategy_IGNORE :: OutdatedInstancesStrategy
pattern OutdatedInstancesStrategy_UPDATE :: OutdatedInstancesStrategy
newtype RegistrationStatus
RegistrationStatus' :: Text -> RegistrationStatus
[fromRegistrationStatus] :: RegistrationStatus -> Text
pattern RegistrationStatus_Deregistered :: RegistrationStatus
pattern RegistrationStatus_Registered :: RegistrationStatus
newtype RevisionLocationType
RevisionLocationType' :: Text -> RevisionLocationType
[fromRevisionLocationType] :: RevisionLocationType -> Text
pattern RevisionLocationType_AppSpecContent :: RevisionLocationType
pattern RevisionLocationType_GitHub :: RevisionLocationType
pattern RevisionLocationType_S3 :: RevisionLocationType
pattern RevisionLocationType_String :: RevisionLocationType
newtype SortOrder
SortOrder' :: Text -> SortOrder
[fromSortOrder] :: SortOrder -> Text
pattern SortOrder_Ascending :: SortOrder
pattern SortOrder_Descending :: SortOrder
newtype StopStatus
StopStatus' :: Text -> StopStatus
[fromStopStatus] :: StopStatus -> Text
pattern StopStatus_Pending :: StopStatus
pattern StopStatus_Succeeded :: StopStatus
newtype TagFilterType
TagFilterType' :: Text -> TagFilterType
[fromTagFilterType] :: TagFilterType -> Text
pattern TagFilterType_KEY_AND_VALUE :: TagFilterType
pattern TagFilterType_KEY_ONLY :: TagFilterType
pattern TagFilterType_VALUE_ONLY :: TagFilterType
newtype TargetFilterName
TargetFilterName' :: Text -> TargetFilterName
[fromTargetFilterName] :: TargetFilterName -> Text
pattern TargetFilterName_ServerInstanceLabel :: TargetFilterName
pattern TargetFilterName_TargetStatus :: TargetFilterName
newtype TargetLabel
TargetLabel' :: Text -> TargetLabel
[fromTargetLabel] :: TargetLabel -> Text
pattern TargetLabel_Blue :: TargetLabel
pattern TargetLabel_Green :: TargetLabel
newtype TargetStatus
TargetStatus' :: Text -> TargetStatus
[fromTargetStatus] :: TargetStatus -> Text
pattern TargetStatus_Failed :: TargetStatus
pattern TargetStatus_InProgress :: TargetStatus
pattern TargetStatus_Pending :: TargetStatus
pattern TargetStatus_Ready :: TargetStatus
pattern TargetStatus_Skipped :: TargetStatus
pattern TargetStatus_Succeeded :: TargetStatus
pattern TargetStatus_Unknown :: TargetStatus
newtype TrafficRoutingType
TrafficRoutingType' :: Text -> TrafficRoutingType
[fromTrafficRoutingType] :: TrafficRoutingType -> Text
pattern TrafficRoutingType_AllAtOnce :: TrafficRoutingType
pattern TrafficRoutingType_TimeBasedCanary :: TrafficRoutingType
pattern TrafficRoutingType_TimeBasedLinear :: TrafficRoutingType
newtype TriggerEventType
TriggerEventType' :: Text -> TriggerEventType
[fromTriggerEventType] :: TriggerEventType -> Text
pattern TriggerEventType_DeploymentFailure :: TriggerEventType
pattern TriggerEventType_DeploymentReady :: TriggerEventType
pattern TriggerEventType_DeploymentRollback :: TriggerEventType
pattern TriggerEventType_DeploymentStart :: TriggerEventType
pattern TriggerEventType_DeploymentStop :: TriggerEventType
pattern TriggerEventType_DeploymentSuccess :: TriggerEventType
pattern TriggerEventType_InstanceFailure :: TriggerEventType
pattern TriggerEventType_InstanceReady :: TriggerEventType
pattern TriggerEventType_InstanceStart :: TriggerEventType
pattern TriggerEventType_InstanceSuccess :: TriggerEventType
-- | Information about an alarm.
--
-- See: newAlarm smart constructor.
data Alarm
Alarm' :: Maybe Text -> Alarm
-- | Create a value of Alarm with all optional fields omitted.
--
-- 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:Alarm', alarm_name - The name of the alarm.
-- Maximum length is 255 characters. Each alarm name can be used only
-- once in a list of alarms.
newAlarm :: Alarm
-- | Information about alarms associated with a deployment or deployment
-- group.
--
-- See: newAlarmConfiguration smart constructor.
data AlarmConfiguration
AlarmConfiguration' :: Maybe [Alarm] -> Maybe Bool -> Maybe Bool -> AlarmConfiguration
-- | Create a value of AlarmConfiguration with all optional fields
-- omitted.
--
-- 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:alarms:AlarmConfiguration',
-- alarmConfiguration_alarms - A list of alarms configured for the
-- deployment or deployment group. A maximum of 10 alarms can be added.
--
-- $sel:enabled:AlarmConfiguration',
-- alarmConfiguration_enabled - Indicates whether the alarm
-- configuration is enabled.
--
-- $sel:ignorePollAlarmFailure:AlarmConfiguration',
-- alarmConfiguration_ignorePollAlarmFailure - Indicates whether a
-- deployment should continue if information about the current state of
-- alarms cannot be retrieved from Amazon CloudWatch. The default value
-- is false.
--
--
-- - true: The deployment proceeds even if alarm status
-- information can't be retrieved from Amazon CloudWatch.
-- - false: The deployment stops if alarm status information
-- can't be retrieved from Amazon CloudWatch.
--
newAlarmConfiguration :: AlarmConfiguration
-- | A revision for an Lambda or Amazon ECS deployment that is a
-- YAML-formatted or JSON-formatted string. For Lambda and Amazon ECS
-- deployments, the revision is the same as the AppSpec file. This method
-- replaces the deprecated RawString data type.
--
-- See: newAppSpecContent smart constructor.
data AppSpecContent
AppSpecContent' :: Maybe Text -> Maybe Text -> AppSpecContent
-- | Create a value of AppSpecContent with all optional fields
-- omitted.
--
-- 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:content:AppSpecContent', appSpecContent_content -
-- The YAML-formatted or JSON-formatted revision string.
--
-- For an Lambda deployment, the content includes a Lambda function name,
-- the alias for its original version, and the alias for its replacement
-- version. The deployment shifts traffic from the original version of
-- the Lambda function to the replacement version.
--
-- For an Amazon ECS deployment, the content includes the task name,
-- information about the load balancer that serves traffic to the
-- container, and more.
--
-- For both types of deployments, the content can specify Lambda
-- functions that run at specified hooks, such as BeforeInstall,
-- during a deployment.
--
-- $sel:sha256:AppSpecContent', appSpecContent_sha256 - The
-- SHA256 hash value of the revision content.
newAppSpecContent :: AppSpecContent
-- | Information about an application.
--
-- See: newApplicationInfo smart constructor.
data ApplicationInfo
ApplicationInfo' :: Maybe Text -> Maybe Text -> Maybe ComputePlatform -> Maybe POSIX -> Maybe Text -> Maybe Bool -> ApplicationInfo
-- | Create a value of ApplicationInfo with all optional fields
-- omitted.
--
-- 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:applicationId:ApplicationInfo',
-- applicationInfo_applicationId - The application ID.
--
-- $sel:applicationName:ApplicationInfo',
-- applicationInfo_applicationName - The application name.
--
-- $sel:computePlatform:ApplicationInfo',
-- applicationInfo_computePlatform - The destination platform type
-- for deployment of the application (Lambda or
-- Server).
--
-- $sel:createTime:ApplicationInfo',
-- applicationInfo_createTime - The time at which the application
-- was created.
--
-- $sel:gitHubAccountName:ApplicationInfo',
-- applicationInfo_gitHubAccountName - The name for a connection
-- to a GitHub account.
--
-- $sel:linkedToGitHub:ApplicationInfo',
-- applicationInfo_linkedToGitHub - True if the user has
-- authenticated with GitHub for the specified application. Otherwise,
-- false.
newApplicationInfo :: ApplicationInfo
-- | Information about a configuration for automatically rolling back to a
-- previous version of an application revision when a deployment is not
-- completed successfully.
--
-- See: newAutoRollbackConfiguration smart constructor.
data AutoRollbackConfiguration
AutoRollbackConfiguration' :: Maybe Bool -> Maybe [AutoRollbackEvent] -> AutoRollbackConfiguration
-- | Create a value of AutoRollbackConfiguration with all optional
-- fields omitted.
--
-- 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:enabled:AutoRollbackConfiguration',
-- autoRollbackConfiguration_enabled - Indicates whether a defined
-- automatic rollback configuration is currently enabled.
--
-- $sel:events:AutoRollbackConfiguration',
-- autoRollbackConfiguration_events - The event type or types that
-- trigger a rollback.
newAutoRollbackConfiguration :: AutoRollbackConfiguration
-- | Information about an Auto Scaling group.
--
-- See: newAutoScalingGroup smart constructor.
data AutoScalingGroup
AutoScalingGroup' :: Maybe Text -> Maybe Text -> AutoScalingGroup
-- | Create a value of AutoScalingGroup with all optional fields
-- omitted.
--
-- 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:hook:AutoScalingGroup', autoScalingGroup_hook - An
-- Auto Scaling lifecycle event hook name.
--
-- $sel:name:AutoScalingGroup', autoScalingGroup_name - The
-- Auto Scaling group name.
newAutoScalingGroup :: AutoScalingGroup
-- | Information about blue/green deployment options for a deployment
-- group.
--
-- See: newBlueGreenDeploymentConfiguration smart
-- constructor.
data BlueGreenDeploymentConfiguration
BlueGreenDeploymentConfiguration' :: Maybe DeploymentReadyOption -> Maybe GreenFleetProvisioningOption -> Maybe BlueInstanceTerminationOption -> BlueGreenDeploymentConfiguration
-- | Create a value of BlueGreenDeploymentConfiguration with all
-- optional fields omitted.
--
-- 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:deploymentReadyOption:BlueGreenDeploymentConfiguration',
-- blueGreenDeploymentConfiguration_deploymentReadyOption -
-- Information about the action to take when newly provisioned instances
-- are ready to receive traffic in a blue/green deployment.
--
--
-- $sel:greenFleetProvisioningOption:BlueGreenDeploymentConfiguration',
-- blueGreenDeploymentConfiguration_greenFleetProvisioningOption -
-- Information about how instances are provisioned for a replacement
-- environment in a blue/green deployment.
--
--
-- $sel:terminateBlueInstancesOnDeploymentSuccess:BlueGreenDeploymentConfiguration',
-- blueGreenDeploymentConfiguration_terminateBlueInstancesOnDeploymentSuccess
-- - Information about whether to terminate instances in the original
-- fleet during a blue/green deployment.
newBlueGreenDeploymentConfiguration :: BlueGreenDeploymentConfiguration
-- | Information about whether instances in the original environment are
-- terminated when a blue/green deployment is successful.
-- BlueInstanceTerminationOption does not apply to Lambda
-- deployments.
--
-- See: newBlueInstanceTerminationOption smart constructor.
data BlueInstanceTerminationOption
BlueInstanceTerminationOption' :: Maybe InstanceAction -> Maybe Int -> BlueInstanceTerminationOption
-- | Create a value of BlueInstanceTerminationOption with all
-- optional fields omitted.
--
-- 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:action:BlueInstanceTerminationOption',
-- blueInstanceTerminationOption_action - The action to take on
-- instances in the original environment after a successful blue/green
-- deployment.
--
--
-- - TERMINATE: Instances are terminated after a specified
-- wait time.
-- - KEEP_ALIVE: Instances are left running after they are
-- deregistered from the load balancer and removed from the deployment
-- group.
--
--
--
-- $sel:terminationWaitTimeInMinutes:BlueInstanceTerminationOption',
-- blueInstanceTerminationOption_terminationWaitTimeInMinutes -
-- For an Amazon EC2 deployment, the number of minutes to wait after a
-- successful blue/green deployment before terminating instances from the
-- original environment.
--
-- For an Amazon ECS deployment, the number of minutes before deleting
-- the original (blue) task set. During an Amazon ECS deployment,
-- CodeDeploy shifts traffic from the original (blue) task set to a
-- replacement (green) task set.
--
-- The maximum setting is 2880 minutes (2 days).
newBlueInstanceTerminationOption :: BlueInstanceTerminationOption
-- | Information about the target to be updated by an CloudFormation
-- blue/green deployment. This target type is used for all deployments
-- initiated by a CloudFormation stack update.
--
-- See: newCloudFormationTarget smart constructor.
data CloudFormationTarget
CloudFormationTarget' :: Maybe Text -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe Text -> Maybe TargetStatus -> Maybe Text -> Maybe Double -> CloudFormationTarget
-- | Create a value of CloudFormationTarget with all optional fields
-- omitted.
--
-- 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:deploymentId:CloudFormationTarget',
-- cloudFormationTarget_deploymentId - The unique ID of an
-- CloudFormation blue/green deployment.
--
-- $sel:lastUpdatedAt:CloudFormationTarget',
-- cloudFormationTarget_lastUpdatedAt - The date and time when the
-- target application was updated by an CloudFormation blue/green
-- deployment.
--
-- $sel:lifecycleEvents:CloudFormationTarget',
-- cloudFormationTarget_lifecycleEvents - The lifecycle events of
-- the CloudFormation blue/green deployment to this target application.
--
-- $sel:resourceType:CloudFormationTarget',
-- cloudFormationTarget_resourceType - The resource type for the
-- CloudFormation blue/green deployment.
--
-- CloudFormationTarget, cloudFormationTarget_status - The
-- status of an CloudFormation blue/green deployment's target
-- application.
--
-- $sel:targetId:CloudFormationTarget',
-- cloudFormationTarget_targetId - The unique ID of a deployment
-- target that has a type of CloudFormationTarget.
--
-- $sel:targetVersionWeight:CloudFormationTarget',
-- cloudFormationTarget_targetVersionWeight - The percentage of
-- production traffic that the target version of an CloudFormation
-- blue/green deployment receives.
newCloudFormationTarget :: CloudFormationTarget
-- | Information about a deployment configuration.
--
-- See: newDeploymentConfigInfo smart constructor.
data DeploymentConfigInfo
DeploymentConfigInfo' :: Maybe ComputePlatform -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe MinimumHealthyHosts -> Maybe TrafficRoutingConfig -> DeploymentConfigInfo
-- | Create a value of DeploymentConfigInfo with all optional fields
-- omitted.
--
-- 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:computePlatform:DeploymentConfigInfo',
-- deploymentConfigInfo_computePlatform - The destination platform
-- type for the deployment (Lambda, Server, or
-- ECS).
--
-- $sel:createTime:DeploymentConfigInfo',
-- deploymentConfigInfo_createTime - The time at which the
-- deployment configuration was created.
--
-- $sel:deploymentConfigId:DeploymentConfigInfo',
-- deploymentConfigInfo_deploymentConfigId - The deployment
-- configuration ID.
--
-- $sel:deploymentConfigName:DeploymentConfigInfo',
-- deploymentConfigInfo_deploymentConfigName - The deployment
-- configuration name.
--
-- $sel:minimumHealthyHosts:DeploymentConfigInfo',
-- deploymentConfigInfo_minimumHealthyHosts - Information about
-- the number or percentage of minimum healthy instance.
--
-- $sel:trafficRoutingConfig:DeploymentConfigInfo',
-- deploymentConfigInfo_trafficRoutingConfig - The configuration
-- that specifies how the deployment traffic is routed. Used for
-- deployments with a Lambda or Amazon ECS compute platform only.
newDeploymentConfigInfo :: DeploymentConfigInfo
-- | Information about a deployment group.
--
-- See: newDeploymentGroupInfo smart constructor.
data DeploymentGroupInfo
DeploymentGroupInfo' :: Maybe AlarmConfiguration -> Maybe Text -> Maybe AutoRollbackConfiguration -> Maybe [AutoScalingGroup] -> Maybe BlueGreenDeploymentConfiguration -> Maybe ComputePlatform -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeploymentStyle -> Maybe [EC2TagFilter] -> Maybe EC2TagSet -> Maybe [ECSService] -> Maybe LastDeploymentInfo -> Maybe LastDeploymentInfo -> Maybe LoadBalancerInfo -> Maybe [TagFilter] -> Maybe OnPremisesTagSet -> Maybe OutdatedInstancesStrategy -> Maybe Text -> Maybe RevisionLocation -> Maybe [TriggerConfig] -> DeploymentGroupInfo
-- | Create a value of DeploymentGroupInfo with all optional fields
-- omitted.
--
-- 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:alarmConfiguration:DeploymentGroupInfo',
-- deploymentGroupInfo_alarmConfiguration - A list of alarms
-- associated with the deployment group.
--
-- $sel:applicationName:DeploymentGroupInfo',
-- deploymentGroupInfo_applicationName - The application name.
--
-- $sel:autoRollbackConfiguration:DeploymentGroupInfo',
-- deploymentGroupInfo_autoRollbackConfiguration - Information
-- about the automatic rollback configuration associated with the
-- deployment group.
--
-- $sel:autoScalingGroups:DeploymentGroupInfo',
-- deploymentGroupInfo_autoScalingGroups - A list of associated
-- Auto Scaling groups.
--
-- $sel:blueGreenDeploymentConfiguration:DeploymentGroupInfo',
-- deploymentGroupInfo_blueGreenDeploymentConfiguration -
-- Information about blue/green deployment options for a deployment
-- group.
--
-- $sel:computePlatform:DeploymentGroupInfo',
-- deploymentGroupInfo_computePlatform - The destination platform
-- type for the deployment (Lambda, Server, or
-- ECS).
--
-- $sel:deploymentConfigName:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentConfigName - The deployment
-- configuration name.
--
-- $sel:deploymentGroupId:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentGroupId - The deployment group
-- ID.
--
-- $sel:deploymentGroupName:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentGroupName - The deployment group
-- name.
--
-- $sel:deploymentStyle:DeploymentGroupInfo',
-- deploymentGroupInfo_deploymentStyle - Information about the
-- type of deployment, either in-place or blue/green, you want to run and
-- whether to route deployment traffic behind a load balancer.
--
-- $sel:ec2TagFilters:DeploymentGroupInfo',
-- deploymentGroupInfo_ec2TagFilters - The Amazon EC2 tags on
-- which to filter. The deployment group includes EC2 instances with any
-- of the specified tags.
--
-- $sel:ec2TagSet:DeploymentGroupInfo',
-- deploymentGroupInfo_ec2TagSet - Information about groups of
-- tags applied to an Amazon EC2 instance. The deployment group includes
-- only Amazon EC2 instances identified by all of the tag groups. Cannot
-- be used in the same call as ec2TagFilters.
--
-- $sel:ecsServices:DeploymentGroupInfo',
-- deploymentGroupInfo_ecsServices - The target Amazon ECS
-- services in the deployment group. This applies only to deployment
-- groups that use the Amazon ECS compute platform. A target Amazon ECS
-- service is specified as an Amazon ECS cluster and service name pair
-- using the format <clustername>:<servicename>.
--
-- $sel:lastAttemptedDeployment:DeploymentGroupInfo',
-- deploymentGroupInfo_lastAttemptedDeployment - Information about
-- the most recent attempted deployment to the deployment group.
--
-- $sel:lastSuccessfulDeployment:DeploymentGroupInfo',
-- deploymentGroupInfo_lastSuccessfulDeployment - Information
-- about the most recent successful deployment to the deployment group.
--
-- $sel:loadBalancerInfo:DeploymentGroupInfo',
-- deploymentGroupInfo_loadBalancerInfo - Information about the
-- load balancer to use in a deployment.
--
-- $sel:onPremisesInstanceTagFilters:DeploymentGroupInfo',
-- deploymentGroupInfo_onPremisesInstanceTagFilters - The
-- on-premises instance tags on which to filter. The deployment group
-- includes on-premises instances with any of the specified tags.
--
-- $sel:onPremisesTagSet:DeploymentGroupInfo',
-- deploymentGroupInfo_onPremisesTagSet - Information about groups
-- of tags applied to an on-premises instance. The deployment group
-- includes only on-premises instances identified by all the tag groups.
-- Cannot be used in the same call as onPremisesInstanceTagFilters.
--
-- $sel:outdatedInstancesStrategy:DeploymentGroupInfo',
-- deploymentGroupInfo_outdatedInstancesStrategy - Indicates what
-- happens when new Amazon EC2 instances are launched mid-deployment and
-- do not receive the deployed application revision.
--
-- If this option is set to UPDATE or is unspecified, CodeDeploy
-- initiates one or more 'auto-update outdated instances' deployments to
-- apply the deployed application revision to the new Amazon EC2
-- instances.
--
-- If this option is set to IGNORE, CodeDeploy does not initiate
-- a deployment to update the new Amazon EC2 instances. This may result
-- in instances having different revisions.
--
-- $sel:serviceRoleArn:DeploymentGroupInfo',
-- deploymentGroupInfo_serviceRoleArn - A service role Amazon
-- Resource Name (ARN) that grants CodeDeploy permission to make calls to
-- Amazon Web Services services on your behalf. For more information, see
-- Create a Service Role for CodeDeploy in the CodeDeploy User
-- Guide.
--
-- $sel:targetRevision:DeploymentGroupInfo',
-- deploymentGroupInfo_targetRevision - Information about the
-- deployment group's target revision, including type and location.
--
-- $sel:triggerConfigurations:DeploymentGroupInfo',
-- deploymentGroupInfo_triggerConfigurations - Information about
-- triggers associated with the deployment group.
newDeploymentGroupInfo :: DeploymentGroupInfo
-- | Information about a deployment.
--
-- See: newDeploymentInfo smart constructor.
data DeploymentInfo
DeploymentInfo' :: Maybe Text -> Maybe Text -> Maybe AutoRollbackConfiguration -> Maybe BlueGreenDeploymentConfiguration -> Maybe POSIX -> Maybe ComputePlatform -> Maybe POSIX -> Maybe DeploymentCreator -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DeploymentOverview -> Maybe [Text] -> Maybe DeploymentStyle -> Maybe Text -> Maybe ErrorInformation -> Maybe Text -> Maybe FileExistsBehavior -> Maybe Bool -> Maybe Bool -> Maybe LoadBalancerInfo -> Maybe AlarmConfiguration -> Maybe RevisionLocation -> Maybe RelatedDeployments -> Maybe RevisionLocation -> Maybe RollbackInfo -> Maybe POSIX -> Maybe DeploymentStatus -> Maybe TargetInstances -> Maybe Bool -> DeploymentInfo
-- | Create a value of DeploymentInfo with all optional fields
-- omitted.
--
-- 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:additionalDeploymentStatusInfo:DeploymentInfo',
-- deploymentInfo_additionalDeploymentStatusInfo - Provides
-- information about the results of a deployment, such as whether
-- instances in the original environment in a blue/green deployment were
-- not terminated.
--
-- $sel:applicationName:DeploymentInfo',
-- deploymentInfo_applicationName - The application name.
--
-- $sel:autoRollbackConfiguration:DeploymentInfo',
-- deploymentInfo_autoRollbackConfiguration - Information about
-- the automatic rollback configuration associated with the deployment.
--
-- $sel:blueGreenDeploymentConfiguration:DeploymentInfo',
-- deploymentInfo_blueGreenDeploymentConfiguration - Information
-- about blue/green deployment options for this deployment.
--
-- $sel:completeTime:DeploymentInfo',
-- deploymentInfo_completeTime - A timestamp that indicates when
-- the deployment was complete.
--
-- $sel:computePlatform:DeploymentInfo',
-- deploymentInfo_computePlatform - The destination platform type
-- for the deployment (Lambda, Server, or
-- ECS).
--
-- $sel:createTime:DeploymentInfo',
-- deploymentInfo_createTime - A timestamp that indicates when the
-- deployment was created.
--
-- $sel:creator:DeploymentInfo', deploymentInfo_creator -
-- The means by which the deployment was created:
--
--
-- - user: A user created the deployment.
-- - autoscaling: Amazon EC2 Auto Scaling created the
-- deployment.
-- - codeDeployRollback: A rollback process created the
-- deployment.
-- - CodeDeployAutoUpdate: An auto-update process created the
-- deployment when it detected outdated Amazon EC2 instances.
--
--
-- $sel:deploymentConfigName:DeploymentInfo',
-- deploymentInfo_deploymentConfigName - The deployment
-- configuration name.
--
-- $sel:deploymentGroupName:DeploymentInfo',
-- deploymentInfo_deploymentGroupName - The deployment group name.
--
-- $sel:deploymentId:DeploymentInfo',
-- deploymentInfo_deploymentId - The unique ID of a deployment.
--
-- $sel:deploymentOverview:DeploymentInfo',
-- deploymentInfo_deploymentOverview - A summary of the deployment
-- status of the instances in the deployment.
--
-- $sel:deploymentStatusMessages:DeploymentInfo',
-- deploymentInfo_deploymentStatusMessages - Messages that contain
-- information about the status of a deployment.
--
-- $sel:deploymentStyle:DeploymentInfo',
-- deploymentInfo_deploymentStyle - Information about the type of
-- deployment, either in-place or blue/green, you want to run and whether
-- to route deployment traffic behind a load balancer.
--
-- $sel:description:DeploymentInfo',
-- deploymentInfo_description - A comment about the deployment.
--
-- $sel:errorInformation:DeploymentInfo',
-- deploymentInfo_errorInformation - Information about any error
-- associated with this deployment.
--
-- $sel:externalId:DeploymentInfo',
-- deploymentInfo_externalId - The unique ID for an external
-- resource (for example, a CloudFormation stack ID) that is linked to
-- this deployment.
--
-- $sel:fileExistsBehavior:DeploymentInfo',
-- deploymentInfo_fileExistsBehavior - Information about how
-- CodeDeploy handles files that already exist in a deployment target
-- location but weren't part of the previous successful deployment.
--
--
-- - DISALLOW: The deployment fails. This is also the default
-- behavior if no option is specified.
-- - OVERWRITE: The version of the file from the application
-- revision currently being deployed replaces the version already on the
-- instance.
-- - RETAIN: The version of the file already on the instance
-- is kept and used as part of the new deployment.
--
--
-- $sel:ignoreApplicationStopFailures:DeploymentInfo',
-- deploymentInfo_ignoreApplicationStopFailures - If true, then if
-- an ApplicationStop, BeforeBlockTraffic, or
-- AfterBlockTraffic deployment lifecycle event to an instance
-- fails, then the deployment continues to the next deployment lifecycle
-- event. For example, if ApplicationStop fails, the deployment
-- continues with DownloadBundle. If BeforeBlockTraffic fails,
-- the deployment continues with BlockTraffic. If
-- AfterBlockTraffic fails, the deployment continues with
-- ApplicationStop.
--
-- If false or not specified, then if a lifecycle event fails during a
-- deployment to an instance, that deployment fails. If deployment to
-- that instance is part of an overall deployment and the number of
-- healthy hosts is not less than the minimum number of healthy hosts,
-- then a deployment to the next instance is attempted.
--
-- During a deployment, the CodeDeploy agent runs the scripts specified
-- for ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic in the AppSpec file from the previous
-- successful deployment. (All other scripts are run from the AppSpec
-- file in the current deployment.) If one of these scripts contains an
-- error and does not run successfully, the deployment can fail.
--
-- If the cause of the failure is a script from the last successful
-- deployment that will never run successfully, create a new deployment
-- and use ignoreApplicationStopFailures to specify that the
-- ApplicationStop, BeforeBlockTraffic, and
-- AfterBlockTraffic failures should be ignored.
--
-- $sel:instanceTerminationWaitTimeStarted:DeploymentInfo',
-- deploymentInfo_instanceTerminationWaitTimeStarted - Indicates
-- whether the wait period set for the termination of instances in the
-- original environment has started. Status is 'false' if the KEEP_ALIVE
-- option is specified. Otherwise, 'true' as soon as the termination wait
-- period starts.
--
-- $sel:loadBalancerInfo:DeploymentInfo',
-- deploymentInfo_loadBalancerInfo - Information about the load
-- balancer used in the deployment.
--
-- $sel:overrideAlarmConfiguration:DeploymentInfo',
-- deploymentInfo_overrideAlarmConfiguration - Undocumented
-- member.
--
-- $sel:previousRevision:DeploymentInfo',
-- deploymentInfo_previousRevision - Information about the
-- application revision that was deployed to the deployment group before
-- the most recent successful deployment.
--
-- $sel:relatedDeployments:DeploymentInfo',
-- deploymentInfo_relatedDeployments - Undocumented member.
--
-- $sel:revision:DeploymentInfo', deploymentInfo_revision -
-- Information about the location of stored application artifacts and the
-- service from which to retrieve them.
--
-- $sel:rollbackInfo:DeploymentInfo',
-- deploymentInfo_rollbackInfo - Information about a deployment
-- rollback.
--
-- $sel:startTime:DeploymentInfo', deploymentInfo_startTime
-- - A timestamp that indicates when the deployment was deployed to the
-- deployment group.
--
-- In some cases, the reported value of the start time might be later
-- than the complete time. This is due to differences in the clock
-- settings of backend servers that participate in the deployment
-- process.
--
-- $sel:status:DeploymentInfo', deploymentInfo_status - The
-- current state of the deployment as a whole.
--
-- $sel:targetInstances:DeploymentInfo',
-- deploymentInfo_targetInstances - Information about the
-- instances that belong to the replacement environment in a blue/green
-- deployment.
--
-- $sel:updateOutdatedInstancesOnly:DeploymentInfo',
-- deploymentInfo_updateOutdatedInstancesOnly - Indicates whether
-- only instances that are not running the latest application revision
-- are to be deployed to.
newDeploymentInfo :: DeploymentInfo
-- | Information about the deployment status of the instances in the
-- deployment.
--
-- See: newDeploymentOverview smart constructor.
data DeploymentOverview
DeploymentOverview' :: Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe Integer -> DeploymentOverview
-- | Create a value of DeploymentOverview with all optional fields
-- omitted.
--
-- 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:failed:DeploymentOverview',
-- deploymentOverview_failed - The number of instances in the
-- deployment in a failed state.
--
-- $sel:inProgress:DeploymentOverview',
-- deploymentOverview_inProgress - The number of instances in
-- which the deployment is in progress.
--
-- $sel:pending:DeploymentOverview',
-- deploymentOverview_pending - The number of instances in the
-- deployment in a pending state.
--
-- $sel:ready:DeploymentOverview', deploymentOverview_ready
-- - The number of instances in a replacement environment ready to
-- receive traffic in a blue/green deployment.
--
-- $sel:skipped:DeploymentOverview',
-- deploymentOverview_skipped - The number of instances in the
-- deployment in a skipped state.
--
-- $sel:succeeded:DeploymentOverview',
-- deploymentOverview_succeeded - The number of instances in the
-- deployment to which revisions have been successfully deployed.
newDeploymentOverview :: DeploymentOverview
-- | Information about how traffic is rerouted to instances in a
-- replacement environment in a blue/green deployment.
--
-- See: newDeploymentReadyOption smart constructor.
data DeploymentReadyOption
DeploymentReadyOption' :: Maybe DeploymentReadyAction -> Maybe Int -> DeploymentReadyOption
-- | Create a value of DeploymentReadyOption with all optional
-- fields omitted.
--
-- 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:actionOnTimeout:DeploymentReadyOption',
-- deploymentReadyOption_actionOnTimeout - Information about when
-- to reroute traffic from an original environment to a replacement
-- environment in a blue/green deployment.
--
--
-- - CONTINUE_DEPLOYMENT: Register new instances with the load balancer
-- immediately after the new application revision is installed on the
-- instances in the replacement environment.
-- - STOP_DEPLOYMENT: Do not register new instances with a load
-- balancer unless traffic rerouting is started using ContinueDeployment.
-- If traffic rerouting is not started before the end of the specified
-- wait period, the deployment status is changed to Stopped.
--
--
-- $sel:waitTimeInMinutes:DeploymentReadyOption',
-- deploymentReadyOption_waitTimeInMinutes - The number of minutes
-- to wait before the status of a blue/green deployment is changed to
-- Stopped if rerouting is not started manually. Applies only to the
-- STOP_DEPLOYMENT option for actionOnTimeout.
newDeploymentReadyOption :: DeploymentReadyOption
-- | Information about the type of deployment, either in-place or
-- blue/green, you want to run and whether to route deployment traffic
-- behind a load balancer.
--
-- See: newDeploymentStyle smart constructor.
data DeploymentStyle
DeploymentStyle' :: Maybe DeploymentOption -> Maybe DeploymentType -> DeploymentStyle
-- | Create a value of DeploymentStyle with all optional fields
-- omitted.
--
-- 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:deploymentOption:DeploymentStyle',
-- deploymentStyle_deploymentOption - Indicates whether to route
-- deployment traffic behind a load balancer.
--
-- $sel:deploymentType:DeploymentStyle',
-- deploymentStyle_deploymentType - Indicates whether to run an
-- in-place deployment or a blue/green deployment.
newDeploymentStyle :: DeploymentStyle
-- | Information about the deployment target.
--
-- See: newDeploymentTarget smart constructor.
data DeploymentTarget
DeploymentTarget' :: Maybe CloudFormationTarget -> Maybe DeploymentTargetType -> Maybe ECSTarget -> Maybe InstanceTarget -> Maybe LambdaTarget -> DeploymentTarget
-- | Create a value of DeploymentTarget with all optional fields
-- omitted.
--
-- 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:cloudFormationTarget:DeploymentTarget',
-- deploymentTarget_cloudFormationTarget - Undocumented member.
--
-- $sel:deploymentTargetType:DeploymentTarget',
-- deploymentTarget_deploymentTargetType - The deployment type
-- that is specific to the deployment's compute platform or deployments
-- initiated by a CloudFormation stack update.
--
-- $sel:ecsTarget:DeploymentTarget',
-- deploymentTarget_ecsTarget - Information about the target for a
-- deployment that uses the Amazon ECS compute platform.
--
-- $sel:instanceTarget:DeploymentTarget',
-- deploymentTarget_instanceTarget - Information about the target
-- for a deployment that uses the EC2/On-premises compute platform.
--
-- $sel:lambdaTarget:DeploymentTarget',
-- deploymentTarget_lambdaTarget - Information about the target
-- for a deployment that uses the Lambda compute platform.
newDeploymentTarget :: DeploymentTarget
-- | Diagnostic information about executable scripts that are part of a
-- deployment.
--
-- See: newDiagnostics smart constructor.
data Diagnostics
Diagnostics' :: Maybe LifecycleErrorCode -> Maybe Text -> Maybe Text -> Maybe Text -> Diagnostics
-- | Create a value of Diagnostics with all optional fields omitted.
--
-- 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:errorCode:Diagnostics', diagnostics_errorCode - The
-- associated error code:
--
--
-- - Success: The specified script ran.
-- - ScriptMissing: The specified script was not found in the specified
-- location.
-- - ScriptNotExecutable: The specified script is not a recognized
-- executable file type.
-- - ScriptTimedOut: The specified script did not finish running in the
-- specified time period.
-- - ScriptFailed: The specified script failed to run as expected.
-- - UnknownError: The specified script did not run for an unknown
-- reason.
--
--
-- $sel:logTail:Diagnostics', diagnostics_logTail - The
-- last portion of the diagnostic log.
--
-- If available, CodeDeploy returns up to the last 4 KB of the diagnostic
-- log.
--
-- $sel:message:Diagnostics', diagnostics_message - The
-- message associated with the error.
--
-- $sel:scriptName:Diagnostics', diagnostics_scriptName -
-- The name of the script.
newDiagnostics :: Diagnostics
-- | Information about an EC2 tag filter.
--
-- See: newEC2TagFilter smart constructor.
data EC2TagFilter
EC2TagFilter' :: Maybe Text -> Maybe EC2TagFilterType -> Maybe Text -> EC2TagFilter
-- | Create a value of EC2TagFilter with all optional fields
-- omitted.
--
-- 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:key:EC2TagFilter', eC2TagFilter_key - The tag
-- filter key.
--
-- $sel:type':EC2TagFilter', eC2TagFilter_type - The tag
-- filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
--
-- $sel:value:EC2TagFilter', eC2TagFilter_value - The tag
-- filter value.
newEC2TagFilter :: EC2TagFilter
-- | Information about groups of Amazon EC2 instance tags.
--
-- See: newEC2TagSet smart constructor.
data EC2TagSet
EC2TagSet' :: Maybe [[EC2TagFilter]] -> EC2TagSet
-- | Create a value of EC2TagSet with all optional fields omitted.
--
-- 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:ec2TagSetList:EC2TagSet', eC2TagSet_ec2TagSetList -
-- A list that contains other lists of Amazon EC2 instance tag groups.
-- For an instance to be included in the deployment group, it must be
-- identified by all of the tag groups in the list.
newEC2TagSet :: EC2TagSet
-- | Contains the service and cluster names used to identify an Amazon ECS
-- deployment's target.
--
-- See: newECSService smart constructor.
data ECSService
ECSService' :: Maybe Text -> Maybe Text -> ECSService
-- | Create a value of ECSService with all optional fields omitted.
--
-- 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:clusterName:ECSService', eCSService_clusterName -
-- The name of the cluster that the Amazon ECS service is associated
-- with.
--
-- $sel:serviceName:ECSService', eCSService_serviceName -
-- The name of the target Amazon ECS service.
newECSService :: ECSService
-- | Information about the target of an Amazon ECS deployment.
--
-- See: newECSTarget smart constructor.
data ECSTarget
ECSTarget' :: Maybe Text -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe TargetStatus -> Maybe Text -> Maybe Text -> Maybe [ECSTaskSet] -> ECSTarget
-- | Create a value of ECSTarget with all optional fields omitted.
--
-- 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:deploymentId:ECSTarget', eCSTarget_deploymentId -
-- The unique ID of a deployment.
--
-- $sel:lastUpdatedAt:ECSTarget', eCSTarget_lastUpdatedAt -
-- The date and time when the target Amazon ECS application was updated
-- by a deployment.
--
-- $sel:lifecycleEvents:ECSTarget',
-- eCSTarget_lifecycleEvents - The lifecycle events of the
-- deployment to this target Amazon ECS application.
--
-- ECSTarget, eCSTarget_status - The status an Amazon ECS
-- deployment's target ECS application.
--
-- $sel:targetArn:ECSTarget', eCSTarget_targetArn - The
-- Amazon Resource Name (ARN) of the target.
--
-- $sel:targetId:ECSTarget', eCSTarget_targetId - The
-- unique ID of a deployment target that has a type of
-- ecsTarget.
--
-- $sel:taskSetsInfo:ECSTarget', eCSTarget_taskSetsInfo -
-- The ECSTaskSet objects associated with the ECS target.
newECSTarget :: ECSTarget
-- | Information about a set of Amazon ECS tasks in an CodeDeploy
-- deployment. An Amazon ECS task set includes details such as the
-- desired number of tasks, how many tasks are running, and whether the
-- task set serves production traffic. An CodeDeploy application that
-- uses the Amazon ECS compute platform deploys a containerized
-- application in an Amazon ECS service as a task set.
--
-- See: newECSTaskSet smart constructor.
data ECSTaskSet
ECSTaskSet' :: Maybe Integer -> Maybe Text -> Maybe Integer -> Maybe Integer -> Maybe Text -> Maybe TargetGroupInfo -> Maybe TargetLabel -> Maybe Double -> ECSTaskSet
-- | Create a value of ECSTaskSet with all optional fields omitted.
--
-- 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:desiredCount:ECSTaskSet', eCSTaskSet_desiredCount -
-- The number of tasks in a task set. During a deployment that uses the
-- Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a
-- new task set and uses this value to determine how many tasks to
-- create. After the updated task set is created, CodeDeploy shifts
-- traffic to the new task set.
--
-- $sel:identifer:ECSTaskSet', eCSTaskSet_identifer - A
-- unique ID of an ECSTaskSet.
--
-- $sel:pendingCount:ECSTaskSet', eCSTaskSet_pendingCount -
-- The number of tasks in the task set that are in the PENDING
-- status during an Amazon ECS deployment. A task in the PENDING
-- state is preparing to enter the RUNNING state. A task set
-- enters the PENDING status when it launches for the first
-- time, or when it is restarted after being in the STOPPED
-- state.
--
-- $sel:runningCount:ECSTaskSet', eCSTaskSet_runningCount -
-- The number of tasks in the task set that are in the RUNNING
-- status during an Amazon ECS deployment. A task in the RUNNING
-- state is running and ready for use.
--
-- $sel:status:ECSTaskSet', eCSTaskSet_status - The status
-- of the task set. There are three valid task set statuses:
--
--
-- - PRIMARY: Indicates the task set is serving production
-- traffic.
-- - ACTIVE: Indicates the task set is not serving production
-- traffic.
-- - DRAINING: Indicates the tasks in the task set are being
-- stopped and their corresponding targets are being deregistered from
-- their target group.
--
--
-- $sel:targetGroup:ECSTaskSet', eCSTaskSet_targetGroup -
-- The target group associated with the task set. The target group is
-- used by CodeDeploy to manage traffic to a task set.
--
-- $sel:taskSetLabel:ECSTaskSet', eCSTaskSet_taskSetLabel -
-- A label that identifies whether the ECS task set is an original target
-- (BLUE) or a replacement target (GREEN).
--
-- $sel:trafficWeight:ECSTaskSet', eCSTaskSet_trafficWeight
-- - The percentage of traffic served by this task set.
newECSTaskSet :: ECSTaskSet
-- | Information about a load balancer in Elastic Load Balancing to use in
-- a deployment. Instances are registered directly with a load balancer,
-- and traffic is routed to the load balancer.
--
-- See: newELBInfo smart constructor.
data ELBInfo
ELBInfo' :: Maybe Text -> ELBInfo
-- | Create a value of ELBInfo with all optional fields omitted.
--
-- 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:ELBInfo', eLBInfo_name - For blue/green
-- deployments, the name of the load balancer that is used to route
-- traffic from original instances to replacement instances in a
-- blue/green deployment. For in-place deployments, the name of the load
-- balancer that instances are deregistered from so they are not serving
-- traffic during a deployment, and then re-registered with after the
-- deployment is complete.
newELBInfo :: ELBInfo
-- | Information about a deployment error.
--
-- See: newErrorInformation smart constructor.
data ErrorInformation
ErrorInformation' :: Maybe DeployErrorCode -> Maybe Text -> ErrorInformation
-- | Create a value of ErrorInformation with all optional fields
-- omitted.
--
-- 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:code:ErrorInformation', errorInformation_code - For
-- more information, see Error Codes for CodeDeploy in the
-- CodeDeploy User Guide.
--
-- The error code:
--
--
-- - APPLICATION_MISSING: The application was missing. This error code
-- is most likely raised if the application is deleted after the
-- deployment is created, but before it is started.
-- - DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This
-- error code is most likely raised if the deployment group is deleted
-- after the deployment is created, but before it is started.
-- - HEALTH_CONSTRAINTS: The deployment failed on too many instances to
-- be successfully deployed within the instance health constraints
-- specified.
-- - HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully
-- deployed within the instance health constraints specified.
-- - IAM_ROLE_MISSING: The service role cannot be accessed.
-- - IAM_ROLE_PERMISSIONS: The service role does not have the correct
-- permissions.
-- - INTERNAL_ERROR: There was an internal error.
-- - NO_EC2_SUBSCRIPTION: The calling account is not subscribed to
-- Amazon EC2.
-- - NO_INSTANCES: No instances were specified, or no instances can be
-- found.
-- - OVER_MAX_INSTANCES: The maximum number of instances was
-- exceeded.
-- - THROTTLED: The operation was throttled because the calling account
-- exceeded the throttling limits of one or more Amazon Web Services
-- services.
-- - TIMEOUT: The deployment has timed out.
-- - REVISION_MISSING: The revision ID was missing. This error code is
-- most likely raised if the revision is deleted after the deployment is
-- created, but before it is started.
--
--
-- $sel:message:ErrorInformation', errorInformation_message
-- - An accompanying error message.
newErrorInformation :: ErrorInformation
-- | Information about an application revision.
--
-- See: newGenericRevisionInfo smart constructor.
data GenericRevisionInfo
GenericRevisionInfo' :: Maybe [Text] -> Maybe Text -> Maybe POSIX -> Maybe POSIX -> Maybe POSIX -> GenericRevisionInfo
-- | Create a value of GenericRevisionInfo with all optional fields
-- omitted.
--
-- 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:deploymentGroups:GenericRevisionInfo',
-- genericRevisionInfo_deploymentGroups - The deployment groups
-- for which this is the current target revision.
--
-- $sel:description:GenericRevisionInfo',
-- genericRevisionInfo_description - A comment about the revision.
--
-- $sel:firstUsedTime:GenericRevisionInfo',
-- genericRevisionInfo_firstUsedTime - When the revision was first
-- used by CodeDeploy.
--
-- $sel:lastUsedTime:GenericRevisionInfo',
-- genericRevisionInfo_lastUsedTime - When the revision was last
-- used by CodeDeploy.
--
-- $sel:registerTime:GenericRevisionInfo',
-- genericRevisionInfo_registerTime - When the revision was
-- registered with CodeDeploy.
newGenericRevisionInfo :: GenericRevisionInfo
-- | Information about the location of application artifacts stored in
-- GitHub.
--
-- See: newGitHubLocation smart constructor.
data GitHubLocation
GitHubLocation' :: Maybe Text -> Maybe Text -> GitHubLocation
-- | Create a value of GitHubLocation with all optional fields
-- omitted.
--
-- 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:commitId:GitHubLocation', gitHubLocation_commitId -
-- The SHA1 commit ID of the GitHub commit that represents the bundled
-- artifacts for the application revision.
--
-- $sel:repository:GitHubLocation',
-- gitHubLocation_repository - The GitHub account and repository
-- pair that stores a reference to the commit that represents the bundled
-- artifacts for the application revision.
--
-- Specified as account/repository.
newGitHubLocation :: GitHubLocation
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
--
-- See: newGreenFleetProvisioningOption smart constructor.
data GreenFleetProvisioningOption
GreenFleetProvisioningOption' :: Maybe GreenFleetProvisioningAction -> GreenFleetProvisioningOption
-- | Create a value of GreenFleetProvisioningOption with all
-- optional fields omitted.
--
-- 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:action:GreenFleetProvisioningOption',
-- greenFleetProvisioningOption_action - The method used to add
-- instances to a replacement environment.
--
--
-- - DISCOVER_EXISTING: Use instances that already exist or
-- will be created manually.
-- - COPY_AUTO_SCALING_GROUP: Use settings from a specified
-- Auto Scaling group to define and create instances in a new Auto
-- Scaling group.
--
newGreenFleetProvisioningOption :: GreenFleetProvisioningOption
-- | Information about an on-premises instance.
--
-- See: newInstanceInfo smart constructor.
data InstanceInfo
InstanceInfo' :: Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe POSIX -> Maybe [Tag] -> InstanceInfo
-- | Create a value of InstanceInfo with all optional fields
-- omitted.
--
-- 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:deregisterTime:InstanceInfo',
-- instanceInfo_deregisterTime - If the on-premises instance was
-- deregistered, the time at which the on-premises instance was
-- deregistered.
--
-- $sel:iamSessionArn:InstanceInfo',
-- instanceInfo_iamSessionArn - The ARN of the IAM session
-- associated with the on-premises instance.
--
-- $sel:iamUserArn:InstanceInfo', instanceInfo_iamUserArn -
-- The IAM user ARN associated with the on-premises instance.
--
-- $sel:instanceArn:InstanceInfo', instanceInfo_instanceArn
-- - The ARN of the on-premises instance.
--
-- $sel:instanceName:InstanceInfo',
-- instanceInfo_instanceName - The name of the on-premises
-- instance.
--
-- $sel:registerTime:InstanceInfo',
-- instanceInfo_registerTime - The time at which the on-premises
-- instance was registered.
--
-- $sel:tags:InstanceInfo', instanceInfo_tags - The tags
-- currently associated with the on-premises instance.
newInstanceInfo :: InstanceInfo
-- | A target Amazon EC2 or on-premises instance during a deployment that
-- uses the EC2/On-premises compute platform.
--
-- See: newInstanceTarget smart constructor.
data InstanceTarget
InstanceTarget' :: Maybe Text -> Maybe TargetLabel -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe TargetStatus -> Maybe Text -> Maybe Text -> InstanceTarget
-- | Create a value of InstanceTarget with all optional fields
-- omitted.
--
-- 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:deploymentId:InstanceTarget',
-- instanceTarget_deploymentId - The unique ID of a deployment.
--
-- $sel:instanceLabel:InstanceTarget',
-- instanceTarget_instanceLabel - A label that identifies whether
-- the instance is an original target (BLUE) or a replacement
-- target (GREEN).
--
-- $sel:lastUpdatedAt:InstanceTarget',
-- instanceTarget_lastUpdatedAt - The date and time when the
-- target instance was updated by a deployment.
--
-- $sel:lifecycleEvents:InstanceTarget',
-- instanceTarget_lifecycleEvents - The lifecycle events of the
-- deployment to this target instance.
--
-- InstanceTarget, instanceTarget_status - The status an
-- EC2/On-premises deployment's target instance.
--
-- $sel:targetArn:InstanceTarget', instanceTarget_targetArn
-- - The Amazon Resource Name (ARN) of the target.
--
-- $sel:targetId:InstanceTarget', instanceTarget_targetId -
-- The unique ID of a deployment target that has a type of
-- instanceTarget.
newInstanceTarget :: InstanceTarget
-- | Information about a Lambda function specified in a deployment.
--
-- See: newLambdaFunctionInfo smart constructor.
data LambdaFunctionInfo
LambdaFunctionInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Double -> LambdaFunctionInfo
-- | Create a value of LambdaFunctionInfo with all optional fields
-- omitted.
--
-- 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:currentVersion:LambdaFunctionInfo',
-- lambdaFunctionInfo_currentVersion - The version of a Lambda
-- function that production traffic points to.
--
-- $sel:functionAlias:LambdaFunctionInfo',
-- lambdaFunctionInfo_functionAlias - The alias of a Lambda
-- function. For more information, see Lambda Function Aliases in
-- the Lambda Developer Guide.
--
-- $sel:functionName:LambdaFunctionInfo',
-- lambdaFunctionInfo_functionName - The name of a Lambda
-- function.
--
-- $sel:targetVersion:LambdaFunctionInfo',
-- lambdaFunctionInfo_targetVersion - The version of a Lambda
-- function that production traffic points to after the Lambda function
-- is deployed.
--
-- $sel:targetVersionWeight:LambdaFunctionInfo',
-- lambdaFunctionInfo_targetVersionWeight - The percentage of
-- production traffic that the target version of a Lambda function
-- receives.
newLambdaFunctionInfo :: LambdaFunctionInfo
-- | Information about the target Lambda function during an Lambda
-- deployment.
--
-- See: newLambdaTarget smart constructor.
data LambdaTarget
LambdaTarget' :: Maybe Text -> Maybe LambdaFunctionInfo -> Maybe POSIX -> Maybe [LifecycleEvent] -> Maybe TargetStatus -> Maybe Text -> Maybe Text -> LambdaTarget
-- | Create a value of LambdaTarget with all optional fields
-- omitted.
--
-- 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:deploymentId:LambdaTarget',
-- lambdaTarget_deploymentId - The unique ID of a deployment.
--
-- $sel:lambdaFunctionInfo:LambdaTarget',
-- lambdaTarget_lambdaFunctionInfo - A LambdaFunctionInfo
-- object that describes a target Lambda function.
--
-- $sel:lastUpdatedAt:LambdaTarget',
-- lambdaTarget_lastUpdatedAt - The date and time when the target
-- Lambda function was updated by a deployment.
--
-- $sel:lifecycleEvents:LambdaTarget',
-- lambdaTarget_lifecycleEvents - The lifecycle events of the
-- deployment to this target Lambda function.
--
-- LambdaTarget, lambdaTarget_status - The status an Lambda
-- deployment's target Lambda function.
--
-- $sel:targetArn:LambdaTarget', lambdaTarget_targetArn -
-- The Amazon Resource Name (ARN) of the target.
--
-- $sel:targetId:LambdaTarget', lambdaTarget_targetId - The
-- unique ID of a deployment target that has a type of
-- lambdaTarget.
newLambdaTarget :: LambdaTarget
-- | Information about the most recent attempted or successful deployment
-- to a deployment group.
--
-- See: newLastDeploymentInfo smart constructor.
data LastDeploymentInfo
LastDeploymentInfo' :: Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe DeploymentStatus -> LastDeploymentInfo
-- | Create a value of LastDeploymentInfo with all optional fields
-- omitted.
--
-- 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:createTime:LastDeploymentInfo',
-- lastDeploymentInfo_createTime - A timestamp that indicates when
-- the most recent deployment to the deployment group started.
--
-- $sel:deploymentId:LastDeploymentInfo',
-- lastDeploymentInfo_deploymentId - The unique ID of a
-- deployment.
--
-- $sel:endTime:LastDeploymentInfo',
-- lastDeploymentInfo_endTime - A timestamp that indicates when
-- the most recent deployment to the deployment group was complete.
--
-- $sel:status:LastDeploymentInfo',
-- lastDeploymentInfo_status - The status of the most recent
-- deployment.
newLastDeploymentInfo :: LastDeploymentInfo
-- | Information about a deployment lifecycle event.
--
-- See: newLifecycleEvent smart constructor.
data LifecycleEvent
LifecycleEvent' :: Maybe Diagnostics -> Maybe POSIX -> Maybe Text -> Maybe POSIX -> Maybe LifecycleEventStatus -> LifecycleEvent
-- | Create a value of LifecycleEvent with all optional fields
-- omitted.
--
-- 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:diagnostics:LifecycleEvent',
-- lifecycleEvent_diagnostics - Diagnostic information about the
-- deployment lifecycle event.
--
-- $sel:endTime:LifecycleEvent', lifecycleEvent_endTime - A
-- timestamp that indicates when the deployment lifecycle event ended.
--
-- $sel:lifecycleEventName:LifecycleEvent',
-- lifecycleEvent_lifecycleEventName - The deployment lifecycle
-- event name, such as ApplicationStop, BeforeInstall,
-- AfterInstall, ApplicationStart, or
-- ValidateService.
--
-- $sel:startTime:LifecycleEvent', lifecycleEvent_startTime
-- - A timestamp that indicates when the deployment lifecycle event
-- started.
--
-- $sel:status:LifecycleEvent', lifecycleEvent_status - The
-- deployment lifecycle event status:
--
--
-- - Pending: The deployment lifecycle event is pending.
-- - InProgress: The deployment lifecycle event is in progress.
-- - Succeeded: The deployment lifecycle event ran successfully.
-- - Failed: The deployment lifecycle event has failed.
-- - Skipped: The deployment lifecycle event has been skipped.
-- - Unknown: The deployment lifecycle event is unknown.
--
newLifecycleEvent :: LifecycleEvent
-- | Information about the Elastic Load Balancing load balancer or target
-- group used in a deployment.
--
-- See: newLoadBalancerInfo smart constructor.
data LoadBalancerInfo
LoadBalancerInfo' :: Maybe [ELBInfo] -> Maybe [TargetGroupInfo] -> Maybe [TargetGroupPairInfo] -> LoadBalancerInfo
-- | Create a value of LoadBalancerInfo with all optional fields
-- omitted.
--
-- 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:elbInfoList:LoadBalancerInfo',
-- loadBalancerInfo_elbInfoList - An array that contains
-- information about the load balancer to use for load balancing in a
-- deployment. In Elastic Load Balancing, load balancers are used with
-- Classic Load Balancers.
--
-- Adding more than one load balancer to the array is not supported.
--
-- $sel:targetGroupInfoList:LoadBalancerInfo',
-- loadBalancerInfo_targetGroupInfoList - An array that contains
-- information about the target group to use for load balancing in a
-- deployment. In Elastic Load Balancing, target groups are used with
-- Application Load Balancers.
--
-- Adding more than one target group to the array is not supported.
--
-- $sel:targetGroupPairInfoList:LoadBalancerInfo',
-- loadBalancerInfo_targetGroupPairInfoList - The target group
-- pair information. This is an array of TargeGroupPairInfo
-- objects with a maximum size of one.
newLoadBalancerInfo :: LoadBalancerInfo
-- | Information about minimum healthy instance.
--
-- See: newMinimumHealthyHosts smart constructor.
data MinimumHealthyHosts
MinimumHealthyHosts' :: Maybe MinimumHealthyHostsType -> Maybe Int -> MinimumHealthyHosts
-- | Create a value of MinimumHealthyHosts with all optional fields
-- omitted.
--
-- 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:type':MinimumHealthyHosts',
-- minimumHealthyHosts_type - The minimum healthy instance type:
--
--
-- - HOST_COUNT: The minimum number of healthy instances as an
-- absolute value.
-- - FLEET_PERCENT: The minimum number of healthy instances as
-- a percentage of the total number of instances in the deployment.
--
--
-- In an example of nine instances, if a HOST_COUNT of six is specified,
-- deploy to up to three instances at a time. The deployment is
-- successful if six or more instances are deployed to successfully.
-- Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is
-- specified, deploy to up to five instances at a time. The deployment is
-- successful if four or more instances are deployed to successfully.
-- Otherwise, the deployment fails.
--
-- In a call to the GetDeploymentConfig,
-- CodeDeployDefault.OneAtATime returns a minimum healthy instance type
-- of MOST_CONCURRENCY and a value of 1. This means a deployment to only
-- one instance at a time. (You cannot set the type to MOST_CONCURRENCY,
-- only to HOST_COUNT or FLEET_PERCENT.) In addition, with
-- CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all
-- instances but one are kept in a healthy state during the deployment.
-- Although this allows one instance at a time to be taken offline for a
-- new deployment, it also means that if the deployment to the last
-- instance fails, the overall deployment is still successful.
--
-- For more information, see CodeDeploy Instance Health in the
-- CodeDeploy User Guide.
--
-- $sel:value:MinimumHealthyHosts',
-- minimumHealthyHosts_value - The minimum healthy instance value.
newMinimumHealthyHosts :: MinimumHealthyHosts
-- | Information about groups of on-premises instance tags.
--
-- See: newOnPremisesTagSet smart constructor.
data OnPremisesTagSet
OnPremisesTagSet' :: Maybe [[TagFilter]] -> OnPremisesTagSet
-- | Create a value of OnPremisesTagSet with all optional fields
-- omitted.
--
-- 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:onPremisesTagSetList:OnPremisesTagSet',
-- onPremisesTagSet_onPremisesTagSetList - A list that contains
-- other lists of on-premises instance tag groups. For an instance to be
-- included in the deployment group, it must be identified by all of the
-- tag groups in the list.
newOnPremisesTagSet :: OnPremisesTagSet
-- | A revision for an Lambda deployment that is a YAML-formatted or
-- JSON-formatted string. For Lambda deployments, the revision is the
-- same as the AppSpec file.
--
-- See: newRawString smart constructor.
data RawString
RawString' :: Maybe Text -> Maybe Text -> RawString
-- | Create a value of RawString with all optional fields omitted.
--
-- 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:content:RawString', rawString_content - The
-- YAML-formatted or JSON-formatted revision string. It includes
-- information about which Lambda function to update and optional Lambda
-- functions that validate deployment lifecycle events.
--
-- $sel:sha256:RawString', rawString_sha256 - The SHA256
-- hash value of the revision content.
newRawString :: RawString
-- | Information about deployments related to the specified deployment.
--
-- See: newRelatedDeployments smart constructor.
data RelatedDeployments
RelatedDeployments' :: Maybe [Text] -> Maybe Text -> RelatedDeployments
-- | Create a value of RelatedDeployments with all optional fields
-- omitted.
--
-- 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:autoUpdateOutdatedInstancesDeploymentIds:RelatedDeployments',
-- relatedDeployments_autoUpdateOutdatedInstancesDeploymentIds -
-- The deployment IDs of 'auto-update outdated instances' deployments
-- triggered by this deployment.
--
--
-- $sel:autoUpdateOutdatedInstancesRootDeploymentId:RelatedDeployments',
-- relatedDeployments_autoUpdateOutdatedInstancesRootDeploymentId
-- - The deployment ID of the root deployment that triggered this
-- deployment.
newRelatedDeployments :: RelatedDeployments
-- | Information about an application revision.
--
-- See: newRevisionInfo smart constructor.
data RevisionInfo
RevisionInfo' :: Maybe GenericRevisionInfo -> Maybe RevisionLocation -> RevisionInfo
-- | Create a value of RevisionInfo with all optional fields
-- omitted.
--
-- 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:genericRevisionInfo:RevisionInfo',
-- revisionInfo_genericRevisionInfo - Information about an
-- application revision, including usage details and associated
-- deployment groups.
--
-- $sel:revisionLocation:RevisionInfo',
-- revisionInfo_revisionLocation - Information about the location
-- and type of an application revision.
newRevisionInfo :: RevisionInfo
-- | Information about the location of an application revision.
--
-- See: newRevisionLocation smart constructor.
data RevisionLocation
RevisionLocation' :: Maybe AppSpecContent -> Maybe GitHubLocation -> Maybe RevisionLocationType -> Maybe S3Location -> Maybe RawString -> RevisionLocation
-- | Create a value of RevisionLocation with all optional fields
-- omitted.
--
-- 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:appSpecContent:RevisionLocation',
-- revisionLocation_appSpecContent - The content of an AppSpec
-- file for an Lambda or Amazon ECS deployment. The content is formatted
-- as JSON or YAML and stored as a RawString.
--
-- $sel:gitHubLocation:RevisionLocation',
-- revisionLocation_gitHubLocation - Information about the
-- location of application artifacts stored in GitHub.
--
-- $sel:revisionType:RevisionLocation',
-- revisionLocation_revisionType - The type of application
-- revision:
--
--
-- - S3: An application revision stored in Amazon S3.
-- - GitHub: An application revision stored in GitHub (EC2/On-premises
-- deployments only).
-- - String: A YAML-formatted or JSON-formatted string (Lambda
-- deployments only).
-- - AppSpecContent: An AppSpecContent object that contains
-- the contents of an AppSpec file for an Lambda or Amazon ECS
-- deployment. The content is formatted as JSON or YAML stored as a
-- RawString.
--
--
-- $sel:s3Location:RevisionLocation',
-- revisionLocation_s3Location - Information about the location of
-- a revision stored in Amazon S3.
--
-- $sel:string:RevisionLocation', revisionLocation_string -
-- Information about the location of an Lambda deployment revision stored
-- as a RawString.
newRevisionLocation :: RevisionLocation
-- | Information about a deployment rollback.
--
-- See: newRollbackInfo smart constructor.
data RollbackInfo
RollbackInfo' :: Maybe Text -> Maybe Text -> Maybe Text -> RollbackInfo
-- | Create a value of RollbackInfo with all optional fields
-- omitted.
--
-- 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:rollbackDeploymentId:RollbackInfo',
-- rollbackInfo_rollbackDeploymentId - The ID of the deployment
-- rollback.
--
-- $sel:rollbackMessage:RollbackInfo',
-- rollbackInfo_rollbackMessage - Information that describes the
-- status of a deployment rollback (for example, whether the deployment
-- can't be rolled back, is in progress, failed, or succeeded).
--
-- $sel:rollbackTriggeringDeploymentId:RollbackInfo',
-- rollbackInfo_rollbackTriggeringDeploymentId - The deployment ID
-- of the deployment that was underway and triggered a rollback
-- deployment because it failed or was stopped.
newRollbackInfo :: RollbackInfo
-- | Information about the location of application artifacts stored in
-- Amazon S3.
--
-- See: newS3Location smart constructor.
data S3Location
S3Location' :: Maybe Text -> Maybe BundleType -> Maybe Text -> Maybe Text -> Maybe Text -> S3Location
-- | Create a value of S3Location with all optional fields omitted.
--
-- 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:bucket:S3Location', s3Location_bucket - The name of
-- the Amazon S3 bucket where the application revision is stored.
--
-- $sel:bundleType:S3Location', s3Location_bundleType - The
-- file type of the application revision. Must be one of the following:
--
--
-- - tar: A tar archive file.
-- - tgz: A compressed tar archive file.
-- - zip: A zip archive file.
--
--
-- $sel:eTag:S3Location', s3Location_eTag - The ETag of the
-- Amazon S3 object that represents the bundled artifacts for the
-- application revision.
--
-- If the ETag is not specified as an input parameter, ETag validation of
-- the object is skipped.
--
-- $sel:key:S3Location', s3Location_key - The name of the
-- Amazon S3 object that represents the bundled artifacts for the
-- application revision.
--
-- $sel:version:S3Location', s3Location_version - A
-- specific version of the Amazon S3 object that represents the bundled
-- artifacts for the application revision.
--
-- If the version is not specified, the system uses the most recent
-- version by default.
newS3Location :: S3Location
-- | Information about a tag.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | Create a value of Tag with all optional fields omitted.
--
-- 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:key:Tag', tag_key - The tag's key.
--
-- $sel:value:Tag', tag_value - The tag's value.
newTag :: Tag
-- | Information about an on-premises instance tag filter.
--
-- See: newTagFilter smart constructor.
data TagFilter
TagFilter' :: Maybe Text -> Maybe TagFilterType -> Maybe Text -> TagFilter
-- | Create a value of TagFilter with all optional fields omitted.
--
-- 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:key:TagFilter', tagFilter_key - The on-premises
-- instance tag filter key.
--
-- $sel:type':TagFilter', tagFilter_type - The on-premises
-- instance tag filter type:
--
--
-- - KEY_ONLY: Key only.
-- - VALUE_ONLY: Value only.
-- - KEY_AND_VALUE: Key and value.
--
--
-- $sel:value:TagFilter', tagFilter_value - The on-premises
-- instance tag filter value.
newTagFilter :: TagFilter
-- | Information about a target group in Elastic Load Balancing to use in a
-- deployment. Instances are registered as targets in a target group, and
-- traffic is routed to the target group.
--
-- See: newTargetGroupInfo smart constructor.
data TargetGroupInfo
TargetGroupInfo' :: Maybe Text -> TargetGroupInfo
-- | Create a value of TargetGroupInfo with all optional fields
-- omitted.
--
-- 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:TargetGroupInfo', targetGroupInfo_name - For
-- blue/green deployments, the name of the target group that instances in
-- the original environment are deregistered from, and instances in the
-- replacement environment are registered with. For in-place deployments,
-- the name of the target group that instances are deregistered from, so
-- they are not serving traffic during a deployment, and then
-- re-registered with after the deployment is complete.
newTargetGroupInfo :: TargetGroupInfo
-- | Information about two target groups and how traffic is routed during
-- an Amazon ECS deployment. An optional test traffic route can be
-- specified.
--
-- See: newTargetGroupPairInfo smart constructor.
data TargetGroupPairInfo
TargetGroupPairInfo' :: Maybe TrafficRoute -> Maybe [TargetGroupInfo] -> Maybe TrafficRoute -> TargetGroupPairInfo
-- | Create a value of TargetGroupPairInfo with all optional fields
-- omitted.
--
-- 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:prodTrafficRoute:TargetGroupPairInfo',
-- targetGroupPairInfo_prodTrafficRoute - The path used by a load
-- balancer to route production traffic when an Amazon ECS deployment is
-- complete.
--
-- $sel:targetGroups:TargetGroupPairInfo',
-- targetGroupPairInfo_targetGroups - One pair of target groups.
-- One is associated with the original task set. The second is associated
-- with the task set that serves traffic after the deployment is
-- complete.
--
-- $sel:testTrafficRoute:TargetGroupPairInfo',
-- targetGroupPairInfo_testTrafficRoute - An optional path used by
-- a load balancer to route test traffic after an Amazon ECS deployment.
-- Validation can occur while test traffic is served during a deployment.
newTargetGroupPairInfo :: TargetGroupPairInfo
-- | Information about the instances to be used in the replacement
-- environment in a blue/green deployment.
--
-- See: newTargetInstances smart constructor.
data TargetInstances
TargetInstances' :: Maybe [Text] -> Maybe EC2TagSet -> Maybe [EC2TagFilter] -> TargetInstances
-- | Create a value of TargetInstances with all optional fields
-- omitted.
--
-- 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:autoScalingGroups:TargetInstances',
-- targetInstances_autoScalingGroups - The names of one or more
-- Auto Scaling groups to identify a replacement environment for a
-- blue/green deployment.
--
-- $sel:ec2TagSet:TargetInstances',
-- targetInstances_ec2TagSet - Information about the groups of
-- Amazon EC2 instance tags that an instance must be identified by in
-- order for it to be included in the replacement environment for a
-- blue/green deployment. Cannot be used in the same call as
-- tagFilters.
--
-- $sel:tagFilters:TargetInstances',
-- targetInstances_tagFilters - The tag filter key, type, and
-- value used to identify Amazon EC2 instances in a replacement
-- environment for a blue/green deployment. Cannot be used in the same
-- call as ec2TagSet.
newTargetInstances :: TargetInstances
-- | A configuration that shifts traffic from one version of a Lambda
-- function or Amazon ECS task set to another in two increments. The
-- original and target Lambda function versions or ECS task sets are
-- specified in the deployment's AppSpec file.
--
-- See: newTimeBasedCanary smart constructor.
data TimeBasedCanary
TimeBasedCanary' :: Maybe Int -> Maybe Int -> TimeBasedCanary
-- | Create a value of TimeBasedCanary with all optional fields
-- omitted.
--
-- 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:canaryInterval:TimeBasedCanary',
-- timeBasedCanary_canaryInterval - The number of minutes between
-- the first and second traffic shifts of a TimeBasedCanary
-- deployment.
--
-- $sel:canaryPercentage:TimeBasedCanary',
-- timeBasedCanary_canaryPercentage - The percentage of traffic to
-- shift in the first increment of a TimeBasedCanary deployment.
newTimeBasedCanary :: TimeBasedCanary
-- | A configuration that shifts traffic from one version of a Lambda
-- function or ECS task set to another in equal increments, with an equal
-- number of minutes between each increment. The original and target
-- Lambda function versions or ECS task sets are specified in the
-- deployment's AppSpec file.
--
-- See: newTimeBasedLinear smart constructor.
data TimeBasedLinear
TimeBasedLinear' :: Maybe Int -> Maybe Int -> TimeBasedLinear
-- | Create a value of TimeBasedLinear with all optional fields
-- omitted.
--
-- 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:linearInterval:TimeBasedLinear',
-- timeBasedLinear_linearInterval - The number of minutes between
-- each incremental traffic shift of a TimeBasedLinear
-- deployment.
--
-- $sel:linearPercentage:TimeBasedLinear',
-- timeBasedLinear_linearPercentage - The percentage of traffic
-- that is shifted at the start of each increment of a
-- TimeBasedLinear deployment.
newTimeBasedLinear :: TimeBasedLinear
-- | Information about a time range.
--
-- See: newTimeRange smart constructor.
data TimeRange
TimeRange' :: Maybe POSIX -> Maybe POSIX -> TimeRange
-- | Create a value of TimeRange with all optional fields omitted.
--
-- 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:end:TimeRange', timeRange_end - The end time of the
-- time range.
--
-- Specify null to leave the end time open-ended.
--
-- $sel:start:TimeRange', timeRange_start - The start time
-- of the time range.
--
-- Specify null to leave the start time open-ended.
newTimeRange :: TimeRange
-- | Information about a listener. The listener contains the path used to
-- route traffic that is received from the load balancer to a target
-- group.
--
-- See: newTrafficRoute smart constructor.
data TrafficRoute
TrafficRoute' :: Maybe [Text] -> TrafficRoute
-- | Create a value of TrafficRoute with all optional fields
-- omitted.
--
-- 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:listenerArns:TrafficRoute',
-- trafficRoute_listenerArns - The Amazon Resource Name (ARN) of
-- one listener. The listener identifies the route between a target group
-- and a load balancer. This is an array of strings with a maximum size
-- of one.
newTrafficRoute :: TrafficRoute
-- | The configuration that specifies how traffic is shifted from one
-- version of a Lambda function to another version during an Lambda
-- deployment, or from one Amazon ECS task set to another during an
-- Amazon ECS deployment.
--
-- See: newTrafficRoutingConfig smart constructor.
data TrafficRoutingConfig
TrafficRoutingConfig' :: Maybe TimeBasedCanary -> Maybe TimeBasedLinear -> Maybe TrafficRoutingType -> TrafficRoutingConfig
-- | Create a value of TrafficRoutingConfig with all optional fields
-- omitted.
--
-- 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:timeBasedCanary:TrafficRoutingConfig',
-- trafficRoutingConfig_timeBasedCanary - A configuration that
-- shifts traffic from one version of a Lambda function or ECS task set
-- to another in two increments. The original and target Lambda function
-- versions or ECS task sets are specified in the deployment's AppSpec
-- file.
--
-- $sel:timeBasedLinear:TrafficRoutingConfig',
-- trafficRoutingConfig_timeBasedLinear - A configuration that
-- shifts traffic from one version of a Lambda function or Amazon ECS
-- task set to another in equal increments, with an equal number of
-- minutes between each increment. The original and target Lambda
-- function versions or Amazon ECS task sets are specified in the
-- deployment's AppSpec file.
--
-- $sel:type':TrafficRoutingConfig',
-- trafficRoutingConfig_type - The type of traffic shifting
-- (TimeBasedCanary or TimeBasedLinear) used by a
-- deployment configuration.
newTrafficRoutingConfig :: TrafficRoutingConfig
-- | Information about notification triggers for the deployment group.
--
-- See: newTriggerConfig smart constructor.
data TriggerConfig
TriggerConfig' :: Maybe [TriggerEventType] -> Maybe Text -> Maybe Text -> TriggerConfig
-- | Create a value of TriggerConfig with all optional fields
-- omitted.
--
-- 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:triggerEvents:TriggerConfig',
-- triggerConfig_triggerEvents - The event type or types for which
-- notifications are triggered.
--
-- $sel:triggerName:TriggerConfig',
-- triggerConfig_triggerName - The name of the notification
-- trigger.
--
-- $sel:triggerTargetArn:TriggerConfig',
-- triggerConfig_triggerTargetArn - The Amazon Resource Name (ARN)
-- of the Amazon Simple Notification Service topic through which
-- notifications about deployment or instance events are sent.
newTriggerConfig :: TriggerConfig