Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- LifecycleHookLimitExceededException
- InvalidTimeRangeException
- InvalidTagException
- InstanceNameAlreadyRegisteredException
- IAMUserARNRequiredException
- InvalidDeploymentGroupNameException
- DescriptionTooLongException
- InvalidIAMUserARNException
- DeploymentNotStartedException
- DeploymentConfigLimitExceededException
- RoleRequiredException
- InvalidRoleException
- DeploymentConfigAlreadyExistsException
- DeploymentLimitExceededException
- IAMUserARNAlreadyRegisteredException
- InstanceLimitExceededException
- InvalidDeployedStateFilterException
- InvalidAutoScalingGroupException
- InvalidApplicationNameException
- ApplicationDoesNotExistException
- InvalidMinimumHealthyHostValueException
- InvalidTagFilterException
- InvalidTriggerConfigException
- TagRequiredException
- DeploymentGroupNameRequiredException
- BucketNameFilterRequiredException
- DeploymentConfigDoesNotExistException
- InvalidBucketNameFilterException
- DeploymentGroupAlreadyExistsException
- InvalidSortByException
- RevisionDoesNotExistException
- DeploymentGroupLimitExceededException
- DeploymentGroupDoesNotExistException
- InvalidDeploymentConfigNameException
- DeploymentConfigNameRequiredException
- DeploymentIdRequiredException
- InvalidNextTokenException
- InstanceIdRequiredException
- InvalidDeploymentIdException
- InvalidSortOrderException
- DeploymentAlreadyCompletedException
- DeploymentDoesNotExistException
- BatchLimitExceededException
- InvalidRevisionException
- RevisionRequiredException
- InstanceDoesNotExistException
- DeploymentConfigInUseException
- InvalidEC2TagException
- InvalidInstanceNameException
- InstanceNameRequiredException
- TriggerTargetsLimitExceededException
- InvalidDeploymentStatusException
- InvalidRegistrationStatusException
- ApplicationNameRequiredException
- InstanceNotRegisteredException
- ApplicationAlreadyExistsException
- InvalidInstanceStatusException
- TagLimitExceededException
- ApplicationLimitExceededException
- InvalidOperationException
- InvalidKeyPrefixFilterException
- Waiters
- Operations
- RemoveTagsFromOnPremisesInstances
- BatchGetDeploymentGroups
- DeleteDeploymentGroup
- UpdateDeploymentGroup
- ListOnPremisesInstances
- CreateDeploymentConfig
- GetApplicationRevision
- GetDeployment
- DeleteDeploymentConfig
- GetDeploymentConfig
- CreateDeployment
- BatchGetApplicationRevisions
- BatchGetDeployments
- GetOnPremisesInstance
- RegisterApplicationRevision
- BatchGetApplications
- DeleteApplication
- UpdateApplication
- GetDeploymentInstance
- DeregisterOnPremisesInstance
- CreateApplication
- StopDeployment
- BatchGetDeploymentInstances
- GetApplication
- ListDeploymentGroups
- BatchGetOnPremisesInstances
- RegisterOnPremisesInstance
- CreateDeploymentGroup
- ListDeploymentConfigs
- GetDeploymentGroup
- ListDeployments
- ListApplicationRevisions
- ListApplications
- AddTagsToOnPremisesInstances
- ListDeploymentInstances
- Types
- ApplicationRevisionSortBy
- BundleType
- DeployErrorCode
- DeploymentCreator
- DeploymentStatus
- EC2TagFilterType
- InstanceStatus
- LifecycleErrorCode
- LifecycleEventStatus
- ListStateFilterAction
- MinimumHealthyHostsType
- RegistrationStatus
- RevisionLocationType
- SortOrder
- StopStatus
- TagFilterType
- TriggerEventType
- ApplicationInfo
- AutoScalingGroup
- DeploymentConfigInfo
- DeploymentGroupInfo
- DeploymentInfo
- DeploymentOverview
- Diagnostics
- EC2TagFilter
- ErrorInformation
- GenericRevisionInfo
- GitHubLocation
- InstanceInfo
- InstanceSummary
- LifecycleEvent
- MinimumHealthyHosts
- RevisionInfo
- RevisionLocation
- S3Location
- Tag
- TagFilter
- TimeRange
- TriggerConfig
AWS CodeDeploy Overview
This reference guide provides descriptions of the AWS CodeDeploy APIs. For more information about AWS CodeDeploy, see the AWS CodeDeploy User Guide.
Using the APIs
You can use the AWS CodeDeploy APIs to work with the following:
Applications are unique identifiers used by AWS CodeDeploy to ensure the correct combinations of revisions, deployment configurations, and deployment groups are being referenced during deployments.
You can use the AWS CodeDeploy APIs to create, delete, get, list, and update applications.
Deployment configurations are sets of deployment rules and success and failure conditions used by AWS CodeDeploy during deployments.
You can use the AWS CodeDeploy APIs to create, delete, get, and list deployment configurations.
Deployment groups are groups of instances to which application revisions can be deployed.
You can use the AWS CodeDeploy APIs to create, delete, get, list, and update deployment groups.
Instances represent Amazon EC2 instances to which application revisions are deployed. Instances are identified by their Amazon EC2 tags or Auto Scaling group names. Instances belong to deployment groups.
You can use the AWS CodeDeploy APIs to get and list instance.
Deployments represent the process of deploying revisions to instances.
You can use the AWS CodeDeploy APIs to create, get, list, and stop deployments.
Application revisions are archive files stored in Amazon S3 buckets or GitHub repositories. These revisions contain source content (such as source code, web pages, executable files, and deployment scripts) along with an application specification (AppSpec) file. (The AppSpec file is unique to AWS CodeDeploy; it defines the deployment actions you want AWS CodeDeploy to execute.) Ffor application revisions stored in Amazon S3 buckets, an application revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For application revisions stored in GitHub repositories, an application revision is uniquely identified by its repository name and commit ID. Application revisions are deployed through deployment groups.
You can use the AWS CodeDeploy APIs to get, list, and register application revisions.
- codeDeploy :: Service
- _LifecycleHookLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTimeRangeException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTagException :: AsError a => Getting (First ServiceError) a ServiceError
- _InstanceNameAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
- _IAMUserARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidDeploymentGroupNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _DescriptionTooLongException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidIAMUserARNException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentNotStartedException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentConfigLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _RoleRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRoleException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentConfigAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _IAMUserARNAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InstanceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidDeployedStateFilterException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidAutoScalingGroupException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidApplicationNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _ApplicationDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidMinimumHealthyHostValueException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTagFilterException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidTriggerConfigException :: AsError a => Getting (First ServiceError) a ServiceError
- _TagRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentGroupNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _BucketNameFilterRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentConfigDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidBucketNameFilterException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentGroupAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError
- _RevisionDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentGroupLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentGroupDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidDeploymentConfigNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentConfigNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- _InstanceIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidDeploymentIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSortOrderException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentAlreadyCompletedException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _BatchLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRevisionException :: AsError a => Getting (First ServiceError) a ServiceError
- _RevisionRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InstanceDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _DeploymentConfigInUseException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidEC2TagException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidInstanceNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _InstanceNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _TriggerTargetsLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidDeploymentStatusException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRegistrationStatusException :: AsError a => Getting (First ServiceError) a ServiceError
- _ApplicationNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InstanceNotRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
- _ApplicationAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidInstanceStatusException :: AsError a => Getting (First ServiceError) a ServiceError
- _TagLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ApplicationLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidKeyPrefixFilterException :: AsError a => Getting (First ServiceError) a ServiceError
- module Network.AWS.CodeDeploy.RemoveTagsFromOnPremisesInstances
- module Network.AWS.CodeDeploy.BatchGetDeploymentGroups
- module Network.AWS.CodeDeploy.DeleteDeploymentGroup
- module Network.AWS.CodeDeploy.UpdateDeploymentGroup
- module Network.AWS.CodeDeploy.ListOnPremisesInstances
- module Network.AWS.CodeDeploy.CreateDeploymentConfig
- module Network.AWS.CodeDeploy.GetApplicationRevision
- module Network.AWS.CodeDeploy.GetDeployment
- module Network.AWS.CodeDeploy.DeleteDeploymentConfig
- module Network.AWS.CodeDeploy.GetDeploymentConfig
- module Network.AWS.CodeDeploy.CreateDeployment
- module Network.AWS.CodeDeploy.BatchGetApplicationRevisions
- module Network.AWS.CodeDeploy.BatchGetDeployments
- module Network.AWS.CodeDeploy.GetOnPremisesInstance
- module Network.AWS.CodeDeploy.RegisterApplicationRevision
- module Network.AWS.CodeDeploy.BatchGetApplications
- module Network.AWS.CodeDeploy.DeleteApplication
- module Network.AWS.CodeDeploy.UpdateApplication
- module Network.AWS.CodeDeploy.GetDeploymentInstance
- module Network.AWS.CodeDeploy.DeregisterOnPremisesInstance
- module Network.AWS.CodeDeploy.CreateApplication
- module Network.AWS.CodeDeploy.StopDeployment
- module Network.AWS.CodeDeploy.BatchGetDeploymentInstances
- module Network.AWS.CodeDeploy.GetApplication
- module Network.AWS.CodeDeploy.ListDeploymentGroups
- module Network.AWS.CodeDeploy.BatchGetOnPremisesInstances
- module Network.AWS.CodeDeploy.RegisterOnPremisesInstance
- module Network.AWS.CodeDeploy.CreateDeploymentGroup
- module Network.AWS.CodeDeploy.ListDeploymentConfigs
- module Network.AWS.CodeDeploy.GetDeploymentGroup
- module Network.AWS.CodeDeploy.ListDeployments
- module Network.AWS.CodeDeploy.ListApplicationRevisions
- module Network.AWS.CodeDeploy.ListApplications
- module Network.AWS.CodeDeploy.AddTagsToOnPremisesInstances
- module Network.AWS.CodeDeploy.ListDeploymentInstances
- data ApplicationRevisionSortBy
- data BundleType
- data DeployErrorCode
- data DeploymentCreator
- = Autoscaling
- | User
- data DeploymentStatus
- data EC2TagFilterType
- data InstanceStatus
- data LifecycleErrorCode
- data LifecycleEventStatus
- data ListStateFilterAction
- data MinimumHealthyHostsType
- data RegistrationStatus
- data RevisionLocationType
- data SortOrder
- data StopStatus
- data TagFilterType
- data TriggerEventType
- data ApplicationInfo
- applicationInfo :: ApplicationInfo
- aiLinkedToGitHub :: Lens' ApplicationInfo (Maybe Bool)
- aiApplicationId :: Lens' ApplicationInfo (Maybe Text)
- aiApplicationName :: Lens' ApplicationInfo (Maybe Text)
- aiCreateTime :: Lens' ApplicationInfo (Maybe UTCTime)
- data AutoScalingGroup
- autoScalingGroup :: AutoScalingGroup
- asgHook :: Lens' AutoScalingGroup (Maybe Text)
- asgName :: Lens' AutoScalingGroup (Maybe Text)
- data DeploymentConfigInfo
- deploymentConfigInfo :: DeploymentConfigInfo
- dciDeploymentConfigName :: Lens' DeploymentConfigInfo (Maybe Text)
- dciMinimumHealthyHosts :: Lens' DeploymentConfigInfo (Maybe MinimumHealthyHosts)
- dciDeploymentConfigId :: Lens' DeploymentConfigInfo (Maybe Text)
- dciCreateTime :: Lens' DeploymentConfigInfo (Maybe UTCTime)
- data DeploymentGroupInfo
- deploymentGroupInfo :: DeploymentGroupInfo
- dgiServiceRoleARN :: Lens' DeploymentGroupInfo (Maybe Text)
- dgiDeploymentConfigName :: Lens' DeploymentGroupInfo (Maybe Text)
- dgiTargetRevision :: Lens' DeploymentGroupInfo (Maybe RevisionLocation)
- dgiEc2TagFilters :: Lens' DeploymentGroupInfo [EC2TagFilter]
- dgiOnPremisesInstanceTagFilters :: Lens' DeploymentGroupInfo [TagFilter]
- dgiApplicationName :: Lens' DeploymentGroupInfo (Maybe Text)
- dgiTriggerConfigurations :: Lens' DeploymentGroupInfo [TriggerConfig]
- dgiDeploymentGroupId :: Lens' DeploymentGroupInfo (Maybe Text)
- dgiAutoScalingGroups :: Lens' DeploymentGroupInfo [AutoScalingGroup]
- dgiDeploymentGroupName :: Lens' DeploymentGroupInfo (Maybe Text)
- data DeploymentInfo
- deploymentInfo :: DeploymentInfo
- diCreator :: Lens' DeploymentInfo (Maybe DeploymentCreator)
- diStatus :: Lens' DeploymentInfo (Maybe DeploymentStatus)
- diDeploymentId :: Lens' DeploymentInfo (Maybe Text)
- diDeploymentConfigName :: Lens' DeploymentInfo (Maybe Text)
- diStartTime :: Lens' DeploymentInfo (Maybe UTCTime)
- diCompleteTime :: Lens' DeploymentInfo (Maybe UTCTime)
- diErrorInformation :: Lens' DeploymentInfo (Maybe ErrorInformation)
- diDeploymentOverview :: Lens' DeploymentInfo (Maybe DeploymentOverview)
- diApplicationName :: Lens' DeploymentInfo (Maybe Text)
- diRevision :: Lens' DeploymentInfo (Maybe RevisionLocation)
- diDescription :: Lens' DeploymentInfo (Maybe Text)
- diCreateTime :: Lens' DeploymentInfo (Maybe UTCTime)
- diDeploymentGroupName :: Lens' DeploymentInfo (Maybe Text)
- diIgnoreApplicationStopFailures :: Lens' DeploymentInfo (Maybe Bool)
- data DeploymentOverview
- deploymentOverview :: DeploymentOverview
- doPending :: Lens' DeploymentOverview (Maybe Integer)
- doSkipped :: Lens' DeploymentOverview (Maybe Integer)
- doInProgress :: Lens' DeploymentOverview (Maybe Integer)
- doSucceeded :: Lens' DeploymentOverview (Maybe Integer)
- doFailed :: Lens' DeploymentOverview (Maybe Integer)
- data Diagnostics
- diagnostics :: Diagnostics
- dLogTail :: Lens' Diagnostics (Maybe Text)
- dErrorCode :: Lens' Diagnostics (Maybe LifecycleErrorCode)
- dScriptName :: Lens' Diagnostics (Maybe Text)
- dMessage :: Lens' Diagnostics (Maybe Text)
- data EC2TagFilter
- ec2TagFilter :: EC2TagFilter
- etfValue :: Lens' EC2TagFilter (Maybe Text)
- etfKey :: Lens' EC2TagFilter (Maybe Text)
- etfType :: Lens' EC2TagFilter (Maybe EC2TagFilterType)
- data ErrorInformation
- errorInformation :: ErrorInformation
- eiCode :: Lens' ErrorInformation (Maybe DeployErrorCode)
- eiMessage :: Lens' ErrorInformation (Maybe Text)
- data GenericRevisionInfo
- genericRevisionInfo :: GenericRevisionInfo
- griRegisterTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
- griFirstUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
- griDeploymentGroups :: Lens' GenericRevisionInfo [Text]
- griLastUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime)
- griDescription :: Lens' GenericRevisionInfo (Maybe Text)
- data GitHubLocation
- gitHubLocation :: GitHubLocation
- ghlCommitId :: Lens' GitHubLocation (Maybe Text)
- ghlRepository :: Lens' GitHubLocation (Maybe Text)
- data InstanceInfo
- instanceInfo :: InstanceInfo
- iiRegisterTime :: Lens' InstanceInfo (Maybe UTCTime)
- iiInstanceARN :: Lens' InstanceInfo (Maybe Text)
- iiDeregisterTime :: Lens' InstanceInfo (Maybe UTCTime)
- iiIamUserARN :: Lens' InstanceInfo (Maybe Text)
- iiInstanceName :: Lens' InstanceInfo (Maybe Text)
- iiTags :: Lens' InstanceInfo [Tag]
- data InstanceSummary
- instanceSummary :: InstanceSummary
- isInstanceId :: Lens' InstanceSummary (Maybe Text)
- isStatus :: Lens' InstanceSummary (Maybe InstanceStatus)
- isDeploymentId :: Lens' InstanceSummary (Maybe Text)
- isLastUpdatedAt :: Lens' InstanceSummary (Maybe UTCTime)
- isLifecycleEvents :: Lens' InstanceSummary [LifecycleEvent]
- data LifecycleEvent
- lifecycleEvent :: LifecycleEvent
- leStatus :: Lens' LifecycleEvent (Maybe LifecycleEventStatus)
- leLifecycleEventName :: Lens' LifecycleEvent (Maybe Text)
- leStartTime :: Lens' LifecycleEvent (Maybe UTCTime)
- leDiagnostics :: Lens' LifecycleEvent (Maybe Diagnostics)
- leEndTime :: Lens' LifecycleEvent (Maybe UTCTime)
- data MinimumHealthyHosts
- minimumHealthyHosts :: MinimumHealthyHosts
- mhhValue :: Lens' MinimumHealthyHosts (Maybe Int)
- mhhType :: Lens' MinimumHealthyHosts (Maybe MinimumHealthyHostsType)
- data RevisionInfo
- revisionInfo :: RevisionInfo
- riGenericRevisionInfo :: Lens' RevisionInfo (Maybe GenericRevisionInfo)
- riRevisionLocation :: Lens' RevisionInfo (Maybe RevisionLocation)
- data RevisionLocation
- revisionLocation :: RevisionLocation
- rlRevisionType :: Lens' RevisionLocation (Maybe RevisionLocationType)
- rlS3Location :: Lens' RevisionLocation (Maybe S3Location)
- rlGitHubLocation :: Lens' RevisionLocation (Maybe GitHubLocation)
- data S3Location
- s3Location :: S3Location
- slBundleType :: Lens' S3Location (Maybe BundleType)
- slETag :: Lens' S3Location (Maybe Text)
- slBucket :: Lens' S3Location (Maybe Text)
- slKey :: Lens' S3Location (Maybe Text)
- slVersion :: Lens' S3Location (Maybe Text)
- data Tag
- tag :: Tag
- tagValue :: Lens' Tag (Maybe Text)
- tagKey :: Lens' Tag (Maybe Text)
- data TagFilter
- tagFilter :: TagFilter
- tfValue :: Lens' TagFilter (Maybe Text)
- tfKey :: Lens' TagFilter (Maybe Text)
- tfType :: Lens' TagFilter (Maybe TagFilterType)
- data TimeRange
- timeRange :: TimeRange
- trStart :: Lens' TimeRange (Maybe UTCTime)
- trEnd :: Lens' TimeRange (Maybe UTCTime)
- data TriggerConfig
- triggerConfig :: TriggerConfig
- tcTriggerName :: Lens' TriggerConfig (Maybe Text)
- tcTriggerEvents :: Lens' TriggerConfig [TriggerEventType]
- tcTriggerTargetARN :: Lens' TriggerConfig (Maybe Text)
Service Configuration
codeDeploy :: Service Source #
API version '2014-10-06' of the Amazon CodeDeploy SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by CodeDeploy
.
LifecycleHookLimitExceededException
_LifecycleHookLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The limit for lifecycle hooks was exceeded.
InvalidTimeRangeException
_InvalidTimeRangeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified time range was specified in an invalid format.
InvalidTagException
_InvalidTagException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified tag was specified in an invalid format.
InstanceNameAlreadyRegisteredException
_InstanceNameAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified on-premises instance name is already registered.
IAMUserARNRequiredException
_IAMUserARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An IAM user ARN was not specified.
InvalidDeploymentGroupNameException
_InvalidDeploymentGroupNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The deployment group name was specified in an invalid format.
DescriptionTooLongException
_DescriptionTooLongException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The description is too long.
InvalidIAMUserARNException
_InvalidIAMUserARNException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The IAM user ARN was specified in an invalid format.
DeploymentNotStartedException
_DeploymentNotStartedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified deployment has not started.
DeploymentConfigLimitExceededException
_DeploymentConfigLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The deployment configurations limit was exceeded.
RoleRequiredException
_RoleRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The role ID was not specified.
InvalidRoleException
_InvalidRoleException :: AsError a => Getting (First ServiceError) a ServiceError Source #
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.
DeploymentConfigAlreadyExistsException
_DeploymentConfigAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A deployment configuration with the specified name already exists with the applicable IAM user or AWS account.
DeploymentLimitExceededException
_DeploymentLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of allowed deployments was exceeded.
IAMUserARNAlreadyRegisteredException
_IAMUserARNAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified IAM user ARN is already registered with an on-premises instance.
InstanceLimitExceededException
_InstanceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of allowed on-premises instances in a single call was exceeded.
InvalidDeployedStateFilterException
_InvalidDeployedStateFilterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The deployed state filter was specified in an invalid format.
InvalidAutoScalingGroupException
_InvalidAutoScalingGroupException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The Auto Scaling group was specified in an invalid format or does not exist.
InvalidApplicationNameException
_InvalidApplicationNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The application name was specified in an invalid format.
ApplicationDoesNotExistException
_ApplicationDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The application does not exist with the applicable IAM user or AWS account.
InvalidMinimumHealthyHostValueException
_InvalidMinimumHealthyHostValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The minimum healthy instance value was specified in an invalid format.
InvalidTagFilterException
_InvalidTagFilterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified tag filter was specified in an invalid format.
InvalidTriggerConfigException
_InvalidTriggerConfigException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The trigger was specified in an invalid format.
TagRequiredException
_TagRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A tag was not specified.
DeploymentGroupNameRequiredException
_DeploymentGroupNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The deployment group name was not specified.
BucketNameFilterRequiredException
_BucketNameFilterRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A bucket name is required, but was not provided.
DeploymentConfigDoesNotExistException
_DeploymentConfigDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The deployment configuration does not exist with the applicable IAM user or AWS account.
InvalidBucketNameFilterException
_InvalidBucketNameFilterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The bucket name either doesn't exist or was specified in an invalid format.
DeploymentGroupAlreadyExistsException
_DeploymentGroupAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A deployment group with the specified name already exists with the applicable IAM user or AWS account.
InvalidSortByException
_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The column name to sort by is either not present or was specified in an invalid format.
RevisionDoesNotExistException
_RevisionDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The named revision does not exist with the applicable IAM user or AWS account.
DeploymentGroupLimitExceededException
_DeploymentGroupLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The deployment groups limit was exceeded.
DeploymentGroupDoesNotExistException
_DeploymentGroupDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The named deployment group does not exist with the applicable IAM user or AWS account.
InvalidDeploymentConfigNameException
_InvalidDeploymentConfigNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The deployment configuration name was specified in an invalid format.
DeploymentConfigNameRequiredException
_DeploymentConfigNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The deployment configuration name was not specified.
DeploymentIdRequiredException
_DeploymentIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
At least one deployment ID must be specified.
InvalidNextTokenException
_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The next token was specified in an invalid format.
InstanceIdRequiredException
_InstanceIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The instance ID was not specified.
InvalidDeploymentIdException
_InvalidDeploymentIdException :: AsError a => Getting (First ServiceError) a ServiceError Source #
At least one of the deployment IDs was specified in an invalid format.
InvalidSortOrderException
_InvalidSortOrderException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The sort order was specified in an invalid format.
DeploymentAlreadyCompletedException
_DeploymentAlreadyCompletedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The deployment is already complete.
DeploymentDoesNotExistException
_DeploymentDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The deployment does not exist with the applicable IAM user or AWS account.
BatchLimitExceededException
_BatchLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum number of names or IDs allowed for this request (100) was exceeded.
InvalidRevisionException
_InvalidRevisionException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The revision was specified in an invalid format.
RevisionRequiredException
_RevisionRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The revision ID was not specified.
InstanceDoesNotExistException
_InstanceDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified instance does not exist in the deployment group.
DeploymentConfigInUseException
_DeploymentConfigInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The deployment configuration is still in use.
InvalidEC2TagException
_InvalidEC2TagException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The tag was specified in an invalid format.
InvalidInstanceNameException
_InvalidInstanceNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified on-premises instance name was specified in an invalid format.
InstanceNameRequiredException
_InstanceNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An on-premises instance name was not specified.
TriggerTargetsLimitExceededException
_TriggerTargetsLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum allowed number of triggers was exceeded.
InvalidDeploymentStatusException
_InvalidDeploymentStatusException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified deployment status doesn't exist or cannot be determined.
InvalidRegistrationStatusException
_InvalidRegistrationStatusException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The registration status was specified in an invalid format.
ApplicationNameRequiredException
_ApplicationNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The minimum number of required application names was not specified.
InstanceNotRegisteredException
_InstanceNotRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified on-premises instance is not registered.
ApplicationAlreadyExistsException
_ApplicationAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An application with the specified name already exists with the applicable IAM user or AWS account.
InvalidInstanceStatusException
_InvalidInstanceStatusException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified instance status does not exist.
TagLimitExceededException
_TagLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The maximum allowed number of tags was exceeded.
ApplicationLimitExceededException
_ApplicationLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
More applications were attempted to be created than are allowed.
InvalidOperationException
_InvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An invalid operation was detected.
InvalidKeyPrefixFilterException
_InvalidKeyPrefixFilterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified key prefix filter was specified in an invalid format.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
RemoveTagsFromOnPremisesInstances
BatchGetDeploymentGroups
DeleteDeploymentGroup
UpdateDeploymentGroup
ListOnPremisesInstances
CreateDeploymentConfig
GetApplicationRevision
GetDeployment
DeleteDeploymentConfig
GetDeploymentConfig
CreateDeployment
BatchGetApplicationRevisions
BatchGetDeployments
GetOnPremisesInstance
RegisterApplicationRevision
BatchGetApplications
DeleteApplication
UpdateApplication
GetDeploymentInstance
DeregisterOnPremisesInstance
CreateApplication
StopDeployment
BatchGetDeploymentInstances
GetApplication
ListDeploymentGroups
BatchGetOnPremisesInstances
RegisterOnPremisesInstance
CreateDeploymentGroup
ListDeploymentConfigs
GetDeploymentGroup
ListDeployments
ListApplicationRevisions
ListApplications
AddTagsToOnPremisesInstances
ListDeploymentInstances
Types
ApplicationRevisionSortBy
data ApplicationRevisionSortBy Source #
BundleType
data BundleType Source #
DeployErrorCode
data DeployErrorCode Source #
DeploymentCreator
data DeploymentCreator Source #
DeploymentStatus
data DeploymentStatus Source #
EC2TagFilterType
data EC2TagFilterType Source #
InstanceStatus
data InstanceStatus Source #
LifecycleErrorCode
data LifecycleErrorCode Source #
LifecycleEventStatus
data LifecycleEventStatus Source #
ListStateFilterAction
data ListStateFilterAction Source #
MinimumHealthyHostsType
data MinimumHealthyHostsType Source #
RegistrationStatus
data RegistrationStatus Source #
RevisionLocationType
data RevisionLocationType Source #
SortOrder
StopStatus
data StopStatus Source #
TagFilterType
data TagFilterType Source #
TriggerEventType
data TriggerEventType Source #
DeploymentFailure | |
DeploymentStart | |
DeploymentStop | |
DeploymentSuccess | |
InstanceFailure | |
InstanceStart | |
InstanceSuccess |
ApplicationInfo
data ApplicationInfo Source #
Information about an application.
See: applicationInfo
smart constructor.
applicationInfo :: ApplicationInfo Source #
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:
aiLinkedToGitHub :: Lens' ApplicationInfo (Maybe Bool) Source #
True if the user has authenticated with GitHub for the specified application; otherwise, false.
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 at which the application was created.
AutoScalingGroup
data AutoScalingGroup Source #
Information about an Auto Scaling group.
See: autoScalingGroup
smart constructor.
autoScalingGroup :: AutoScalingGroup Source #
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:
DeploymentConfigInfo
data DeploymentConfigInfo Source #
Information about a deployment configuration.
See: deploymentConfigInfo
smart constructor.
deploymentConfigInfo :: DeploymentConfigInfo Source #
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:
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 instance.
dciDeploymentConfigId :: Lens' DeploymentConfigInfo (Maybe Text) Source #
The deployment configuration ID.
dciCreateTime :: Lens' DeploymentConfigInfo (Maybe UTCTime) Source #
The time at which the deployment configuration was created.
DeploymentGroupInfo
data DeploymentGroupInfo Source #
Information about a deployment group.
See: deploymentGroupInfo
smart constructor.
deploymentGroupInfo :: DeploymentGroupInfo Source #
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 :: Lens' DeploymentGroupInfo (Maybe Text) Source #
A service role ARN.
dgiDeploymentConfigName :: Lens' DeploymentGroupInfo (Maybe Text) Source #
The deployment configuration name.
dgiTargetRevision :: Lens' DeploymentGroupInfo (Maybe RevisionLocation) Source #
Information about the deployment group's target revision, including type and location.
dgiEc2TagFilters :: Lens' DeploymentGroupInfo [EC2TagFilter] Source #
The Amazon EC2 tags on which to filter.
dgiOnPremisesInstanceTagFilters :: Lens' DeploymentGroupInfo [TagFilter] Source #
The on-premises instance tags on which to filter.
dgiApplicationName :: Lens' DeploymentGroupInfo (Maybe Text) Source #
The application name.
dgiTriggerConfigurations :: Lens' DeploymentGroupInfo [TriggerConfig] Source #
A list of associated triggers.
dgiDeploymentGroupId :: Lens' DeploymentGroupInfo (Maybe Text) Source #
The deployment group ID.
dgiAutoScalingGroups :: Lens' DeploymentGroupInfo [AutoScalingGroup] Source #
A list of associated Auto Scaling groups.
dgiDeploymentGroupName :: Lens' DeploymentGroupInfo (Maybe Text) Source #
The deployment group name.
DeploymentInfo
data DeploymentInfo Source #
Information about a deployment.
See: deploymentInfo
smart constructor.
deploymentInfo :: DeploymentInfo Source #
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 :: Lens' DeploymentInfo (Maybe DeploymentCreator) Source #
The means by which the deployment was created:
- user: A user created the deployment.
- autoscaling: Auto Scaling created the deployment.
diStatus :: Lens' DeploymentInfo (Maybe DeploymentStatus) Source #
The current state of the deployment as a whole.
diDeploymentId :: Lens' DeploymentInfo (Maybe Text) Source #
The deployment ID.
diDeploymentConfigName :: Lens' DeploymentInfo (Maybe Text) Source #
The deployment configuration name.
diStartTime :: Lens' DeploymentInfo (Maybe UTCTime) Source #
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 :: Lens' DeploymentInfo (Maybe UTCTime) Source #
A timestamp indicating when the deployment was complete.
diErrorInformation :: Lens' DeploymentInfo (Maybe ErrorInformation) Source #
Information about any error associated with this deployment.
diDeploymentOverview :: Lens' DeploymentInfo (Maybe DeploymentOverview) Source #
A summary of the deployment status of the instances in the deployment.
diApplicationName :: Lens' DeploymentInfo (Maybe Text) Source #
The application name.
diRevision :: Lens' DeploymentInfo (Maybe RevisionLocation) Source #
Information about the location of stored application artifacts and the service from which to retrieve them.
diDescription :: Lens' DeploymentInfo (Maybe Text) Source #
A comment about the deployment.
diCreateTime :: Lens' DeploymentInfo (Maybe UTCTime) Source #
A timestamp indicating when the deployment was created.
diDeploymentGroupName :: Lens' DeploymentInfo (Maybe Text) Source #
The deployment group name.
diIgnoreApplicationStopFailures :: Lens' DeploymentInfo (Maybe Bool) Source #
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.
DeploymentOverview
data DeploymentOverview Source #
Information about the deployment status of the instances in the deployment.
See: deploymentOverview
smart constructor.
deploymentOverview :: DeploymentOverview Source #
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 :: Lens' DeploymentOverview (Maybe Integer) Source #
The number of instances in the deployment in a pending state.
doSkipped :: Lens' DeploymentOverview (Maybe Integer) Source #
The number of instances in the deployment in a skipped state.
doInProgress :: Lens' DeploymentOverview (Maybe Integer) Source #
The number of instances in which the deployment is in progress.
doSucceeded :: Lens' DeploymentOverview (Maybe Integer) Source #
The number of instances in the deployment to which revisions have been successfully deployed.
doFailed :: Lens' DeploymentOverview (Maybe Integer) Source #
The number of instances in the deployment in a failed state.
Diagnostics
data Diagnostics Source #
Diagnostic information about executable scripts that are part of a deployment.
See: diagnostics
smart constructor.
diagnostics :: Diagnostics Source #
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 :: Lens' Diagnostics (Maybe Text) Source #
The last portion of the diagnostic log.
If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log.
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.
dScriptName :: Lens' Diagnostics (Maybe Text) Source #
The name of the script.
EC2TagFilter
data EC2TagFilter Source #
Information about a tag filter.
See: ec2TagFilter
smart constructor.
ec2TagFilter :: EC2TagFilter Source #
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:
etfType :: Lens' EC2TagFilter (Maybe EC2TagFilterType) Source #
The tag filter type:
- KEY_ONLY: Key only.
- VALUE_ONLY: Value only.
- KEY_AND_VALUE: Key and value.
ErrorInformation
data ErrorInformation Source #
Information about a deployment error.
See: errorInformation
smart constructor.
errorInformation :: ErrorInformation Source #
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 :: Lens' ErrorInformation (Maybe DeployErrorCode) Source #
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.
GenericRevisionInfo
data GenericRevisionInfo Source #
Information about an application revision.
See: genericRevisionInfo
smart constructor.
genericRevisionInfo :: GenericRevisionInfo Source #
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:
griRegisterTime :: Lens' GenericRevisionInfo (Maybe UTCTime) Source #
When the revision was registered with AWS CodeDeploy.
griFirstUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime) Source #
When the revision was first used by AWS CodeDeploy.
griDeploymentGroups :: Lens' GenericRevisionInfo [Text] Source #
The deployment groups for which this is the current target revision.
griLastUsedTime :: Lens' GenericRevisionInfo (Maybe UTCTime) Source #
When the revision was last used by AWS CodeDeploy.
griDescription :: Lens' GenericRevisionInfo (Maybe Text) Source #
A comment about the revision.
GitHubLocation
data GitHubLocation Source #
Information about the location of application artifacts stored in GitHub.
See: gitHubLocation
smart constructor.
gitHubLocation :: GitHubLocation Source #
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 :: Lens' GitHubLocation (Maybe Text) Source #
The SHA1 commit ID of the GitHub commit 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.
InstanceInfo
data InstanceInfo Source #
Information about an on-premises instance.
See: instanceInfo
smart constructor.
instanceInfo :: InstanceInfo Source #
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 :: Lens' InstanceInfo (Maybe UTCTime) Source #
The time at which the on-premises instance was registered.
iiInstanceARN :: Lens' InstanceInfo (Maybe Text) Source #
The ARN of the on-premises instance.
iiDeregisterTime :: Lens' InstanceInfo (Maybe UTCTime) Source #
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
iiIamUserARN :: Lens' InstanceInfo (Maybe Text) Source #
The IAM user ARN associated with the on-premises instance.
iiInstanceName :: Lens' InstanceInfo (Maybe Text) Source #
The name of the on-premises instance.
iiTags :: Lens' InstanceInfo [Tag] Source #
The tags currently associated with the on-premises instance.
InstanceSummary
data InstanceSummary Source #
Information about an instance in a deployment.
See: instanceSummary
smart constructor.
instanceSummary :: InstanceSummary Source #
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 :: Lens' InstanceSummary (Maybe Text) Source #
The instance ID.
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.
isDeploymentId :: Lens' InstanceSummary (Maybe Text) Source #
The deployment 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.
LifecycleEvent
data LifecycleEvent Source #
Information about a deployment lifecycle event.
See: lifecycleEvent
smart constructor.
lifecycleEvent :: LifecycleEvent Source #
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 :: 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 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 :: 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.
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.
MinimumHealthyHosts
data MinimumHealthyHosts Source #
Information about minimum healthy instance.
See: minimumHealthyHosts
smart constructor.
minimumHealthyHosts :: MinimumHealthyHosts Source #
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:
mhhType :: Lens' MinimumHealthyHosts (Maybe MinimumHealthyHostsType) Source #
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.
In a call to the get deployment configuration operation, CodeDeployDefault.OneAtATime will return a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, AWS CodeDeploy will try to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment still succeeds.
RevisionInfo
data RevisionInfo Source #
Information about an application revision.
See: revisionInfo
smart constructor.
revisionInfo :: RevisionInfo Source #
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 :: Lens' RevisionInfo (Maybe GenericRevisionInfo) Source #
Undocumented member.
riRevisionLocation :: Lens' RevisionInfo (Maybe RevisionLocation) Source #
Undocumented member.
RevisionLocation
data RevisionLocation Source #
Information about the location of an application revision.
See: revisionLocation
smart constructor.
revisionLocation :: RevisionLocation Source #
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:
rlRevisionType :: Lens' RevisionLocation (Maybe RevisionLocationType) Source #
The type of application revision:
- S3: An application revision stored in Amazon S3.
- GitHub: An application revision stored in GitHub.
rlS3Location :: Lens' RevisionLocation (Maybe S3Location) Source #
Undocumented member.
rlGitHubLocation :: Lens' RevisionLocation (Maybe GitHubLocation) Source #
Undocumented member.
S3Location
data S3Location Source #
Information about the location of application artifacts stored in Amazon S3.
See: s3Location
smart constructor.
s3Location :: S3Location Source #
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 :: 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.
slBucket :: Lens' S3Location (Maybe Text) Source #
The name of the Amazon S3 bucket where the application revision is stored.
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.
Tag
Information about a tag.
See: tag
smart constructor.
TagFilter
Information about an on-premises instance tag filter.
See: tagFilter
smart constructor.
tfType :: Lens' TagFilter (Maybe TagFilterType) Source #
The on-premises instance tag filter type:
- KEY_ONLY: Key only.
- VALUE_ONLY: Value only.
- KEY_AND_VALUE: Key and value.
TimeRange
Information about a time range.
See: timeRange
smart constructor.
trStart :: Lens' TimeRange (Maybe UTCTime) Source #
The start time of the time range.
Specify null to leave the start time open-ended.
trEnd :: Lens' TimeRange (Maybe UTCTime) Source #
The end time of the time range.
Specify null to leave the end time open-ended.
TriggerConfig
data TriggerConfig Source #
Information about notification triggers for the deployment group.
See: triggerConfig
smart constructor.
triggerConfig :: TriggerConfig Source #
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 :: Lens' TriggerConfig (Maybe Text) Source #
The name of the notification trigger.
tcTriggerEvents :: Lens' TriggerConfig [TriggerEventType] Source #
The event type or types for which notifications are triggered.
The following event type values are supported:
- DEPLOYMENT_START
- DEPLOYMENT_SUCCESS
- DEPLOYMENT_FAILURE
- DEPLOYMENT_STOP
- INSTANCE_START
- INSTANCE_SUCCESS
- INSTANCE_FAILURE
tcTriggerTargetARN :: Lens' TriggerConfig (Maybe Text) Source #
The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.