Safe Haskell | None |
---|---|
Language | Haskell2010 |
- Service
- GenericRevisionInfo
- ApplicationInfo
- BundleType
- TimeRange
- DeploymentCreator
- InstanceSummary
- AutoScalingGroup
- DeploymentGroupInfo
- ApplicationRevisionSortBy
- MinimumHealthyHosts
- ListStateFilterAction
- LifecycleErrorCode
- RevisionLocation
- LifecycleEventStatus
- EC2TagFilter
- Diagnostics
- StopStatus
- ErrorInformation
- SortOrder
- DeploymentInfo
- LifecycleEvent
- DeploymentOverview
- ErrorCode
- DeploymentConfigInfo
- InstanceStatus
- DeploymentStatus
- S3Location
- MinimumHealthyHostsType
- GitHubLocation
- RevisionLocationType
- EC2TagFilterType
- data CodeDeploy
- data JSONError :: *
- data GenericRevisionInfo
- genericRevisionInfo :: GenericRevisionInfo
- griDeploymentGroups :: Lens' GenericRevisionInfo [Text]
- griDescription :: Lens' GenericRevisionInfo (Maybe Text)
- griFirstUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
- griLastUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
- griRegisterTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
- data ApplicationInfo
- applicationInfo :: ApplicationInfo
- aiApplicationId :: Lens' ApplicationInfo (Maybe Text)
- aiApplicationName :: Lens' ApplicationInfo (Maybe Text)
- aiCreateTime :: Lens' ApplicationInfo (Maybe UTCTime)
- aiLinkedToGitHub :: Lens' ApplicationInfo (Maybe Bool)
- data BundleType
- data TimeRange
- timeRange :: TimeRange
- trEnd :: Lens' TimeRange (Maybe UTCTime)
- trStart :: Lens' TimeRange (Maybe UTCTime)
- data DeploymentCreator
- = Autoscaling
- | User
- data InstanceSummary
- instanceSummary :: InstanceSummary
- isDeploymentId :: Lens' InstanceSummary (Maybe Text)
- isInstanceId :: Lens' InstanceSummary (Maybe Text)
- isLastUpdatedAt :: Lens' InstanceSummary (Maybe UTCTime)
- isLifecycleEvents :: Lens' InstanceSummary [LifecycleEvent]
- isStatus :: Lens' InstanceSummary (Maybe InstanceStatus)
- data AutoScalingGroup
- autoScalingGroup :: AutoScalingGroup
- asgHook :: Lens' AutoScalingGroup (Maybe Text)
- asgName :: Lens' AutoScalingGroup (Maybe Text)
- data DeploymentGroupInfo
- deploymentGroupInfo :: DeploymentGroupInfo
- dgiApplicationName :: Lens' DeploymentGroupInfo (Maybe Text)
- dgiAutoScalingGroups :: Lens' DeploymentGroupInfo [AutoScalingGroup]
- dgiDeploymentConfigName :: Lens' DeploymentGroupInfo (Maybe Text)
- dgiDeploymentGroupId :: Lens' DeploymentGroupInfo (Maybe Text)
- dgiDeploymentGroupName :: Lens' DeploymentGroupInfo (Maybe Text)
- dgiEc2TagFilters :: Lens' DeploymentGroupInfo [EC2TagFilter]
- dgiServiceRoleArn :: Lens' DeploymentGroupInfo (Maybe Text)
- dgiTargetRevision :: Lens' DeploymentGroupInfo (Maybe RevisionLocation)
- data ApplicationRevisionSortBy
- data MinimumHealthyHosts
- minimumHealthyHosts :: MinimumHealthyHosts
- mhhType :: Lens' MinimumHealthyHosts (Maybe MinimumHealthyHostsType)
- mhhValue :: Lens' MinimumHealthyHosts (Maybe Int)
- data ListStateFilterAction
- data LifecycleErrorCode
- data RevisionLocation
- revisionLocation :: RevisionLocation
- rlGitHubLocation :: Lens' RevisionLocation (Maybe GitHubLocation)
- rlRevisionType :: Lens' RevisionLocation (Maybe RevisionLocationType)
- rlS3Location :: Lens' RevisionLocation (Maybe S3Location)
- data LifecycleEventStatus
- data EC2TagFilter
- ec2TagFilter :: EC2TagFilter
- ectfKey :: Lens' EC2TagFilter (Maybe Text)
- ectfType :: Lens' EC2TagFilter (Maybe EC2TagFilterType)
- ectfValue :: Lens' EC2TagFilter (Maybe Text)
- data Diagnostics
- diagnostics :: Diagnostics
- dErrorCode :: Lens' Diagnostics (Maybe LifecycleErrorCode)
- dLogTail :: Lens' Diagnostics (Maybe Text)
- dMessage :: Lens' Diagnostics (Maybe Text)
- dScriptName :: Lens' Diagnostics (Maybe Text)
- data StopStatus
- data ErrorInformation
- errorInformation :: ErrorInformation
- eiCode :: Lens' ErrorInformation (Maybe ErrorCode)
- eiMessage :: Lens' ErrorInformation (Maybe Text)
- data SortOrder
- data DeploymentInfo
- deploymentInfo :: DeploymentInfo
- diApplicationName :: Lens' DeploymentInfo (Maybe Text)
- diCompleteTime :: Lens' DeploymentInfo (Maybe UTCTime)
- diCreateTime :: Lens' DeploymentInfo (Maybe UTCTime)
- diCreator :: Lens' DeploymentInfo (Maybe DeploymentCreator)
- diDeploymentConfigName :: Lens' DeploymentInfo (Maybe Text)
- diDeploymentGroupName :: Lens' DeploymentInfo (Maybe Text)
- diDeploymentId :: Lens' DeploymentInfo (Maybe Text)
- diDeploymentOverview :: Lens' DeploymentInfo (Maybe DeploymentOverview)
- diDescription :: Lens' DeploymentInfo (Maybe Text)
- diErrorInformation :: Lens' DeploymentInfo (Maybe ErrorInformation)
- diIgnoreApplicationStopFailures :: Lens' DeploymentInfo (Maybe Bool)
- diRevision :: Lens' DeploymentInfo (Maybe RevisionLocation)
- diStartTime :: Lens' DeploymentInfo (Maybe UTCTime)
- diStatus :: Lens' DeploymentInfo (Maybe DeploymentStatus)
- data LifecycleEvent
- lifecycleEvent :: LifecycleEvent
- leDiagnostics :: Lens' LifecycleEvent (Maybe Diagnostics)
- leEndTime :: Lens' LifecycleEvent (Maybe UTCTime)
- leLifecycleEventName :: Lens' LifecycleEvent (Maybe Text)
- leStartTime :: Lens' LifecycleEvent (Maybe UTCTime)
- leStatus :: Lens' LifecycleEvent (Maybe LifecycleEventStatus)
- data DeploymentOverview
- deploymentOverview :: DeploymentOverview
- doFailed :: Lens' DeploymentOverview (Maybe Integer)
- doInProgress :: Lens' DeploymentOverview (Maybe Integer)
- doPending :: Lens' DeploymentOverview (Maybe Integer)
- doSkipped :: Lens' DeploymentOverview (Maybe Integer)
- doSucceeded :: Lens' DeploymentOverview (Maybe Integer)
- data ErrorCode
- data DeploymentConfigInfo
- deploymentConfigInfo :: DeploymentConfigInfo
- dciCreateTime :: Lens' DeploymentConfigInfo (Maybe UTCTime)
- dciDeploymentConfigId :: Lens' DeploymentConfigInfo (Maybe Text)
- dciDeploymentConfigName :: Lens' DeploymentConfigInfo (Maybe Text)
- dciMinimumHealthyHosts :: Lens' DeploymentConfigInfo (Maybe MinimumHealthyHosts)
- data InstanceStatus
- data DeploymentStatus
- data S3Location
- s3Location :: S3Location
- slBucket :: Lens' S3Location (Maybe Text)
- slBundleType :: Lens' S3Location (Maybe BundleType)
- slETag :: Lens' S3Location (Maybe Text)
- slKey :: Lens' S3Location (Maybe Text)
- slVersion :: Lens' S3Location (Maybe Text)
- data MinimumHealthyHostsType
- data GitHubLocation
- gitHubLocation :: GitHubLocation
- ghlCommitId :: Lens' GitHubLocation (Maybe Text)
- ghlRepository :: Lens' GitHubLocation (Maybe Text)
- data RevisionLocationType
- data EC2TagFilterType
Service
data CodeDeploy Source
Version 2014-10-06
of the Amazon CodeDeploy service.
AWSService CodeDeploy | |
type Sg CodeDeploy = V4 | |
type Er CodeDeploy = JSONError |
Error
data JSONError :: *
GenericRevisionInfo
genericRevisionInfo :: GenericRevisionInfo Source
GenericRevisionInfo
constructor.
The fields accessible through corresponding lenses are:
griDeploymentGroups
::
[Text
]griDescription
::
Maybe
Text
griFirstUsedTime
::
Maybe
UTCTime
griLastUsedTime
::
Maybe
UTCTime
griRegisterTime
::
Maybe
UTCTime
griDeploymentGroups :: Lens' GenericRevisionInfo [Text] Source
A list of deployment groups that use this revision.
griDescription :: Lens' GenericRevisionInfo (Maybe Text) Source
A comment about the revision.
griFirstUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime) Source
When the revision was first used by AWS CodeDeploy.
griLastUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime) Source
When the revision was last used by AWS CodeDeploy.
griRegisterTime :: Lens' GenericRevisionInfo (Maybe UTCTime) Source
When the revision was registered with AWS CodeDeploy.
ApplicationInfo
data ApplicationInfo Source
applicationInfo :: ApplicationInfo Source
ApplicationInfo
constructor.
The fields accessible through corresponding lenses are:
aiApplicationId
::
Maybe
Text
aiApplicationName
::
Maybe
Text
aiCreateTime
::
Maybe
UTCTime
aiLinkedToGitHub
::
Maybe
Bool
aiApplicationId :: Lens' ApplicationInfo (Maybe Text) Source
The application ID.
aiApplicationName :: Lens' ApplicationInfo (Maybe Text) Source
The application name.
aiCreateTime :: Lens' ApplicationInfo (Maybe UTCTime) Source
The time that the application was created.
aiLinkedToGitHub :: Lens' ApplicationInfo (Maybe Bool) Source
True if the user has authenticated with GitHub for the specified application; otherwise, false.
BundleType
data BundleType Source
Enum BundleType | |
Eq BundleType | |
Ord BundleType | |
Read BundleType | |
Show BundleType | |
Generic BundleType | |
Hashable BundleType | |
ToText BundleType | |
FromText BundleType | |
ToQuery BundleType | |
ToHeader BundleType | |
ToByteString BundleType | |
ToJSON BundleType | |
FromJSON BundleType | |
type Rep BundleType |
TimeRange
trEnd :: Lens' TimeRange (Maybe UTCTime) Source
The time range's end time.
Specify null to leave the time range's end time open-ended.
trStart :: Lens' TimeRange (Maybe UTCTime) Source
The time range's start time.
Specify null to leave the time range's start time open-ended.
DeploymentCreator
data DeploymentCreator Source
Autoscaling | autoscaling |
User | user |
Enum DeploymentCreator | |
Eq DeploymentCreator | |
Ord DeploymentCreator | |
Read DeploymentCreator | |
Show DeploymentCreator | |
Generic DeploymentCreator | |
Hashable DeploymentCreator | |
ToText DeploymentCreator | |
FromText DeploymentCreator | |
ToQuery DeploymentCreator | |
ToHeader DeploymentCreator | |
ToByteString DeploymentCreator | |
ToJSON DeploymentCreator | |
FromJSON DeploymentCreator | |
type Rep DeploymentCreator |
InstanceSummary
data InstanceSummary Source
Eq InstanceSummary | |
Read InstanceSummary | |
Show InstanceSummary | |
ToJSON InstanceSummary | |
FromJSON InstanceSummary |
instanceSummary :: InstanceSummary Source
InstanceSummary
constructor.
The fields accessible through corresponding lenses are:
isDeploymentId
::
Maybe
Text
isInstanceId
::
Maybe
Text
isLastUpdatedAt
::
Maybe
UTCTime
isLifecycleEvents
::
[LifecycleEvent
]isStatus
::
Maybe
InstanceStatus
isDeploymentId :: Lens' InstanceSummary (Maybe Text) Source
The deployment ID.
isInstanceId :: Lens' InstanceSummary (Maybe Text) Source
The instance ID.
isLastUpdatedAt :: Lens' InstanceSummary (Maybe UTCTime) Source
A timestamp indicating when the instance information was last updated.
isLifecycleEvents :: Lens' InstanceSummary [LifecycleEvent] Source
A list of lifecycle events for this instance.
isStatus :: Lens' InstanceSummary (Maybe InstanceStatus) Source
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.
AutoScalingGroup
data AutoScalingGroup Source
autoScalingGroup :: AutoScalingGroup Source
AutoScalingGroup
constructor.
The fields accessible through corresponding lenses are:
asgHook :: Lens' AutoScalingGroup (Maybe Text) Source
An Auto Scaling lifecycle event hook name.
asgName :: Lens' AutoScalingGroup (Maybe Text) Source
The Auto Scaling group name.
DeploymentGroupInfo
deploymentGroupInfo :: DeploymentGroupInfo Source
DeploymentGroupInfo
constructor.
The fields accessible through corresponding lenses are:
dgiApplicationName
::
Maybe
Text
dgiAutoScalingGroups
::
[AutoScalingGroup
]dgiDeploymentConfigName
::
Maybe
Text
dgiDeploymentGroupId
::
Maybe
Text
dgiDeploymentGroupName
::
Maybe
Text
dgiEc2TagFilters
::
[EC2TagFilter
]dgiServiceRoleArn
::
Maybe
Text
dgiTargetRevision
::
Maybe
RevisionLocation
dgiApplicationName :: Lens' DeploymentGroupInfo (Maybe Text) Source
The application name.
dgiAutoScalingGroups :: Lens' DeploymentGroupInfo [AutoScalingGroup] Source
A list of associated Auto Scaling groups.
dgiDeploymentConfigName :: Lens' DeploymentGroupInfo (Maybe Text) Source
The deployment configuration name.
dgiDeploymentGroupId :: Lens' DeploymentGroupInfo (Maybe Text) Source
The deployment group ID.
dgiDeploymentGroupName :: Lens' DeploymentGroupInfo (Maybe Text) Source
The deployment group name.
dgiEc2TagFilters :: Lens' DeploymentGroupInfo [EC2TagFilter] Source
The Amazon EC2 tags to filter on.
dgiServiceRoleArn :: Lens' DeploymentGroupInfo (Maybe Text) Source
A service role ARN.
dgiTargetRevision :: Lens' DeploymentGroupInfo (Maybe RevisionLocation) Source
Information about the deployment group's target revision, including the revision's type and its location.
ApplicationRevisionSortBy
data ApplicationRevisionSortBy Source
FirstUsedTime | firstUsedTime |
LastUsedTime | lastUsedTime |
RegisterTime | registerTime |
MinimumHealthyHosts
minimumHealthyHosts :: MinimumHealthyHosts Source
MinimumHealthyHosts
constructor.
The fields accessible through corresponding lenses are:
mhhType :: Lens' MinimumHealthyHosts (Maybe MinimumHealthyHostsType) Source
The minimum healthy instances type:
HOST_COUNT: The minimum number of healthy instances, as an absolute value. FLEET_PERCENT: The minimum number of healthy instances, as a percentage of the total number of instances in the deployment. For example, for 9 Amazon EC2 instances, if a HOST_COUNT of 6 is specified, deploy to up to 3 instances at a time. The deployment succeeds if 6 or more instances are successfully deployed to; otherwise, the deployment fails. If a FLEET_PERCENT of 40 is specified, deploy to up to 5 instances at a time. The deployment succeeds if 4 or more instances are successfully deployed to; otherwise, the deployment fails.
In a call to the get deployment configuration operation, CodeDeployDefault.OneAtATime will return a minimum healthy instances type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one Amazon EC2 instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.)
mhhValue :: Lens' MinimumHealthyHosts (Maybe Int) Source
The minimum healthy instances value.
ListStateFilterAction
data ListStateFilterAction Source
Enum ListStateFilterAction | |
Eq ListStateFilterAction | |
Ord ListStateFilterAction | |
Read ListStateFilterAction | |
Show ListStateFilterAction | |
Generic ListStateFilterAction | |
Hashable ListStateFilterAction | |
ToText ListStateFilterAction | |
FromText ListStateFilterAction | |
ToQuery ListStateFilterAction | |
ToHeader ListStateFilterAction | |
ToByteString ListStateFilterAction | |
ToJSON ListStateFilterAction | |
FromJSON ListStateFilterAction | |
type Rep ListStateFilterAction |
LifecycleErrorCode
data LifecycleErrorCode Source
ScriptFailed | ScriptFailed |
ScriptMissing | ScriptMissing |
ScriptNotExecutable | ScriptNotExecutable |
ScriptTimedOut | ScriptTimedOut |
Success | Success |
UnknownError | UnknownError |
Enum LifecycleErrorCode | |
Eq LifecycleErrorCode | |
Ord LifecycleErrorCode | |
Read LifecycleErrorCode | |
Show LifecycleErrorCode | |
Generic LifecycleErrorCode | |
Hashable LifecycleErrorCode | |
ToText LifecycleErrorCode | |
FromText LifecycleErrorCode | |
ToQuery LifecycleErrorCode | |
ToHeader LifecycleErrorCode | |
ToByteString LifecycleErrorCode | |
ToJSON LifecycleErrorCode | |
FromJSON LifecycleErrorCode | |
type Rep LifecycleErrorCode |
RevisionLocation
data RevisionLocation Source
Eq RevisionLocation | |
Read RevisionLocation | |
Show RevisionLocation | |
ToJSON RevisionLocation | |
FromJSON RevisionLocation |
revisionLocation :: RevisionLocation Source
RevisionLocation
constructor.
The fields accessible through corresponding lenses are:
rlGitHubLocation :: Lens' RevisionLocation (Maybe GitHubLocation) Source
rlRevisionType :: Lens' RevisionLocation (Maybe RevisionLocationType) Source
The application revision's type:
S3: An application revision stored in Amazon S3. GitHub: An application revision stored in GitHub.
rlS3Location :: Lens' RevisionLocation (Maybe S3Location) Source
LifecycleEventStatus
data LifecycleEventStatus Source
Enum LifecycleEventStatus | |
Eq LifecycleEventStatus | |
Ord LifecycleEventStatus | |
Read LifecycleEventStatus | |
Show LifecycleEventStatus | |
Generic LifecycleEventStatus | |
Hashable LifecycleEventStatus | |
ToText LifecycleEventStatus | |
FromText LifecycleEventStatus | |
ToQuery LifecycleEventStatus | |
ToHeader LifecycleEventStatus | |
ToByteString LifecycleEventStatus | |
ToJSON LifecycleEventStatus | |
FromJSON LifecycleEventStatus | |
type Rep LifecycleEventStatus |
EC2TagFilter
data EC2TagFilter Source
Eq EC2TagFilter | |
Read EC2TagFilter | |
Show EC2TagFilter | |
ToJSON EC2TagFilter | |
FromJSON EC2TagFilter |
ec2TagFilter :: EC2TagFilter Source
EC2TagFilter
constructor.
The fields accessible through corresponding lenses are:
ectfKey :: Lens' EC2TagFilter (Maybe Text) Source
The Amazon EC2 tag filter key.
ectfType :: Lens' EC2TagFilter (Maybe EC2TagFilterType) Source
The Amazon EC2 tag filter type:
KEY_ONLY: Key only. VALUE_ONLY: Value only. KEY_AND_VALUE: Key and value.
ectfValue :: Lens' EC2TagFilter (Maybe Text) Source
The Amazon EC2 tag filter value.
Diagnostics
data Diagnostics Source
Eq Diagnostics | |
Read Diagnostics | |
Show Diagnostics | |
ToJSON Diagnostics | |
FromJSON Diagnostics |
diagnostics :: Diagnostics Source
Diagnostics
constructor.
The fields accessible through corresponding lenses are:
dErrorCode
::
Maybe
LifecycleErrorCode
dLogTail
::
Maybe
Text
dMessage
::
Maybe
Text
dScriptName
::
Maybe
Text
dErrorCode :: Lens' Diagnostics (Maybe LifecycleErrorCode) Source
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.
dLogTail :: Lens' Diagnostics (Maybe Text) Source
The last portion of the associated diagnostic log.
dMessage :: Lens' Diagnostics (Maybe Text) Source
The message associated with the error.
dScriptName :: Lens' Diagnostics (Maybe Text) Source
The name of the script.
StopStatus
data StopStatus Source
SSPending | Pending |
SSSucceeded | Succeeded |
Enum StopStatus | |
Eq StopStatus | |
Ord StopStatus | |
Read StopStatus | |
Show StopStatus | |
Generic StopStatus | |
Hashable StopStatus | |
ToText StopStatus | |
FromText StopStatus | |
ToQuery StopStatus | |
ToHeader StopStatus | |
ToByteString StopStatus | |
ToJSON StopStatus | |
FromJSON StopStatus | |
type Rep StopStatus |
ErrorInformation
data ErrorInformation Source
Eq ErrorInformation | |
Read ErrorInformation | |
Show ErrorInformation | |
ToJSON ErrorInformation | |
FromJSON ErrorInformation |
eiCode :: Lens' ErrorInformation (Maybe ErrorCode) Source
The error code:
APPLICATION_MISSING: The application was missing. Note that this error code will most likely be raised if the application is deleted after the deployment is created but before it starts. DEPLOYMENT_GROUP_MISSING: The deployment group was missing. Note that this error code will most likely be raised if the deployment group is deleted after the deployment is created but before it starts. REVISION_MISSING: The revision ID was missing. Note that this error code will most likely be raised if the revision is deleted after the deployment is created but before it starts. IAM_ROLE_MISSING: The service role cannot be accessed. IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions. OVER_MAX_INSTANCES: The maximum number of instances was exceeded. NO_INSTANCES: No instances were specified, or no instances can be found. TIMEOUT: The deployment has timed out. HEALTH_CONSTRAINTS_INVALID: The revision can never successfully deploy under the instance health constraints as specified. HEALTH_CONSTRAINTS: The deployment failed on too many instances to be able to successfully deploy under the specified instance health constraints. INTERNAL_ERROR: There was an internal error.
eiMessage :: Lens' ErrorInformation (Maybe Text) Source
An accompanying error message.
SortOrder
Ascending | ascending |
Descending | descending |
DeploymentInfo
data DeploymentInfo Source
Eq DeploymentInfo | |
Read DeploymentInfo | |
Show DeploymentInfo | |
ToJSON DeploymentInfo | |
FromJSON DeploymentInfo |
deploymentInfo :: DeploymentInfo Source
DeploymentInfo
constructor.
The fields accessible through corresponding lenses are:
diApplicationName
::
Maybe
Text
diCompleteTime
::
Maybe
UTCTime
diCreateTime
::
Maybe
UTCTime
diCreator
::
Maybe
DeploymentCreator
diDeploymentConfigName
::
Maybe
Text
diDeploymentGroupName
::
Maybe
Text
diDeploymentId
::
Maybe
Text
diDeploymentOverview
::
Maybe
DeploymentOverview
diDescription
::
Maybe
Text
diErrorInformation
::
Maybe
ErrorInformation
diIgnoreApplicationStopFailures
::
Maybe
Bool
diRevision
::
Maybe
RevisionLocation
diStartTime
::
Maybe
UTCTime
diStatus
::
Maybe
DeploymentStatus
diApplicationName :: Lens' DeploymentInfo (Maybe Text) Source
The application name.
diCompleteTime :: Lens' DeploymentInfo (Maybe UTCTime) Source
A timestamp indicating when the deployment was completed.
diCreateTime :: Lens' DeploymentInfo (Maybe UTCTime) Source
A timestamp indicating when the deployment was created.
diCreator :: Lens' DeploymentInfo (Maybe DeploymentCreator) Source
How the deployment was created:
user: A user created the deployment. autoscaling: Auto Scaling created the deployment.
diDeploymentConfigName :: Lens' DeploymentInfo (Maybe Text) Source
The deployment configuration name.
diDeploymentGroupName :: Lens' DeploymentInfo (Maybe Text) Source
The deployment group name.
diDeploymentId :: Lens' DeploymentInfo (Maybe Text) Source
The deployment ID.
diDeploymentOverview :: Lens' DeploymentInfo (Maybe DeploymentOverview) Source
A summary of the deployment status of the instances in the deployment.
diDescription :: Lens' DeploymentInfo (Maybe Text) Source
A comment about the deployment.
diErrorInformation :: Lens' DeploymentInfo (Maybe ErrorInformation) Source
Information about any error associated with this deployment.
diIgnoreApplicationStopFailures :: Lens' DeploymentInfo (Maybe Bool) Source
If true, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will not be considered to have failed to that instance 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 fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
diRevision :: Lens' DeploymentInfo (Maybe RevisionLocation) Source
Information about the location of application artifacts that are stored and the service to retrieve them from.
diStartTime :: Lens' DeploymentInfo (Maybe UTCTime) Source
A timestamp indicating when the deployment began deploying to the deployment group.
Note that 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 various back-end servers that participate in the overall deployment process.
diStatus :: Lens' DeploymentInfo (Maybe DeploymentStatus) Source
The current state of the deployment as a whole.
LifecycleEvent
data LifecycleEvent Source
Eq LifecycleEvent | |
Read LifecycleEvent | |
Show LifecycleEvent | |
ToJSON LifecycleEvent | |
FromJSON LifecycleEvent |
lifecycleEvent :: LifecycleEvent Source
LifecycleEvent
constructor.
The fields accessible through corresponding lenses are:
leDiagnostics :: Lens' LifecycleEvent (Maybe Diagnostics) Source
Diagnostic information about the deployment lifecycle event.
leEndTime :: Lens' LifecycleEvent (Maybe UTCTime) Source
A timestamp indicating when the deployment lifecycle event ended.
leLifecycleEventName :: Lens' LifecycleEvent (Maybe Text) Source
The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
leStartTime :: Lens' LifecycleEvent (Maybe UTCTime) Source
A timestamp indicating when the deployment lifecycle event started.
leStatus :: Lens' LifecycleEvent (Maybe LifecycleEventStatus) Source
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 has succeeded. Failed: The deployment lifecycle event has failed. Skipped: The deployment lifecycle event has been skipped. Unknown: The deployment lifecycle event is unknown.
DeploymentOverview
data DeploymentOverview Source
doFailed :: Lens' DeploymentOverview (Maybe Integer) Source
The number of instances that have failed in the deployment.
doInProgress :: Lens' DeploymentOverview (Maybe Integer) Source
The number of instances that are in progress in the deployment.
doPending :: Lens' DeploymentOverview (Maybe Integer) Source
The number of instances that are pending in the deployment.
doSkipped :: Lens' DeploymentOverview (Maybe Integer) Source
The number of instances that have been skipped in the deployment.
doSucceeded :: Lens' DeploymentOverview (Maybe Integer) Source
The number of instances that have succeeded in the deployment.
ErrorCode
ApplicationMissing | APPLICATION_MISSING |
DeploymentGroupMissing | DEPLOYMENT_GROUP_MISSING |
HealthConstraints | HEALTH_CONSTRAINTS |
HealthConstraintsInvalid | HEALTH_CONSTRAINTS_INVALID |
IamRoleMissing | IAM_ROLE_MISSING |
IamRolePermissions | IAM_ROLE_PERMISSIONS |
InternalError | INTERNAL_ERROR |
NoInstances | NO_INSTANCES |
OverMaxInstances | OVER_MAX_INSTANCES |
RevisionMissing | REVISION_MISSING |
Timeout | TIMEOUT |
DeploymentConfigInfo
deploymentConfigInfo :: DeploymentConfigInfo Source
DeploymentConfigInfo
constructor.
The fields accessible through corresponding lenses are:
dciCreateTime :: Lens' DeploymentConfigInfo (Maybe UTCTime) Source
The time that the deployment configuration was created.
dciDeploymentConfigId :: Lens' DeploymentConfigInfo (Maybe Text) Source
The deployment configuration ID.
dciDeploymentConfigName :: Lens' DeploymentConfigInfo (Maybe Text) Source
The deployment configuration name.
dciMinimumHealthyHosts :: Lens' DeploymentConfigInfo (Maybe MinimumHealthyHosts) Source
Information about the number or percentage of minimum healthy instances.
InstanceStatus
data InstanceStatus Source
ISFailed | Failed |
ISInProgress | InProgress |
ISPending | Pending |
ISSkipped | Skipped |
ISSucceeded | Succeeded |
ISUnknown | Unknown |
Enum InstanceStatus | |
Eq InstanceStatus | |
Ord InstanceStatus | |
Read InstanceStatus | |
Show InstanceStatus | |
Generic InstanceStatus | |
Hashable InstanceStatus | |
ToText InstanceStatus | |
FromText InstanceStatus | |
ToQuery InstanceStatus | |
ToHeader InstanceStatus | |
ToByteString InstanceStatus | |
ToJSON InstanceStatus | |
FromJSON InstanceStatus | |
type Rep InstanceStatus |
DeploymentStatus
data DeploymentStatus Source
DSCreated | Created |
DSFailed | Failed |
DSInProgress | InProgress |
DSQueued | Queued |
DSStopped | Stopped |
DSSucceeded | Succeeded |
Enum DeploymentStatus | |
Eq DeploymentStatus | |
Ord DeploymentStatus | |
Read DeploymentStatus | |
Show DeploymentStatus | |
Generic DeploymentStatus | |
Hashable DeploymentStatus | |
ToText DeploymentStatus | |
FromText DeploymentStatus | |
ToQuery DeploymentStatus | |
ToHeader DeploymentStatus | |
ToByteString DeploymentStatus | |
ToJSON DeploymentStatus | |
FromJSON DeploymentStatus | |
type Rep DeploymentStatus |
S3Location
data S3Location Source
Eq S3Location | |
Read S3Location | |
Show S3Location | |
ToJSON S3Location | |
FromJSON S3Location |
s3Location :: S3Location Source
S3Location
constructor.
The fields accessible through corresponding lenses are:
slBucket :: Lens' S3Location (Maybe Text) Source
The name of the Amazon S3 bucket where the application revision is stored.
slBundleType :: Lens' S3Location (Maybe BundleType) Source
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 :: Lens' S3Location (Maybe Text) Source
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.
slKey :: Lens' S3Location (Maybe Text) Source
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
slVersion :: Lens' S3Location (Maybe Text) Source
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.
MinimumHealthyHostsType
data MinimumHealthyHostsType Source
FleetPercent | FLEET_PERCENT |
HostCount | HOST_COUNT |
Enum MinimumHealthyHostsType | |
Eq MinimumHealthyHostsType | |
Ord MinimumHealthyHostsType | |
Read MinimumHealthyHostsType | |
Show MinimumHealthyHostsType | |
Generic MinimumHealthyHostsType | |
Hashable MinimumHealthyHostsType | |
ToText MinimumHealthyHostsType | |
FromText MinimumHealthyHostsType | |
ToQuery MinimumHealthyHostsType | |
ToHeader MinimumHealthyHostsType | |
ToByteString MinimumHealthyHostsType | |
ToJSON MinimumHealthyHostsType | |
FromJSON MinimumHealthyHostsType | |
type Rep MinimumHealthyHostsType |
GitHubLocation
data GitHubLocation Source
Eq GitHubLocation | |
Ord GitHubLocation | |
Read GitHubLocation | |
Show GitHubLocation | |
ToJSON GitHubLocation | |
FromJSON GitHubLocation |
gitHubLocation :: GitHubLocation Source
GitHubLocation
constructor.
The fields accessible through corresponding lenses are:
ghlCommitId
::
Maybe
Text
ghlRepository
::
Maybe
Text
ghlCommitId :: Lens' GitHubLocation (Maybe Text) Source
The SHA1 commit ID of the GitHub commit that references the that represents the bundled artifacts for the application revision.
ghlRepository :: Lens' GitHubLocation (Maybe Text) Source
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.
RevisionLocationType
data RevisionLocationType Source
Enum RevisionLocationType | |
Eq RevisionLocationType | |
Ord RevisionLocationType | |
Read RevisionLocationType | |
Show RevisionLocationType | |
Generic RevisionLocationType | |
Hashable RevisionLocationType | |
ToText RevisionLocationType | |
FromText RevisionLocationType | |
ToQuery RevisionLocationType | |
ToHeader RevisionLocationType | |
ToByteString RevisionLocationType | |
ToJSON RevisionLocationType | |
FromJSON RevisionLocationType | |
type Rep RevisionLocationType |
EC2TagFilterType
data EC2TagFilterType Source
KeyAndValue | KEY_AND_VALUE |
KeyOnly | KEY_ONLY |
ValueOnly | VALUE_ONLY |
Enum EC2TagFilterType | |
Eq EC2TagFilterType | |
Ord EC2TagFilterType | |
Read EC2TagFilterType | |
Show EC2TagFilterType | |
Generic EC2TagFilterType | |
Hashable EC2TagFilterType | |
ToText EC2TagFilterType | |
FromText EC2TagFilterType | |
ToQuery EC2TagFilterType | |
ToHeader EC2TagFilterType | |
ToByteString EC2TagFilterType | |
ToJSON EC2TagFilterType | |
FromJSON EC2TagFilterType | |
type Rep EC2TagFilterType |