module Network.AWS.CodeDeploy.Types
(
codeDeploy
, _InvalidTimeRangeException
, _InvalidTagException
, _InstanceNameAlreadyRegisteredException
, _IAMUserARNRequiredException
, _InvalidDeploymentGroupNameException
, _DescriptionTooLongException
, _InvalidIAMUserARNException
, _DeploymentNotStartedException
, _DeploymentConfigLimitExceededException
, _RoleRequiredException
, _InvalidRoleException
, _DeploymentConfigAlreadyExistsException
, _DeploymentLimitExceededException
, _IAMUserARNAlreadyRegisteredException
, _InstanceLimitExceededException
, _InvalidDeployedStateFilterException
, _InvalidAutoScalingGroupException
, _InvalidApplicationNameException
, _ApplicationDoesNotExistException
, _InvalidMinimumHealthyHostValueException
, _InvalidTagFilterException
, _TagRequiredException
, _DeploymentGroupNameRequiredException
, _BucketNameFilterRequiredException
, _DeploymentConfigDoesNotExistException
, _InvalidBucketNameFilterException
, _DeploymentGroupAlreadyExistsException
, _InvalidSortByException
, _RevisionDoesNotExistException
, _DeploymentGroupLimitExceededException
, _DeploymentGroupDoesNotExistException
, _InvalidDeploymentConfigNameException
, _DeploymentConfigNameRequiredException
, _DeploymentIdRequiredException
, _InvalidNextTokenException
, _InstanceIdRequiredException
, _InvalidDeploymentIdException
, _InvalidSortOrderException
, _DeploymentAlreadyCompletedException
, _DeploymentDoesNotExistException
, _InvalidRevisionException
, _RevisionRequiredException
, _InstanceDoesNotExistException
, _DeploymentConfigInUseException
, _InvalidEC2TagException
, _InvalidInstanceNameException
, _InstanceNameRequiredException
, _InvalidDeploymentStatusException
, _InvalidRegistrationStatusException
, _ApplicationNameRequiredException
, _InstanceNotRegisteredException
, _ApplicationAlreadyExistsException
, _InvalidInstanceStatusException
, _TagLimitExceededException
, _ApplicationLimitExceededException
, _InvalidOperationException
, _InvalidKeyPrefixFilterException
, ApplicationRevisionSortBy (..)
, BundleType (..)
, DeployErrorCode (..)
, DeploymentCreator (..)
, DeploymentStatus (..)
, EC2TagFilterType (..)
, InstanceStatus (..)
, LifecycleErrorCode (..)
, LifecycleEventStatus (..)
, ListStateFilterAction (..)
, MinimumHealthyHostsType (..)
, RegistrationStatus (..)
, RevisionLocationType (..)
, SortOrder (..)
, StopStatus (..)
, TagFilterType (..)
, ApplicationInfo
, applicationInfo
, aiLinkedToGitHub
, aiApplicationId
, aiApplicationName
, aiCreateTime
, AutoScalingGroup
, autoScalingGroup
, asgHook
, asgName
, DeploymentConfigInfo
, deploymentConfigInfo
, dciDeploymentConfigName
, dciMinimumHealthyHosts
, dciDeploymentConfigId
, dciCreateTime
, DeploymentGroupInfo
, deploymentGroupInfo
, dgiServiceRoleARN
, dgiDeploymentConfigName
, dgiTargetRevision
, dgiEc2TagFilters
, dgiOnPremisesInstanceTagFilters
, dgiApplicationName
, dgiDeploymentGroupId
, dgiAutoScalingGroups
, dgiDeploymentGroupName
, DeploymentInfo
, deploymentInfo
, diCreator
, diStatus
, diDeploymentId
, diDeploymentConfigName
, diStartTime
, diCompleteTime
, diErrorInformation
, diDeploymentOverview
, diApplicationName
, diRevision
, diDescription
, diCreateTime
, diDeploymentGroupName
, diIgnoreApplicationStopFailures
, DeploymentOverview
, deploymentOverview
, doPending
, doSkipped
, doInProgress
, doSucceeded
, doFailed
, Diagnostics
, diagnostics
, dLogTail
, dErrorCode
, dScriptName
, dMessage
, EC2TagFilter
, ec2TagFilter
, etfValue
, etfKey
, etfType
, ErrorInformation
, errorInformation
, eiCode
, eiMessage
, GenericRevisionInfo
, genericRevisionInfo
, griRegisterTime
, griFirstUsedTime
, griDeploymentGroups
, griLastUsedTime
, griDescription
, GitHubLocation
, gitHubLocation
, ghlCommitId
, ghlRepository
, InstanceInfo
, instanceInfo
, iiRegisterTime
, iiInstanceARN
, iiDeregisterTime
, iiIamUserARN
, iiInstanceName
, iiTags
, InstanceSummary
, instanceSummary
, isInstanceId
, isStatus
, isDeploymentId
, isLastUpdatedAt
, isLifecycleEvents
, LifecycleEvent
, lifecycleEvent
, leStatus
, leLifecycleEventName
, leStartTime
, leDiagnostics
, leEndTime
, MinimumHealthyHosts
, minimumHealthyHosts
, mhhValue
, mhhType
, RevisionLocation
, revisionLocation
, rlRevisionType
, rlS3Location
, rlGitHubLocation
, S3Location
, s3Location
, slBundleType
, slETag
, slBucket
, slKey
, slVersion
, Tag
, tag
, tagValue
, tagKey
, TagFilter
, tagFilter
, tfValue
, tfKey
, tfType
, TimeRange
, timeRange
, trStart
, trEnd
) where
import Network.AWS.CodeDeploy.Types.Product
import Network.AWS.CodeDeploy.Types.Sum
import Network.AWS.Prelude
import Network.AWS.Sign.V4
codeDeploy :: Service
codeDeploy =
Service
{ _svcAbbrev = "CodeDeploy"
, _svcSigner = v4
, _svcPrefix = "codedeploy"
, _svcVersion = "2014-10-06"
, _svcEndpoint = defaultEndpoint codeDeploy
, _svcTimeout = Just 70
, _svcCheck = statusSuccess
, _svcError = parseJSONError
, _svcRetry = retry
}
where
retry =
Exponential
{ _retryBase = 5.0e-2
, _retryGrowth = 2
, _retryAttempts = 5
, _retryCheck = check
}
check e
| has (hasCode "ThrottlingException" . hasStatus 400) e =
Just "throttling_exception"
| has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"
| has (hasStatus 503) e = Just "service_unavailable"
| has (hasStatus 500) e = Just "general_server_error"
| has (hasStatus 509) e = Just "limit_exceeded"
| otherwise = Nothing
_InvalidTimeRangeException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidTimeRangeException =
_ServiceError . hasCode "InvalidTimeRangeException"
_InvalidTagException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidTagException = _ServiceError . hasCode "InvalidTagException"
_InstanceNameAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
_InstanceNameAlreadyRegisteredException =
_ServiceError . hasCode "InstanceNameAlreadyRegisteredException"
_IAMUserARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_IAMUserARNRequiredException =
_ServiceError . hasCode "IamUserArnRequiredException"
_InvalidDeploymentGroupNameException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidDeploymentGroupNameException =
_ServiceError . hasCode "InvalidDeploymentGroupNameException"
_DescriptionTooLongException :: AsError a => Getting (First ServiceError) a ServiceError
_DescriptionTooLongException =
_ServiceError . hasCode "DescriptionTooLongException"
_InvalidIAMUserARNException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidIAMUserARNException =
_ServiceError . hasCode "InvalidIamUserArnException"
_DeploymentNotStartedException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentNotStartedException =
_ServiceError . hasCode "DeploymentNotStartedException"
_DeploymentConfigLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentConfigLimitExceededException =
_ServiceError . hasCode "DeploymentConfigLimitExceededException"
_RoleRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_RoleRequiredException = _ServiceError . hasCode "RoleRequiredException"
_InvalidRoleException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidRoleException = _ServiceError . hasCode "InvalidRoleException"
_DeploymentConfigAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentConfigAlreadyExistsException =
_ServiceError . hasCode "DeploymentConfigAlreadyExistsException"
_DeploymentLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentLimitExceededException =
_ServiceError . hasCode "DeploymentLimitExceededException"
_IAMUserARNAlreadyRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
_IAMUserARNAlreadyRegisteredException =
_ServiceError . hasCode "IamUserArnAlreadyRegisteredException"
_InstanceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
_InstanceLimitExceededException =
_ServiceError . hasCode "InstanceLimitExceededException"
_InvalidDeployedStateFilterException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidDeployedStateFilterException =
_ServiceError . hasCode "InvalidDeployedStateFilterException"
_InvalidAutoScalingGroupException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidAutoScalingGroupException =
_ServiceError . hasCode "InvalidAutoScalingGroupException"
_InvalidApplicationNameException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidApplicationNameException =
_ServiceError . hasCode "InvalidApplicationNameException"
_ApplicationDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
_ApplicationDoesNotExistException =
_ServiceError . hasCode "ApplicationDoesNotExistException"
_InvalidMinimumHealthyHostValueException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidMinimumHealthyHostValueException =
_ServiceError . hasCode "InvalidMinimumHealthyHostValueException"
_InvalidTagFilterException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidTagFilterException =
_ServiceError . hasCode "InvalidTagFilterException"
_TagRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_TagRequiredException = _ServiceError . hasCode "TagRequiredException"
_DeploymentGroupNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentGroupNameRequiredException =
_ServiceError . hasCode "DeploymentGroupNameRequiredException"
_BucketNameFilterRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_BucketNameFilterRequiredException =
_ServiceError . hasCode "BucketNameFilterRequiredException"
_DeploymentConfigDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentConfigDoesNotExistException =
_ServiceError . hasCode "DeploymentConfigDoesNotExistException"
_InvalidBucketNameFilterException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidBucketNameFilterException =
_ServiceError . hasCode "InvalidBucketNameFilterException"
_DeploymentGroupAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentGroupAlreadyExistsException =
_ServiceError . hasCode "DeploymentGroupAlreadyExistsException"
_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidSortByException = _ServiceError . hasCode "InvalidSortByException"
_RevisionDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
_RevisionDoesNotExistException =
_ServiceError . hasCode "RevisionDoesNotExistException"
_DeploymentGroupLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentGroupLimitExceededException =
_ServiceError . hasCode "DeploymentGroupLimitExceededException"
_DeploymentGroupDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentGroupDoesNotExistException =
_ServiceError . hasCode "DeploymentGroupDoesNotExistException"
_InvalidDeploymentConfigNameException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidDeploymentConfigNameException =
_ServiceError . hasCode "InvalidDeploymentConfigNameException"
_DeploymentConfigNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentConfigNameRequiredException =
_ServiceError . hasCode "DeploymentConfigNameRequiredException"
_DeploymentIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentIdRequiredException =
_ServiceError . hasCode "DeploymentIdRequiredException"
_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidNextTokenException =
_ServiceError . hasCode "InvalidNextTokenException"
_InstanceIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_InstanceIdRequiredException =
_ServiceError . hasCode "InstanceIdRequiredException"
_InvalidDeploymentIdException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidDeploymentIdException =
_ServiceError . hasCode "InvalidDeploymentIdException"
_InvalidSortOrderException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidSortOrderException =
_ServiceError . hasCode "InvalidSortOrderException"
_DeploymentAlreadyCompletedException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentAlreadyCompletedException =
_ServiceError . hasCode "DeploymentAlreadyCompletedException"
_DeploymentDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentDoesNotExistException =
_ServiceError . hasCode "DeploymentDoesNotExistException"
_InvalidRevisionException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidRevisionException = _ServiceError . hasCode "InvalidRevisionException"
_RevisionRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_RevisionRequiredException =
_ServiceError . hasCode "RevisionRequiredException"
_InstanceDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
_InstanceDoesNotExistException =
_ServiceError . hasCode "InstanceDoesNotExistException"
_DeploymentConfigInUseException :: AsError a => Getting (First ServiceError) a ServiceError
_DeploymentConfigInUseException =
_ServiceError . hasCode "DeploymentConfigInUseException"
_InvalidEC2TagException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidEC2TagException = _ServiceError . hasCode "InvalidEC2TagException"
_InvalidInstanceNameException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidInstanceNameException =
_ServiceError . hasCode "InvalidInstanceNameException"
_InstanceNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_InstanceNameRequiredException =
_ServiceError . hasCode "InstanceNameRequiredException"
_InvalidDeploymentStatusException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidDeploymentStatusException =
_ServiceError . hasCode "InvalidDeploymentStatusException"
_InvalidRegistrationStatusException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidRegistrationStatusException =
_ServiceError . hasCode "InvalidRegistrationStatusException"
_ApplicationNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
_ApplicationNameRequiredException =
_ServiceError . hasCode "ApplicationNameRequiredException"
_InstanceNotRegisteredException :: AsError a => Getting (First ServiceError) a ServiceError
_InstanceNotRegisteredException =
_ServiceError . hasCode "InstanceNotRegisteredException"
_ApplicationAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
_ApplicationAlreadyExistsException =
_ServiceError . hasCode "ApplicationAlreadyExistsException"
_InvalidInstanceStatusException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidInstanceStatusException =
_ServiceError . hasCode "InvalidInstanceStatusException"
_TagLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
_TagLimitExceededException =
_ServiceError . hasCode "TagLimitExceededException"
_ApplicationLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
_ApplicationLimitExceededException =
_ServiceError . hasCode "ApplicationLimitExceededException"
_InvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidOperationException =
_ServiceError . hasCode "InvalidOperationException"
_InvalidKeyPrefixFilterException :: AsError a => Getting (First ServiceError) a ServiceError
_InvalidKeyPrefixFilterException =
_ServiceError . hasCode "InvalidKeyPrefixFilterException"