-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CodeDeploy SDK.
--
-- 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.
--
-- Lenses are used for constructing and manipulating types, due to the
-- depth of nesting of AWS types and transparency regarding
-- de/serialisation into more palatable Haskell values. The provided
-- lenses should be compatible with any of the major lens libraries such
-- as lens or lens-family-core.
--
-- See Network.AWS.CodeDeploy or the AWS documentation to
-- get started.
@package amazonka-codedeploy
@version 1.6.0
module Network.AWS.CodeDeploy.Types
-- | API version 2014-10-06 of the Amazon CodeDeploy SDK
-- configuration.
codeDeploy :: Service
-- | The limit for lifecycle hooks was exceeded.
_LifecycleHookLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified time range was specified in an invalid format.
_InvalidTimeRangeException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The computePlatform is invalid. The computePlatform should be
-- Lambda or Server .
_InvalidComputePlatformException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified tag was specified in an invalid format.
_InvalidTagException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An invalid fileExistsBehavior option was specified to determine how
-- AWS 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 => Getting (First ServiceError) 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 255 character
-- limit.
-- - Two alarms with the same name have been specified.
-- - The alarm configuration is enabled but the alarm list is
-- empty.
--
_InvalidAlarmConfigException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified on-premises instance name is already registered.
_InstanceNameAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An IAM user ARN was not specified.
_IAMUserARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment group name was specified in an invalid format.
_InvalidDeploymentGroupNameException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The request included an IAM session ARN that has already been used to
-- register a different instance.
_IAMSessionARNAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The configuration that specifies how traffic is routed during a
-- deployment is invalid.
_InvalidTrafficRoutingConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The description is too long.
_DescriptionTooLongException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The IAM user ARN was specified in an invalid format.
_InvalidIAMUserARNException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The specified deployment has not started.
_DeploymentNotStartedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment configurations limit was exceeded.
_DeploymentConfigLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The role ID was not specified.
_RoleRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An invalid load balancer name, or no load balancer name, was
-- specified.
_InvalidLoadBalancerInfoException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) 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 Auto Scaling.
_InvalidRoleException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A deployment configuration with the specified name already exists with
-- the applicable IAM user or AWS account.
_DeploymentConfigAlreadyExistsException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The number of allowed deployments was exceeded.
_DeploymentLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified IAM user ARN is already registered with an on-premises
-- instance.
_IAMUserARNAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The IAM session ARN was specified in an invalid format.
_InvalidIAMSessionARNException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The maximum number of allowed on-premises instances in a single call
-- was exceeded.
_InstanceLimitExceededException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The deployed state filter was specified in an invalid format.
_InvalidDeployedStateFilterException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The Auto Scaling group was specified in an invalid format or does not
-- exist.
_InvalidAutoScalingGroupException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The application name was specified in an invalid format.
_InvalidApplicationNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | No GitHub account connection exists with the named specified in the
-- call.
_GitHubAccountTokenDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The application does not exist with the applicable IAM user or AWS
-- account.
_ApplicationDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The minimum healthy instance value was specified in an invalid format.
_InvalidMinimumHealthyHostValueException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A call was submitted that is not supported for the specified
-- deployment type.
_UnsupportedActionForDeploymentTypeException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified resource could not be validated.
_ResourceValidationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The GitHub token is not valid.
_InvalidGitHubAccountTokenException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The maximum number of alarms for a deployment group (10) was exceeded.
_AlarmsLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The API used does not support the deployment.
_OperationNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified tag filter was specified in an invalid format.
_InvalidTagFilterException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The trigger was specified in an invalid format.
_InvalidTriggerConfigException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The IgnoreApplicationStopFailures value is invalid. For AWS Lambda
-- deployments, false is expected. For EC2/On-premises
-- deployments, true or false is expected.
_InvalidIgnoreApplicationStopFailuresValueException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda
-- deployments, false is expected. For EC2/On-premises
-- deployments, true or false is expected.
_InvalidUpdateOutdatedInstancesOnlyValueException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A tag was not specified.
_TagRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment group name was not specified.
_DeploymentGroupNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A bucket name is required, but was not provided.
_BucketNameFilterRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment configuration does not exist with the applicable IAM
-- user or AWS account.
_DeploymentConfigDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The bucket name either doesn't exist or was specified in an invalid
-- format.
_InvalidBucketNameFilterException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A deployment group with the specified name already exists with the
-- applicable IAM user or AWS account.
_DeploymentGroupAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The column name to sort by is either not present or was specified in
-- an invalid format.
_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The named revision does not exist with the applicable IAM user or AWS
-- account.
_RevisionDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment groups limit was exceeded.
_DeploymentGroupLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The named deployment group does not exist with the applicable IAM user
-- or AWS account.
_DeploymentGroupDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An API function was called too frequently.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment configuration name was specified in an invalid format.
_InvalidDeploymentConfigNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment configuration name was not specified.
_DeploymentConfigNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | At least one deployment ID must be specified.
_DeploymentIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidInstanceIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment does not have a status of Ready and can't continue yet.
_DeploymentIsNotInReadyStateException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The next token was specified in an invalid format.
_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The instance ID was not specified.
_InstanceIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | At least one of the deployment IDs was specified in an invalid format.
_InvalidDeploymentIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The sort order was specified in an invalid format.
_InvalidSortOrderException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The deployment is already complete.
_DeploymentAlreadyCompletedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment does not exist with the applicable IAM user or AWS
-- account.
_DeploymentDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The maximum number of names or IDs allowed for this request (100) was
-- exceeded.
_BatchLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The revision was specified in an invalid format.
_InvalidRevisionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The revision ID was not specified.
_RevisionRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified instance does not exist in the deployment group.
_InstanceDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment configuration is still in use.
_DeploymentConfigInUseException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified input was specified in an invalid format.
_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The tag was specified in an invalid format.
_InvalidEC2TagException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified on-premises instance name was specified in an invalid
-- format.
_InvalidInstanceNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An on-premises instance name was not specified.
_InstanceNameRequiredException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The maximum allowed number of triggers was exceeded.
_TriggerTargetsLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified deployment status doesn't exist or cannot be determined.
_InvalidDeploymentStatusException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The registration status was specified in an invalid format.
_InvalidRegistrationStatusException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The minimum number of required application names was not specified.
_ApplicationNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified on-premises instance is not registered.
_InstanceNotRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An application with the specified name already exists with the
-- applicable IAM user or AWS account.
_ApplicationAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified instance status does not exist.
_InvalidInstanceStatusException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The maximum allowed number of tags was exceeded.
_TagLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | More applications were attempted to be created than are allowed.
_ApplicationLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The number of tag groups included in the tag set list exceeded the
-- maximum allowed limit of 3.
_TagSetListLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An invalid operation was detected.
_InvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The call is missing a required GitHub account connection name.
_GitHubAccountTokenNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An instance type was specified for an in-place deployment. Instance
-- types are supported for blue/green deployments only.
_InvalidDeploymentInstanceTypeException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The format of the specified GitHub account connection name is invalid.
_InvalidGitHubAccountTokenNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An attempt to return the status of an already completed lifecycle
-- event occurred.
_LifecycleEventAlreadyCompletedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified key prefix filter was specified in an invalid format.
_InvalidKeyPrefixFilterException :: AsError a => Getting (First ServiceError) a ServiceError
data ApplicationRevisionSortBy
FirstUsedTime :: ApplicationRevisionSortBy
LastUsedTime :: ApplicationRevisionSortBy
RegisterTime :: ApplicationRevisionSortBy
data AutoRollbackEvent
AREDeploymentFailure :: AutoRollbackEvent
AREDeploymentStopOnAlarm :: AutoRollbackEvent
AREDeploymentStopOnRequest :: AutoRollbackEvent
data BundleType
JSON :: BundleType
TAR :: BundleType
TGZ :: BundleType
Yaml :: BundleType
Zip :: BundleType
data ComputePlatform
Lambda :: ComputePlatform
Server :: ComputePlatform
data DeployErrorCode
AgentIssue :: DeployErrorCode
AlarmActive :: DeployErrorCode
ApplicationMissing :: DeployErrorCode
AutoScalingConfiguration :: DeployErrorCode
AutoScalingIAMRolePermissions :: DeployErrorCode
DeploymentGroupMissing :: DeployErrorCode
ElasticLoadBalancingInvalid :: DeployErrorCode
ElbInvalidInstance :: DeployErrorCode
HealthConstraints :: DeployErrorCode
HealthConstraintsInvalid :: DeployErrorCode
HookExecutionFailure :: DeployErrorCode
IAMRoleMissing :: DeployErrorCode
IAMRolePermissions :: DeployErrorCode
InternalError :: DeployErrorCode
InvalidLambdaConfiguration :: DeployErrorCode
InvalidLambdaFunction :: DeployErrorCode
ManualStop :: DeployErrorCode
MissingBlueGreenDeploymentConfiguration :: DeployErrorCode
MissingElbInformation :: DeployErrorCode
MissingGithubToken :: DeployErrorCode
NoEC2Subscription :: DeployErrorCode
NoInstances :: DeployErrorCode
OverMaxInstances :: DeployErrorCode
RevisionMissing :: DeployErrorCode
Throttled :: DeployErrorCode
Timeout :: DeployErrorCode
data DeploymentCreator
Autoscaling :: DeploymentCreator
CodeDeployRollback :: DeploymentCreator
User :: DeploymentCreator
data DeploymentOption
WithTrafficControl :: DeploymentOption
WithoutTrafficControl :: DeploymentOption
data DeploymentReadyAction
ContinueDeployment :: DeploymentReadyAction
StopDeployment :: DeploymentReadyAction
data DeploymentStatus
Created :: DeploymentStatus
Failed :: DeploymentStatus
InProgress :: DeploymentStatus
Queued :: DeploymentStatus
Ready :: DeploymentStatus
Stopped :: DeploymentStatus
Succeeded :: DeploymentStatus
data DeploymentType
BlueGreen :: DeploymentType
InPlace :: DeploymentType
data EC2TagFilterType
KeyAndValue :: EC2TagFilterType
KeyOnly :: EC2TagFilterType
ValueOnly :: EC2TagFilterType
data FileExistsBehavior
Disallow :: FileExistsBehavior
Overwrite :: FileExistsBehavior
Retain :: FileExistsBehavior
data GreenFleetProvisioningAction
CopyAutoScalingGroup :: GreenFleetProvisioningAction
DiscoverExisting :: GreenFleetProvisioningAction
data InstanceAction
KeepAlive :: InstanceAction
Terminate :: InstanceAction
data InstanceStatus
ISFailed :: InstanceStatus
ISInProgress :: InstanceStatus
ISPending :: InstanceStatus
ISReady :: InstanceStatus
ISSkipped :: InstanceStatus
ISSucceeded :: InstanceStatus
ISUnknown :: InstanceStatus
data InstanceType
Blue :: InstanceType
Green :: InstanceType
data LifecycleErrorCode
ScriptFailed :: LifecycleErrorCode
ScriptMissing :: LifecycleErrorCode
ScriptNotExecutable :: LifecycleErrorCode
ScriptTimedOut :: LifecycleErrorCode
Success :: LifecycleErrorCode
UnknownError :: LifecycleErrorCode
data LifecycleEventStatus
LESFailed :: LifecycleEventStatus
LESInProgress :: LifecycleEventStatus
LESPending :: LifecycleEventStatus
LESSkipped :: LifecycleEventStatus
LESSucceeded :: LifecycleEventStatus
LESUnknown :: LifecycleEventStatus
data ListStateFilterAction
Exclude :: ListStateFilterAction
Ignore :: ListStateFilterAction
Include :: ListStateFilterAction
data MinimumHealthyHostsType
FleetPercent :: MinimumHealthyHostsType
HostCount :: MinimumHealthyHostsType
data RegistrationStatus
Deregistered :: RegistrationStatus
Registered :: RegistrationStatus
data RevisionLocationType
GitHub :: RevisionLocationType
S3 :: RevisionLocationType
String :: RevisionLocationType
data SortOrder
Ascending :: SortOrder
Descending :: SortOrder
data StopStatus
SSPending :: StopStatus
SSSucceeded :: StopStatus
data TagFilterType
TFTKeyAndValue :: TagFilterType
TFTKeyOnly :: TagFilterType
TFTValueOnly :: TagFilterType
data TrafficRoutingType
AllAtOnce :: TrafficRoutingType
TimeBasedCanary :: TrafficRoutingType
TimeBasedLinear :: TrafficRoutingType
data TriggerEventType
DeploymentFailure :: TriggerEventType
DeploymentReady :: TriggerEventType
DeploymentRollback :: TriggerEventType
DeploymentStart :: TriggerEventType
DeploymentStop :: TriggerEventType
DeploymentSuccess :: TriggerEventType
InstanceFailure :: TriggerEventType
InstanceReady :: TriggerEventType
InstanceStart :: TriggerEventType
InstanceSuccess :: TriggerEventType
-- | Information about an alarm.
--
-- See: alarm smart constructor.
data Alarm
-- | Creates a value of Alarm with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - aName - The name of the alarm. Maximum length is 255
-- characters. Each alarm name can be used only once in a list of
-- alarms.
--
alarm :: Alarm
-- | The name of the alarm. Maximum length is 255 characters. Each alarm
-- name can be used only once in a list of alarms.
aName :: Lens' Alarm (Maybe Text)
-- | Information about alarms associated with the deployment group.
--
-- See: alarmConfiguration smart constructor.
data AlarmConfiguration
-- | Creates a value of AlarmConfiguration with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - acIgnorePollAlarmFailure - 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 will proceed even if alarm status
-- information can't be retrieved from Amazon CloudWatch. * false: The
-- deployment will stop if alarm status information can't be retrieved
-- from Amazon CloudWatch.
-- - acEnabled - Indicates whether the alarm configuration is
-- enabled.
-- - acAlarms - A list of alarms configured for the deployment
-- group. A maximum of 10 alarms can be added to a deployment group.
--
alarmConfiguration :: AlarmConfiguration
-- | 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 will
-- proceed even if alarm status information can't be retrieved from
-- Amazon CloudWatch. * false: The deployment will stop if alarm status
-- information can't be retrieved from Amazon CloudWatch.
acIgnorePollAlarmFailure :: Lens' AlarmConfiguration (Maybe Bool)
-- | Indicates whether the alarm configuration is enabled.
acEnabled :: Lens' AlarmConfiguration (Maybe Bool)
-- | A list of alarms configured for the deployment group. A maximum of 10
-- alarms can be added to a deployment group.
acAlarms :: Lens' AlarmConfiguration [Alarm]
-- | Information about an application.
--
-- See: applicationInfo smart constructor.
data ApplicationInfo
-- | Creates a value of ApplicationInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
applicationInfo :: ApplicationInfo
-- | True if the user has authenticated with GitHub for the specified
-- application; otherwise, false.
aiLinkedToGitHub :: Lens' ApplicationInfo (Maybe Bool)
-- | The destination platform type for deployment of the application
-- (Lambda or Server ).
aiComputePlatform :: Lens' ApplicationInfo (Maybe ComputePlatform)
-- | The application ID.
aiApplicationId :: Lens' ApplicationInfo (Maybe Text)
-- | The application name.
aiApplicationName :: Lens' ApplicationInfo (Maybe Text)
-- | The name for a connection to a GitHub account.
aiGitHubAccountName :: Lens' ApplicationInfo (Maybe Text)
-- | The time at which the application was created.
aiCreateTime :: Lens' ApplicationInfo (Maybe UTCTime)
-- | Information about a configuration for automatically rolling back to a
-- previous version of an application revision when a deployment doesn't
-- complete successfully.
--
-- See: autoRollbackConfiguration smart constructor.
data AutoRollbackConfiguration
-- | Creates a value of AutoRollbackConfiguration with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - arcEnabled - Indicates whether a defined automatic rollback
-- configuration is currently enabled.
-- - arcEvents - The event type or types that trigger a
-- rollback.
--
autoRollbackConfiguration :: AutoRollbackConfiguration
-- | Indicates whether a defined automatic rollback configuration is
-- currently enabled.
arcEnabled :: Lens' AutoRollbackConfiguration (Maybe Bool)
-- | The event type or types that trigger a rollback.
arcEvents :: Lens' AutoRollbackConfiguration [AutoRollbackEvent]
-- | Information about an Auto Scaling group.
--
-- See: autoScalingGroup smart constructor.
data AutoScalingGroup
-- | Creates a value of AutoScalingGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - asgHook - An Auto Scaling lifecycle event hook name.
-- - asgName - The Auto Scaling group name.
--
autoScalingGroup :: AutoScalingGroup
-- | An Auto Scaling lifecycle event hook name.
asgHook :: Lens' AutoScalingGroup (Maybe Text)
-- | The Auto Scaling group name.
asgName :: Lens' AutoScalingGroup (Maybe Text)
-- | Information about blue/green deployment options for a deployment
-- group.
--
-- See: blueGreenDeploymentConfiguration smart constructor.
data BlueGreenDeploymentConfiguration
-- | Creates a value of BlueGreenDeploymentConfiguration with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
blueGreenDeploymentConfiguration :: BlueGreenDeploymentConfiguration
-- | Information about the action to take when newly provisioned instances
-- are ready to receive traffic in a blue/green deployment.
bgdcDeploymentReadyOption :: Lens' BlueGreenDeploymentConfiguration (Maybe DeploymentReadyOption)
-- | Information about how instances are provisioned for a replacement
-- environment in a blue/green deployment.
bgdcGreenFleetProvisioningOption :: Lens' BlueGreenDeploymentConfiguration (Maybe GreenFleetProvisioningOption)
-- | Information about whether to terminate instances in the original fleet
-- during a blue/green deployment.
bgdcTerminateBlueInstancesOnDeploymentSuccess :: Lens' BlueGreenDeploymentConfiguration (Maybe BlueInstanceTerminationOption)
-- | Information about whether instances in the original environment are
-- terminated when a blue/green deployment is successful.
--
-- See: blueInstanceTerminationOption smart constructor.
data BlueInstanceTerminationOption
-- | Creates a value of BlueInstanceTerminationOption with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bitoAction - 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.
-- - bitoTerminationWaitTimeInMinutes - The number of minutes to
-- wait after a successful blue/green deployment before terminating
-- instances from the original environment.
--
blueInstanceTerminationOption :: 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.
bitoAction :: Lens' BlueInstanceTerminationOption (Maybe InstanceAction)
-- | The number of minutes to wait after a successful blue/green deployment
-- before terminating instances from the original environment.
bitoTerminationWaitTimeInMinutes :: Lens' BlueInstanceTerminationOption (Maybe Int)
-- | Information about a deployment configuration.
--
-- See: deploymentConfigInfo smart constructor.
data DeploymentConfigInfo
-- | Creates a value of DeploymentConfigInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deploymentConfigInfo :: DeploymentConfigInfo
-- | The deployment configuration name.
dciDeploymentConfigName :: Lens' DeploymentConfigInfo (Maybe Text)
-- | The destination platform type for the deployment (Lambda or
-- Server ).
dciComputePlatform :: Lens' DeploymentConfigInfo (Maybe ComputePlatform)
-- | Information about the number or percentage of minimum healthy
-- instance.
dciMinimumHealthyHosts :: Lens' DeploymentConfigInfo (Maybe MinimumHealthyHosts)
-- | The configuration specifying how the deployment traffic will be
-- routed. Only deployments with a Lambda compute platform can specify
-- this.
dciTrafficRoutingConfig :: Lens' DeploymentConfigInfo (Maybe TrafficRoutingConfig)
-- | The deployment configuration ID.
dciDeploymentConfigId :: Lens' DeploymentConfigInfo (Maybe Text)
-- | The time at which the deployment configuration was created.
dciCreateTime :: Lens' DeploymentConfigInfo (Maybe UTCTime)
-- | Information about a deployment group.
--
-- See: deploymentGroupInfo smart constructor.
data DeploymentGroupInfo
-- | Creates a value of DeploymentGroupInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dgiServiceRoleARN - A service role ARN.
-- - dgiEc2TagSet - Information about groups of tags applied to
-- an EC2 instance. The deployment group includes only EC2 instances
-- identified by all the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
-- - dgiDeploymentConfigName - The deployment configuration
-- name.
-- - dgiLastAttemptedDeployment - Information about the most
-- recent attempted deployment to the deployment group.
-- - dgiOnPremisesTagSet - 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.
-- - dgiComputePlatform - The destination platform type for the
-- deployment group (Lambda or Server ).
-- - dgiTargetRevision - Information about the deployment
-- group's target revision, including type and location.
-- - dgiEc2TagFilters - The Amazon EC2 tags on which to filter.
-- The deployment group includes EC2 instances with any of the specified
-- tags.
-- - dgiBlueGreenDeploymentConfiguration - Information about
-- blue/green deployment options for a deployment group.
-- - dgiLoadBalancerInfo - Information about the load balancer
-- to use in a deployment.
-- - dgiOnPremisesInstanceTagFilters - The on-premises instance
-- tags on which to filter. The deployment group includes on-premises
-- instances with any of the specified tags.
-- - dgiLastSuccessfulDeployment - Information about the most
-- recent successful deployment to the deployment group.
-- - dgiApplicationName - The application name.
-- - dgiAlarmConfiguration - A list of alarms associated with
-- the deployment group.
-- - dgiTriggerConfigurations - Information about triggers
-- associated with the deployment group.
-- - dgiDeploymentGroupId - The deployment group ID.
-- - dgiAutoScalingGroups - A list of associated Auto Scaling
-- groups.
-- - dgiDeploymentStyle - 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.
-- - dgiAutoRollbackConfiguration - Information about the
-- automatic rollback configuration associated with the deployment
-- group.
-- - dgiDeploymentGroupName - The deployment group name.
--
deploymentGroupInfo :: DeploymentGroupInfo
-- | A service role ARN.
dgiServiceRoleARN :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about groups of tags applied to an EC2 instance. The
-- deployment group includes only EC2 instances identified by all the tag
-- groups. Cannot be used in the same call as ec2TagFilters.
dgiEc2TagSet :: Lens' DeploymentGroupInfo (Maybe EC2TagSet)
-- | The deployment configuration name.
dgiDeploymentConfigName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about the most recent attempted deployment to the
-- deployment group.
dgiLastAttemptedDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo)
-- | 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.
dgiOnPremisesTagSet :: Lens' DeploymentGroupInfo (Maybe OnPremisesTagSet)
-- | The destination platform type for the deployment group
-- (Lambda or Server ).
dgiComputePlatform :: Lens' DeploymentGroupInfo (Maybe ComputePlatform)
-- | Information about the deployment group's target revision, including
-- type and location.
dgiTargetRevision :: Lens' DeploymentGroupInfo (Maybe RevisionLocation)
-- | The Amazon EC2 tags on which to filter. The deployment group includes
-- EC2 instances with any of the specified tags.
dgiEc2TagFilters :: Lens' DeploymentGroupInfo [EC2TagFilter]
-- | Information about blue/green deployment options for a deployment
-- group.
dgiBlueGreenDeploymentConfiguration :: Lens' DeploymentGroupInfo (Maybe BlueGreenDeploymentConfiguration)
-- | Information about the load balancer to use in a deployment.
dgiLoadBalancerInfo :: 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.
dgiOnPremisesInstanceTagFilters :: Lens' DeploymentGroupInfo [TagFilter]
-- | Information about the most recent successful deployment to the
-- deployment group.
dgiLastSuccessfulDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo)
-- | The application name.
dgiApplicationName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | A list of alarms associated with the deployment group.
dgiAlarmConfiguration :: Lens' DeploymentGroupInfo (Maybe AlarmConfiguration)
-- | Information about triggers associated with the deployment group.
dgiTriggerConfigurations :: Lens' DeploymentGroupInfo [TriggerConfig]
-- | The deployment group ID.
dgiDeploymentGroupId :: Lens' DeploymentGroupInfo (Maybe Text)
-- | A list of associated Auto Scaling groups.
dgiAutoScalingGroups :: Lens' DeploymentGroupInfo [AutoScalingGroup]
-- | 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.
dgiDeploymentStyle :: Lens' DeploymentGroupInfo (Maybe DeploymentStyle)
-- | Information about the automatic rollback configuration associated with
-- the deployment group.
dgiAutoRollbackConfiguration :: Lens' DeploymentGroupInfo (Maybe AutoRollbackConfiguration)
-- | The deployment group name.
dgiDeploymentGroupName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about a deployment.
--
-- See: deploymentInfo smart constructor.
data DeploymentInfo
-- | Creates a value of DeploymentInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - diCreator - The means by which the deployment was created:
-- * user: A user created the deployment. * autoscaling: Auto Scaling
-- created the deployment. * codeDeployRollback: A rollback process
-- created the deployment.
-- - diStatus - The current state of the deployment as a
-- whole.
-- - diDeploymentId - The deployment ID.
-- - diDeploymentConfigName - The deployment configuration
-- name.
-- - diComputePlatform - The destination platform type for the
-- deployment (Lambda or Server ).
-- - diPreviousRevision - Information about the application
-- revision that was deployed to the deployment group before the most
-- recent successful deployment.
-- - diInstanceTerminationWaitTimeStarted - 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.
-- - diDeploymentStatusMessages - Messages that contain
-- information about the status of a deployment.
-- - diStartTime - A timestamp indicating when the deployment
-- was deployed to the deployment group. In some cases, the reported
-- value of the start time may be later than the complete time. This is
-- due to differences in the clock settings of back-end servers that
-- participate in the deployment process.
-- - diCompleteTime - A timestamp indicating when the deployment
-- was complete.
-- - diBlueGreenDeploymentConfiguration - Information about
-- blue/green deployment options for this deployment.
-- - diErrorInformation - Information about any error associated
-- with this deployment.
-- - diLoadBalancerInfo - Information about the load balancer
-- used in the deployment.
-- - diAdditionalDeploymentStatusInfo - Provides information
-- about the results of a deployment, such as whether instances in the
-- original environment in a blue/green deployment were not
-- terminated.
-- - diDeploymentOverview - A summary of the deployment status
-- of the instances in the deployment.
-- - diFileExistsBehavior - Information about how AWS 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.
-- - diApplicationName - The application name.
-- - diRollbackInfo - Information about a deployment
-- rollback.
-- - diTargetInstances - Information about the instances that
-- belong to the replacement environment in a blue/green deployment.
-- - diRevision - Information about the location of stored
-- application artifacts and the service from which to retrieve
-- them.
-- - diDescription - A comment about the deployment.
-- - diDeploymentStyle - 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.
-- - diCreateTime - A timestamp indicating when the deployment
-- was created.
-- - diAutoRollbackConfiguration - Information about the
-- automatic rollback configuration associated with the deployment.
-- - diUpdateOutdatedInstancesOnly - Indicates whether only
-- instances that are not running the latest application revision are to
-- be deployed to.
-- - diDeploymentGroupName - The deployment group name.
-- - diIgnoreApplicationStopFailures - If true, then if the
-- deployment causes the ApplicationStop deployment lifecycle event to an
-- instance to fail, the deployment to that instance will not be
-- considered to have failed at that point and will continue on to the
-- BeforeInstall deployment lifecycle event. If false or not specified,
-- then if the deployment causes the ApplicationStop deployment lifecycle
-- event to an instance to fail, the deployment to that instance will
-- stop, and the deployment to that instance will be considered to have
-- failed.
--
deploymentInfo :: DeploymentInfo
-- | The means by which the deployment was created: * user: A user created
-- the deployment. * autoscaling: Auto Scaling created the deployment. *
-- codeDeployRollback: A rollback process created the deployment.
diCreator :: Lens' DeploymentInfo (Maybe DeploymentCreator)
-- | The current state of the deployment as a whole.
diStatus :: Lens' DeploymentInfo (Maybe DeploymentStatus)
-- | The deployment ID.
diDeploymentId :: Lens' DeploymentInfo (Maybe Text)
-- | The deployment configuration name.
diDeploymentConfigName :: Lens' DeploymentInfo (Maybe Text)
-- | The destination platform type for the deployment (Lambda or
-- Server ).
diComputePlatform :: Lens' DeploymentInfo (Maybe ComputePlatform)
-- | Information about the application revision that was deployed to the
-- deployment group before the most recent successful deployment.
diPreviousRevision :: Lens' DeploymentInfo (Maybe RevisionLocation)
-- | 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.
diInstanceTerminationWaitTimeStarted :: Lens' DeploymentInfo (Maybe Bool)
-- | Messages that contain information about the status of a deployment.
diDeploymentStatusMessages :: Lens' DeploymentInfo [Text]
-- | A timestamp indicating when the deployment was deployed to the
-- deployment group. In some cases, the reported value of the start time
-- may be later than the complete time. This is due to differences in the
-- clock settings of back-end servers that participate in the deployment
-- process.
diStartTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | A timestamp indicating when the deployment was complete.
diCompleteTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | Information about blue/green deployment options for this deployment.
diBlueGreenDeploymentConfiguration :: Lens' DeploymentInfo (Maybe BlueGreenDeploymentConfiguration)
-- | Information about any error associated with this deployment.
diErrorInformation :: Lens' DeploymentInfo (Maybe ErrorInformation)
-- | Information about the load balancer used in the deployment.
diLoadBalancerInfo :: Lens' DeploymentInfo (Maybe LoadBalancerInfo)
-- | Provides information about the results of a deployment, such as
-- whether instances in the original environment in a blue/green
-- deployment were not terminated.
diAdditionalDeploymentStatusInfo :: Lens' DeploymentInfo (Maybe Text)
-- | A summary of the deployment status of the instances in the deployment.
diDeploymentOverview :: Lens' DeploymentInfo (Maybe DeploymentOverview)
-- | Information about how AWS 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.
diFileExistsBehavior :: Lens' DeploymentInfo (Maybe FileExistsBehavior)
-- | The application name.
diApplicationName :: Lens' DeploymentInfo (Maybe Text)
-- | Information about a deployment rollback.
diRollbackInfo :: Lens' DeploymentInfo (Maybe RollbackInfo)
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
diTargetInstances :: Lens' DeploymentInfo (Maybe TargetInstances)
-- | Information about the location of stored application artifacts and the
-- service from which to retrieve them.
diRevision :: Lens' DeploymentInfo (Maybe RevisionLocation)
-- | A comment about the deployment.
diDescription :: 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.
diDeploymentStyle :: Lens' DeploymentInfo (Maybe DeploymentStyle)
-- | A timestamp indicating when the deployment was created.
diCreateTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | Information about the automatic rollback configuration associated with
-- the deployment.
diAutoRollbackConfiguration :: Lens' DeploymentInfo (Maybe AutoRollbackConfiguration)
-- | Indicates whether only instances that are not running the latest
-- application revision are to be deployed to.
diUpdateOutdatedInstancesOnly :: Lens' DeploymentInfo (Maybe Bool)
-- | The deployment group name.
diDeploymentGroupName :: Lens' DeploymentInfo (Maybe Text)
-- | If true, then if the deployment causes the ApplicationStop deployment
-- lifecycle event to an instance to fail, the deployment to that
-- instance will not be considered to have failed at that point and will
-- continue on to the BeforeInstall deployment lifecycle event. If false
-- or not specified, then if the deployment causes the ApplicationStop
-- deployment lifecycle event to an instance to fail, the deployment to
-- that instance will stop, and the deployment to that instance will be
-- considered to have failed.
diIgnoreApplicationStopFailures :: Lens' DeploymentInfo (Maybe Bool)
-- | Information about the deployment status of the instances in the
-- deployment.
--
-- See: deploymentOverview smart constructor.
data DeploymentOverview
-- | Creates a value of DeploymentOverview with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - doPending - The number of instances in the deployment in a
-- pending state.
-- - doSkipped - The number of instances in the deployment in a
-- skipped state.
-- - doInProgress - The number of instances in which the
-- deployment is in progress.
-- - doSucceeded - The number of instances in the deployment to
-- which revisions have been successfully deployed.
-- - doReady - The number of instances in a replacement
-- environment ready to receive traffic in a blue/green deployment.
-- - doFailed - The number of instances in the deployment in a
-- failed state.
--
deploymentOverview :: DeploymentOverview
-- | The number of instances in the deployment in a pending state.
doPending :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment in a skipped state.
doSkipped :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in which the deployment is in progress.
doInProgress :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment to which revisions have been
-- successfully deployed.
doSucceeded :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in a replacement environment ready to receive
-- traffic in a blue/green deployment.
doReady :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment in a failed state.
doFailed :: Lens' DeploymentOverview (Maybe Integer)
-- | Information about how traffic is rerouted to instances in a
-- replacement environment in a blue/green deployment.
--
-- See: deploymentReadyOption smart constructor.
data DeploymentReadyOption
-- | Creates a value of DeploymentReadyOption with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - droActionOnTimeout - 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.
-- - droWaitTimeInMinutes - The number of minutes to wait before
-- the status of a blue/green deployment changed to Stopped if rerouting
-- is not started manually. Applies only to the STOP_DEPLOYMENT option
-- for actionOnTimeout
--
deploymentReadyOption :: 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.
droActionOnTimeout :: Lens' DeploymentReadyOption (Maybe DeploymentReadyAction)
-- | The number of minutes to wait before the status of a blue/green
-- deployment changed to Stopped if rerouting is not started manually.
-- Applies only to the STOP_DEPLOYMENT option for actionOnTimeout
droWaitTimeInMinutes :: 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: deploymentStyle smart constructor.
data DeploymentStyle
-- | Creates a value of DeploymentStyle with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dsDeploymentOption - Indicates whether to route deployment
-- traffic behind a load balancer.
-- - dsDeploymentType - Indicates whether to run an in-place
-- deployment or a blue/green deployment.
--
deploymentStyle :: DeploymentStyle
-- | Indicates whether to route deployment traffic behind a load balancer.
dsDeploymentOption :: Lens' DeploymentStyle (Maybe DeploymentOption)
-- | Indicates whether to run an in-place deployment or a blue/green
-- deployment.
dsDeploymentType :: Lens' DeploymentStyle (Maybe DeploymentType)
-- | Diagnostic information about executable scripts that are part of a
-- deployment.
--
-- See: diagnostics smart constructor.
data Diagnostics
-- | Creates a value of Diagnostics with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dLogTail - The last portion of the diagnostic log. If
-- available, AWS CodeDeploy returns up to the last 4 KB of the
-- diagnostic log.
-- - dErrorCode - 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.
-- - dScriptName - The name of the script.
-- - dMessage - The message associated with the error.
--
diagnostics :: Diagnostics
-- | The last portion of the diagnostic log. If available, AWS CodeDeploy
-- returns up to the last 4 KB of the diagnostic log.
dLogTail :: Lens' Diagnostics (Maybe Text)
-- | 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.
dErrorCode :: Lens' Diagnostics (Maybe LifecycleErrorCode)
-- | The name of the script.
dScriptName :: Lens' Diagnostics (Maybe Text)
-- | The message associated with the error.
dMessage :: Lens' Diagnostics (Maybe Text)
-- | Information about an EC2 tag filter.
--
-- See: ec2TagFilter smart constructor.
data EC2TagFilter
-- | Creates a value of EC2TagFilter with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - etfValue - The tag filter value.
-- - etfKey - The tag filter key.
-- - etfType - The tag filter type: * KEY_ONLY: Key only. *
-- VALUE_ONLY: Value only. * KEY_AND_VALUE: Key and value.
--
ec2TagFilter :: EC2TagFilter
-- | The tag filter value.
etfValue :: Lens' EC2TagFilter (Maybe Text)
-- | The tag filter key.
etfKey :: Lens' EC2TagFilter (Maybe Text)
-- | The tag filter type: * KEY_ONLY: Key only. * VALUE_ONLY: Value only. *
-- KEY_AND_VALUE: Key and value.
etfType :: Lens' EC2TagFilter (Maybe EC2TagFilterType)
-- | Information about groups of EC2 instance tags.
--
-- See: ec2TagSet smart constructor.
data EC2TagSet
-- | Creates a value of EC2TagSet with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - etsEc2TagSetList - A list containing other lists of EC2
-- instance tag groups. In order for an instance to be included in the
-- deployment group, it must be identified by all the tag groups in the
-- list.
--
ec2TagSet :: EC2TagSet
-- | A list containing other lists of EC2 instance tag groups. In order for
-- an instance to be included in the deployment group, it must be
-- identified by all the tag groups in the list.
etsEc2TagSetList :: Lens' EC2TagSet [[EC2TagFilter]]
-- | 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: eLBInfo smart constructor.
data ELBInfo
-- | Creates a value of ELBInfo with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - elbiName - For bluegreen deployments, the name of the
-- load balancer that will be used to route traffic from original
-- instances to replacement instances in a bluegreen 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 completes.
--
eLBInfo :: ELBInfo
-- | For bluegreen deployments, the name of the load balancer that will
-- be used to route traffic from original instances to replacement
-- instances in a bluegreen 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 completes.
elbiName :: Lens' ELBInfo (Maybe Text)
-- | Information about a deployment error.
--
-- See: errorInformation smart constructor.
data ErrorInformation
-- | Creates a value of ErrorInformation with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - eiCode - For information about additional error codes, see
-- Error Codes for AWS CodeDeploy in the AWS CodeDeploy User
-- Guide . The error code: * APPLICATION_MISSING: The application was
-- missing. This error code will most likely be 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 will most likely be 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 the
-- Amazon EC2 service. * NO_INSTANCES: No instance were specified, or no
-- instance can be found. * OVER_MAX_INSTANCES: The maximum number of
-- instance was exceeded. * THROTTLED: The operation was throttled
-- because the calling account exceeded the throttling limits of one or
-- more AWS services. * TIMEOUT: The deployment has timed out. *
-- REVISION_MISSING: The revision ID was missing. This error code will
-- most likely be raised if the revision is deleted after the deployment
-- is created but before it is started.
-- - eiMessage - An accompanying error message.
--
errorInformation :: ErrorInformation
-- | For information about additional error codes, see Error Codes for
-- AWS CodeDeploy in the AWS CodeDeploy User Guide . The error
-- code: * APPLICATION_MISSING: The application was missing. This error
-- code will most likely be 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 will most likely be 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 the
-- Amazon EC2 service. * NO_INSTANCES: No instance were specified, or no
-- instance can be found. * OVER_MAX_INSTANCES: The maximum number of
-- instance was exceeded. * THROTTLED: The operation was throttled
-- because the calling account exceeded the throttling limits of one or
-- more AWS services. * TIMEOUT: The deployment has timed out. *
-- REVISION_MISSING: The revision ID was missing. This error code will
-- most likely be raised if the revision is deleted after the deployment
-- is created but before it is started.
eiCode :: Lens' ErrorInformation (Maybe DeployErrorCode)
-- | An accompanying error message.
eiMessage :: Lens' ErrorInformation (Maybe Text)
-- | Information about an application revision.
--
-- See: genericRevisionInfo smart constructor.
data GenericRevisionInfo
-- | Creates a value of GenericRevisionInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
genericRevisionInfo :: GenericRevisionInfo
-- | When the revision was registered with AWS CodeDeploy.
griRegisterTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | When the revision was first used by AWS CodeDeploy.
griFirstUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | The deployment groups for which this is the current target revision.
griDeploymentGroups :: Lens' GenericRevisionInfo [Text]
-- | When the revision was last used by AWS CodeDeploy.
griLastUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | A comment about the revision.
griDescription :: Lens' GenericRevisionInfo (Maybe Text)
-- | Information about the location of application artifacts stored in
-- GitHub.
--
-- See: gitHubLocation smart constructor.
data GitHubLocation
-- | Creates a value of GitHubLocation with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ghlCommitId - The SHA1 commit ID of the GitHub commit that
-- represents the bundled artifacts for the application revision.
-- - ghlRepository - 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 :: GitHubLocation
-- | The SHA1 commit ID of the GitHub commit that represents the bundled
-- artifacts for the application revision.
ghlCommitId :: 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.
ghlRepository :: Lens' GitHubLocation (Maybe Text)
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
--
-- See: greenFleetProvisioningOption smart constructor.
data GreenFleetProvisioningOption
-- | Creates a value of GreenFleetProvisioningOption with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gfpoAction - 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 :: 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.
gfpoAction :: Lens' GreenFleetProvisioningOption (Maybe GreenFleetProvisioningAction)
-- | Information about an on-premises instance.
--
-- See: instanceInfo smart constructor.
data InstanceInfo
-- | Creates a value of InstanceInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - iiRegisterTime - The time at which the on-premises instance
-- was registered.
-- - iiInstanceARN - The ARN of the on-premises instance.
-- - iiDeregisterTime - If the on-premises instance was
-- deregistered, the time at which the on-premises instance was
-- deregistered.
-- - iiIamUserARN - The IAM user ARN associated with the
-- on-premises instance.
-- - iiInstanceName - The name of the on-premises instance.
-- - iiIamSessionARN - The ARN of the IAM session associated
-- with the on-premises instance.
-- - iiTags - The tags currently associated with the on-premises
-- instance.
--
instanceInfo :: InstanceInfo
-- | The time at which the on-premises instance was registered.
iiRegisterTime :: Lens' InstanceInfo (Maybe UTCTime)
-- | The ARN of the on-premises instance.
iiInstanceARN :: Lens' InstanceInfo (Maybe Text)
-- | If the on-premises instance was deregistered, the time at which the
-- on-premises instance was deregistered.
iiDeregisterTime :: Lens' InstanceInfo (Maybe UTCTime)
-- | The IAM user ARN associated with the on-premises instance.
iiIamUserARN :: Lens' InstanceInfo (Maybe Text)
-- | The name of the on-premises instance.
iiInstanceName :: Lens' InstanceInfo (Maybe Text)
-- | The ARN of the IAM session associated with the on-premises instance.
iiIamSessionARN :: Lens' InstanceInfo (Maybe Text)
-- | The tags currently associated with the on-premises instance.
iiTags :: Lens' InstanceInfo [Tag]
-- | Information about an instance in a deployment.
--
-- See: instanceSummary smart constructor.
data InstanceSummary
-- | Creates a value of InstanceSummary with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - isInstanceId - The instance ID.
-- - isStatus - The deployment status for this instance: *
-- Pending: The deployment is pending for this instance. * In Progress:
-- The deployment is in progress for this instance. * Succeeded: The
-- deployment has succeeded for this instance. * Failed: The deployment
-- has failed for this instance. * Skipped: The deployment has been
-- skipped for this instance. * Unknown: The deployment status is unknown
-- for this instance.
-- - isDeploymentId - The deployment ID.
-- - isLastUpdatedAt - A timestamp indicating when the instance
-- information was last updated.
-- - isLifecycleEvents - A list of lifecycle events for this
-- instance.
-- - isInstanceType - Information about which environment an
-- instance belongs to in a blue/green deployment. * BLUE: The instance
-- is part of the original environment. * GREEN: The instance is part of
-- the replacement environment.
--
instanceSummary :: InstanceSummary
-- | The instance ID.
isInstanceId :: Lens' InstanceSummary (Maybe Text)
-- | The deployment status for this instance: * Pending: The deployment is
-- pending for this instance. * In Progress: The deployment is in
-- progress for this instance. * Succeeded: The deployment has succeeded
-- for this instance. * Failed: The deployment has failed for this
-- instance. * Skipped: The deployment has been skipped for this
-- instance. * Unknown: The deployment status is unknown for this
-- instance.
isStatus :: Lens' InstanceSummary (Maybe InstanceStatus)
-- | The deployment ID.
isDeploymentId :: Lens' InstanceSummary (Maybe Text)
-- | A timestamp indicating when the instance information was last updated.
isLastUpdatedAt :: Lens' InstanceSummary (Maybe UTCTime)
-- | A list of lifecycle events for this instance.
isLifecycleEvents :: Lens' InstanceSummary [LifecycleEvent]
-- | Information about which environment an instance belongs to in a
-- blue/green deployment. * BLUE: The instance is part of the original
-- environment. * GREEN: The instance is part of the replacement
-- environment.
isInstanceType :: Lens' InstanceSummary (Maybe InstanceType)
-- | Information about the most recent attempted or successful deployment
-- to a deployment group.
--
-- See: lastDeploymentInfo smart constructor.
data LastDeploymentInfo
-- | Creates a value of LastDeploymentInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ldiStatus - The status of the most recent deployment.
-- - ldiDeploymentId - The deployment ID.
-- - ldiEndTime - A timestamp indicating when the most recent
-- deployment to the deployment group completed.
-- - ldiCreateTime - A timestamp indicating when the most recent
-- deployment to the deployment group started.
--
lastDeploymentInfo :: LastDeploymentInfo
-- | The status of the most recent deployment.
ldiStatus :: Lens' LastDeploymentInfo (Maybe DeploymentStatus)
-- | The deployment ID.
ldiDeploymentId :: Lens' LastDeploymentInfo (Maybe Text)
-- | A timestamp indicating when the most recent deployment to the
-- deployment group completed.
ldiEndTime :: Lens' LastDeploymentInfo (Maybe UTCTime)
-- | A timestamp indicating when the most recent deployment to the
-- deployment group started.
ldiCreateTime :: Lens' LastDeploymentInfo (Maybe UTCTime)
-- | Information about a deployment lifecycle event.
--
-- See: lifecycleEvent smart constructor.
data LifecycleEvent
-- | Creates a value of LifecycleEvent with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - leStatus - 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.
-- - leLifecycleEventName - The deployment lifecycle event name,
-- such as ApplicationStop, BeforeInstall, AfterInstall,
-- ApplicationStart, or ValidateService.
-- - leStartTime - A timestamp indicating when the deployment
-- lifecycle event started.
-- - leDiagnostics - Diagnostic information about the deployment
-- lifecycle event.
-- - leEndTime - A timestamp indicating when the deployment
-- lifecycle event ended.
--
lifecycleEvent :: LifecycleEvent
-- | 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.
leStatus :: Lens' LifecycleEvent (Maybe LifecycleEventStatus)
-- | The deployment lifecycle event name, such as ApplicationStop,
-- BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
leLifecycleEventName :: Lens' LifecycleEvent (Maybe Text)
-- | A timestamp indicating when the deployment lifecycle event started.
leStartTime :: Lens' LifecycleEvent (Maybe UTCTime)
-- | Diagnostic information about the deployment lifecycle event.
leDiagnostics :: Lens' LifecycleEvent (Maybe Diagnostics)
-- | A timestamp indicating when the deployment lifecycle event ended.
leEndTime :: Lens' LifecycleEvent (Maybe UTCTime)
-- | Information about the Elastic Load Balancing load balancer or target
-- group used in a deployment.
--
-- See: loadBalancerInfo smart constructor.
data LoadBalancerInfo
-- | Creates a value of LoadBalancerInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lbiElbInfoList - An array containing 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.
-- - lbiTargetGroupInfoList - An array containing 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.
--
loadBalancerInfo :: LoadBalancerInfo
-- | An array containing 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.
lbiElbInfoList :: Lens' LoadBalancerInfo [ELBInfo]
-- | An array containing 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.
lbiTargetGroupInfoList :: Lens' LoadBalancerInfo [TargetGroupInfo]
-- | Information about minimum healthy instance.
--
-- See: minimumHealthyHosts smart constructor.
data MinimumHealthyHosts
-- | Creates a value of MinimumHealthyHosts with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - mhhValue - The minimum healthy instance value.
-- - mhhType - The minimum healthy instance type: * HOST_COUNT:
-- The minimum number of healthy instance as an absolute value. *
-- FLEET_PERCENT: The minimum number of healthy instance as a percentage
-- of the total number of instance in the deployment. In an example of
-- nine instance, if a HOST_COUNT of six is specified, deploy to up to
-- three instances at a time. The deployment will be 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
-- instance at a time. The deployment will be successful if four or more
-- instance are deployed to successfully; otherwise, the deployment
-- fails. For more information, see AWS CodeDeploy Instance Health
-- in the AWS CodeDeploy User Guide .
--
minimumHealthyHosts :: MinimumHealthyHosts
-- | The minimum healthy instance value.
mhhValue :: Lens' MinimumHealthyHosts (Maybe Int)
-- | The minimum healthy instance type: * HOST_COUNT: The minimum number of
-- healthy instance as an absolute value. * FLEET_PERCENT: The minimum
-- number of healthy instance as a percentage of the total number of
-- instance in the deployment. In an example of nine instance, if a
-- HOST_COUNT of six is specified, deploy to up to three instances at a
-- time. The deployment will be 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 instance at a
-- time. The deployment will be successful if four or more instance are
-- deployed to successfully; otherwise, the deployment fails. For more
-- information, see AWS CodeDeploy Instance Health in the AWS
-- CodeDeploy User Guide .
mhhType :: Lens' MinimumHealthyHosts (Maybe MinimumHealthyHostsType)
-- | Information about groups of on-premises instance tags.
--
-- See: onPremisesTagSet smart constructor.
data OnPremisesTagSet
-- | Creates a value of OnPremisesTagSet with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - optsOnPremisesTagSetList - A list containing other lists of
-- on-premises instance tag groups. In order for an instance to be
-- included in the deployment group, it must be identified by all the tag
-- groups in the list.
--
onPremisesTagSet :: OnPremisesTagSet
-- | A list containing other lists of on-premises instance tag groups. In
-- order for an instance to be included in the deployment group, it must
-- be identified by all the tag groups in the list.
optsOnPremisesTagSetList :: Lens' OnPremisesTagSet [[TagFilter]]
-- | A revision for an AWS Lambda deployment that is a YAML-formatted or
-- JSON-formatted string. For AWS Lambda deployments, the revision is the
-- same as the AppSpec file.
--
-- See: rawString smart constructor.
data RawString
-- | Creates a value of RawString with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - rsContent - 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.
-- - rsSha256 - The SHA256 hash value of the revision that is
-- specified as a RawString.
--
rawString :: 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.
rsContent :: Lens' RawString (Maybe Text)
-- | The SHA256 hash value of the revision that is specified as a
-- RawString.
rsSha256 :: Lens' RawString (Maybe Text)
-- | Information about an application revision.
--
-- See: revisionInfo smart constructor.
data RevisionInfo
-- | Creates a value of RevisionInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - riGenericRevisionInfo - Information about an application
-- revision, including usage details and associated deployment
-- groups.
-- - riRevisionLocation - Information about the location and
-- type of an application revision.
--
revisionInfo :: RevisionInfo
-- | Information about an application revision, including usage details and
-- associated deployment groups.
riGenericRevisionInfo :: Lens' RevisionInfo (Maybe GenericRevisionInfo)
-- | Information about the location and type of an application revision.
riRevisionLocation :: Lens' RevisionInfo (Maybe RevisionLocation)
-- | Information about the location of an application revision.
--
-- See: revisionLocation smart constructor.
data RevisionLocation
-- | Creates a value of RevisionLocation with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - rlString - Information about the location of an AWS Lambda
-- deployment revision stored as a RawString.
-- - rlRevisionType - 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 (AWS Lambda deployments
-- only)
-- - rlS3Location - Information about the location of a revision
-- stored in Amazon S3.
-- - rlGitHubLocation - Information about the location of
-- application artifacts stored in GitHub.
--
revisionLocation :: RevisionLocation
-- | Information about the location of an AWS Lambda deployment revision
-- stored as a RawString.
rlString :: Lens' RevisionLocation (Maybe RawString)
-- | 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 (AWS Lambda deployments only)
rlRevisionType :: Lens' RevisionLocation (Maybe RevisionLocationType)
-- | Information about the location of a revision stored in Amazon S3.
rlS3Location :: Lens' RevisionLocation (Maybe S3Location)
-- | Information about the location of application artifacts stored in
-- GitHub.
rlGitHubLocation :: Lens' RevisionLocation (Maybe GitHubLocation)
-- | Information about a deployment rollback.
--
-- See: rollbackInfo smart constructor.
data RollbackInfo
-- | Creates a value of RollbackInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - riRollbackTriggeringDeploymentId - The deployment ID of the
-- deployment that was underway and triggered a rollback deployment
-- because it failed or was stopped.
-- - riRollbackMessage - Information describing the status of a
-- deployment rollback; for example, whether the deployment can't be
-- rolled back, is in progress, failed, or succeeded.
-- - riRollbackDeploymentId - The ID of the deployment
-- rollback.
--
rollbackInfo :: RollbackInfo
-- | The deployment ID of the deployment that was underway and triggered a
-- rollback deployment because it failed or was stopped.
riRollbackTriggeringDeploymentId :: Lens' RollbackInfo (Maybe Text)
-- | Information describing the status of a deployment rollback; for
-- example, whether the deployment can't be rolled back, is in progress,
-- failed, or succeeded.
riRollbackMessage :: Lens' RollbackInfo (Maybe Text)
-- | The ID of the deployment rollback.
riRollbackDeploymentId :: Lens' RollbackInfo (Maybe Text)
-- | Information about the location of application artifacts stored in
-- Amazon S3.
--
-- See: s3Location smart constructor.
data S3Location
-- | Creates a value of S3Location with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - slBundleType - 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.
-- - slETag - 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 will be
-- skipped.
-- - slBucket - The name of the Amazon S3 bucket where the
-- application revision is stored.
-- - slKey - The name of the Amazon S3 object that represents
-- the bundled artifacts for the application revision.
-- - slVersion - 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 will use the most recent version
-- by default.
--
s3Location :: S3Location
-- | 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.
slBundleType :: 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 will be skipped.
slETag :: Lens' S3Location (Maybe Text)
-- | The name of the Amazon S3 bucket where the application revision is
-- stored.
slBucket :: Lens' S3Location (Maybe Text)
-- | The name of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
slKey :: 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 will use the most recent version by default.
slVersion :: Lens' S3Location (Maybe Text)
-- | Information about a tag.
--
-- See: tag smart constructor.
data Tag
-- | Creates a value of Tag with the minimum fields required to make
-- a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
tag :: Tag
-- | The tag's value.
tagValue :: Lens' Tag (Maybe Text)
-- | The tag's key.
tagKey :: Lens' Tag (Maybe Text)
-- | Information about an on-premises instance tag filter.
--
-- See: tagFilter smart constructor.
data TagFilter
-- | Creates a value of TagFilter with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tfValue - The on-premises instance tag filter value.
-- - tfKey - The on-premises instance tag filter key.
-- - tfType - The on-premises instance tag filter type: *
-- KEY_ONLY: Key only. * VALUE_ONLY: Value only. * KEY_AND_VALUE: Key and
-- value.
--
tagFilter :: TagFilter
-- | The on-premises instance tag filter value.
tfValue :: Lens' TagFilter (Maybe Text)
-- | The on-premises instance tag filter key.
tfKey :: 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.
tfType :: Lens' TagFilter (Maybe TagFilterType)
-- | 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: targetGroupInfo smart constructor.
data TargetGroupInfo
-- | Creates a value of TargetGroupInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tgiName - 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
-- 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 completes.
--
targetGroupInfo :: 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 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
-- completes.
tgiName :: Lens' TargetGroupInfo (Maybe Text)
-- | Information about the instances to be used in the replacement
-- environment in a blue/green deployment.
--
-- See: targetInstances smart constructor.
data TargetInstances
-- | Creates a value of TargetInstances with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tiEc2TagSet - Information about the groups of 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.
-- - tiTagFilters - 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.
-- - tiAutoScalingGroups - The names of one or more Auto Scaling
-- groups to identify a replacement environment for a blue/green
-- deployment.
--
targetInstances :: TargetInstances
-- | Information about the groups of 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.
tiEc2TagSet :: 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.
tiTagFilters :: Lens' TargetInstances [EC2TagFilter]
-- | The names of one or more Auto Scaling groups to identify a replacement
-- environment for a blue/green deployment.
tiAutoScalingGroups :: Lens' TargetInstances [Text]
-- | A configuration that shifts traffic from one version of a Lambda
-- function to another in two increments. The original and target Lambda
-- function versions are specified in the deployment's AppSpec file.
--
-- See: timeBasedCanary smart constructor.
data TimeBasedCanary
-- | Creates a value of TimeBasedCanary with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tbcCanaryInterval - The number of minutes between the first
-- and second traffic shifts of a TimeBasedCanary
-- deployment.
-- - tbcCanaryPercentage - The percentage of traffic to shift in
-- the first increment of a TimeBasedCanary deployment.
--
timeBasedCanary :: TimeBasedCanary
-- | The number of minutes between the first and second traffic shifts of a
-- TimeBasedCanary deployment.
tbcCanaryInterval :: Lens' TimeBasedCanary (Maybe Int)
-- | The percentage of traffic to shift in the first increment of a
-- TimeBasedCanary deployment.
tbcCanaryPercentage :: Lens' TimeBasedCanary (Maybe Int)
-- | A configuration that shifts traffic from one version of a Lambda
-- function to another in equal increments, with an equal number of
-- minutes between each increment. The original and target Lambda
-- function versions are specified in the deployment's AppSpec file.
--
-- See: timeBasedLinear smart constructor.
data TimeBasedLinear
-- | Creates a value of TimeBasedLinear with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tblLinearInterval - The number of minutes between each
-- incremental traffic shift of a TimeBasedLinear
-- deployment.
-- - tblLinearPercentage - The percentage of traffic that is
-- shifted at the start of each increment of a TimeBasedLinear
-- deployment.
--
timeBasedLinear :: TimeBasedLinear
-- | The number of minutes between each incremental traffic shift of a
-- TimeBasedLinear deployment.
tblLinearInterval :: Lens' TimeBasedLinear (Maybe Int)
-- | The percentage of traffic that is shifted at the start of each
-- increment of a TimeBasedLinear deployment.
tblLinearPercentage :: Lens' TimeBasedLinear (Maybe Int)
-- | Information about a time range.
--
-- See: timeRange smart constructor.
data TimeRange
-- | Creates a value of TimeRange with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - trStart - The start time of the time range.
-- - trEnd - The end time of the time range.
--
timeRange :: TimeRange
-- | The start time of the time range.
trStart :: Lens' TimeRange (Maybe UTCTime)
-- | The end time of the time range.
trEnd :: Lens' TimeRange (Maybe UTCTime)
-- | The configuration that specifies how traffic is shifted from one
-- version of a Lambda function to another version during an AWS Lambda
-- deployment.
--
-- See: trafficRoutingConfig smart constructor.
data TrafficRoutingConfig
-- | Creates a value of TrafficRoutingConfig with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - trcTimeBasedCanary - A configuration that shifts traffic
-- from one version of a Lambda function to another in two increments.
-- The original and target Lambda function versions are specified in the
-- deployment's AppSpec file.
-- - trcTimeBasedLinear - A configuration that shifts traffic
-- from one version of a Lambda function to another in equal increments,
-- with an equal number of minutes between each increment. The original
-- and target Lambda function versions are specified in the deployment's
-- AppSpec file.
-- - trcType - The type of traffic shifting
-- (TimeBasedCanary or TimeBasedLinear ) used by a
-- deployment configuration .
--
trafficRoutingConfig :: TrafficRoutingConfig
-- | A configuration that shifts traffic from one version of a Lambda
-- function to another in two increments. The original and target Lambda
-- function versions are specified in the deployment's AppSpec file.
trcTimeBasedCanary :: Lens' TrafficRoutingConfig (Maybe TimeBasedCanary)
-- | A configuration that shifts traffic from one version of a Lambda
-- function to another in equal increments, with an equal number of
-- minutes between each increment. The original and target Lambda
-- function versions are specified in the deployment's AppSpec file.
trcTimeBasedLinear :: Lens' TrafficRoutingConfig (Maybe TimeBasedLinear)
-- | The type of traffic shifting (TimeBasedCanary or
-- TimeBasedLinear ) used by a deployment configuration .
trcType :: Lens' TrafficRoutingConfig (Maybe TrafficRoutingType)
-- | Information about notification triggers for the deployment group.
--
-- See: triggerConfig smart constructor.
data TriggerConfig
-- | Creates a value of TriggerConfig with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tcTriggerName - The name of the notification trigger.
-- - tcTriggerEvents - The event type or types for which
-- notifications are triggered.
-- - tcTriggerTargetARN - The ARN of the Amazon Simple
-- Notification Service topic through which notifications about
-- deployment or instance events are sent.
--
triggerConfig :: TriggerConfig
-- | The name of the notification trigger.
tcTriggerName :: Lens' TriggerConfig (Maybe Text)
-- | The event type or types for which notifications are triggered.
tcTriggerEvents :: Lens' TriggerConfig [TriggerEventType]
-- | The ARN of the Amazon Simple Notification Service topic through which
-- notifications about deployment or instance events are sent.
tcTriggerTargetARN :: Lens' TriggerConfig (Maybe Text)
-- | Attempts to stop an ongoing deployment.
module Network.AWS.CodeDeploy.StopDeployment
-- | Creates a value of StopDeployment with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - sdAutoRollbackEnabled - Indicates, when a deployment is
-- stopped, whether instances that have been updated should be rolled
-- back to the previous version of the application revision.
-- - sdDeploymentId - The unique ID of a deployment.
--
stopDeployment :: Text -> StopDeployment
-- | Represents the input of a StopDeployment operation.
--
-- See: stopDeployment smart constructor.
data 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.
sdAutoRollbackEnabled :: Lens' StopDeployment (Maybe Bool)
-- | The unique ID of a deployment.
sdDeploymentId :: Lens' StopDeployment Text
-- | Creates a value of StopDeploymentResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - sdrsStatus - The status of the stop deployment operation: *
-- Pending: The stop operation is pending. * Succeeded: The stop
-- operation was successful.
-- - sdrsStatusMessage - An accompanying status message.
-- - sdrsResponseStatus - -- | The response status code.
--
stopDeploymentResponse :: Int -> StopDeploymentResponse
-- | Represents the output of a StopDeployment operation.
--
-- See: stopDeploymentResponse smart constructor.
data StopDeploymentResponse
-- | The status of the stop deployment operation: * Pending: The stop
-- operation is pending. * Succeeded: The stop operation was successful.
sdrsStatus :: Lens' StopDeploymentResponse (Maybe StopStatus)
-- | An accompanying status message.
sdrsStatusMessage :: Lens' StopDeploymentResponse (Maybe Text)
-- |
-- - - | The response status code.
--
sdrsResponseStatus :: Lens' StopDeploymentResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.StopDeployment.StopDeploymentResponse
instance Data.Data.Data Network.AWS.CodeDeploy.StopDeployment.StopDeploymentResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.StopDeployment.StopDeploymentResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.StopDeployment.StopDeploymentResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.StopDeployment.StopDeploymentResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.StopDeployment.StopDeployment
instance Data.Data.Data Network.AWS.CodeDeploy.StopDeployment.StopDeployment
instance GHC.Show.Show Network.AWS.CodeDeploy.StopDeployment.StopDeployment
instance GHC.Read.Read Network.AWS.CodeDeploy.StopDeployment.StopDeployment
instance GHC.Classes.Eq Network.AWS.CodeDeploy.StopDeployment.StopDeployment
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.StopDeployment.StopDeployment
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.StopDeployment.StopDeploymentResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.StopDeployment.StopDeployment
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.StopDeployment.StopDeployment
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.StopDeployment.StopDeployment
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.StopDeployment.StopDeployment
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.StopDeployment.StopDeployment
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.StopDeployment.StopDeployment
-- | In a blue/green deployment, overrides any specified wait time and
-- starts terminating instances immediately after the traffic routing is
-- completed.
module Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination
-- | Creates a value of SkipWaitTimeForInstanceTermination with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - swtfitDeploymentId - The ID of the blue/green deployment
-- for which you want to skip the instance termination wait time.
--
skipWaitTimeForInstanceTermination :: SkipWaitTimeForInstanceTermination
-- | See: skipWaitTimeForInstanceTermination smart
-- constructor.
data SkipWaitTimeForInstanceTermination
-- | The ID of the blue/green deployment for which you want to skip the
-- instance termination wait time.
swtfitDeploymentId :: Lens' SkipWaitTimeForInstanceTermination (Maybe Text)
-- | Creates a value of SkipWaitTimeForInstanceTerminationResponse
-- with the minimum fields required to make a request.
skipWaitTimeForInstanceTerminationResponse :: SkipWaitTimeForInstanceTerminationResponse
-- | See: skipWaitTimeForInstanceTerminationResponse smart
-- constructor.
data SkipWaitTimeForInstanceTerminationResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTerminationResponse
instance Data.Data.Data Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTerminationResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTerminationResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTerminationResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTerminationResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
instance Data.Data.Data Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
instance GHC.Show.Show Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
instance GHC.Read.Read Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
instance GHC.Classes.Eq Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTerminationResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.SkipWaitTimeForInstanceTermination.SkipWaitTimeForInstanceTermination
-- | Removes one or more tags from one or more on-premises instances.
module Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances
-- | Creates a value of RemoveTagsFromOnPremisesInstances with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - rtfopiTags - The tag key-value pairs to remove from the
-- on-premises instances.
-- - rtfopiInstanceNames - The names of the on-premises
-- instances from which to remove tags.
--
removeTagsFromOnPremisesInstances :: RemoveTagsFromOnPremisesInstances
-- | Represents the input of a RemoveTagsFromOnPremisesInstances operation.
--
-- See: removeTagsFromOnPremisesInstances smart
-- constructor.
data RemoveTagsFromOnPremisesInstances
-- | The tag key-value pairs to remove from the on-premises instances.
rtfopiTags :: Lens' RemoveTagsFromOnPremisesInstances [Tag]
-- | The names of the on-premises instances from which to remove tags.
rtfopiInstanceNames :: Lens' RemoveTagsFromOnPremisesInstances [Text]
-- | Creates a value of RemoveTagsFromOnPremisesInstancesResponse
-- with the minimum fields required to make a request.
removeTagsFromOnPremisesInstancesResponse :: RemoveTagsFromOnPremisesInstancesResponse
-- | See: removeTagsFromOnPremisesInstancesResponse smart
-- constructor.
data RemoveTagsFromOnPremisesInstancesResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstancesResponse
instance Data.Data.Data Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstancesResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstancesResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstancesResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstancesResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Data.Data.Data Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance GHC.Show.Show Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance GHC.Read.Read Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance GHC.Classes.Eq Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstancesResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances.RemoveTagsFromOnPremisesInstances
-- | Registers an on-premises instance.
module Network.AWS.CodeDeploy.RegisterOnPremisesInstance
-- | Creates a value of RegisterOnPremisesInstance with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ropiIamUserARN - The ARN of the IAM user to associate with
-- the on-premises instance.
-- - ropiIamSessionARN - The ARN of the IAM session to associate
-- with the on-premises instance.
-- - ropiInstanceName - The name of the on-premises instance to
-- register.
--
registerOnPremisesInstance :: Text -> RegisterOnPremisesInstance
-- | Represents the input of the register on-premises instance operation.
--
-- See: registerOnPremisesInstance smart constructor.
data RegisterOnPremisesInstance
-- | The ARN of the IAM user to associate with the on-premises instance.
ropiIamUserARN :: Lens' RegisterOnPremisesInstance (Maybe Text)
-- | The ARN of the IAM session to associate with the on-premises instance.
ropiIamSessionARN :: Lens' RegisterOnPremisesInstance (Maybe Text)
-- | The name of the on-premises instance to register.
ropiInstanceName :: Lens' RegisterOnPremisesInstance Text
-- | Creates a value of RegisterOnPremisesInstanceResponse with the
-- minimum fields required to make a request.
registerOnPremisesInstanceResponse :: RegisterOnPremisesInstanceResponse
-- | See: registerOnPremisesInstanceResponse smart
-- constructor.
data RegisterOnPremisesInstanceResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstanceResponse
instance Data.Data.Data Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstanceResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstanceResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstanceResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstanceResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Data.Data.Data Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance GHC.Show.Show Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance GHC.Read.Read Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance GHC.Classes.Eq Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstanceResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.RegisterOnPremisesInstance.RegisterOnPremisesInstance
-- | Registers with AWS CodeDeploy a revision for the specified
-- application.
module Network.AWS.CodeDeploy.RegisterApplicationRevision
-- | Creates a value of RegisterApplicationRevision with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - rarDescription - A comment about the revision.
-- - rarApplicationName - The name of an AWS CodeDeploy
-- application associated with the applicable IAM user or AWS
-- account.
-- - rarRevision - Information about the application revision to
-- register, including type and location.
--
registerApplicationRevision :: Text -> RevisionLocation -> RegisterApplicationRevision
-- | Represents the input of a RegisterApplicationRevision operation.
--
-- See: registerApplicationRevision smart constructor.
data RegisterApplicationRevision
-- | A comment about the revision.
rarDescription :: Lens' RegisterApplicationRevision (Maybe Text)
-- | The name of an AWS CodeDeploy application associated with the
-- applicable IAM user or AWS account.
rarApplicationName :: Lens' RegisterApplicationRevision Text
-- | Information about the application revision to register, including type
-- and location.
rarRevision :: Lens' RegisterApplicationRevision RevisionLocation
-- | Creates a value of RegisterApplicationRevisionResponse with the
-- minimum fields required to make a request.
registerApplicationRevisionResponse :: RegisterApplicationRevisionResponse
-- | See: registerApplicationRevisionResponse smart
-- constructor.
data RegisterApplicationRevisionResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevisionResponse
instance Data.Data.Data Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevisionResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevisionResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevisionResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevisionResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Data.Data.Data Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance GHC.Show.Show Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance GHC.Read.Read Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance GHC.Classes.Eq Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevisionResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.RegisterApplicationRevision.RegisterApplicationRevision
-- | Sets the result of a Lambda validation function. The function
-- validates one or both lifecycle events (BeforeAllowTraffic
-- and AfterAllowTraffic ) and returns Succeeded or
-- Failed .
module Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus
-- | Creates a value of PutLifecycleEventHookExecutionStatus with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - plehesStatus - The result of a Lambda function that
-- validates a deployment lifecycle event (Succeeded or
-- Failed ).
-- - plehesDeploymentId - The ID of the deployment. Pass this ID
-- to a Lambda function that validates a deployment lifecycle event.
-- - plehesLifecycleEventHookExecutionId - 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
-- | See: putLifecycleEventHookExecutionStatus smart
-- constructor.
data PutLifecycleEventHookExecutionStatus
-- | The result of a Lambda function that validates a deployment lifecycle
-- event (Succeeded or Failed ).
plehesStatus :: Lens' PutLifecycleEventHookExecutionStatus (Maybe LifecycleEventStatus)
-- | The ID of the deployment. Pass this ID to a Lambda function that
-- validates a deployment lifecycle event.
plehesDeploymentId :: 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.
plehesLifecycleEventHookExecutionId :: Lens' PutLifecycleEventHookExecutionStatus (Maybe Text)
-- | Creates a value of PutLifecycleEventHookExecutionStatusResponse
-- with the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
putLifecycleEventHookExecutionStatusResponse :: Int -> PutLifecycleEventHookExecutionStatusResponse
-- | See: putLifecycleEventHookExecutionStatusResponse smart
-- constructor.
data PutLifecycleEventHookExecutionStatusResponse
-- | The execution ID of the lifecycle event hook. A hook is specified in
-- the hooks section of the deployment's AppSpec file.
plehesrsLifecycleEventHookExecutionId :: Lens' PutLifecycleEventHookExecutionStatusResponse (Maybe Text)
-- |
-- - - | The response status code.
--
plehesrsResponseStatus :: Lens' PutLifecycleEventHookExecutionStatusResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatusResponse
instance Data.Data.Data Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatusResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatusResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatusResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatusResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Data.Data.Data Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance GHC.Show.Show Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance GHC.Read.Read Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance GHC.Classes.Eq Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatusResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus.PutLifecycleEventHookExecutionStatus
-- | Gets a list of names for one or more on-premises instances.
--
-- Unless otherwise specified, both registered and deregistered
-- on-premises instance names will be listed. To list only registered or
-- deregistered on-premises instance names, use the registration status
-- parameter.
module Network.AWS.CodeDeploy.ListOnPremisesInstances
-- | Creates a value of ListOnPremisesInstances with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lopiTagFilters - The on-premises instance tags that will be
-- used to restrict the corresponding on-premises instance names
-- returned.
-- - lopiNextToken - 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.
-- - lopiRegistrationStatus - 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
-- | Represents the input of a ListOnPremisesInstances operation.
--
-- See: listOnPremisesInstances smart constructor.
data ListOnPremisesInstances
-- | The on-premises instance tags that will be used to restrict the
-- corresponding on-premises instance names returned.
lopiTagFilters :: Lens' ListOnPremisesInstances [TagFilter]
-- | 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.
lopiNextToken :: 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.
lopiRegistrationStatus :: Lens' ListOnPremisesInstances (Maybe RegistrationStatus)
-- | Creates a value of ListOnPremisesInstancesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lopirsNextToken - 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.
-- - lopirsInstanceNames - The list of matching on-premises
-- instance names.
-- - lopirsResponseStatus - -- | The response status code.
--
listOnPremisesInstancesResponse :: Int -> ListOnPremisesInstancesResponse
-- | Represents the output of list on-premises instances operation.
--
-- See: listOnPremisesInstancesResponse smart constructor.
data ListOnPremisesInstancesResponse
-- | 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.
lopirsNextToken :: Lens' ListOnPremisesInstancesResponse (Maybe Text)
-- | The list of matching on-premises instance names.
lopirsInstanceNames :: Lens' ListOnPremisesInstancesResponse [Text]
-- |
-- - - | The response status code.
--
lopirsResponseStatus :: Lens' ListOnPremisesInstancesResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstancesResponse
instance Data.Data.Data Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstancesResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstancesResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstancesResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstancesResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Data.Data.Data Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance GHC.Show.Show Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance GHC.Read.Read Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstancesResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.ListOnPremisesInstances.ListOnPremisesInstances
-- | Lists the names of stored connections to GitHub accounts.
module Network.AWS.CodeDeploy.ListGitHubAccountTokenNames
-- | Creates a value of ListGitHubAccountTokenNames with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lghatnNextToken - An identifier returned from the previous
-- ListGitHubAccountTokenNames call. It can be used to return the next
-- set of names in the list.
--
listGitHubAccountTokenNames :: ListGitHubAccountTokenNames
-- | Represents the input of a ListGitHubAccountTokenNames operation.
--
-- See: listGitHubAccountTokenNames smart constructor.
data ListGitHubAccountTokenNames
-- | An identifier returned from the previous ListGitHubAccountTokenNames
-- call. It can be used to return the next set of names in the list.
lghatnNextToken :: Lens' ListGitHubAccountTokenNames (Maybe Text)
-- | Creates a value of ListGitHubAccountTokenNamesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lghatnrsTokenNameList - A list of names of connections to
-- GitHub accounts.
-- - lghatnrsNextToken - 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.
-- - lghatnrsResponseStatus - -- | The response status
-- code.
--
listGitHubAccountTokenNamesResponse :: Int -> ListGitHubAccountTokenNamesResponse
-- | Represents the output of a ListGitHubAccountTokenNames operation.
--
-- See: listGitHubAccountTokenNamesResponse smart
-- constructor.
data ListGitHubAccountTokenNamesResponse
-- | A list of names of connections to GitHub accounts.
lghatnrsTokenNameList :: Lens' ListGitHubAccountTokenNamesResponse [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.
lghatnrsNextToken :: Lens' ListGitHubAccountTokenNamesResponse (Maybe Text)
-- |
-- - - | The response status code.
--
lghatnrsResponseStatus :: Lens' ListGitHubAccountTokenNamesResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNamesResponse
instance Data.Data.Data Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNamesResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNamesResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNamesResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNamesResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Data.Data.Data Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance GHC.Show.Show Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance GHC.Read.Read Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNamesResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.ListGitHubAccountTokenNames.ListGitHubAccountTokenNames
-- | Lists the deployments in a deployment group for an application
-- registered with the applicable IAM user or AWS account.
--
-- This operation returns paginated results.
module Network.AWS.CodeDeploy.ListDeployments
-- | Creates a value of ListDeployments with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ldCreateTimeRange - A time range (start and end) for
-- returning a subset of the list of deployments.
-- - ldNextToken - An identifier returned from the previous list
-- deployments call. It can be used to return the next set of deployments
-- in the list.
-- - ldIncludeOnlyStatuses - 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.
-- - ldApplicationName - The name of an AWS CodeDeploy
-- application associated with the applicable IAM user or AWS
-- account.
-- - ldDeploymentGroupName - The name of an existing deployment
-- group for the specified application.
--
listDeployments :: ListDeployments
-- | Represents the input of a ListDeployments operation.
--
-- See: listDeployments smart constructor.
data ListDeployments
-- | A time range (start and end) for returning a subset of the list of
-- deployments.
ldCreateTimeRange :: Lens' ListDeployments (Maybe TimeRange)
-- | An identifier returned from the previous list deployments call. It can
-- be used to return the next set of deployments in the list.
ldNextToken :: 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.
ldIncludeOnlyStatuses :: Lens' ListDeployments [DeploymentStatus]
-- | The name of an AWS CodeDeploy application associated with the
-- applicable IAM user or AWS account.
ldApplicationName :: Lens' ListDeployments (Maybe Text)
-- | The name of an existing deployment group for the specified
-- application.
ldDeploymentGroupName :: Lens' ListDeployments (Maybe Text)
-- | Creates a value of ListDeploymentsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ldrsNextToken - 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.
-- - ldrsDeployments - A list of deployment IDs.
-- - ldrsResponseStatus - -- | The response status code.
--
listDeploymentsResponse :: Int -> ListDeploymentsResponse
-- | Represents the output of a ListDeployments operation.
--
-- See: listDeploymentsResponse smart constructor.
data ListDeploymentsResponse
-- | 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.
ldrsNextToken :: Lens' ListDeploymentsResponse (Maybe Text)
-- | A list of deployment IDs.
ldrsDeployments :: Lens' ListDeploymentsResponse [Text]
-- |
-- - - | The response status code.
--
ldrsResponseStatus :: Lens' ListDeploymentsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListDeployments.ListDeploymentsResponse
instance Data.Data.Data Network.AWS.CodeDeploy.ListDeployments.ListDeploymentsResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.ListDeployments.ListDeploymentsResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.ListDeployments.ListDeploymentsResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListDeployments.ListDeploymentsResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance Data.Data.Data Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance GHC.Show.Show Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance GHC.Read.Read Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListDeployments.ListDeploymentsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.ListDeployments.ListDeployments
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.ListDeployments.ListDeployments
-- | Lists the instance for a deployment associated with the applicable IAM
-- user or AWS account.
--
-- This operation returns paginated results.
module Network.AWS.CodeDeploy.ListDeploymentInstances
-- | Creates a value of ListDeploymentInstances with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lInstanceStatusFilter - A subset of instances to list by
-- status: * Pending: Include those instance with pending deployments. *
-- InProgress: Include those instance where deployments are still in
-- progress. * Succeeded: Include those instances with successful
-- deployments. * Failed: Include those instance with failed deployments.
-- * Skipped: Include those instance with skipped deployments. * Unknown:
-- Include those instance with deployments in an unknown state.
-- - lNextToken - An identifier returned from the previous list
-- deployment instances call. It can be used to return the next set of
-- deployment instances in the list.
-- - lInstanceTypeFilter - The set of instances in a blue/green
-- deployment, either those in the original environment (BLUE) or
-- those in the replacement environment (GREEN), for which you
-- want to view instance information.
-- - lDeploymentId - The unique ID of a deployment.
--
listDeploymentInstances :: Text -> ListDeploymentInstances
-- | Represents the input of a ListDeploymentInstances operation.
--
-- See: listDeploymentInstances smart constructor.
data ListDeploymentInstances
-- | A subset of instances to list by status: * Pending: Include those
-- instance with pending deployments. * InProgress: Include those
-- instance where deployments are still in progress. * Succeeded: Include
-- those instances with successful deployments. * Failed: Include those
-- instance with failed deployments. * Skipped: Include those instance
-- with skipped deployments. * Unknown: Include those instance with
-- deployments in an unknown state.
lInstanceStatusFilter :: Lens' ListDeploymentInstances [InstanceStatus]
-- | An identifier returned from the previous list deployment instances
-- call. It can be used to return the next set of deployment instances in
-- the list.
lNextToken :: Lens' ListDeploymentInstances (Maybe Text)
-- | The set of instances in a blue/green deployment, either those in the
-- original environment (BLUE) or those in the replacement
-- environment (GREEN), for which you want to view instance
-- information.
lInstanceTypeFilter :: Lens' ListDeploymentInstances [InstanceType]
-- | The unique ID of a deployment.
lDeploymentId :: Lens' ListDeploymentInstances Text
-- | Creates a value of ListDeploymentInstancesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ldirsNextToken - If a large amount of information is
-- returned, an identifier is also returned. It can be used in a
-- subsequent list deployment instances call to return the next set of
-- deployment instances in the list.
-- - ldirsInstancesList - A list of instance IDs.
-- - ldirsResponseStatus - -- | The response status code.
--
listDeploymentInstancesResponse :: Int -> ListDeploymentInstancesResponse
-- | Represents the output of a ListDeploymentInstances operation.
--
-- See: listDeploymentInstancesResponse smart constructor.
data ListDeploymentInstancesResponse
-- | If a large amount of information is returned, an identifier is also
-- returned. It can be used in a subsequent list deployment instances
-- call to return the next set of deployment instances in the list.
ldirsNextToken :: Lens' ListDeploymentInstancesResponse (Maybe Text)
-- | A list of instance IDs.
ldirsInstancesList :: Lens' ListDeploymentInstancesResponse [Text]
-- |
-- - - | The response status code.
--
ldirsResponseStatus :: Lens' ListDeploymentInstancesResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstancesResponse
instance Data.Data.Data Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstancesResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstancesResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstancesResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstancesResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance Data.Data.Data Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance GHC.Show.Show Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance GHC.Read.Read Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstancesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.ListDeploymentInstances.ListDeploymentInstances
-- | Lists the deployment groups for an application registered with the
-- applicable IAM user or AWS account.
--
-- This operation returns paginated results.
module Network.AWS.CodeDeploy.ListDeploymentGroups
-- | Creates a value of ListDeploymentGroups with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ldgNextToken - 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.
-- - ldgApplicationName - The name of an AWS CodeDeploy
-- application associated with the applicable IAM user or AWS
-- account.
--
listDeploymentGroups :: Text -> ListDeploymentGroups
-- | Represents the input of a ListDeploymentGroups operation.
--
-- See: listDeploymentGroups smart constructor.
data 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.
ldgNextToken :: Lens' ListDeploymentGroups (Maybe Text)
-- | The name of an AWS CodeDeploy application associated with the
-- applicable IAM user or AWS account.
ldgApplicationName :: Lens' ListDeploymentGroups Text
-- | Creates a value of ListDeploymentGroupsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ldgrsNextToken - 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.
-- - ldgrsApplicationName - The application name.
-- - ldgrsDeploymentGroups - A list of corresponding deployment
-- group names.
-- - ldgrsResponseStatus - -- | The response status code.
--
listDeploymentGroupsResponse :: Int -> ListDeploymentGroupsResponse
-- | Represents the output of a ListDeploymentGroups operation.
--
-- See: listDeploymentGroupsResponse smart constructor.
data ListDeploymentGroupsResponse
-- | 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.
ldgrsNextToken :: Lens' ListDeploymentGroupsResponse (Maybe Text)
-- | The application name.
ldgrsApplicationName :: Lens' ListDeploymentGroupsResponse (Maybe Text)
-- | A list of corresponding deployment group names.
ldgrsDeploymentGroups :: Lens' ListDeploymentGroupsResponse [Text]
-- |
-- - - | The response status code.
--
ldgrsResponseStatus :: Lens' ListDeploymentGroupsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroupsResponse
instance Data.Data.Data Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroupsResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroupsResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroupsResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroupsResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Data.Data.Data Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance GHC.Show.Show Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance GHC.Read.Read Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroupsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.ListDeploymentGroups.ListDeploymentGroups
-- | Lists the deployment configurations with the applicable IAM user or
-- AWS account.
--
-- This operation returns paginated results.
module Network.AWS.CodeDeploy.ListDeploymentConfigs
-- | Creates a value of ListDeploymentConfigs with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ldcNextToken - An identifier returned from the previous
-- list deployment configurations call. It can be used to return the next
-- set of deployment configurations in the list.
--
listDeploymentConfigs :: ListDeploymentConfigs
-- | Represents the input of a ListDeploymentConfigs operation.
--
-- See: listDeploymentConfigs smart constructor.
data ListDeploymentConfigs
-- | An identifier returned from the previous list deployment
-- configurations call. It can be used to return the next set of
-- deployment configurations in the list.
ldcNextToken :: Lens' ListDeploymentConfigs (Maybe Text)
-- | Creates a value of ListDeploymentConfigsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ldcrsNextToken - 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.
-- - ldcrsDeploymentConfigsList - A list of deployment
-- configurations, including built-in configurations such as
-- CodeDeployDefault.OneAtATime.
-- - ldcrsResponseStatus - -- | The response status code.
--
listDeploymentConfigsResponse :: Int -> ListDeploymentConfigsResponse
-- | Represents the output of a ListDeploymentConfigs operation.
--
-- See: listDeploymentConfigsResponse smart constructor.
data ListDeploymentConfigsResponse
-- | 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.
ldcrsNextToken :: Lens' ListDeploymentConfigsResponse (Maybe Text)
-- | A list of deployment configurations, including built-in configurations
-- such as CodeDeployDefault.OneAtATime.
ldcrsDeploymentConfigsList :: Lens' ListDeploymentConfigsResponse [Text]
-- |
-- - - | The response status code.
--
ldcrsResponseStatus :: Lens' ListDeploymentConfigsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigsResponse
instance Data.Data.Data Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigsResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigsResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigsResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigsResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Data.Data.Data Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance GHC.Show.Show Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance GHC.Read.Read Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.ListDeploymentConfigs.ListDeploymentConfigs
-- | Lists the applications registered with the applicable IAM user or AWS
-- account.
--
-- This operation returns paginated results.
module Network.AWS.CodeDeploy.ListApplications
-- | Creates a value of ListApplications with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - laNextToken - An identifier returned from the previous list
-- applications call. It can be used to return the next set of
-- applications in the list.
--
listApplications :: ListApplications
-- | Represents the input of a ListApplications operation.
--
-- See: listApplications smart constructor.
data ListApplications
-- | An identifier returned from the previous list applications call. It
-- can be used to return the next set of applications in the list.
laNextToken :: Lens' ListApplications (Maybe Text)
-- | Creates a value of ListApplicationsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - larsNextToken - 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, will also be returned. in the list.
-- - larsApplications - A list of application names.
-- - larsResponseStatus - -- | The response status code.
--
listApplicationsResponse :: Int -> ListApplicationsResponse
-- | Represents the output of a ListApplications operation.
--
-- See: listApplicationsResponse smart constructor.
data ListApplicationsResponse
-- | 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, will also be returned. in the
-- list.
larsNextToken :: Lens' ListApplicationsResponse (Maybe Text)
-- | A list of application names.
larsApplications :: Lens' ListApplicationsResponse [Text]
-- |
-- - - | The response status code.
--
larsResponseStatus :: Lens' ListApplicationsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListApplications.ListApplicationsResponse
instance Data.Data.Data Network.AWS.CodeDeploy.ListApplications.ListApplicationsResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.ListApplications.ListApplicationsResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.ListApplications.ListApplicationsResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListApplications.ListApplicationsResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListApplications.ListApplications
instance Data.Data.Data Network.AWS.CodeDeploy.ListApplications.ListApplications
instance GHC.Show.Show Network.AWS.CodeDeploy.ListApplications.ListApplications
instance GHC.Read.Read Network.AWS.CodeDeploy.ListApplications.ListApplications
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListApplications.ListApplications
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.ListApplications.ListApplications
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListApplications.ListApplicationsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeDeploy.ListApplications.ListApplications
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.ListApplications.ListApplications
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListApplications.ListApplications
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.ListApplications.ListApplications
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.ListApplications.ListApplications
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.ListApplications.ListApplications
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.ListApplications.ListApplications
-- | Lists information about revisions for an application.
--
-- This operation returns paginated results.
module Network.AWS.CodeDeploy.ListApplicationRevisions
-- | Creates a value of ListApplicationRevisions with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - larS3KeyPrefix - A key prefix for the set of Amazon S3
-- objects to limit the search for revisions.
-- - larDeployed - Whether to list revisions based on whether
-- the revision is the target revision of an 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.
-- - larSortOrder - The order in which to sort the list results:
-- * ascending: ascending order. * descending: descending order. If not
-- specified, the results will be sorted in ascending order. If set to
-- null, the results will be sorted in an arbitrary order.
-- - larNextToken - An identifier returned from the previous
-- list application revisions call. It can be used to return the next set
-- of applications in the list.
-- - larS3Bucket - An Amazon S3 bucket name to limit the search
-- for revisions. If set to null, all of the user's buckets will be
-- searched.
-- - larSortBy - The column name to use to sort the list
-- results: * registerTime: Sort by the time the revisions were
-- registered with AWS 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 will be returned in an arbitrary order.
-- - larApplicationName - The name of an AWS CodeDeploy
-- application associated with the applicable IAM user or AWS
-- account.
--
listApplicationRevisions :: Text -> ListApplicationRevisions
-- | Represents the input of a ListApplicationRevisions operation.
--
-- See: listApplicationRevisions smart constructor.
data ListApplicationRevisions
-- | A key prefix for the set of Amazon S3 objects to limit the search for
-- revisions.
larS3KeyPrefix :: Lens' ListApplicationRevisions (Maybe Text)
-- | Whether to list revisions based on whether the revision is the target
-- revision of an 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.
larDeployed :: Lens' ListApplicationRevisions (Maybe ListStateFilterAction)
-- | The order in which to sort the list results: * ascending: ascending
-- order. * descending: descending order. If not specified, the results
-- will be sorted in ascending order. If set to null, the results will be
-- sorted in an arbitrary order.
larSortOrder :: Lens' ListApplicationRevisions (Maybe SortOrder)
-- | An identifier returned from the previous list application revisions
-- call. It can be used to return the next set of applications in the
-- list.
larNextToken :: 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 will be searched.
larS3Bucket :: Lens' ListApplicationRevisions (Maybe Text)
-- | The column name to use to sort the list results: * registerTime: Sort
-- by the time the revisions were registered with AWS 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
-- will be returned in an arbitrary order.
larSortBy :: Lens' ListApplicationRevisions (Maybe ApplicationRevisionSortBy)
-- | The name of an AWS CodeDeploy application associated with the
-- applicable IAM user or AWS account.
larApplicationName :: Lens' ListApplicationRevisions Text
-- | Creates a value of ListApplicationRevisionsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - larrsNextToken - If a large amount of information is
-- returned, an identifier will also be returned. It can be used in a
-- subsequent list application revisions call to return the next set of
-- application revisions in the list.
-- - larrsRevisions - A list of locations that contain the
-- matching revisions.
-- - larrsResponseStatus - -- | The response status code.
--
listApplicationRevisionsResponse :: Int -> ListApplicationRevisionsResponse
-- | Represents the output of a ListApplicationRevisions operation.
--
-- See: listApplicationRevisionsResponse smart constructor.
data ListApplicationRevisionsResponse
-- | If a large amount of information is returned, an identifier will also
-- be returned. It can be used in a subsequent list application revisions
-- call to return the next set of application revisions in the list.
larrsNextToken :: Lens' ListApplicationRevisionsResponse (Maybe Text)
-- | A list of locations that contain the matching revisions.
larrsRevisions :: Lens' ListApplicationRevisionsResponse [RevisionLocation]
-- |
-- - - | The response status code.
--
larrsResponseStatus :: Lens' ListApplicationRevisionsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisionsResponse
instance Data.Data.Data Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisionsResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisionsResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisionsResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisionsResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Data.Data.Data Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance GHC.Show.Show Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance GHC.Read.Read Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisionsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.ListApplicationRevisions.ListApplicationRevisions
-- | Gets information about an on-premises instance.
module Network.AWS.CodeDeploy.GetOnPremisesInstance
-- | Creates a value of GetOnPremisesInstance with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gopiInstanceName - The name of the on-premises instance
-- about which to get information.
--
getOnPremisesInstance :: Text -> GetOnPremisesInstance
-- | Represents the input of a GetOnPremisesInstance operation.
--
-- See: getOnPremisesInstance smart constructor.
data GetOnPremisesInstance
-- | The name of the on-premises instance about which to get information.
gopiInstanceName :: Lens' GetOnPremisesInstance Text
-- | Creates a value of GetOnPremisesInstanceResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getOnPremisesInstanceResponse :: Int -> GetOnPremisesInstanceResponse
-- | Represents the output of a GetOnPremisesInstance operation.
--
-- See: getOnPremisesInstanceResponse smart constructor.
data GetOnPremisesInstanceResponse
-- | Information about the on-premises instance.
gopirsInstanceInfo :: Lens' GetOnPremisesInstanceResponse (Maybe InstanceInfo)
-- |
-- - - | The response status code.
--
gopirsResponseStatus :: Lens' GetOnPremisesInstanceResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstanceResponse
instance Data.Data.Data Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstanceResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstanceResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstanceResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstanceResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Data.Data.Data Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance GHC.Show.Show Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance GHC.Read.Read Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstanceResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.GetOnPremisesInstance.GetOnPremisesInstance
-- | Gets information about an instance as part of a deployment.
module Network.AWS.CodeDeploy.GetDeploymentInstance
-- | Creates a value of GetDeploymentInstance with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getDeploymentInstance :: Text -> Text -> GetDeploymentInstance
-- | Represents the input of a GetDeploymentInstance operation.
--
-- See: getDeploymentInstance smart constructor.
data GetDeploymentInstance
-- | The unique ID of a deployment.
gdiDeploymentId :: Lens' GetDeploymentInstance Text
-- | The unique ID of an instance in the deployment group.
gdiInstanceId :: Lens' GetDeploymentInstance Text
-- | Creates a value of GetDeploymentInstanceResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getDeploymentInstanceResponse :: Int -> GetDeploymentInstanceResponse
-- | Represents the output of a GetDeploymentInstance operation.
--
-- See: getDeploymentInstanceResponse smart constructor.
data GetDeploymentInstanceResponse
-- | Information about the instance.
gdirsInstanceSummary :: Lens' GetDeploymentInstanceResponse (Maybe InstanceSummary)
-- |
-- - - | The response status code.
--
gdirsResponseStatus :: Lens' GetDeploymentInstanceResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstanceResponse
instance Data.Data.Data Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstanceResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstanceResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstanceResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstanceResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
instance Data.Data.Data Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
instance GHC.Show.Show Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
instance GHC.Read.Read Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstanceResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.GetDeploymentInstance.GetDeploymentInstance
-- | Gets information about a deployment group.
module Network.AWS.CodeDeploy.GetDeploymentGroup
-- | Creates a value of GetDeploymentGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gdgApplicationName - The name of an AWS CodeDeploy
-- application associated with the applicable IAM user or AWS
-- account.
-- - gdgDeploymentGroupName - The name of an existing deployment
-- group for the specified application.
--
getDeploymentGroup :: Text -> Text -> GetDeploymentGroup
-- | Represents the input of a GetDeploymentGroup operation.
--
-- See: getDeploymentGroup smart constructor.
data GetDeploymentGroup
-- | The name of an AWS CodeDeploy application associated with the
-- applicable IAM user or AWS account.
gdgApplicationName :: Lens' GetDeploymentGroup Text
-- | The name of an existing deployment group for the specified
-- application.
gdgDeploymentGroupName :: Lens' GetDeploymentGroup Text
-- | Creates a value of GetDeploymentGroupResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getDeploymentGroupResponse :: Int -> GetDeploymentGroupResponse
-- | Represents the output of a GetDeploymentGroup operation.
--
-- See: getDeploymentGroupResponse smart constructor.
data GetDeploymentGroupResponse
-- | Information about the deployment group.
gdgrsDeploymentGroupInfo :: Lens' GetDeploymentGroupResponse (Maybe DeploymentGroupInfo)
-- |
-- - - | The response status code.
--
gdgrsResponseStatus :: Lens' GetDeploymentGroupResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroupResponse
instance Data.Data.Data Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroupResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroupResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroupResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroupResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Data.Data.Data Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance GHC.Show.Show Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance GHC.Read.Read Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroupResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.GetDeploymentGroup.GetDeploymentGroup
-- | Gets information about a deployment configuration.
module Network.AWS.CodeDeploy.GetDeploymentConfig
-- | Creates a value of GetDeploymentConfig with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gdcDeploymentConfigName - The name of a deployment
-- configuration associated with the applicable IAM user or AWS
-- account.
--
getDeploymentConfig :: Text -> GetDeploymentConfig
-- | Represents the input of a GetDeploymentConfig operation.
--
-- See: getDeploymentConfig smart constructor.
data GetDeploymentConfig
-- | The name of a deployment configuration associated with the applicable
-- IAM user or AWS account.
gdcDeploymentConfigName :: Lens' GetDeploymentConfig Text
-- | Creates a value of GetDeploymentConfigResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getDeploymentConfigResponse :: Int -> GetDeploymentConfigResponse
-- | Represents the output of a GetDeploymentConfig operation.
--
-- See: getDeploymentConfigResponse smart constructor.
data GetDeploymentConfigResponse
-- | Information about the deployment configuration.
gdcrsDeploymentConfigInfo :: Lens' GetDeploymentConfigResponse (Maybe DeploymentConfigInfo)
-- |
-- - - | The response status code.
--
gdcrsResponseStatus :: Lens' GetDeploymentConfigResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfigResponse
instance Data.Data.Data Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfigResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfigResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfigResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfigResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Data.Data.Data Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance GHC.Show.Show Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance GHC.Read.Read Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfigResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.GetDeploymentConfig.GetDeploymentConfig
-- | Gets information about a deployment.
module Network.AWS.CodeDeploy.GetDeployment
-- | Creates a value of GetDeployment with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gdDeploymentId - A deployment ID associated with the
-- applicable IAM user or AWS account.
--
getDeployment :: Text -> GetDeployment
-- | Represents the input of a GetDeployment operation.
--
-- See: getDeployment smart constructor.
data GetDeployment
-- | A deployment ID associated with the applicable IAM user or AWS
-- account.
gdDeploymentId :: Lens' GetDeployment Text
-- | Creates a value of GetDeploymentResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getDeploymentResponse :: Int -> GetDeploymentResponse
-- | Represents the output of a GetDeployment operation.
--
-- See: getDeploymentResponse smart constructor.
data GetDeploymentResponse
-- | Information about the deployment.
gdrsDeploymentInfo :: Lens' GetDeploymentResponse (Maybe DeploymentInfo)
-- |
-- - - | The response status code.
--
gdrsResponseStatus :: Lens' GetDeploymentResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetDeployment.GetDeploymentResponse
instance Data.Data.Data Network.AWS.CodeDeploy.GetDeployment.GetDeploymentResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.GetDeployment.GetDeploymentResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.GetDeployment.GetDeploymentResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetDeployment.GetDeploymentResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetDeployment.GetDeployment
instance Data.Data.Data Network.AWS.CodeDeploy.GetDeployment.GetDeployment
instance GHC.Show.Show Network.AWS.CodeDeploy.GetDeployment.GetDeployment
instance GHC.Read.Read Network.AWS.CodeDeploy.GetDeployment.GetDeployment
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetDeployment.GetDeployment
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.GetDeployment.GetDeployment
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetDeployment.GetDeploymentResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.GetDeployment.GetDeployment
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetDeployment.GetDeployment
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.GetDeployment.GetDeployment
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.GetDeployment.GetDeployment
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.GetDeployment.GetDeployment
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.GetDeployment.GetDeployment
-- | Gets information about an application revision.
module Network.AWS.CodeDeploy.GetApplicationRevision
-- | Creates a value of GetApplicationRevision with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - garApplicationName - The name of the application that
-- corresponds to the revision.
-- - garRevision - Information about the application revision to
-- get, including type and location.
--
getApplicationRevision :: Text -> RevisionLocation -> GetApplicationRevision
-- | Represents the input of a GetApplicationRevision operation.
--
-- See: getApplicationRevision smart constructor.
data GetApplicationRevision
-- | The name of the application that corresponds to the revision.
garApplicationName :: Lens' GetApplicationRevision Text
-- | Information about the application revision to get, including type and
-- location.
garRevision :: Lens' GetApplicationRevision RevisionLocation
-- | Creates a value of GetApplicationRevisionResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getApplicationRevisionResponse :: Int -> GetApplicationRevisionResponse
-- | Represents the output of a GetApplicationRevision operation.
--
-- See: getApplicationRevisionResponse smart constructor.
data GetApplicationRevisionResponse
-- | The name of the application that corresponds to the revision.
garrsApplicationName :: Lens' GetApplicationRevisionResponse (Maybe Text)
-- | General information about the revision.
garrsRevisionInfo :: Lens' GetApplicationRevisionResponse (Maybe GenericRevisionInfo)
-- | Additional information about the revision, including type and
-- location.
garrsRevision :: Lens' GetApplicationRevisionResponse (Maybe RevisionLocation)
-- |
-- - - | The response status code.
--
garrsResponseStatus :: Lens' GetApplicationRevisionResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevisionResponse
instance Data.Data.Data Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevisionResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevisionResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevisionResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevisionResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Data.Data.Data Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance GHC.Show.Show Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance GHC.Read.Read Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevisionResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.GetApplicationRevision.GetApplicationRevision
-- | Gets information about an application.
module Network.AWS.CodeDeploy.GetApplication
-- | Creates a value of GetApplication with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gaApplicationName - The name of an AWS CodeDeploy
-- application associated with the applicable IAM user or AWS
-- account.
--
getApplication :: Text -> GetApplication
-- | Represents the input of a GetApplication operation.
--
-- See: getApplication smart constructor.
data GetApplication
-- | The name of an AWS CodeDeploy application associated with the
-- applicable IAM user or AWS account.
gaApplicationName :: Lens' GetApplication Text
-- | Creates a value of GetApplicationResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getApplicationResponse :: Int -> GetApplicationResponse
-- | Represents the output of a GetApplication operation.
--
-- See: getApplicationResponse smart constructor.
data GetApplicationResponse
-- | Information about the application.
garsApplication :: Lens' GetApplicationResponse (Maybe ApplicationInfo)
-- |
-- - - | The response status code.
--
garsResponseStatus :: Lens' GetApplicationResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetApplication.GetApplicationResponse
instance Data.Data.Data Network.AWS.CodeDeploy.GetApplication.GetApplicationResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.GetApplication.GetApplicationResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.GetApplication.GetApplicationResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetApplication.GetApplicationResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.GetApplication.GetApplication
instance Data.Data.Data Network.AWS.CodeDeploy.GetApplication.GetApplication
instance GHC.Show.Show Network.AWS.CodeDeploy.GetApplication.GetApplication
instance GHC.Read.Read Network.AWS.CodeDeploy.GetApplication.GetApplication
instance GHC.Classes.Eq Network.AWS.CodeDeploy.GetApplication.GetApplication
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.GetApplication.GetApplication
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetApplication.GetApplicationResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.GetApplication.GetApplication
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.GetApplication.GetApplication
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.GetApplication.GetApplication
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.GetApplication.GetApplication
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.GetApplication.GetApplication
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.GetApplication.GetApplication
-- | Deregisters an on-premises instance.
module Network.AWS.CodeDeploy.DeregisterOnPremisesInstance
-- | Creates a value of DeregisterOnPremisesInstance with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deregisterOnPremisesInstance :: Text -> DeregisterOnPremisesInstance
-- | Represents the input of a DeregisterOnPremisesInstance operation.
--
-- See: deregisterOnPremisesInstance smart constructor.
data DeregisterOnPremisesInstance
-- | The name of the on-premises instance to deregister.
dopiInstanceName :: Lens' DeregisterOnPremisesInstance Text
-- | Creates a value of DeregisterOnPremisesInstanceResponse with
-- the minimum fields required to make a request.
deregisterOnPremisesInstanceResponse :: DeregisterOnPremisesInstanceResponse
-- | See: deregisterOnPremisesInstanceResponse smart
-- constructor.
data DeregisterOnPremisesInstanceResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstanceResponse
instance Data.Data.Data Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstanceResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstanceResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstanceResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstanceResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Data.Data.Data Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance GHC.Show.Show Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance GHC.Read.Read Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance GHC.Classes.Eq Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstanceResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.DeregisterOnPremisesInstance.DeregisterOnPremisesInstance
-- | Deletes a GitHub account connection.
module Network.AWS.CodeDeploy.DeleteGitHubAccountToken
-- | Creates a value of DeleteGitHubAccountToken with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dghatTokenName - The name of the GitHub account connection
-- to delete.
--
deleteGitHubAccountToken :: DeleteGitHubAccountToken
-- | Represents the input of a DeleteGitHubAccount operation.
--
-- See: deleteGitHubAccountToken smart constructor.
data DeleteGitHubAccountToken
-- | The name of the GitHub account connection to delete.
dghatTokenName :: Lens' DeleteGitHubAccountToken (Maybe Text)
-- | Creates a value of DeleteGitHubAccountTokenResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteGitHubAccountTokenResponse :: Int -> DeleteGitHubAccountTokenResponse
-- | Represents the output of a DeleteGitHubAccountToken operation.
--
-- See: deleteGitHubAccountTokenResponse smart constructor.
data DeleteGitHubAccountTokenResponse
-- | The name of the GitHub account connection that was deleted.
dghatrsTokenName :: Lens' DeleteGitHubAccountTokenResponse (Maybe Text)
-- |
-- - - | The response status code.
--
dghatrsResponseStatus :: Lens' DeleteGitHubAccountTokenResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountTokenResponse
instance Data.Data.Data Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountTokenResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountTokenResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountTokenResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountTokenResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Data.Data.Data Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance GHC.Show.Show Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance GHC.Read.Read Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance GHC.Classes.Eq Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountTokenResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.DeleteGitHubAccountToken.DeleteGitHubAccountToken
-- | Deletes a deployment group.
module Network.AWS.CodeDeploy.DeleteDeploymentGroup
-- | Creates a value of DeleteDeploymentGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ddgApplicationName - The name of an AWS CodeDeploy
-- application associated with the applicable IAM user or AWS
-- account.
-- - ddgDeploymentGroupName - The name of an existing deployment
-- group for the specified application.
--
deleteDeploymentGroup :: Text -> Text -> DeleteDeploymentGroup
-- | Represents the input of a DeleteDeploymentGroup operation.
--
-- See: deleteDeploymentGroup smart constructor.
data DeleteDeploymentGroup
-- | The name of an AWS CodeDeploy application associated with the
-- applicable IAM user or AWS account.
ddgApplicationName :: Lens' DeleteDeploymentGroup Text
-- | The name of an existing deployment group for the specified
-- application.
ddgDeploymentGroupName :: Lens' DeleteDeploymentGroup Text
-- | Creates a value of DeleteDeploymentGroupResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ddgrsHooksNotCleanedUp - If the output contains no data,
-- and the corresponding deployment group contained at least one Auto
-- Scaling group, AWS 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, AWS CodeDeploy
-- could not remove some Auto Scaling lifecycle event hooks from the
-- Amazon EC2 instances in the Auto Scaling group.
-- - ddgrsResponseStatus - -- | The response status code.
--
deleteDeploymentGroupResponse :: Int -> DeleteDeploymentGroupResponse
-- | Represents the output of a DeleteDeploymentGroup operation.
--
-- See: deleteDeploymentGroupResponse smart constructor.
data DeleteDeploymentGroupResponse
-- | If the output contains no data, and the corresponding deployment group
-- contained at least one Auto Scaling group, AWS 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, AWS CodeDeploy could not remove some Auto Scaling lifecycle
-- event hooks from the Amazon EC2 instances in the Auto Scaling group.
ddgrsHooksNotCleanedUp :: Lens' DeleteDeploymentGroupResponse [AutoScalingGroup]
-- |
-- - - | The response status code.
--
ddgrsResponseStatus :: Lens' DeleteDeploymentGroupResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroupResponse
instance Data.Data.Data Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroupResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroupResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroupResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroupResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Data.Data.Data Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance GHC.Show.Show Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance GHC.Read.Read Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance GHC.Classes.Eq Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroupResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.DeleteDeploymentGroup.DeleteDeploymentGroup
-- | Deletes a deployment configuration.
module Network.AWS.CodeDeploy.DeleteDeploymentConfig
-- | Creates a value of DeleteDeploymentConfig with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ddcDeploymentConfigName - The name of a deployment
-- configuration associated with the applicable IAM user or AWS
-- account.
--
deleteDeploymentConfig :: Text -> DeleteDeploymentConfig
-- | Represents the input of a DeleteDeploymentConfig operation.
--
-- See: deleteDeploymentConfig smart constructor.
data DeleteDeploymentConfig
-- | The name of a deployment configuration associated with the applicable
-- IAM user or AWS account.
ddcDeploymentConfigName :: Lens' DeleteDeploymentConfig Text
-- | Creates a value of DeleteDeploymentConfigResponse with the
-- minimum fields required to make a request.
deleteDeploymentConfigResponse :: DeleteDeploymentConfigResponse
-- | See: deleteDeploymentConfigResponse smart constructor.
data DeleteDeploymentConfigResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfigResponse
instance Data.Data.Data Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfigResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfigResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfigResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfigResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Data.Data.Data Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance GHC.Show.Show Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance GHC.Read.Read Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance GHC.Classes.Eq Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfigResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.DeleteDeploymentConfig.DeleteDeploymentConfig
-- | Deletes an application.
module Network.AWS.CodeDeploy.DeleteApplication
-- | Creates a value of DeleteApplication with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - daApplicationName - The name of an AWS CodeDeploy
-- application associated with the applicable IAM user or AWS
-- account.
--
deleteApplication :: Text -> DeleteApplication
-- | Represents the input of a DeleteApplication operation.
--
-- See: deleteApplication smart constructor.
data DeleteApplication
-- | The name of an AWS CodeDeploy application associated with the
-- applicable IAM user or AWS account.
daApplicationName :: Lens' DeleteApplication Text
-- | Creates a value of DeleteApplicationResponse with the minimum
-- fields required to make a request.
deleteApplicationResponse :: DeleteApplicationResponse
-- | See: deleteApplicationResponse smart constructor.
data DeleteApplicationResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.DeleteApplication.DeleteApplicationResponse
instance Data.Data.Data Network.AWS.CodeDeploy.DeleteApplication.DeleteApplicationResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.DeleteApplication.DeleteApplicationResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.DeleteApplication.DeleteApplicationResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.DeleteApplication.DeleteApplicationResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
instance Data.Data.Data Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
instance GHC.Show.Show Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
instance GHC.Read.Read Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
instance GHC.Classes.Eq Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.DeleteApplication.DeleteApplicationResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.DeleteApplication.DeleteApplication
-- | Creates a deployment group to which application revisions will be
-- deployed.
module Network.AWS.CodeDeploy.CreateDeploymentGroup
-- | Creates a value of CreateDeploymentGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cdgEc2TagSet - Information about groups of tags applied to
-- EC2 instances. The deployment group will include only EC2 instances
-- identified by all the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
-- - cdgDeploymentConfigName - If specified, the deployment
-- configuration name can be either one of the predefined configurations
-- provided with AWS 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
-- the deployment group. For more information about the predefined
-- deployment configurations in AWS CodeDeploy, see Working with
-- Deployment Groups in AWS CodeDeploy in the AWS CodeDeploy User
-- Guide.
-- - cdgOnPremisesTagSet - Information about groups of tags
-- applied to on-premises instances. The deployment group will include
-- only on-premises instances identified by all the tag groups. Cannot be
-- used in the same call as onPremisesInstanceTagFilters.
-- - cdgEc2TagFilters - The Amazon EC2 tags on which to filter.
-- The deployment group will include EC2 instances with any of the
-- specified tags. Cannot be used in the same call as ec2TagSet.
-- - cdgBlueGreenDeploymentConfiguration - Information about
-- blue/green deployment options for a deployment group.
-- - cdgLoadBalancerInfo - Information about the load balancer
-- used in a deployment.
-- - cdgOnPremisesInstanceTagFilters - The on-premises instance
-- tags on which to filter. The deployment group will include on-premises
-- instances with any of the specified tags. Cannot be used in the same
-- call as OnPremisesTagSet.
-- - cdgAlarmConfiguration - Information to add about Amazon
-- CloudWatch alarms when the deployment group is created.
-- - cdgTriggerConfigurations - Information about triggers to
-- create when the deployment group is created. For examples, see
-- Create a Trigger for an AWS CodeDeploy Event in the AWS
-- CodeDeploy User Guide.
-- - cdgAutoScalingGroups - A list of associated Auto Scaling
-- groups.
-- - cdgDeploymentStyle - 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.
-- - cdgAutoRollbackConfiguration - Configuration information
-- for an automatic rollback that is added when a deployment group is
-- created.
-- - cdgApplicationName - The name of an AWS CodeDeploy
-- application associated with the applicable IAM user or AWS
-- account.
-- - cdgDeploymentGroupName - The name of a new deployment group
-- for the specified application.
-- - cdgServiceRoleARN - A service role ARN that allows AWS
-- CodeDeploy to act on the user's behalf when interacting with AWS
-- services.
--
createDeploymentGroup :: Text -> Text -> Text -> CreateDeploymentGroup
-- | Represents the input of a CreateDeploymentGroup operation.
--
-- See: createDeploymentGroup smart constructor.
data CreateDeploymentGroup
-- | Information about groups of tags applied to EC2 instances. The
-- deployment group will include only EC2 instances identified by all the
-- tag groups. Cannot be used in the same call as ec2TagFilters.
cdgEc2TagSet :: Lens' CreateDeploymentGroup (Maybe EC2TagSet)
-- | If specified, the deployment configuration name can be either one of
-- the predefined configurations provided with AWS 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 the deployment group. For more
-- information about the predefined deployment configurations in AWS
-- CodeDeploy, see Working with Deployment Groups in AWS
-- CodeDeploy in the AWS CodeDeploy User Guide.
cdgDeploymentConfigName :: Lens' CreateDeploymentGroup (Maybe Text)
-- | Information about groups of tags applied to on-premises instances. The
-- deployment group will include only on-premises instances identified by
-- all the tag groups. Cannot be used in the same call as
-- onPremisesInstanceTagFilters.
cdgOnPremisesTagSet :: Lens' CreateDeploymentGroup (Maybe OnPremisesTagSet)
-- | The Amazon EC2 tags on which to filter. The deployment group will
-- include EC2 instances with any of the specified tags. Cannot be used
-- in the same call as ec2TagSet.
cdgEc2TagFilters :: Lens' CreateDeploymentGroup [EC2TagFilter]
-- | Information about blue/green deployment options for a deployment
-- group.
cdgBlueGreenDeploymentConfiguration :: Lens' CreateDeploymentGroup (Maybe BlueGreenDeploymentConfiguration)
-- | Information about the load balancer used in a deployment.
cdgLoadBalancerInfo :: Lens' CreateDeploymentGroup (Maybe LoadBalancerInfo)
-- | The on-premises instance tags on which to filter. The deployment group
-- will include on-premises instances with any of the specified tags.
-- Cannot be used in the same call as OnPremisesTagSet.
cdgOnPremisesInstanceTagFilters :: Lens' CreateDeploymentGroup [TagFilter]
-- | Information to add about Amazon CloudWatch alarms when the deployment
-- group is created.
cdgAlarmConfiguration :: Lens' CreateDeploymentGroup (Maybe AlarmConfiguration)
-- | Information about triggers to create when the deployment group is
-- created. For examples, see Create a Trigger for an AWS CodeDeploy
-- Event in the AWS CodeDeploy User Guide.
cdgTriggerConfigurations :: Lens' CreateDeploymentGroup [TriggerConfig]
-- | A list of associated Auto Scaling groups.
cdgAutoScalingGroups :: Lens' CreateDeploymentGroup [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.
cdgDeploymentStyle :: Lens' CreateDeploymentGroup (Maybe DeploymentStyle)
-- | Configuration information for an automatic rollback that is added when
-- a deployment group is created.
cdgAutoRollbackConfiguration :: Lens' CreateDeploymentGroup (Maybe AutoRollbackConfiguration)
-- | The name of an AWS CodeDeploy application associated with the
-- applicable IAM user or AWS account.
cdgApplicationName :: Lens' CreateDeploymentGroup Text
-- | The name of a new deployment group for the specified application.
cdgDeploymentGroupName :: Lens' CreateDeploymentGroup Text
-- | A service role ARN that allows AWS CodeDeploy to act on the user's
-- behalf when interacting with AWS services.
cdgServiceRoleARN :: Lens' CreateDeploymentGroup Text
-- | Creates a value of CreateDeploymentGroupResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createDeploymentGroupResponse :: Int -> CreateDeploymentGroupResponse
-- | Represents the output of a CreateDeploymentGroup operation.
--
-- See: createDeploymentGroupResponse smart constructor.
data CreateDeploymentGroupResponse
-- | A unique deployment group ID.
cdgrsDeploymentGroupId :: Lens' CreateDeploymentGroupResponse (Maybe Text)
-- |
-- - - | The response status code.
--
cdgrsResponseStatus :: Lens' CreateDeploymentGroupResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroupResponse
instance Data.Data.Data Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroupResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroupResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroupResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroupResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Data.Data.Data Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance GHC.Show.Show Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance GHC.Read.Read Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance GHC.Classes.Eq Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroupResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.CreateDeploymentGroup.CreateDeploymentGroup
-- | Creates a deployment configuration.
module Network.AWS.CodeDeploy.CreateDeploymentConfig
-- | Creates a value of CreateDeploymentConfig with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cdcComputePlatform - The destination platform type for the
-- deployment (Lambda or Server >).
-- - cdcMinimumHealthyHosts - 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, AWS CodeDeploy converts the percentage
-- to the equivalent number of instance 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.
-- - cdcTrafficRoutingConfig - The configuration that specifies
-- how the deployment traffic will be routed.
-- - cdcDeploymentConfigName - The name of the deployment
-- configuration to create.
--
createDeploymentConfig :: Text -> CreateDeploymentConfig
-- | Represents the input of a CreateDeploymentConfig operation.
--
-- See: createDeploymentConfig smart constructor.
data CreateDeploymentConfig
-- | The destination platform type for the deployment (Lambda or
-- Server >).
cdcComputePlatform :: 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, AWS CodeDeploy converts the percentage to the equivalent
-- number of instance 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.
cdcMinimumHealthyHosts :: Lens' CreateDeploymentConfig (Maybe MinimumHealthyHosts)
-- | The configuration that specifies how the deployment traffic will be
-- routed.
cdcTrafficRoutingConfig :: Lens' CreateDeploymentConfig (Maybe TrafficRoutingConfig)
-- | The name of the deployment configuration to create.
cdcDeploymentConfigName :: Lens' CreateDeploymentConfig Text
-- | Creates a value of CreateDeploymentConfigResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createDeploymentConfigResponse :: Int -> CreateDeploymentConfigResponse
-- | Represents the output of a CreateDeploymentConfig operation.
--
-- See: createDeploymentConfigResponse smart constructor.
data CreateDeploymentConfigResponse
-- | A unique deployment configuration ID.
cdcrsDeploymentConfigId :: Lens' CreateDeploymentConfigResponse (Maybe Text)
-- |
-- - - | The response status code.
--
cdcrsResponseStatus :: Lens' CreateDeploymentConfigResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfigResponse
instance Data.Data.Data Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfigResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfigResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfigResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfigResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Data.Data.Data Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance GHC.Show.Show Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance GHC.Read.Read Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance GHC.Classes.Eq Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfigResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.CreateDeploymentConfig.CreateDeploymentConfig
-- | Deploys an application revision through the specified deployment
-- group.
module Network.AWS.CodeDeploy.CreateDeployment
-- | Creates a value of CreateDeployment with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cdDeploymentConfigName - The name of a deployment
-- configuration associated with the applicable IAM user or AWS account.
-- If not specified, the value configured in the deployment group will be
-- used as the default. If the deployment group does not have a
-- deployment configuration associated with it, then
-- CodeDeployDefault.OneAtATime will be used by default.
-- - cdFileExistsBehavior - Information about how AWS 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.
-- - cdTargetInstances - Information about the instances that
-- will belong to the replacement environment in a blue/green
-- deployment.
-- - cdRevision - The type and location of the revision to
-- deploy.
-- - cdDescription - A comment about the deployment.
-- - cdAutoRollbackConfiguration - Configuration information for
-- an automatic rollback that is added when a deployment is created.
-- - cdUpdateOutdatedInstancesOnly - Indicates whether to deploy
-- to all instances or only to instances that are not running the latest
-- application revision.
-- - cdDeploymentGroupName - The name of the deployment
-- group.
-- - cdIgnoreApplicationStopFailures - If set to true, then if
-- the deployment causes the ApplicationStop deployment lifecycle event
-- to an instance to fail, the deployment to that instance will not be
-- considered to have failed at that point and will continue on to the
-- BeforeInstall deployment lifecycle event. If set to false or not
-- specified, then if the deployment causes the ApplicationStop
-- deployment lifecycle event to fail to an instance, the deployment to
-- that instance will stop, and the deployment to that instance will be
-- considered to have failed.
-- - cdApplicationName - The name of an AWS CodeDeploy
-- application associated with the applicable IAM user or AWS
-- account.
--
createDeployment :: Text -> CreateDeployment
-- | Represents the input of a CreateDeployment operation.
--
-- See: createDeployment smart constructor.
data CreateDeployment
-- | The name of a deployment configuration associated with the applicable
-- IAM user or AWS account. If not specified, the value configured in the
-- deployment group will be used as the default. If the deployment group
-- does not have a deployment configuration associated with it, then
-- CodeDeployDefault.OneAtATime will be used by default.
cdDeploymentConfigName :: Lens' CreateDeployment (Maybe Text)
-- | Information about how AWS 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.
cdFileExistsBehavior :: Lens' CreateDeployment (Maybe FileExistsBehavior)
-- | Information about the instances that will belong to the replacement
-- environment in a blue/green deployment.
cdTargetInstances :: Lens' CreateDeployment (Maybe TargetInstances)
-- | The type and location of the revision to deploy.
cdRevision :: Lens' CreateDeployment (Maybe RevisionLocation)
-- | A comment about the deployment.
cdDescription :: Lens' CreateDeployment (Maybe Text)
-- | Configuration information for an automatic rollback that is added when
-- a deployment is created.
cdAutoRollbackConfiguration :: Lens' CreateDeployment (Maybe AutoRollbackConfiguration)
-- | Indicates whether to deploy to all instances or only to instances that
-- are not running the latest application revision.
cdUpdateOutdatedInstancesOnly :: Lens' CreateDeployment (Maybe Bool)
-- | The name of the deployment group.
cdDeploymentGroupName :: Lens' CreateDeployment (Maybe Text)
-- | If set to true, then if the deployment causes the ApplicationStop
-- deployment lifecycle event to an instance to fail, the deployment to
-- that instance will not be considered to have failed at that point and
-- will continue on to the BeforeInstall deployment lifecycle event. If
-- set to false or not specified, then if the deployment causes the
-- ApplicationStop deployment lifecycle event to fail to an instance, the
-- deployment to that instance will stop, and the deployment to that
-- instance will be considered to have failed.
cdIgnoreApplicationStopFailures :: Lens' CreateDeployment (Maybe Bool)
-- | The name of an AWS CodeDeploy application associated with the
-- applicable IAM user or AWS account.
cdApplicationName :: Lens' CreateDeployment Text
-- | Creates a value of CreateDeploymentResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createDeploymentResponse :: Int -> CreateDeploymentResponse
-- | Represents the output of a CreateDeployment operation.
--
-- See: createDeploymentResponse smart constructor.
data CreateDeploymentResponse
-- | A unique deployment ID.
cdrsDeploymentId :: Lens' CreateDeploymentResponse (Maybe Text)
-- |
-- - - | The response status code.
--
cdrsResponseStatus :: Lens' CreateDeploymentResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.CreateDeployment.CreateDeploymentResponse
instance Data.Data.Data Network.AWS.CodeDeploy.CreateDeployment.CreateDeploymentResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.CreateDeployment.CreateDeploymentResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.CreateDeployment.CreateDeploymentResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.CreateDeployment.CreateDeploymentResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
instance Data.Data.Data Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
instance GHC.Show.Show Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
instance GHC.Read.Read Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
instance GHC.Classes.Eq Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.CreateDeployment.CreateDeploymentResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.CreateDeployment.CreateDeployment
-- | Creates an application.
module Network.AWS.CodeDeploy.CreateApplication
-- | Creates a value of CreateApplication with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - caComputePlatform - The destination platform type for the
-- deployment (Lambda or Server ).
-- - caApplicationName - The name of the application. This name
-- must be unique with the applicable IAM user or AWS account.
--
createApplication :: Text -> CreateApplication
-- | Represents the input of a CreateApplication operation.
--
-- See: createApplication smart constructor.
data CreateApplication
-- | The destination platform type for the deployment (Lambda or
-- Server ).
caComputePlatform :: Lens' CreateApplication (Maybe ComputePlatform)
-- | The name of the application. This name must be unique with the
-- applicable IAM user or AWS account.
caApplicationName :: Lens' CreateApplication Text
-- | Creates a value of CreateApplicationResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createApplicationResponse :: Int -> CreateApplicationResponse
-- | Represents the output of a CreateApplication operation.
--
-- See: createApplicationResponse smart constructor.
data CreateApplicationResponse
-- | A unique application ID.
carsApplicationId :: Lens' CreateApplicationResponse (Maybe Text)
-- |
-- - - | The response status code.
--
carsResponseStatus :: Lens' CreateApplicationResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.CreateApplication.CreateApplicationResponse
instance Data.Data.Data Network.AWS.CodeDeploy.CreateApplication.CreateApplicationResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.CreateApplication.CreateApplicationResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.CreateApplication.CreateApplicationResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.CreateApplication.CreateApplicationResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.CreateApplication.CreateApplication
instance Data.Data.Data Network.AWS.CodeDeploy.CreateApplication.CreateApplication
instance GHC.Show.Show Network.AWS.CodeDeploy.CreateApplication.CreateApplication
instance GHC.Read.Read Network.AWS.CodeDeploy.CreateApplication.CreateApplication
instance GHC.Classes.Eq Network.AWS.CodeDeploy.CreateApplication.CreateApplication
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.CreateApplication.CreateApplication
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.CreateApplication.CreateApplicationResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.CreateApplication.CreateApplication
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.CreateApplication.CreateApplication
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.CreateApplication.CreateApplication
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.CreateApplication.CreateApplication
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.CreateApplication.CreateApplication
instance Network.AWS.Data.Query.ToQuery Network.AWS.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 Network.AWS.CodeDeploy.ContinueDeployment
-- | Creates a value of ContinueDeployment with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cdDeploymentId - The deployment ID of the blue/green
-- deployment for which you want to start rerouting traffic to the
-- replacement environment.
--
continueDeployment :: ContinueDeployment
-- | See: continueDeployment smart constructor.
data ContinueDeployment
-- | The deployment ID of the blue/green deployment for which you want to
-- start rerouting traffic to the replacement environment.
cdDeploymentId :: Lens' ContinueDeployment (Maybe Text)
-- | Creates a value of ContinueDeploymentResponse with the minimum
-- fields required to make a request.
continueDeploymentResponse :: ContinueDeploymentResponse
-- | See: continueDeploymentResponse smart constructor.
data ContinueDeploymentResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeploymentResponse
instance Data.Data.Data Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeploymentResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeploymentResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeploymentResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeploymentResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Data.Data.Data Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
instance GHC.Show.Show Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
instance GHC.Read.Read Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
instance GHC.Classes.Eq Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeploymentResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.ContinueDeployment.ContinueDeployment
-- | Gets information about one or more on-premises instances.
module Network.AWS.CodeDeploy.BatchGetOnPremisesInstances
-- | Creates a value of BatchGetOnPremisesInstances with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bgopiInstanceNames - The names of the on-premises instances
-- about which to get information.
--
batchGetOnPremisesInstances :: BatchGetOnPremisesInstances
-- | Represents the input of a BatchGetOnPremisesInstances operation.
--
-- See: batchGetOnPremisesInstances smart constructor.
data BatchGetOnPremisesInstances
-- | The names of the on-premises instances about which to get information.
bgopiInstanceNames :: Lens' BatchGetOnPremisesInstances [Text]
-- | Creates a value of BatchGetOnPremisesInstancesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetOnPremisesInstancesResponse :: Int -> BatchGetOnPremisesInstancesResponse
-- | Represents the output of a BatchGetOnPremisesInstances operation.
--
-- See: batchGetOnPremisesInstancesResponse smart
-- constructor.
data BatchGetOnPremisesInstancesResponse
-- | Information about the on-premises instances.
bgopirsInstanceInfos :: Lens' BatchGetOnPremisesInstancesResponse [InstanceInfo]
-- |
-- - - | The response status code.
--
bgopirsResponseStatus :: Lens' BatchGetOnPremisesInstancesResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstancesResponse
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstancesResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstancesResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstancesResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstancesResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstancesResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.BatchGetOnPremisesInstances.BatchGetOnPremisesInstances
-- | Gets information about one or more deployments.
module Network.AWS.CodeDeploy.BatchGetDeployments
-- | Creates a value of BatchGetDeployments with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetDeployments :: BatchGetDeployments
-- | Represents the input of a BatchGetDeployments operation.
--
-- See: batchGetDeployments smart constructor.
data BatchGetDeployments
-- | A list of deployment IDs, separated by spaces.
bgdDeploymentIds :: Lens' BatchGetDeployments [Text]
-- | Creates a value of BatchGetDeploymentsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetDeploymentsResponse :: Int -> BatchGetDeploymentsResponse
-- | Represents the output of a BatchGetDeployments operation.
--
-- See: batchGetDeploymentsResponse smart constructor.
data BatchGetDeploymentsResponse
-- | Information about the deployments.
bgdrsDeploymentsInfo :: Lens' BatchGetDeploymentsResponse [DeploymentInfo]
-- |
-- - - | The response status code.
--
bgdrsResponseStatus :: Lens' BatchGetDeploymentsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeploymentsResponse
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeploymentsResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeploymentsResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeploymentsResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeploymentsResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeploymentsResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.BatchGetDeployments.BatchGetDeployments
-- | Gets information about one or more instance that are part of a
-- deployment group.
module Network.AWS.CodeDeploy.BatchGetDeploymentInstances
-- | Creates a value of BatchGetDeploymentInstances with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetDeploymentInstances :: Text -> BatchGetDeploymentInstances
-- | Represents the input of a BatchGetDeploymentInstances operation.
--
-- See: batchGetDeploymentInstances smart constructor.
data BatchGetDeploymentInstances
-- | The unique ID of a deployment.
bgdiDeploymentId :: Lens' BatchGetDeploymentInstances Text
-- | The unique IDs of instances in the deployment group.
bgdiInstanceIds :: Lens' BatchGetDeploymentInstances [Text]
-- | Creates a value of BatchGetDeploymentInstancesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetDeploymentInstancesResponse :: Int -> BatchGetDeploymentInstancesResponse
-- | Represents the output of a BatchGetDeploymentInstances operation.
--
-- See: batchGetDeploymentInstancesResponse smart
-- constructor.
data BatchGetDeploymentInstancesResponse
-- | Information about the instance.
bgdirsInstancesSummary :: Lens' BatchGetDeploymentInstancesResponse [InstanceSummary]
-- | Information about errors that may have occurred during the API call.
bgdirsErrorMessage :: Lens' BatchGetDeploymentInstancesResponse (Maybe Text)
-- |
-- - - | The response status code.
--
bgdirsResponseStatus :: Lens' BatchGetDeploymentInstancesResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstancesResponse
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstancesResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstancesResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstancesResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstancesResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstancesResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.BatchGetDeploymentInstances.BatchGetDeploymentInstances
-- | Gets information about one or more deployment groups.
module Network.AWS.CodeDeploy.BatchGetDeploymentGroups
-- | Creates a value of BatchGetDeploymentGroups with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetDeploymentGroups :: Text -> BatchGetDeploymentGroups
-- | Represents the input of a BatchGetDeploymentGroups operation.
--
-- See: batchGetDeploymentGroups smart constructor.
data BatchGetDeploymentGroups
-- | The name of an AWS CodeDeploy application associated with the
-- applicable IAM user or AWS account.
bgdgApplicationName :: Lens' BatchGetDeploymentGroups Text
-- | The deployment groups' names.
bgdgDeploymentGroupNames :: Lens' BatchGetDeploymentGroups [Text]
-- | Creates a value of BatchGetDeploymentGroupsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetDeploymentGroupsResponse :: Int -> BatchGetDeploymentGroupsResponse
-- | Represents the output of a BatchGetDeploymentGroups operation.
--
-- See: batchGetDeploymentGroupsResponse smart constructor.
data BatchGetDeploymentGroupsResponse
-- | Information about the deployment groups.
bgdgrsDeploymentGroupsInfo :: Lens' BatchGetDeploymentGroupsResponse [DeploymentGroupInfo]
-- | Information about errors that may have occurred during the API call.
bgdgrsErrorMessage :: Lens' BatchGetDeploymentGroupsResponse (Maybe Text)
-- |
-- - - | The response status code.
--
bgdgrsResponseStatus :: Lens' BatchGetDeploymentGroupsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroupsResponse
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroupsResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroupsResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroupsResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroupsResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroupsResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.BatchGetDeploymentGroups.BatchGetDeploymentGroups
-- | Gets information about one or more applications.
module Network.AWS.CodeDeploy.BatchGetApplications
-- | Creates a value of BatchGetApplications with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetApplications :: BatchGetApplications
-- | Represents the input of a BatchGetApplications operation.
--
-- See: batchGetApplications smart constructor.
data BatchGetApplications
-- | A list of application names separated by spaces.
bgaApplicationNames :: Lens' BatchGetApplications [Text]
-- | Creates a value of BatchGetApplicationsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetApplicationsResponse :: Int -> BatchGetApplicationsResponse
-- | Represents the output of a BatchGetApplications operation.
--
-- See: batchGetApplicationsResponse smart constructor.
data BatchGetApplicationsResponse
-- | Information about the applications.
bgarsApplicationsInfo :: Lens' BatchGetApplicationsResponse [ApplicationInfo]
-- |
-- - - | The response status code.
--
bgarsResponseStatus :: Lens' BatchGetApplicationsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplicationsResponse
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplicationsResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplicationsResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplicationsResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplicationsResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplicationsResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.BatchGetApplications.BatchGetApplications
-- | Gets information about one or more application revisions.
module Network.AWS.CodeDeploy.BatchGetApplicationRevisions
-- | Creates a value of BatchGetApplicationRevisions with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bgarApplicationName - The name of an AWS CodeDeploy
-- application about which to get revision information.
-- - bgarRevisions - Information to get about the application
-- revisions, including type and location.
--
batchGetApplicationRevisions :: Text -> BatchGetApplicationRevisions
-- | Represents the input of a BatchGetApplicationRevisions operation.
--
-- See: batchGetApplicationRevisions smart constructor.
data BatchGetApplicationRevisions
-- | The name of an AWS CodeDeploy application about which to get revision
-- information.
bgarApplicationName :: Lens' BatchGetApplicationRevisions Text
-- | Information to get about the application revisions, including type and
-- location.
bgarRevisions :: Lens' BatchGetApplicationRevisions [RevisionLocation]
-- | Creates a value of BatchGetApplicationRevisionsResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetApplicationRevisionsResponse :: Int -> BatchGetApplicationRevisionsResponse
-- | Represents the output of a BatchGetApplicationRevisions operation.
--
-- See: batchGetApplicationRevisionsResponse smart
-- constructor.
data BatchGetApplicationRevisionsResponse
-- | The name of the application that corresponds to the revisions.
bgarrsApplicationName :: Lens' BatchGetApplicationRevisionsResponse (Maybe Text)
-- | Additional information about the revisions, including the type and
-- location.
bgarrsRevisions :: Lens' BatchGetApplicationRevisionsResponse [RevisionInfo]
-- | Information about errors that may have occurred during the API call.
bgarrsErrorMessage :: Lens' BatchGetApplicationRevisionsResponse (Maybe Text)
-- |
-- - - | The response status code.
--
bgarrsResponseStatus :: Lens' BatchGetApplicationRevisionsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisionsResponse
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisionsResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisionsResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisionsResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisionsResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Data.Data.Data Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance GHC.Show.Show Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance GHC.Read.Read Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance GHC.Classes.Eq Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisionsResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.BatchGetApplicationRevisions.BatchGetApplicationRevisions
-- | Adds tags to on-premises instances.
module Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances
-- | Creates a value of AddTagsToOnPremisesInstances with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - attopiTags - 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.
-- - attopiInstanceNames - The names of the on-premises
-- instances to which to add tags.
--
addTagsToOnPremisesInstances :: AddTagsToOnPremisesInstances
-- | Represents the input of, and adds tags to, an on-premises instance
-- operation.
--
-- See: addTagsToOnPremisesInstances smart constructor.
data 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.
attopiTags :: Lens' AddTagsToOnPremisesInstances [Tag]
-- | The names of the on-premises instances to which to add tags.
attopiInstanceNames :: Lens' AddTagsToOnPremisesInstances [Text]
-- | Creates a value of AddTagsToOnPremisesInstancesResponse with
-- the minimum fields required to make a request.
addTagsToOnPremisesInstancesResponse :: AddTagsToOnPremisesInstancesResponse
-- | See: addTagsToOnPremisesInstancesResponse smart
-- constructor.
data AddTagsToOnPremisesInstancesResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstancesResponse
instance Data.Data.Data Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstancesResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstancesResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstancesResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstancesResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Data.Data.Data Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance GHC.Show.Show Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance GHC.Read.Read Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance GHC.Classes.Eq Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstancesResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances.AddTagsToOnPremisesInstances
-- | Changes the name of an application.
module Network.AWS.CodeDeploy.UpdateApplication
-- | Creates a value of UpdateApplication with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateApplication :: UpdateApplication
-- | Represents the input of an UpdateApplication operation.
--
-- See: updateApplication smart constructor.
data UpdateApplication
-- | The new name to give the application.
uaNewApplicationName :: Lens' UpdateApplication (Maybe Text)
-- | The current name of the application you want to change.
uaApplicationName :: Lens' UpdateApplication (Maybe Text)
-- | Creates a value of UpdateApplicationResponse with the minimum
-- fields required to make a request.
updateApplicationResponse :: UpdateApplicationResponse
-- | See: updateApplicationResponse smart constructor.
data UpdateApplicationResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.UpdateApplication.UpdateApplicationResponse
instance Data.Data.Data Network.AWS.CodeDeploy.UpdateApplication.UpdateApplicationResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.UpdateApplication.UpdateApplicationResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.UpdateApplication.UpdateApplicationResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.UpdateApplication.UpdateApplicationResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
instance Data.Data.Data Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
instance GHC.Show.Show Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
instance GHC.Read.Read Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
instance GHC.Classes.Eq Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.UpdateApplication.UpdateApplicationResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.UpdateApplication.UpdateApplication
-- | Changes information about a deployment group.
module Network.AWS.CodeDeploy.UpdateDeploymentGroup
-- | Creates a value of UpdateDeploymentGroup with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - udgServiceRoleARN - A replacement ARN for the service role,
-- if you want to change it.
-- - udgEc2TagSet - Information about groups of tags applied to
-- on-premises instances. The deployment group will include only EC2
-- instances identified by all the tag groups.
-- - udgDeploymentConfigName - The replacement deployment
-- configuration name to use, if you want to change it.
-- - udgOnPremisesTagSet - Information about an on-premises
-- instance tag set. The deployment group will include only on-premises
-- instances identified by all the tag groups.
-- - udgNewDeploymentGroupName - The new name of the deployment
-- group, if you want to change it.
-- - udgEc2TagFilters - 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.
-- - udgBlueGreenDeploymentConfiguration - Information about
-- blue/green deployment options for a deployment group.
-- - udgLoadBalancerInfo - Information about the load balancer
-- used in a deployment.
-- - udgOnPremisesInstanceTagFilters - 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.
-- - udgAlarmConfiguration - Information to add or change about
-- Amazon CloudWatch alarms when the deployment group is updated.
-- - udgTriggerConfigurations - Information about triggers to
-- change when the deployment group is updated. For examples, see
-- Modify Triggers in an AWS CodeDeploy Deployment Group in the
-- AWS CodeDeploy User Guide.
-- - udgAutoScalingGroups - The replacement list of Auto Scaling
-- groups to be included in the deployment group, if you want to change
-- them. To keep the Auto Scaling groups, enter their names. To remove
-- Auto Scaling groups, do not enter any Auto Scaling group names.
-- - udgDeploymentStyle - 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.
-- - udgAutoRollbackConfiguration - Information for an automatic
-- rollback configuration that is added or changed when a deployment
-- group is updated.
-- - udgApplicationName - The application name corresponding to
-- the deployment group to update.
-- - udgCurrentDeploymentGroupName - The current name of the
-- deployment group.
--
updateDeploymentGroup :: Text -> Text -> UpdateDeploymentGroup
-- | Represents the input of an UpdateDeploymentGroup operation.
--
-- See: updateDeploymentGroup smart constructor.
data UpdateDeploymentGroup
-- | A replacement ARN for the service role, if you want to change it.
udgServiceRoleARN :: Lens' UpdateDeploymentGroup (Maybe Text)
-- | Information about groups of tags applied to on-premises instances. The
-- deployment group will include only EC2 instances identified by all the
-- tag groups.
udgEc2TagSet :: Lens' UpdateDeploymentGroup (Maybe EC2TagSet)
-- | The replacement deployment configuration name to use, if you want to
-- change it.
udgDeploymentConfigName :: Lens' UpdateDeploymentGroup (Maybe Text)
-- | Information about an on-premises instance tag set. The deployment
-- group will include only on-premises instances identified by all the
-- tag groups.
udgOnPremisesTagSet :: Lens' UpdateDeploymentGroup (Maybe OnPremisesTagSet)
-- | The new name of the deployment group, if you want to change it.
udgNewDeploymentGroupName :: Lens' UpdateDeploymentGroup (Maybe Text)
-- | 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.
udgEc2TagFilters :: Lens' UpdateDeploymentGroup [EC2TagFilter]
-- | Information about blue/green deployment options for a deployment
-- group.
udgBlueGreenDeploymentConfiguration :: Lens' UpdateDeploymentGroup (Maybe BlueGreenDeploymentConfiguration)
-- | Information about the load balancer used in a deployment.
udgLoadBalancerInfo :: Lens' UpdateDeploymentGroup (Maybe LoadBalancerInfo)
-- | 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.
udgOnPremisesInstanceTagFilters :: Lens' UpdateDeploymentGroup [TagFilter]
-- | Information to add or change about Amazon CloudWatch alarms when the
-- deployment group is updated.
udgAlarmConfiguration :: Lens' UpdateDeploymentGroup (Maybe AlarmConfiguration)
-- | Information about triggers to change when the deployment group is
-- updated. For examples, see Modify Triggers in an AWS CodeDeploy
-- Deployment Group in the AWS CodeDeploy User Guide.
udgTriggerConfigurations :: Lens' UpdateDeploymentGroup [TriggerConfig]
-- | The replacement list of Auto Scaling groups to be included in the
-- deployment group, if you want to change them. To keep the Auto Scaling
-- groups, enter their names. To remove Auto Scaling groups, do not enter
-- any Auto Scaling group names.
udgAutoScalingGroups :: Lens' UpdateDeploymentGroup [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.
udgDeploymentStyle :: Lens' UpdateDeploymentGroup (Maybe DeploymentStyle)
-- | Information for an automatic rollback configuration that is added or
-- changed when a deployment group is updated.
udgAutoRollbackConfiguration :: Lens' UpdateDeploymentGroup (Maybe AutoRollbackConfiguration)
-- | The application name corresponding to the deployment group to update.
udgApplicationName :: Lens' UpdateDeploymentGroup Text
-- | The current name of the deployment group.
udgCurrentDeploymentGroupName :: Lens' UpdateDeploymentGroup Text
-- | Creates a value of UpdateDeploymentGroupResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - udgrsHooksNotCleanedUp - If the output contains no data,
-- and the corresponding deployment group contained at least one Auto
-- Scaling group, AWS CodeDeploy successfully removed all corresponding
-- Auto Scaling lifecycle event hooks from the AWS account. If the output
-- contains data, AWS CodeDeploy could not remove some Auto Scaling
-- lifecycle event hooks from the AWS account.
-- - udgrsResponseStatus - -- | The response status code.
--
updateDeploymentGroupResponse :: Int -> UpdateDeploymentGroupResponse
-- | Represents the output of an UpdateDeploymentGroup operation.
--
-- See: updateDeploymentGroupResponse smart constructor.
data UpdateDeploymentGroupResponse
-- | If the output contains no data, and the corresponding deployment group
-- contained at least one Auto Scaling group, AWS CodeDeploy successfully
-- removed all corresponding Auto Scaling lifecycle event hooks from the
-- AWS account. If the output contains data, AWS CodeDeploy could not
-- remove some Auto Scaling lifecycle event hooks from the AWS account.
udgrsHooksNotCleanedUp :: Lens' UpdateDeploymentGroupResponse [AutoScalingGroup]
-- |
-- - - | The response status code.
--
udgrsResponseStatus :: Lens' UpdateDeploymentGroupResponse Int
instance GHC.Generics.Generic Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroupResponse
instance Data.Data.Data Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroupResponse
instance GHC.Show.Show Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroupResponse
instance GHC.Read.Read Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroupResponse
instance GHC.Classes.Eq Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroupResponse
instance GHC.Generics.Generic Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Data.Data.Data Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance GHC.Show.Show Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance GHC.Read.Read Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance GHC.Classes.Eq Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Network.AWS.Types.AWSRequest Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroupResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Control.DeepSeq.NFData Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeDeploy.UpdateDeploymentGroup.UpdateDeploymentGroup
module Network.AWS.CodeDeploy.Waiters
-- | Polls GetDeployment every 15 seconds until a successful state
-- is reached. An error is returned after 120 failed checks.
deploymentSuccessful :: Wait GetDeployment
-- | AWS CodeDeploy
--
-- AWS CodeDeploy is a deployment service that automates application
-- deployments to Amazon EC2 instances, on-premises instances running in
-- your own facility, or serverless AWS Lambda functions.
--
-- You can deploy a nearly unlimited variety of application content, such
-- as an updated Lambda function, code, web and configuration files,
-- executables, packages, scripts, multimedia files, and so on. AWS
-- 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 AWS CodeDeploy.
--
-- AWS 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.
--
-- AWS CodeDeploy Components
--
-- Use the information in this guide to help you work with the following
-- AWS CodeDeploy components:
--
--
-- - Application : A name that uniquely identifies the
-- application you want to deploy. AWS 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 or
-- CodeDeploy Lambda applications. A Lambda deployment group contains a
-- group of applications. An EC2/On-premises deployment group contains
-- individually tagged instances, Amazon EC2 instances in Auto Scaling
-- groups, or both.
-- - Deployment configuration : A set of deployment rules and
-- deployment success and failure conditions used by AWS CodeDeploy
-- during a deployment.
-- - Deployment : The process and the components used in the
-- process of updating a Lambda function or of installing content on one
-- or more instances.
-- - Application revisions : For an AWS Lambda deployment, this
-- is an AppSpec file that specifies the Lambda function to update and
-- one or more functions to validate deployment lifecycle events. For an
-- EC2/On-premises deployment, this is an archive file containing source
-- content—source code, web pages, 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 AWS CodeDeploy deployments, and to get details about a Lambda
-- function deployment.
--
-- AWS CodeDeploy Information Resources
--
--
module Network.AWS.CodeDeploy
-- | API version 2014-10-06 of the Amazon CodeDeploy SDK
-- configuration.
codeDeploy :: Service
-- | The limit for lifecycle hooks was exceeded.
_LifecycleHookLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified time range was specified in an invalid format.
_InvalidTimeRangeException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The computePlatform is invalid. The computePlatform should be
-- Lambda or Server .
_InvalidComputePlatformException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified tag was specified in an invalid format.
_InvalidTagException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An invalid fileExistsBehavior option was specified to determine how
-- AWS 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 => Getting (First ServiceError) 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 255 character
-- limit.
-- - Two alarms with the same name have been specified.
-- - The alarm configuration is enabled but the alarm list is
-- empty.
--
_InvalidAlarmConfigException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified on-premises instance name is already registered.
_InstanceNameAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An IAM user ARN was not specified.
_IAMUserARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment group name was specified in an invalid format.
_InvalidDeploymentGroupNameException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The request included an IAM session ARN that has already been used to
-- register a different instance.
_IAMSessionARNAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The configuration that specifies how traffic is routed during a
-- deployment is invalid.
_InvalidTrafficRoutingConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The description is too long.
_DescriptionTooLongException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The IAM user ARN was specified in an invalid format.
_InvalidIAMUserARNException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The specified deployment has not started.
_DeploymentNotStartedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment configurations limit was exceeded.
_DeploymentConfigLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The role ID was not specified.
_RoleRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An invalid load balancer name, or no load balancer name, was
-- specified.
_InvalidLoadBalancerInfoException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) 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 Auto Scaling.
_InvalidRoleException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A deployment configuration with the specified name already exists with
-- the applicable IAM user or AWS account.
_DeploymentConfigAlreadyExistsException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The number of allowed deployments was exceeded.
_DeploymentLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified IAM user ARN is already registered with an on-premises
-- instance.
_IAMUserARNAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The IAM session ARN was specified in an invalid format.
_InvalidIAMSessionARNException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The maximum number of allowed on-premises instances in a single call
-- was exceeded.
_InstanceLimitExceededException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The deployed state filter was specified in an invalid format.
_InvalidDeployedStateFilterException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The Auto Scaling group was specified in an invalid format or does not
-- exist.
_InvalidAutoScalingGroupException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The application name was specified in an invalid format.
_InvalidApplicationNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | No GitHub account connection exists with the named specified in the
-- call.
_GitHubAccountTokenDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The application does not exist with the applicable IAM user or AWS
-- account.
_ApplicationDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The minimum healthy instance value was specified in an invalid format.
_InvalidMinimumHealthyHostValueException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A call was submitted that is not supported for the specified
-- deployment type.
_UnsupportedActionForDeploymentTypeException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified resource could not be validated.
_ResourceValidationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The GitHub token is not valid.
_InvalidGitHubAccountTokenException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The maximum number of alarms for a deployment group (10) was exceeded.
_AlarmsLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The API used does not support the deployment.
_OperationNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified tag filter was specified in an invalid format.
_InvalidTagFilterException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The trigger was specified in an invalid format.
_InvalidTriggerConfigException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The IgnoreApplicationStopFailures value is invalid. For AWS Lambda
-- deployments, false is expected. For EC2/On-premises
-- deployments, true or false is expected.
_InvalidIgnoreApplicationStopFailuresValueException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda
-- deployments, false is expected. For EC2/On-premises
-- deployments, true or false is expected.
_InvalidUpdateOutdatedInstancesOnlyValueException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A tag was not specified.
_TagRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment group name was not specified.
_DeploymentGroupNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A bucket name is required, but was not provided.
_BucketNameFilterRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment configuration does not exist with the applicable IAM
-- user or AWS account.
_DeploymentConfigDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The bucket name either doesn't exist or was specified in an invalid
-- format.
_InvalidBucketNameFilterException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A deployment group with the specified name already exists with the
-- applicable IAM user or AWS account.
_DeploymentGroupAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The column name to sort by is either not present or was specified in
-- an invalid format.
_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The named revision does not exist with the applicable IAM user or AWS
-- account.
_RevisionDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment groups limit was exceeded.
_DeploymentGroupLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The named deployment group does not exist with the applicable IAM user
-- or AWS account.
_DeploymentGroupDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An API function was called too frequently.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment configuration name was specified in an invalid format.
_InvalidDeploymentConfigNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment configuration name was not specified.
_DeploymentConfigNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | At least one deployment ID must be specified.
_DeploymentIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidInstanceIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment does not have a status of Ready and can't continue yet.
_DeploymentIsNotInReadyStateException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The next token was specified in an invalid format.
_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The instance ID was not specified.
_InstanceIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | At least one of the deployment IDs was specified in an invalid format.
_InvalidDeploymentIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The sort order was specified in an invalid format.
_InvalidSortOrderException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The deployment is already complete.
_DeploymentAlreadyCompletedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment does not exist with the applicable IAM user or AWS
-- account.
_DeploymentDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The maximum number of names or IDs allowed for this request (100) was
-- exceeded.
_BatchLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The revision was specified in an invalid format.
_InvalidRevisionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The revision ID was not specified.
_RevisionRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified instance does not exist in the deployment group.
_InstanceDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The deployment configuration is still in use.
_DeploymentConfigInUseException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified input was specified in an invalid format.
_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The tag was specified in an invalid format.
_InvalidEC2TagException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified on-premises instance name was specified in an invalid
-- format.
_InvalidInstanceNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An on-premises instance name was not specified.
_InstanceNameRequiredException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The maximum allowed number of triggers was exceeded.
_TriggerTargetsLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified deployment status doesn't exist or cannot be determined.
_InvalidDeploymentStatusException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The registration status was specified in an invalid format.
_InvalidRegistrationStatusException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The minimum number of required application names was not specified.
_ApplicationNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified on-premises instance is not registered.
_InstanceNotRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An application with the specified name already exists with the
-- applicable IAM user or AWS account.
_ApplicationAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified instance status does not exist.
_InvalidInstanceStatusException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The maximum allowed number of tags was exceeded.
_TagLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | More applications were attempted to be created than are allowed.
_ApplicationLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The number of tag groups included in the tag set list exceeded the
-- maximum allowed limit of 3.
_TagSetListLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An invalid operation was detected.
_InvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The call is missing a required GitHub account connection name.
_GitHubAccountTokenNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An instance type was specified for an in-place deployment. Instance
-- types are supported for blue/green deployments only.
_InvalidDeploymentInstanceTypeException :: AsError a => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError
-- | The format of the specified GitHub account connection name is invalid.
_InvalidGitHubAccountTokenNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An attempt to return the status of an already completed lifecycle
-- event occurred.
_LifecycleEventAlreadyCompletedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified key prefix filter was specified in an invalid format.
_InvalidKeyPrefixFilterException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Polls GetDeployment every 15 seconds until a successful state
-- is reached. An error is returned after 120 failed checks.
deploymentSuccessful :: Wait GetDeployment
data ApplicationRevisionSortBy
FirstUsedTime :: ApplicationRevisionSortBy
LastUsedTime :: ApplicationRevisionSortBy
RegisterTime :: ApplicationRevisionSortBy
data AutoRollbackEvent
AREDeploymentFailure :: AutoRollbackEvent
AREDeploymentStopOnAlarm :: AutoRollbackEvent
AREDeploymentStopOnRequest :: AutoRollbackEvent
data BundleType
JSON :: BundleType
TAR :: BundleType
TGZ :: BundleType
Yaml :: BundleType
Zip :: BundleType
data ComputePlatform
Lambda :: ComputePlatform
Server :: ComputePlatform
data DeployErrorCode
AgentIssue :: DeployErrorCode
AlarmActive :: DeployErrorCode
ApplicationMissing :: DeployErrorCode
AutoScalingConfiguration :: DeployErrorCode
AutoScalingIAMRolePermissions :: DeployErrorCode
DeploymentGroupMissing :: DeployErrorCode
ElasticLoadBalancingInvalid :: DeployErrorCode
ElbInvalidInstance :: DeployErrorCode
HealthConstraints :: DeployErrorCode
HealthConstraintsInvalid :: DeployErrorCode
HookExecutionFailure :: DeployErrorCode
IAMRoleMissing :: DeployErrorCode
IAMRolePermissions :: DeployErrorCode
InternalError :: DeployErrorCode
InvalidLambdaConfiguration :: DeployErrorCode
InvalidLambdaFunction :: DeployErrorCode
ManualStop :: DeployErrorCode
MissingBlueGreenDeploymentConfiguration :: DeployErrorCode
MissingElbInformation :: DeployErrorCode
MissingGithubToken :: DeployErrorCode
NoEC2Subscription :: DeployErrorCode
NoInstances :: DeployErrorCode
OverMaxInstances :: DeployErrorCode
RevisionMissing :: DeployErrorCode
Throttled :: DeployErrorCode
Timeout :: DeployErrorCode
data DeploymentCreator
Autoscaling :: DeploymentCreator
CodeDeployRollback :: DeploymentCreator
User :: DeploymentCreator
data DeploymentOption
WithTrafficControl :: DeploymentOption
WithoutTrafficControl :: DeploymentOption
data DeploymentReadyAction
ContinueDeployment :: DeploymentReadyAction
StopDeployment :: DeploymentReadyAction
data DeploymentStatus
Created :: DeploymentStatus
Failed :: DeploymentStatus
InProgress :: DeploymentStatus
Queued :: DeploymentStatus
Ready :: DeploymentStatus
Stopped :: DeploymentStatus
Succeeded :: DeploymentStatus
data DeploymentType
BlueGreen :: DeploymentType
InPlace :: DeploymentType
data EC2TagFilterType
KeyAndValue :: EC2TagFilterType
KeyOnly :: EC2TagFilterType
ValueOnly :: EC2TagFilterType
data FileExistsBehavior
Disallow :: FileExistsBehavior
Overwrite :: FileExistsBehavior
Retain :: FileExistsBehavior
data GreenFleetProvisioningAction
CopyAutoScalingGroup :: GreenFleetProvisioningAction
DiscoverExisting :: GreenFleetProvisioningAction
data InstanceAction
KeepAlive :: InstanceAction
Terminate :: InstanceAction
data InstanceStatus
ISFailed :: InstanceStatus
ISInProgress :: InstanceStatus
ISPending :: InstanceStatus
ISReady :: InstanceStatus
ISSkipped :: InstanceStatus
ISSucceeded :: InstanceStatus
ISUnknown :: InstanceStatus
data InstanceType
Blue :: InstanceType
Green :: InstanceType
data LifecycleErrorCode
ScriptFailed :: LifecycleErrorCode
ScriptMissing :: LifecycleErrorCode
ScriptNotExecutable :: LifecycleErrorCode
ScriptTimedOut :: LifecycleErrorCode
Success :: LifecycleErrorCode
UnknownError :: LifecycleErrorCode
data LifecycleEventStatus
LESFailed :: LifecycleEventStatus
LESInProgress :: LifecycleEventStatus
LESPending :: LifecycleEventStatus
LESSkipped :: LifecycleEventStatus
LESSucceeded :: LifecycleEventStatus
LESUnknown :: LifecycleEventStatus
data ListStateFilterAction
Exclude :: ListStateFilterAction
Ignore :: ListStateFilterAction
Include :: ListStateFilterAction
data MinimumHealthyHostsType
FleetPercent :: MinimumHealthyHostsType
HostCount :: MinimumHealthyHostsType
data RegistrationStatus
Deregistered :: RegistrationStatus
Registered :: RegistrationStatus
data RevisionLocationType
GitHub :: RevisionLocationType
S3 :: RevisionLocationType
String :: RevisionLocationType
data SortOrder
Ascending :: SortOrder
Descending :: SortOrder
data StopStatus
SSPending :: StopStatus
SSSucceeded :: StopStatus
data TagFilterType
TFTKeyAndValue :: TagFilterType
TFTKeyOnly :: TagFilterType
TFTValueOnly :: TagFilterType
data TrafficRoutingType
AllAtOnce :: TrafficRoutingType
TimeBasedCanary :: TrafficRoutingType
TimeBasedLinear :: TrafficRoutingType
data TriggerEventType
DeploymentFailure :: TriggerEventType
DeploymentReady :: TriggerEventType
DeploymentRollback :: TriggerEventType
DeploymentStart :: TriggerEventType
DeploymentStop :: TriggerEventType
DeploymentSuccess :: TriggerEventType
InstanceFailure :: TriggerEventType
InstanceReady :: TriggerEventType
InstanceStart :: TriggerEventType
InstanceSuccess :: TriggerEventType
-- | Information about an alarm.
--
-- See: alarm smart constructor.
data Alarm
-- | Creates a value of Alarm with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - aName - The name of the alarm. Maximum length is 255
-- characters. Each alarm name can be used only once in a list of
-- alarms.
--
alarm :: Alarm
-- | The name of the alarm. Maximum length is 255 characters. Each alarm
-- name can be used only once in a list of alarms.
aName :: Lens' Alarm (Maybe Text)
-- | Information about alarms associated with the deployment group.
--
-- See: alarmConfiguration smart constructor.
data AlarmConfiguration
-- | Creates a value of AlarmConfiguration with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - acIgnorePollAlarmFailure - 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 will proceed even if alarm status
-- information can't be retrieved from Amazon CloudWatch. * false: The
-- deployment will stop if alarm status information can't be retrieved
-- from Amazon CloudWatch.
-- - acEnabled - Indicates whether the alarm configuration is
-- enabled.
-- - acAlarms - A list of alarms configured for the deployment
-- group. A maximum of 10 alarms can be added to a deployment group.
--
alarmConfiguration :: AlarmConfiguration
-- | 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 will
-- proceed even if alarm status information can't be retrieved from
-- Amazon CloudWatch. * false: The deployment will stop if alarm status
-- information can't be retrieved from Amazon CloudWatch.
acIgnorePollAlarmFailure :: Lens' AlarmConfiguration (Maybe Bool)
-- | Indicates whether the alarm configuration is enabled.
acEnabled :: Lens' AlarmConfiguration (Maybe Bool)
-- | A list of alarms configured for the deployment group. A maximum of 10
-- alarms can be added to a deployment group.
acAlarms :: Lens' AlarmConfiguration [Alarm]
-- | Information about an application.
--
-- See: applicationInfo smart constructor.
data ApplicationInfo
-- | Creates a value of ApplicationInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
applicationInfo :: ApplicationInfo
-- | True if the user has authenticated with GitHub for the specified
-- application; otherwise, false.
aiLinkedToGitHub :: Lens' ApplicationInfo (Maybe Bool)
-- | The destination platform type for deployment of the application
-- (Lambda or Server ).
aiComputePlatform :: Lens' ApplicationInfo (Maybe ComputePlatform)
-- | The application ID.
aiApplicationId :: Lens' ApplicationInfo (Maybe Text)
-- | The application name.
aiApplicationName :: Lens' ApplicationInfo (Maybe Text)
-- | The name for a connection to a GitHub account.
aiGitHubAccountName :: Lens' ApplicationInfo (Maybe Text)
-- | The time at which the application was created.
aiCreateTime :: Lens' ApplicationInfo (Maybe UTCTime)
-- | Information about a configuration for automatically rolling back to a
-- previous version of an application revision when a deployment doesn't
-- complete successfully.
--
-- See: autoRollbackConfiguration smart constructor.
data AutoRollbackConfiguration
-- | Creates a value of AutoRollbackConfiguration with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - arcEnabled - Indicates whether a defined automatic rollback
-- configuration is currently enabled.
-- - arcEvents - The event type or types that trigger a
-- rollback.
--
autoRollbackConfiguration :: AutoRollbackConfiguration
-- | Indicates whether a defined automatic rollback configuration is
-- currently enabled.
arcEnabled :: Lens' AutoRollbackConfiguration (Maybe Bool)
-- | The event type or types that trigger a rollback.
arcEvents :: Lens' AutoRollbackConfiguration [AutoRollbackEvent]
-- | Information about an Auto Scaling group.
--
-- See: autoScalingGroup smart constructor.
data AutoScalingGroup
-- | Creates a value of AutoScalingGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - asgHook - An Auto Scaling lifecycle event hook name.
-- - asgName - The Auto Scaling group name.
--
autoScalingGroup :: AutoScalingGroup
-- | An Auto Scaling lifecycle event hook name.
asgHook :: Lens' AutoScalingGroup (Maybe Text)
-- | The Auto Scaling group name.
asgName :: Lens' AutoScalingGroup (Maybe Text)
-- | Information about blue/green deployment options for a deployment
-- group.
--
-- See: blueGreenDeploymentConfiguration smart constructor.
data BlueGreenDeploymentConfiguration
-- | Creates a value of BlueGreenDeploymentConfiguration with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
blueGreenDeploymentConfiguration :: BlueGreenDeploymentConfiguration
-- | Information about the action to take when newly provisioned instances
-- are ready to receive traffic in a blue/green deployment.
bgdcDeploymentReadyOption :: Lens' BlueGreenDeploymentConfiguration (Maybe DeploymentReadyOption)
-- | Information about how instances are provisioned for a replacement
-- environment in a blue/green deployment.
bgdcGreenFleetProvisioningOption :: Lens' BlueGreenDeploymentConfiguration (Maybe GreenFleetProvisioningOption)
-- | Information about whether to terminate instances in the original fleet
-- during a blue/green deployment.
bgdcTerminateBlueInstancesOnDeploymentSuccess :: Lens' BlueGreenDeploymentConfiguration (Maybe BlueInstanceTerminationOption)
-- | Information about whether instances in the original environment are
-- terminated when a blue/green deployment is successful.
--
-- See: blueInstanceTerminationOption smart constructor.
data BlueInstanceTerminationOption
-- | Creates a value of BlueInstanceTerminationOption with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bitoAction - 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.
-- - bitoTerminationWaitTimeInMinutes - The number of minutes to
-- wait after a successful blue/green deployment before terminating
-- instances from the original environment.
--
blueInstanceTerminationOption :: 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.
bitoAction :: Lens' BlueInstanceTerminationOption (Maybe InstanceAction)
-- | The number of minutes to wait after a successful blue/green deployment
-- before terminating instances from the original environment.
bitoTerminationWaitTimeInMinutes :: Lens' BlueInstanceTerminationOption (Maybe Int)
-- | Information about a deployment configuration.
--
-- See: deploymentConfigInfo smart constructor.
data DeploymentConfigInfo
-- | Creates a value of DeploymentConfigInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deploymentConfigInfo :: DeploymentConfigInfo
-- | The deployment configuration name.
dciDeploymentConfigName :: Lens' DeploymentConfigInfo (Maybe Text)
-- | The destination platform type for the deployment (Lambda or
-- Server ).
dciComputePlatform :: Lens' DeploymentConfigInfo (Maybe ComputePlatform)
-- | Information about the number or percentage of minimum healthy
-- instance.
dciMinimumHealthyHosts :: Lens' DeploymentConfigInfo (Maybe MinimumHealthyHosts)
-- | The configuration specifying how the deployment traffic will be
-- routed. Only deployments with a Lambda compute platform can specify
-- this.
dciTrafficRoutingConfig :: Lens' DeploymentConfigInfo (Maybe TrafficRoutingConfig)
-- | The deployment configuration ID.
dciDeploymentConfigId :: Lens' DeploymentConfigInfo (Maybe Text)
-- | The time at which the deployment configuration was created.
dciCreateTime :: Lens' DeploymentConfigInfo (Maybe UTCTime)
-- | Information about a deployment group.
--
-- See: deploymentGroupInfo smart constructor.
data DeploymentGroupInfo
-- | Creates a value of DeploymentGroupInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dgiServiceRoleARN - A service role ARN.
-- - dgiEc2TagSet - Information about groups of tags applied to
-- an EC2 instance. The deployment group includes only EC2 instances
-- identified by all the tag groups. Cannot be used in the same call as
-- ec2TagFilters.
-- - dgiDeploymentConfigName - The deployment configuration
-- name.
-- - dgiLastAttemptedDeployment - Information about the most
-- recent attempted deployment to the deployment group.
-- - dgiOnPremisesTagSet - 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.
-- - dgiComputePlatform - The destination platform type for the
-- deployment group (Lambda or Server ).
-- - dgiTargetRevision - Information about the deployment
-- group's target revision, including type and location.
-- - dgiEc2TagFilters - The Amazon EC2 tags on which to filter.
-- The deployment group includes EC2 instances with any of the specified
-- tags.
-- - dgiBlueGreenDeploymentConfiguration - Information about
-- blue/green deployment options for a deployment group.
-- - dgiLoadBalancerInfo - Information about the load balancer
-- to use in a deployment.
-- - dgiOnPremisesInstanceTagFilters - The on-premises instance
-- tags on which to filter. The deployment group includes on-premises
-- instances with any of the specified tags.
-- - dgiLastSuccessfulDeployment - Information about the most
-- recent successful deployment to the deployment group.
-- - dgiApplicationName - The application name.
-- - dgiAlarmConfiguration - A list of alarms associated with
-- the deployment group.
-- - dgiTriggerConfigurations - Information about triggers
-- associated with the deployment group.
-- - dgiDeploymentGroupId - The deployment group ID.
-- - dgiAutoScalingGroups - A list of associated Auto Scaling
-- groups.
-- - dgiDeploymentStyle - 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.
-- - dgiAutoRollbackConfiguration - Information about the
-- automatic rollback configuration associated with the deployment
-- group.
-- - dgiDeploymentGroupName - The deployment group name.
--
deploymentGroupInfo :: DeploymentGroupInfo
-- | A service role ARN.
dgiServiceRoleARN :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about groups of tags applied to an EC2 instance. The
-- deployment group includes only EC2 instances identified by all the tag
-- groups. Cannot be used in the same call as ec2TagFilters.
dgiEc2TagSet :: Lens' DeploymentGroupInfo (Maybe EC2TagSet)
-- | The deployment configuration name.
dgiDeploymentConfigName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about the most recent attempted deployment to the
-- deployment group.
dgiLastAttemptedDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo)
-- | 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.
dgiOnPremisesTagSet :: Lens' DeploymentGroupInfo (Maybe OnPremisesTagSet)
-- | The destination platform type for the deployment group
-- (Lambda or Server ).
dgiComputePlatform :: Lens' DeploymentGroupInfo (Maybe ComputePlatform)
-- | Information about the deployment group's target revision, including
-- type and location.
dgiTargetRevision :: Lens' DeploymentGroupInfo (Maybe RevisionLocation)
-- | The Amazon EC2 tags on which to filter. The deployment group includes
-- EC2 instances with any of the specified tags.
dgiEc2TagFilters :: Lens' DeploymentGroupInfo [EC2TagFilter]
-- | Information about blue/green deployment options for a deployment
-- group.
dgiBlueGreenDeploymentConfiguration :: Lens' DeploymentGroupInfo (Maybe BlueGreenDeploymentConfiguration)
-- | Information about the load balancer to use in a deployment.
dgiLoadBalancerInfo :: 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.
dgiOnPremisesInstanceTagFilters :: Lens' DeploymentGroupInfo [TagFilter]
-- | Information about the most recent successful deployment to the
-- deployment group.
dgiLastSuccessfulDeployment :: Lens' DeploymentGroupInfo (Maybe LastDeploymentInfo)
-- | The application name.
dgiApplicationName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | A list of alarms associated with the deployment group.
dgiAlarmConfiguration :: Lens' DeploymentGroupInfo (Maybe AlarmConfiguration)
-- | Information about triggers associated with the deployment group.
dgiTriggerConfigurations :: Lens' DeploymentGroupInfo [TriggerConfig]
-- | The deployment group ID.
dgiDeploymentGroupId :: Lens' DeploymentGroupInfo (Maybe Text)
-- | A list of associated Auto Scaling groups.
dgiAutoScalingGroups :: Lens' DeploymentGroupInfo [AutoScalingGroup]
-- | 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.
dgiDeploymentStyle :: Lens' DeploymentGroupInfo (Maybe DeploymentStyle)
-- | Information about the automatic rollback configuration associated with
-- the deployment group.
dgiAutoRollbackConfiguration :: Lens' DeploymentGroupInfo (Maybe AutoRollbackConfiguration)
-- | The deployment group name.
dgiDeploymentGroupName :: Lens' DeploymentGroupInfo (Maybe Text)
-- | Information about a deployment.
--
-- See: deploymentInfo smart constructor.
data DeploymentInfo
-- | Creates a value of DeploymentInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - diCreator - The means by which the deployment was created:
-- * user: A user created the deployment. * autoscaling: Auto Scaling
-- created the deployment. * codeDeployRollback: A rollback process
-- created the deployment.
-- - diStatus - The current state of the deployment as a
-- whole.
-- - diDeploymentId - The deployment ID.
-- - diDeploymentConfigName - The deployment configuration
-- name.
-- - diComputePlatform - The destination platform type for the
-- deployment (Lambda or Server ).
-- - diPreviousRevision - Information about the application
-- revision that was deployed to the deployment group before the most
-- recent successful deployment.
-- - diInstanceTerminationWaitTimeStarted - 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.
-- - diDeploymentStatusMessages - Messages that contain
-- information about the status of a deployment.
-- - diStartTime - A timestamp indicating when the deployment
-- was deployed to the deployment group. In some cases, the reported
-- value of the start time may be later than the complete time. This is
-- due to differences in the clock settings of back-end servers that
-- participate in the deployment process.
-- - diCompleteTime - A timestamp indicating when the deployment
-- was complete.
-- - diBlueGreenDeploymentConfiguration - Information about
-- blue/green deployment options for this deployment.
-- - diErrorInformation - Information about any error associated
-- with this deployment.
-- - diLoadBalancerInfo - Information about the load balancer
-- used in the deployment.
-- - diAdditionalDeploymentStatusInfo - Provides information
-- about the results of a deployment, such as whether instances in the
-- original environment in a blue/green deployment were not
-- terminated.
-- - diDeploymentOverview - A summary of the deployment status
-- of the instances in the deployment.
-- - diFileExistsBehavior - Information about how AWS 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.
-- - diApplicationName - The application name.
-- - diRollbackInfo - Information about a deployment
-- rollback.
-- - diTargetInstances - Information about the instances that
-- belong to the replacement environment in a blue/green deployment.
-- - diRevision - Information about the location of stored
-- application artifacts and the service from which to retrieve
-- them.
-- - diDescription - A comment about the deployment.
-- - diDeploymentStyle - 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.
-- - diCreateTime - A timestamp indicating when the deployment
-- was created.
-- - diAutoRollbackConfiguration - Information about the
-- automatic rollback configuration associated with the deployment.
-- - diUpdateOutdatedInstancesOnly - Indicates whether only
-- instances that are not running the latest application revision are to
-- be deployed to.
-- - diDeploymentGroupName - The deployment group name.
-- - diIgnoreApplicationStopFailures - If true, then if the
-- deployment causes the ApplicationStop deployment lifecycle event to an
-- instance to fail, the deployment to that instance will not be
-- considered to have failed at that point and will continue on to the
-- BeforeInstall deployment lifecycle event. If false or not specified,
-- then if the deployment causes the ApplicationStop deployment lifecycle
-- event to an instance to fail, the deployment to that instance will
-- stop, and the deployment to that instance will be considered to have
-- failed.
--
deploymentInfo :: DeploymentInfo
-- | The means by which the deployment was created: * user: A user created
-- the deployment. * autoscaling: Auto Scaling created the deployment. *
-- codeDeployRollback: A rollback process created the deployment.
diCreator :: Lens' DeploymentInfo (Maybe DeploymentCreator)
-- | The current state of the deployment as a whole.
diStatus :: Lens' DeploymentInfo (Maybe DeploymentStatus)
-- | The deployment ID.
diDeploymentId :: Lens' DeploymentInfo (Maybe Text)
-- | The deployment configuration name.
diDeploymentConfigName :: Lens' DeploymentInfo (Maybe Text)
-- | The destination platform type for the deployment (Lambda or
-- Server ).
diComputePlatform :: Lens' DeploymentInfo (Maybe ComputePlatform)
-- | Information about the application revision that was deployed to the
-- deployment group before the most recent successful deployment.
diPreviousRevision :: Lens' DeploymentInfo (Maybe RevisionLocation)
-- | 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.
diInstanceTerminationWaitTimeStarted :: Lens' DeploymentInfo (Maybe Bool)
-- | Messages that contain information about the status of a deployment.
diDeploymentStatusMessages :: Lens' DeploymentInfo [Text]
-- | A timestamp indicating when the deployment was deployed to the
-- deployment group. In some cases, the reported value of the start time
-- may be later than the complete time. This is due to differences in the
-- clock settings of back-end servers that participate in the deployment
-- process.
diStartTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | A timestamp indicating when the deployment was complete.
diCompleteTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | Information about blue/green deployment options for this deployment.
diBlueGreenDeploymentConfiguration :: Lens' DeploymentInfo (Maybe BlueGreenDeploymentConfiguration)
-- | Information about any error associated with this deployment.
diErrorInformation :: Lens' DeploymentInfo (Maybe ErrorInformation)
-- | Information about the load balancer used in the deployment.
diLoadBalancerInfo :: Lens' DeploymentInfo (Maybe LoadBalancerInfo)
-- | Provides information about the results of a deployment, such as
-- whether instances in the original environment in a blue/green
-- deployment were not terminated.
diAdditionalDeploymentStatusInfo :: Lens' DeploymentInfo (Maybe Text)
-- | A summary of the deployment status of the instances in the deployment.
diDeploymentOverview :: Lens' DeploymentInfo (Maybe DeploymentOverview)
-- | Information about how AWS 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.
diFileExistsBehavior :: Lens' DeploymentInfo (Maybe FileExistsBehavior)
-- | The application name.
diApplicationName :: Lens' DeploymentInfo (Maybe Text)
-- | Information about a deployment rollback.
diRollbackInfo :: Lens' DeploymentInfo (Maybe RollbackInfo)
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
diTargetInstances :: Lens' DeploymentInfo (Maybe TargetInstances)
-- | Information about the location of stored application artifacts and the
-- service from which to retrieve them.
diRevision :: Lens' DeploymentInfo (Maybe RevisionLocation)
-- | A comment about the deployment.
diDescription :: 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.
diDeploymentStyle :: Lens' DeploymentInfo (Maybe DeploymentStyle)
-- | A timestamp indicating when the deployment was created.
diCreateTime :: Lens' DeploymentInfo (Maybe UTCTime)
-- | Information about the automatic rollback configuration associated with
-- the deployment.
diAutoRollbackConfiguration :: Lens' DeploymentInfo (Maybe AutoRollbackConfiguration)
-- | Indicates whether only instances that are not running the latest
-- application revision are to be deployed to.
diUpdateOutdatedInstancesOnly :: Lens' DeploymentInfo (Maybe Bool)
-- | The deployment group name.
diDeploymentGroupName :: Lens' DeploymentInfo (Maybe Text)
-- | If true, then if the deployment causes the ApplicationStop deployment
-- lifecycle event to an instance to fail, the deployment to that
-- instance will not be considered to have failed at that point and will
-- continue on to the BeforeInstall deployment lifecycle event. If false
-- or not specified, then if the deployment causes the ApplicationStop
-- deployment lifecycle event to an instance to fail, the deployment to
-- that instance will stop, and the deployment to that instance will be
-- considered to have failed.
diIgnoreApplicationStopFailures :: Lens' DeploymentInfo (Maybe Bool)
-- | Information about the deployment status of the instances in the
-- deployment.
--
-- See: deploymentOverview smart constructor.
data DeploymentOverview
-- | Creates a value of DeploymentOverview with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - doPending - The number of instances in the deployment in a
-- pending state.
-- - doSkipped - The number of instances in the deployment in a
-- skipped state.
-- - doInProgress - The number of instances in which the
-- deployment is in progress.
-- - doSucceeded - The number of instances in the deployment to
-- which revisions have been successfully deployed.
-- - doReady - The number of instances in a replacement
-- environment ready to receive traffic in a blue/green deployment.
-- - doFailed - The number of instances in the deployment in a
-- failed state.
--
deploymentOverview :: DeploymentOverview
-- | The number of instances in the deployment in a pending state.
doPending :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment in a skipped state.
doSkipped :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in which the deployment is in progress.
doInProgress :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment to which revisions have been
-- successfully deployed.
doSucceeded :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in a replacement environment ready to receive
-- traffic in a blue/green deployment.
doReady :: Lens' DeploymentOverview (Maybe Integer)
-- | The number of instances in the deployment in a failed state.
doFailed :: Lens' DeploymentOverview (Maybe Integer)
-- | Information about how traffic is rerouted to instances in a
-- replacement environment in a blue/green deployment.
--
-- See: deploymentReadyOption smart constructor.
data DeploymentReadyOption
-- | Creates a value of DeploymentReadyOption with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - droActionOnTimeout - 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.
-- - droWaitTimeInMinutes - The number of minutes to wait before
-- the status of a blue/green deployment changed to Stopped if rerouting
-- is not started manually. Applies only to the STOP_DEPLOYMENT option
-- for actionOnTimeout
--
deploymentReadyOption :: 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.
droActionOnTimeout :: Lens' DeploymentReadyOption (Maybe DeploymentReadyAction)
-- | The number of minutes to wait before the status of a blue/green
-- deployment changed to Stopped if rerouting is not started manually.
-- Applies only to the STOP_DEPLOYMENT option for actionOnTimeout
droWaitTimeInMinutes :: 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: deploymentStyle smart constructor.
data DeploymentStyle
-- | Creates a value of DeploymentStyle with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dsDeploymentOption - Indicates whether to route deployment
-- traffic behind a load balancer.
-- - dsDeploymentType - Indicates whether to run an in-place
-- deployment or a blue/green deployment.
--
deploymentStyle :: DeploymentStyle
-- | Indicates whether to route deployment traffic behind a load balancer.
dsDeploymentOption :: Lens' DeploymentStyle (Maybe DeploymentOption)
-- | Indicates whether to run an in-place deployment or a blue/green
-- deployment.
dsDeploymentType :: Lens' DeploymentStyle (Maybe DeploymentType)
-- | Diagnostic information about executable scripts that are part of a
-- deployment.
--
-- See: diagnostics smart constructor.
data Diagnostics
-- | Creates a value of Diagnostics with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dLogTail - The last portion of the diagnostic log. If
-- available, AWS CodeDeploy returns up to the last 4 KB of the
-- diagnostic log.
-- - dErrorCode - 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.
-- - dScriptName - The name of the script.
-- - dMessage - The message associated with the error.
--
diagnostics :: Diagnostics
-- | The last portion of the diagnostic log. If available, AWS CodeDeploy
-- returns up to the last 4 KB of the diagnostic log.
dLogTail :: Lens' Diagnostics (Maybe Text)
-- | 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.
dErrorCode :: Lens' Diagnostics (Maybe LifecycleErrorCode)
-- | The name of the script.
dScriptName :: Lens' Diagnostics (Maybe Text)
-- | The message associated with the error.
dMessage :: Lens' Diagnostics (Maybe Text)
-- | Information about an EC2 tag filter.
--
-- See: ec2TagFilter smart constructor.
data EC2TagFilter
-- | Creates a value of EC2TagFilter with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - etfValue - The tag filter value.
-- - etfKey - The tag filter key.
-- - etfType - The tag filter type: * KEY_ONLY: Key only. *
-- VALUE_ONLY: Value only. * KEY_AND_VALUE: Key and value.
--
ec2TagFilter :: EC2TagFilter
-- | The tag filter value.
etfValue :: Lens' EC2TagFilter (Maybe Text)
-- | The tag filter key.
etfKey :: Lens' EC2TagFilter (Maybe Text)
-- | The tag filter type: * KEY_ONLY: Key only. * VALUE_ONLY: Value only. *
-- KEY_AND_VALUE: Key and value.
etfType :: Lens' EC2TagFilter (Maybe EC2TagFilterType)
-- | Information about groups of EC2 instance tags.
--
-- See: ec2TagSet smart constructor.
data EC2TagSet
-- | Creates a value of EC2TagSet with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - etsEc2TagSetList - A list containing other lists of EC2
-- instance tag groups. In order for an instance to be included in the
-- deployment group, it must be identified by all the tag groups in the
-- list.
--
ec2TagSet :: EC2TagSet
-- | A list containing other lists of EC2 instance tag groups. In order for
-- an instance to be included in the deployment group, it must be
-- identified by all the tag groups in the list.
etsEc2TagSetList :: Lens' EC2TagSet [[EC2TagFilter]]
-- | 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: eLBInfo smart constructor.
data ELBInfo
-- | Creates a value of ELBInfo with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - elbiName - For bluegreen deployments, the name of the
-- load balancer that will be used to route traffic from original
-- instances to replacement instances in a bluegreen 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 completes.
--
eLBInfo :: ELBInfo
-- | For bluegreen deployments, the name of the load balancer that will
-- be used to route traffic from original instances to replacement
-- instances in a bluegreen 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 completes.
elbiName :: Lens' ELBInfo (Maybe Text)
-- | Information about a deployment error.
--
-- See: errorInformation smart constructor.
data ErrorInformation
-- | Creates a value of ErrorInformation with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - eiCode - For information about additional error codes, see
-- Error Codes for AWS CodeDeploy in the AWS CodeDeploy User
-- Guide . The error code: * APPLICATION_MISSING: The application was
-- missing. This error code will most likely be 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 will most likely be 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 the
-- Amazon EC2 service. * NO_INSTANCES: No instance were specified, or no
-- instance can be found. * OVER_MAX_INSTANCES: The maximum number of
-- instance was exceeded. * THROTTLED: The operation was throttled
-- because the calling account exceeded the throttling limits of one or
-- more AWS services. * TIMEOUT: The deployment has timed out. *
-- REVISION_MISSING: The revision ID was missing. This error code will
-- most likely be raised if the revision is deleted after the deployment
-- is created but before it is started.
-- - eiMessage - An accompanying error message.
--
errorInformation :: ErrorInformation
-- | For information about additional error codes, see Error Codes for
-- AWS CodeDeploy in the AWS CodeDeploy User Guide . The error
-- code: * APPLICATION_MISSING: The application was missing. This error
-- code will most likely be 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 will most likely be 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 the
-- Amazon EC2 service. * NO_INSTANCES: No instance were specified, or no
-- instance can be found. * OVER_MAX_INSTANCES: The maximum number of
-- instance was exceeded. * THROTTLED: The operation was throttled
-- because the calling account exceeded the throttling limits of one or
-- more AWS services. * TIMEOUT: The deployment has timed out. *
-- REVISION_MISSING: The revision ID was missing. This error code will
-- most likely be raised if the revision is deleted after the deployment
-- is created but before it is started.
eiCode :: Lens' ErrorInformation (Maybe DeployErrorCode)
-- | An accompanying error message.
eiMessage :: Lens' ErrorInformation (Maybe Text)
-- | Information about an application revision.
--
-- See: genericRevisionInfo smart constructor.
data GenericRevisionInfo
-- | Creates a value of GenericRevisionInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
genericRevisionInfo :: GenericRevisionInfo
-- | When the revision was registered with AWS CodeDeploy.
griRegisterTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | When the revision was first used by AWS CodeDeploy.
griFirstUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | The deployment groups for which this is the current target revision.
griDeploymentGroups :: Lens' GenericRevisionInfo [Text]
-- | When the revision was last used by AWS CodeDeploy.
griLastUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
-- | A comment about the revision.
griDescription :: Lens' GenericRevisionInfo (Maybe Text)
-- | Information about the location of application artifacts stored in
-- GitHub.
--
-- See: gitHubLocation smart constructor.
data GitHubLocation
-- | Creates a value of GitHubLocation with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ghlCommitId - The SHA1 commit ID of the GitHub commit that
-- represents the bundled artifacts for the application revision.
-- - ghlRepository - 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 :: GitHubLocation
-- | The SHA1 commit ID of the GitHub commit that represents the bundled
-- artifacts for the application revision.
ghlCommitId :: 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.
ghlRepository :: Lens' GitHubLocation (Maybe Text)
-- | Information about the instances that belong to the replacement
-- environment in a blue/green deployment.
--
-- See: greenFleetProvisioningOption smart constructor.
data GreenFleetProvisioningOption
-- | Creates a value of GreenFleetProvisioningOption with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gfpoAction - 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 :: 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.
gfpoAction :: Lens' GreenFleetProvisioningOption (Maybe GreenFleetProvisioningAction)
-- | Information about an on-premises instance.
--
-- See: instanceInfo smart constructor.
data InstanceInfo
-- | Creates a value of InstanceInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - iiRegisterTime - The time at which the on-premises instance
-- was registered.
-- - iiInstanceARN - The ARN of the on-premises instance.
-- - iiDeregisterTime - If the on-premises instance was
-- deregistered, the time at which the on-premises instance was
-- deregistered.
-- - iiIamUserARN - The IAM user ARN associated with the
-- on-premises instance.
-- - iiInstanceName - The name of the on-premises instance.
-- - iiIamSessionARN - The ARN of the IAM session associated
-- with the on-premises instance.
-- - iiTags - The tags currently associated with the on-premises
-- instance.
--
instanceInfo :: InstanceInfo
-- | The time at which the on-premises instance was registered.
iiRegisterTime :: Lens' InstanceInfo (Maybe UTCTime)
-- | The ARN of the on-premises instance.
iiInstanceARN :: Lens' InstanceInfo (Maybe Text)
-- | If the on-premises instance was deregistered, the time at which the
-- on-premises instance was deregistered.
iiDeregisterTime :: Lens' InstanceInfo (Maybe UTCTime)
-- | The IAM user ARN associated with the on-premises instance.
iiIamUserARN :: Lens' InstanceInfo (Maybe Text)
-- | The name of the on-premises instance.
iiInstanceName :: Lens' InstanceInfo (Maybe Text)
-- | The ARN of the IAM session associated with the on-premises instance.
iiIamSessionARN :: Lens' InstanceInfo (Maybe Text)
-- | The tags currently associated with the on-premises instance.
iiTags :: Lens' InstanceInfo [Tag]
-- | Information about an instance in a deployment.
--
-- See: instanceSummary smart constructor.
data InstanceSummary
-- | Creates a value of InstanceSummary with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - isInstanceId - The instance ID.
-- - isStatus - The deployment status for this instance: *
-- Pending: The deployment is pending for this instance. * In Progress:
-- The deployment is in progress for this instance. * Succeeded: The
-- deployment has succeeded for this instance. * Failed: The deployment
-- has failed for this instance. * Skipped: The deployment has been
-- skipped for this instance. * Unknown: The deployment status is unknown
-- for this instance.
-- - isDeploymentId - The deployment ID.
-- - isLastUpdatedAt - A timestamp indicating when the instance
-- information was last updated.
-- - isLifecycleEvents - A list of lifecycle events for this
-- instance.
-- - isInstanceType - Information about which environment an
-- instance belongs to in a blue/green deployment. * BLUE: The instance
-- is part of the original environment. * GREEN: The instance is part of
-- the replacement environment.
--
instanceSummary :: InstanceSummary
-- | The instance ID.
isInstanceId :: Lens' InstanceSummary (Maybe Text)
-- | The deployment status for this instance: * Pending: The deployment is
-- pending for this instance. * In Progress: The deployment is in
-- progress for this instance. * Succeeded: The deployment has succeeded
-- for this instance. * Failed: The deployment has failed for this
-- instance. * Skipped: The deployment has been skipped for this
-- instance. * Unknown: The deployment status is unknown for this
-- instance.
isStatus :: Lens' InstanceSummary (Maybe InstanceStatus)
-- | The deployment ID.
isDeploymentId :: Lens' InstanceSummary (Maybe Text)
-- | A timestamp indicating when the instance information was last updated.
isLastUpdatedAt :: Lens' InstanceSummary (Maybe UTCTime)
-- | A list of lifecycle events for this instance.
isLifecycleEvents :: Lens' InstanceSummary [LifecycleEvent]
-- | Information about which environment an instance belongs to in a
-- blue/green deployment. * BLUE: The instance is part of the original
-- environment. * GREEN: The instance is part of the replacement
-- environment.
isInstanceType :: Lens' InstanceSummary (Maybe InstanceType)
-- | Information about the most recent attempted or successful deployment
-- to a deployment group.
--
-- See: lastDeploymentInfo smart constructor.
data LastDeploymentInfo
-- | Creates a value of LastDeploymentInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ldiStatus - The status of the most recent deployment.
-- - ldiDeploymentId - The deployment ID.
-- - ldiEndTime - A timestamp indicating when the most recent
-- deployment to the deployment group completed.
-- - ldiCreateTime - A timestamp indicating when the most recent
-- deployment to the deployment group started.
--
lastDeploymentInfo :: LastDeploymentInfo
-- | The status of the most recent deployment.
ldiStatus :: Lens' LastDeploymentInfo (Maybe DeploymentStatus)
-- | The deployment ID.
ldiDeploymentId :: Lens' LastDeploymentInfo (Maybe Text)
-- | A timestamp indicating when the most recent deployment to the
-- deployment group completed.
ldiEndTime :: Lens' LastDeploymentInfo (Maybe UTCTime)
-- | A timestamp indicating when the most recent deployment to the
-- deployment group started.
ldiCreateTime :: Lens' LastDeploymentInfo (Maybe UTCTime)
-- | Information about a deployment lifecycle event.
--
-- See: lifecycleEvent smart constructor.
data LifecycleEvent
-- | Creates a value of LifecycleEvent with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - leStatus - 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.
-- - leLifecycleEventName - The deployment lifecycle event name,
-- such as ApplicationStop, BeforeInstall, AfterInstall,
-- ApplicationStart, or ValidateService.
-- - leStartTime - A timestamp indicating when the deployment
-- lifecycle event started.
-- - leDiagnostics - Diagnostic information about the deployment
-- lifecycle event.
-- - leEndTime - A timestamp indicating when the deployment
-- lifecycle event ended.
--
lifecycleEvent :: LifecycleEvent
-- | 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.
leStatus :: Lens' LifecycleEvent (Maybe LifecycleEventStatus)
-- | The deployment lifecycle event name, such as ApplicationStop,
-- BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
leLifecycleEventName :: Lens' LifecycleEvent (Maybe Text)
-- | A timestamp indicating when the deployment lifecycle event started.
leStartTime :: Lens' LifecycleEvent (Maybe UTCTime)
-- | Diagnostic information about the deployment lifecycle event.
leDiagnostics :: Lens' LifecycleEvent (Maybe Diagnostics)
-- | A timestamp indicating when the deployment lifecycle event ended.
leEndTime :: Lens' LifecycleEvent (Maybe UTCTime)
-- | Information about the Elastic Load Balancing load balancer or target
-- group used in a deployment.
--
-- See: loadBalancerInfo smart constructor.
data LoadBalancerInfo
-- | Creates a value of LoadBalancerInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lbiElbInfoList - An array containing 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.
-- - lbiTargetGroupInfoList - An array containing 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.
--
loadBalancerInfo :: LoadBalancerInfo
-- | An array containing 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.
lbiElbInfoList :: Lens' LoadBalancerInfo [ELBInfo]
-- | An array containing 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.
lbiTargetGroupInfoList :: Lens' LoadBalancerInfo [TargetGroupInfo]
-- | Information about minimum healthy instance.
--
-- See: minimumHealthyHosts smart constructor.
data MinimumHealthyHosts
-- | Creates a value of MinimumHealthyHosts with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - mhhValue - The minimum healthy instance value.
-- - mhhType - The minimum healthy instance type: * HOST_COUNT:
-- The minimum number of healthy instance as an absolute value. *
-- FLEET_PERCENT: The minimum number of healthy instance as a percentage
-- of the total number of instance in the deployment. In an example of
-- nine instance, if a HOST_COUNT of six is specified, deploy to up to
-- three instances at a time. The deployment will be 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
-- instance at a time. The deployment will be successful if four or more
-- instance are deployed to successfully; otherwise, the deployment
-- fails. For more information, see AWS CodeDeploy Instance Health
-- in the AWS CodeDeploy User Guide .
--
minimumHealthyHosts :: MinimumHealthyHosts
-- | The minimum healthy instance value.
mhhValue :: Lens' MinimumHealthyHosts (Maybe Int)
-- | The minimum healthy instance type: * HOST_COUNT: The minimum number of
-- healthy instance as an absolute value. * FLEET_PERCENT: The minimum
-- number of healthy instance as a percentage of the total number of
-- instance in the deployment. In an example of nine instance, if a
-- HOST_COUNT of six is specified, deploy to up to three instances at a
-- time. The deployment will be 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 instance at a
-- time. The deployment will be successful if four or more instance are
-- deployed to successfully; otherwise, the deployment fails. For more
-- information, see AWS CodeDeploy Instance Health in the AWS
-- CodeDeploy User Guide .
mhhType :: Lens' MinimumHealthyHosts (Maybe MinimumHealthyHostsType)
-- | Information about groups of on-premises instance tags.
--
-- See: onPremisesTagSet smart constructor.
data OnPremisesTagSet
-- | Creates a value of OnPremisesTagSet with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - optsOnPremisesTagSetList - A list containing other lists of
-- on-premises instance tag groups. In order for an instance to be
-- included in the deployment group, it must be identified by all the tag
-- groups in the list.
--
onPremisesTagSet :: OnPremisesTagSet
-- | A list containing other lists of on-premises instance tag groups. In
-- order for an instance to be included in the deployment group, it must
-- be identified by all the tag groups in the list.
optsOnPremisesTagSetList :: Lens' OnPremisesTagSet [[TagFilter]]
-- | A revision for an AWS Lambda deployment that is a YAML-formatted or
-- JSON-formatted string. For AWS Lambda deployments, the revision is the
-- same as the AppSpec file.
--
-- See: rawString smart constructor.
data RawString
-- | Creates a value of RawString with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - rsContent - 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.
-- - rsSha256 - The SHA256 hash value of the revision that is
-- specified as a RawString.
--
rawString :: 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.
rsContent :: Lens' RawString (Maybe Text)
-- | The SHA256 hash value of the revision that is specified as a
-- RawString.
rsSha256 :: Lens' RawString (Maybe Text)
-- | Information about an application revision.
--
-- See: revisionInfo smart constructor.
data RevisionInfo
-- | Creates a value of RevisionInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - riGenericRevisionInfo - Information about an application
-- revision, including usage details and associated deployment
-- groups.
-- - riRevisionLocation - Information about the location and
-- type of an application revision.
--
revisionInfo :: RevisionInfo
-- | Information about an application revision, including usage details and
-- associated deployment groups.
riGenericRevisionInfo :: Lens' RevisionInfo (Maybe GenericRevisionInfo)
-- | Information about the location and type of an application revision.
riRevisionLocation :: Lens' RevisionInfo (Maybe RevisionLocation)
-- | Information about the location of an application revision.
--
-- See: revisionLocation smart constructor.
data RevisionLocation
-- | Creates a value of RevisionLocation with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - rlString - Information about the location of an AWS Lambda
-- deployment revision stored as a RawString.
-- - rlRevisionType - 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 (AWS Lambda deployments
-- only)
-- - rlS3Location - Information about the location of a revision
-- stored in Amazon S3.
-- - rlGitHubLocation - Information about the location of
-- application artifacts stored in GitHub.
--
revisionLocation :: RevisionLocation
-- | Information about the location of an AWS Lambda deployment revision
-- stored as a RawString.
rlString :: Lens' RevisionLocation (Maybe RawString)
-- | 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 (AWS Lambda deployments only)
rlRevisionType :: Lens' RevisionLocation (Maybe RevisionLocationType)
-- | Information about the location of a revision stored in Amazon S3.
rlS3Location :: Lens' RevisionLocation (Maybe S3Location)
-- | Information about the location of application artifacts stored in
-- GitHub.
rlGitHubLocation :: Lens' RevisionLocation (Maybe GitHubLocation)
-- | Information about a deployment rollback.
--
-- See: rollbackInfo smart constructor.
data RollbackInfo
-- | Creates a value of RollbackInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - riRollbackTriggeringDeploymentId - The deployment ID of the
-- deployment that was underway and triggered a rollback deployment
-- because it failed or was stopped.
-- - riRollbackMessage - Information describing the status of a
-- deployment rollback; for example, whether the deployment can't be
-- rolled back, is in progress, failed, or succeeded.
-- - riRollbackDeploymentId - The ID of the deployment
-- rollback.
--
rollbackInfo :: RollbackInfo
-- | The deployment ID of the deployment that was underway and triggered a
-- rollback deployment because it failed or was stopped.
riRollbackTriggeringDeploymentId :: Lens' RollbackInfo (Maybe Text)
-- | Information describing the status of a deployment rollback; for
-- example, whether the deployment can't be rolled back, is in progress,
-- failed, or succeeded.
riRollbackMessage :: Lens' RollbackInfo (Maybe Text)
-- | The ID of the deployment rollback.
riRollbackDeploymentId :: Lens' RollbackInfo (Maybe Text)
-- | Information about the location of application artifacts stored in
-- Amazon S3.
--
-- See: s3Location smart constructor.
data S3Location
-- | Creates a value of S3Location with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - slBundleType - 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.
-- - slETag - 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 will be
-- skipped.
-- - slBucket - The name of the Amazon S3 bucket where the
-- application revision is stored.
-- - slKey - The name of the Amazon S3 object that represents
-- the bundled artifacts for the application revision.
-- - slVersion - 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 will use the most recent version
-- by default.
--
s3Location :: S3Location
-- | 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.
slBundleType :: 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 will be skipped.
slETag :: Lens' S3Location (Maybe Text)
-- | The name of the Amazon S3 bucket where the application revision is
-- stored.
slBucket :: Lens' S3Location (Maybe Text)
-- | The name of the Amazon S3 object that represents the bundled artifacts
-- for the application revision.
slKey :: 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 will use the most recent version by default.
slVersion :: Lens' S3Location (Maybe Text)
-- | Information about a tag.
--
-- See: tag smart constructor.
data Tag
-- | Creates a value of Tag with the minimum fields required to make
-- a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
tag :: Tag
-- | The tag's value.
tagValue :: Lens' Tag (Maybe Text)
-- | The tag's key.
tagKey :: Lens' Tag (Maybe Text)
-- | Information about an on-premises instance tag filter.
--
-- See: tagFilter smart constructor.
data TagFilter
-- | Creates a value of TagFilter with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tfValue - The on-premises instance tag filter value.
-- - tfKey - The on-premises instance tag filter key.
-- - tfType - The on-premises instance tag filter type: *
-- KEY_ONLY: Key only. * VALUE_ONLY: Value only. * KEY_AND_VALUE: Key and
-- value.
--
tagFilter :: TagFilter
-- | The on-premises instance tag filter value.
tfValue :: Lens' TagFilter (Maybe Text)
-- | The on-premises instance tag filter key.
tfKey :: 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.
tfType :: Lens' TagFilter (Maybe TagFilterType)
-- | 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: targetGroupInfo smart constructor.
data TargetGroupInfo
-- | Creates a value of TargetGroupInfo with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tgiName - 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
-- 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 completes.
--
targetGroupInfo :: 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 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
-- completes.
tgiName :: Lens' TargetGroupInfo (Maybe Text)
-- | Information about the instances to be used in the replacement
-- environment in a blue/green deployment.
--
-- See: targetInstances smart constructor.
data TargetInstances
-- | Creates a value of TargetInstances with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tiEc2TagSet - Information about the groups of 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.
-- - tiTagFilters - 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.
-- - tiAutoScalingGroups - The names of one or more Auto Scaling
-- groups to identify a replacement environment for a blue/green
-- deployment.
--
targetInstances :: TargetInstances
-- | Information about the groups of 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.
tiEc2TagSet :: 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.
tiTagFilters :: Lens' TargetInstances [EC2TagFilter]
-- | The names of one or more Auto Scaling groups to identify a replacement
-- environment for a blue/green deployment.
tiAutoScalingGroups :: Lens' TargetInstances [Text]
-- | A configuration that shifts traffic from one version of a Lambda
-- function to another in two increments. The original and target Lambda
-- function versions are specified in the deployment's AppSpec file.
--
-- See: timeBasedCanary smart constructor.
data TimeBasedCanary
-- | Creates a value of TimeBasedCanary with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tbcCanaryInterval - The number of minutes between the first
-- and second traffic shifts of a TimeBasedCanary
-- deployment.
-- - tbcCanaryPercentage - The percentage of traffic to shift in
-- the first increment of a TimeBasedCanary deployment.
--
timeBasedCanary :: TimeBasedCanary
-- | The number of minutes between the first and second traffic shifts of a
-- TimeBasedCanary deployment.
tbcCanaryInterval :: Lens' TimeBasedCanary (Maybe Int)
-- | The percentage of traffic to shift in the first increment of a
-- TimeBasedCanary deployment.
tbcCanaryPercentage :: Lens' TimeBasedCanary (Maybe Int)
-- | A configuration that shifts traffic from one version of a Lambda
-- function to another in equal increments, with an equal number of
-- minutes between each increment. The original and target Lambda
-- function versions are specified in the deployment's AppSpec file.
--
-- See: timeBasedLinear smart constructor.
data TimeBasedLinear
-- | Creates a value of TimeBasedLinear with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tblLinearInterval - The number of minutes between each
-- incremental traffic shift of a TimeBasedLinear
-- deployment.
-- - tblLinearPercentage - The percentage of traffic that is
-- shifted at the start of each increment of a TimeBasedLinear
-- deployment.
--
timeBasedLinear :: TimeBasedLinear
-- | The number of minutes between each incremental traffic shift of a
-- TimeBasedLinear deployment.
tblLinearInterval :: Lens' TimeBasedLinear (Maybe Int)
-- | The percentage of traffic that is shifted at the start of each
-- increment of a TimeBasedLinear deployment.
tblLinearPercentage :: Lens' TimeBasedLinear (Maybe Int)
-- | Information about a time range.
--
-- See: timeRange smart constructor.
data TimeRange
-- | Creates a value of TimeRange with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - trStart - The start time of the time range.
-- - trEnd - The end time of the time range.
--
timeRange :: TimeRange
-- | The start time of the time range.
trStart :: Lens' TimeRange (Maybe UTCTime)
-- | The end time of the time range.
trEnd :: Lens' TimeRange (Maybe UTCTime)
-- | The configuration that specifies how traffic is shifted from one
-- version of a Lambda function to another version during an AWS Lambda
-- deployment.
--
-- See: trafficRoutingConfig smart constructor.
data TrafficRoutingConfig
-- | Creates a value of TrafficRoutingConfig with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - trcTimeBasedCanary - A configuration that shifts traffic
-- from one version of a Lambda function to another in two increments.
-- The original and target Lambda function versions are specified in the
-- deployment's AppSpec file.
-- - trcTimeBasedLinear - A configuration that shifts traffic
-- from one version of a Lambda function to another in equal increments,
-- with an equal number of minutes between each increment. The original
-- and target Lambda function versions are specified in the deployment's
-- AppSpec file.
-- - trcType - The type of traffic shifting
-- (TimeBasedCanary or TimeBasedLinear ) used by a
-- deployment configuration .
--
trafficRoutingConfig :: TrafficRoutingConfig
-- | A configuration that shifts traffic from one version of a Lambda
-- function to another in two increments. The original and target Lambda
-- function versions are specified in the deployment's AppSpec file.
trcTimeBasedCanary :: Lens' TrafficRoutingConfig (Maybe TimeBasedCanary)
-- | A configuration that shifts traffic from one version of a Lambda
-- function to another in equal increments, with an equal number of
-- minutes between each increment. The original and target Lambda
-- function versions are specified in the deployment's AppSpec file.
trcTimeBasedLinear :: Lens' TrafficRoutingConfig (Maybe TimeBasedLinear)
-- | The type of traffic shifting (TimeBasedCanary or
-- TimeBasedLinear ) used by a deployment configuration .
trcType :: Lens' TrafficRoutingConfig (Maybe TrafficRoutingType)
-- | Information about notification triggers for the deployment group.
--
-- See: triggerConfig smart constructor.
data TriggerConfig
-- | Creates a value of TriggerConfig with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tcTriggerName - The name of the notification trigger.
-- - tcTriggerEvents - The event type or types for which
-- notifications are triggered.
-- - tcTriggerTargetARN - The ARN of the Amazon Simple
-- Notification Service topic through which notifications about
-- deployment or instance events are sent.
--
triggerConfig :: TriggerConfig
-- | The name of the notification trigger.
tcTriggerName :: Lens' TriggerConfig (Maybe Text)
-- | The event type or types for which notifications are triggered.
tcTriggerEvents :: Lens' TriggerConfig [TriggerEventType]
-- | The ARN of the Amazon Simple Notification Service topic through which
-- notifications about deployment or instance events are sent.
tcTriggerTargetARN :: Lens' TriggerConfig (Maybe Text)