{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.CloudFormation.Types
(
defaultService,
_TypeNotFoundException,
_CreatedButModifiedException,
_ChangeSetNotFoundException,
_OperationInProgressException,
_InvalidChangeSetStatusException,
_OperationNotFoundException,
_OperationIdAlreadyExistsException,
_TypeConfigurationNotFoundException,
_InsufficientCapabilitiesException,
_TokenAlreadyExistsException,
_StackNotFoundException,
_StackSetNotFoundException,
_StackInstanceNotFoundException,
_OperationStatusCheckFailedException,
_StackSetNotEmptyException,
_InvalidOperationException,
_InvalidStateTransitionException,
_NameAlreadyExistsException,
_CFNRegistryException,
_StaleRequestException,
_AlreadyExistsException,
_LimitExceededException,
AccountGateStatus (..),
CallAs (..),
Capability (..),
Category (..),
ChangeAction (..),
ChangeSetStatus (..),
ChangeSetType (..),
ChangeSource (..),
ChangeType (..),
DeprecatedStatus (..),
DifferenceType (..),
EvaluationType (..),
ExecutionStatus (..),
HandlerErrorCode (..),
IdentityProvider (..),
OnFailure (..),
OperationStatus (..),
PermissionModels (..),
ProvisioningType (..),
PublisherStatus (..),
RegionConcurrencyType (..),
RegistrationStatus (..),
RegistryType (..),
Replacement (..),
RequiresRecreation (..),
ResourceAttribute (..),
ResourceSignalStatus (..),
ResourceStatus (..),
StackDriftDetectionStatus (..),
StackDriftStatus (..),
StackInstanceDetailedStatus (..),
StackInstanceFilterName (..),
StackInstanceStatus (..),
StackResourceDriftStatus (..),
StackSetDriftDetectionStatus (..),
StackSetDriftStatus (..),
StackSetOperationAction (..),
StackSetOperationResultStatus (..),
StackSetOperationStatus (..),
StackSetStatus (..),
StackStatus (..),
TemplateStage (..),
ThirdPartyType (..),
TypeTestsStatus (..),
VersionBump (..),
Visibility (..),
AccountGateResult (..),
newAccountGateResult,
accountGateResult_status,
accountGateResult_statusReason,
AccountLimit (..),
newAccountLimit,
accountLimit_value,
accountLimit_name,
AutoDeployment (..),
newAutoDeployment,
autoDeployment_enabled,
autoDeployment_retainStacksOnAccountRemoval,
BatchDescribeTypeConfigurationsError (..),
newBatchDescribeTypeConfigurationsError,
batchDescribeTypeConfigurationsError_typeConfigurationIdentifier,
batchDescribeTypeConfigurationsError_errorCode,
batchDescribeTypeConfigurationsError_errorMessage,
Change (..),
newChange,
change_resourceChange,
change_type,
ChangeSetSummary (..),
newChangeSetSummary,
changeSetSummary_creationTime,
changeSetSummary_status,
changeSetSummary_parentChangeSetId,
changeSetSummary_changeSetName,
changeSetSummary_executionStatus,
changeSetSummary_changeSetId,
changeSetSummary_includeNestedStacks,
changeSetSummary_rootChangeSetId,
changeSetSummary_statusReason,
changeSetSummary_stackId,
changeSetSummary_description,
changeSetSummary_stackName,
DeploymentTargets (..),
newDeploymentTargets,
deploymentTargets_accounts,
deploymentTargets_organizationalUnitIds,
deploymentTargets_accountsUrl,
Export (..),
newExport,
export_value,
export_exportingStackId,
export_name,
LoggingConfig (..),
newLoggingConfig,
loggingConfig_logRoleArn,
loggingConfig_logGroupName,
ModuleInfo (..),
newModuleInfo,
moduleInfo_typeHierarchy,
moduleInfo_logicalIdHierarchy,
Output (..),
newOutput,
output_outputValue,
output_outputKey,
output_exportName,
output_description,
Parameter (..),
newParameter,
parameter_parameterValue,
parameter_resolvedValue,
parameter_parameterKey,
parameter_usePreviousValue,
ParameterConstraints (..),
newParameterConstraints,
parameterConstraints_allowedValues,
ParameterDeclaration (..),
newParameterDeclaration,
parameterDeclaration_parameterKey,
parameterDeclaration_parameterType,
parameterDeclaration_parameterConstraints,
parameterDeclaration_defaultValue,
parameterDeclaration_noEcho,
parameterDeclaration_description,
PhysicalResourceIdContextKeyValuePair (..),
newPhysicalResourceIdContextKeyValuePair,
physicalResourceIdContextKeyValuePair_key,
physicalResourceIdContextKeyValuePair_value,
PropertyDifference (..),
newPropertyDifference,
propertyDifference_propertyPath,
propertyDifference_expectedValue,
propertyDifference_actualValue,
propertyDifference_differenceType,
RequiredActivatedType (..),
newRequiredActivatedType,
requiredActivatedType_originalTypeName,
requiredActivatedType_typeNameAlias,
requiredActivatedType_supportedMajorVersions,
requiredActivatedType_publisherId,
ResourceChange (..),
newResourceChange,
resourceChange_logicalResourceId,
resourceChange_physicalResourceId,
resourceChange_resourceType,
resourceChange_action,
resourceChange_changeSetId,
resourceChange_moduleInfo,
resourceChange_scope,
resourceChange_details,
resourceChange_replacement,
ResourceChangeDetail (..),
newResourceChangeDetail,
resourceChangeDetail_causingEntity,
resourceChangeDetail_changeSource,
resourceChangeDetail_evaluation,
resourceChangeDetail_target,
ResourceIdentifierSummary (..),
newResourceIdentifierSummary,
resourceIdentifierSummary_resourceType,
resourceIdentifierSummary_logicalResourceIds,
resourceIdentifierSummary_resourceIdentifiers,
ResourceTargetDefinition (..),
newResourceTargetDefinition,
resourceTargetDefinition_attribute,
resourceTargetDefinition_requiresRecreation,
resourceTargetDefinition_name,
ResourceToImport (..),
newResourceToImport,
resourceToImport_resourceType,
resourceToImport_logicalResourceId,
resourceToImport_resourceIdentifier,
RollbackConfiguration (..),
newRollbackConfiguration,
rollbackConfiguration_rollbackTriggers,
rollbackConfiguration_monitoringTimeInMinutes,
RollbackTrigger (..),
newRollbackTrigger,
rollbackTrigger_arn,
rollbackTrigger_type,
Stack (..),
newStack,
stack_disableRollback,
stack_lastUpdatedTime,
stack_rootId,
stack_notificationARNs,
stack_stackStatusReason,
stack_enableTerminationProtection,
stack_driftInformation,
stack_changeSetId,
stack_deletionTime,
stack_outputs,
stack_parameters,
stack_stackId,
stack_description,
stack_capabilities,
stack_rollbackConfiguration,
stack_tags,
stack_timeoutInMinutes,
stack_parentId,
stack_roleARN,
stack_stackName,
stack_creationTime,
stack_stackStatus,
StackDriftInformation (..),
newStackDriftInformation,
stackDriftInformation_lastCheckTimestamp,
stackDriftInformation_stackDriftStatus,
StackDriftInformationSummary (..),
newStackDriftInformationSummary,
stackDriftInformationSummary_lastCheckTimestamp,
stackDriftInformationSummary_stackDriftStatus,
StackEvent (..),
newStackEvent,
stackEvent_logicalResourceId,
stackEvent_physicalResourceId,
stackEvent_resourceType,
stackEvent_resourceStatusReason,
stackEvent_resourceProperties,
stackEvent_resourceStatus,
stackEvent_clientRequestToken,
stackEvent_stackId,
stackEvent_eventId,
stackEvent_stackName,
stackEvent_timestamp,
StackInstance (..),
newStackInstance,
stackInstance_status,
stackInstance_lastDriftCheckTimestamp,
stackInstance_account,
stackInstance_driftStatus,
stackInstance_organizationalUnitId,
stackInstance_region,
stackInstance_statusReason,
stackInstance_stackId,
stackInstance_stackInstanceStatus,
stackInstance_parameterOverrides,
stackInstance_stackSetId,
StackInstanceComprehensiveStatus (..),
newStackInstanceComprehensiveStatus,
stackInstanceComprehensiveStatus_detailedStatus,
StackInstanceFilter (..),
newStackInstanceFilter,
stackInstanceFilter_values,
stackInstanceFilter_name,
StackInstanceSummary (..),
newStackInstanceSummary,
stackInstanceSummary_status,
stackInstanceSummary_lastDriftCheckTimestamp,
stackInstanceSummary_account,
stackInstanceSummary_driftStatus,
stackInstanceSummary_organizationalUnitId,
stackInstanceSummary_region,
stackInstanceSummary_statusReason,
stackInstanceSummary_stackId,
stackInstanceSummary_stackInstanceStatus,
stackInstanceSummary_stackSetId,
StackResource (..),
newStackResource,
stackResource_physicalResourceId,
stackResource_resourceStatusReason,
stackResource_driftInformation,
stackResource_moduleInfo,
stackResource_stackId,
stackResource_description,
stackResource_stackName,
stackResource_logicalResourceId,
stackResource_resourceType,
stackResource_timestamp,
stackResource_resourceStatus,
StackResourceDetail (..),
newStackResourceDetail,
stackResourceDetail_physicalResourceId,
stackResourceDetail_resourceStatusReason,
stackResourceDetail_driftInformation,
stackResourceDetail_moduleInfo,
stackResourceDetail_metadata,
stackResourceDetail_stackId,
stackResourceDetail_description,
stackResourceDetail_stackName,
stackResourceDetail_logicalResourceId,
stackResourceDetail_resourceType,
stackResourceDetail_lastUpdatedTimestamp,
stackResourceDetail_resourceStatus,
StackResourceDrift (..),
newStackResourceDrift,
stackResourceDrift_actualProperties,
stackResourceDrift_physicalResourceId,
stackResourceDrift_physicalResourceIdContext,
stackResourceDrift_propertyDifferences,
stackResourceDrift_moduleInfo,
stackResourceDrift_expectedProperties,
stackResourceDrift_stackId,
stackResourceDrift_logicalResourceId,
stackResourceDrift_resourceType,
stackResourceDrift_stackResourceDriftStatus,
stackResourceDrift_timestamp,
StackResourceDriftInformation (..),
newStackResourceDriftInformation,
stackResourceDriftInformation_lastCheckTimestamp,
stackResourceDriftInformation_stackResourceDriftStatus,
StackResourceDriftInformationSummary (..),
newStackResourceDriftInformationSummary,
stackResourceDriftInformationSummary_lastCheckTimestamp,
stackResourceDriftInformationSummary_stackResourceDriftStatus,
StackResourceSummary (..),
newStackResourceSummary,
stackResourceSummary_physicalResourceId,
stackResourceSummary_resourceStatusReason,
stackResourceSummary_driftInformation,
stackResourceSummary_moduleInfo,
stackResourceSummary_logicalResourceId,
stackResourceSummary_resourceType,
stackResourceSummary_lastUpdatedTimestamp,
stackResourceSummary_resourceStatus,
StackSet (..),
newStackSet,
stackSet_stackSetDriftDetectionDetails,
stackSet_status,
stackSet_administrationRoleARN,
stackSet_autoDeployment,
stackSet_organizationalUnitIds,
stackSet_stackSetARN,
stackSet_permissionModel,
stackSet_parameters,
stackSet_templateBody,
stackSet_stackSetName,
stackSet_description,
stackSet_capabilities,
stackSet_tags,
stackSet_stackSetId,
stackSet_executionRoleName,
StackSetDriftDetectionDetails (..),
newStackSetDriftDetectionDetails,
stackSetDriftDetectionDetails_lastDriftCheckTimestamp,
stackSetDriftDetectionDetails_totalStackInstancesCount,
stackSetDriftDetectionDetails_inProgressStackInstancesCount,
stackSetDriftDetectionDetails_driftedStackInstancesCount,
stackSetDriftDetectionDetails_driftDetectionStatus,
stackSetDriftDetectionDetails_driftStatus,
stackSetDriftDetectionDetails_failedStackInstancesCount,
stackSetDriftDetectionDetails_inSyncStackInstancesCount,
StackSetOperation (..),
newStackSetOperation,
stackSetOperation_stackSetDriftDetectionDetails,
stackSetOperation_status,
stackSetOperation_administrationRoleARN,
stackSetOperation_action,
stackSetOperation_endTimestamp,
stackSetOperation_creationTimestamp,
stackSetOperation_operationPreferences,
stackSetOperation_operationId,
stackSetOperation_retainStacks,
stackSetOperation_deploymentTargets,
stackSetOperation_stackSetId,
stackSetOperation_executionRoleName,
StackSetOperationPreferences (..),
newStackSetOperationPreferences,
stackSetOperationPreferences_regionOrder,
stackSetOperationPreferences_maxConcurrentCount,
stackSetOperationPreferences_maxConcurrentPercentage,
stackSetOperationPreferences_failureToleranceCount,
stackSetOperationPreferences_regionConcurrencyType,
stackSetOperationPreferences_failureTolerancePercentage,
StackSetOperationResultSummary (..),
newStackSetOperationResultSummary,
stackSetOperationResultSummary_status,
stackSetOperationResultSummary_account,
stackSetOperationResultSummary_accountGateResult,
stackSetOperationResultSummary_organizationalUnitId,
stackSetOperationResultSummary_region,
stackSetOperationResultSummary_statusReason,
StackSetOperationSummary (..),
newStackSetOperationSummary,
stackSetOperationSummary_status,
stackSetOperationSummary_action,
stackSetOperationSummary_endTimestamp,
stackSetOperationSummary_creationTimestamp,
stackSetOperationSummary_operationId,
StackSetSummary (..),
newStackSetSummary,
stackSetSummary_status,
stackSetSummary_lastDriftCheckTimestamp,
stackSetSummary_autoDeployment,
stackSetSummary_driftStatus,
stackSetSummary_permissionModel,
stackSetSummary_stackSetName,
stackSetSummary_description,
stackSetSummary_stackSetId,
StackSummary (..),
newStackSummary,
stackSummary_lastUpdatedTime,
stackSummary_rootId,
stackSummary_stackStatusReason,
stackSummary_templateDescription,
stackSummary_driftInformation,
stackSummary_deletionTime,
stackSummary_stackId,
stackSummary_parentId,
stackSummary_stackName,
stackSummary_creationTime,
stackSummary_stackStatus,
Tag (..),
newTag,
tag_key,
tag_value,
TemplateParameter (..),
newTemplateParameter,
templateParameter_parameterKey,
templateParameter_defaultValue,
templateParameter_noEcho,
templateParameter_description,
TypeConfigurationDetails (..),
newTypeConfigurationDetails,
typeConfigurationDetails_lastUpdated,
typeConfigurationDetails_typeName,
typeConfigurationDetails_arn,
typeConfigurationDetails_alias,
typeConfigurationDetails_typeArn,
typeConfigurationDetails_configuration,
typeConfigurationDetails_isDefaultConfiguration,
TypeConfigurationIdentifier (..),
newTypeConfigurationIdentifier,
typeConfigurationIdentifier_typeName,
typeConfigurationIdentifier_typeConfigurationArn,
typeConfigurationIdentifier_typeConfigurationAlias,
typeConfigurationIdentifier_typeArn,
typeConfigurationIdentifier_type,
TypeFilters (..),
newTypeFilters,
typeFilters_typeNamePrefix,
typeFilters_category,
typeFilters_publisherId,
TypeSummary (..),
newTypeSummary,
typeSummary_lastUpdated,
typeSummary_typeName,
typeSummary_publicVersionNumber,
typeSummary_publisherIdentity,
typeSummary_originalTypeName,
typeSummary_defaultVersionId,
typeSummary_isActivated,
typeSummary_typeArn,
typeSummary_type,
typeSummary_latestPublicVersion,
typeSummary_publisherId,
typeSummary_description,
typeSummary_publisherName,
TypeVersionSummary (..),
newTypeVersionSummary,
typeVersionSummary_versionId,
typeVersionSummary_typeName,
typeVersionSummary_arn,
typeVersionSummary_publicVersionNumber,
typeVersionSummary_timeCreated,
typeVersionSummary_type,
typeVersionSummary_isDefaultVersion,
typeVersionSummary_description,
)
where
import Amazonka.CloudFormation.Types.AccountGateResult
import Amazonka.CloudFormation.Types.AccountGateStatus
import Amazonka.CloudFormation.Types.AccountLimit
import Amazonka.CloudFormation.Types.AutoDeployment
import Amazonka.CloudFormation.Types.BatchDescribeTypeConfigurationsError
import Amazonka.CloudFormation.Types.CallAs
import Amazonka.CloudFormation.Types.Capability
import Amazonka.CloudFormation.Types.Category
import Amazonka.CloudFormation.Types.Change
import Amazonka.CloudFormation.Types.ChangeAction
import Amazonka.CloudFormation.Types.ChangeSetStatus
import Amazonka.CloudFormation.Types.ChangeSetSummary
import Amazonka.CloudFormation.Types.ChangeSetType
import Amazonka.CloudFormation.Types.ChangeSource
import Amazonka.CloudFormation.Types.ChangeType
import Amazonka.CloudFormation.Types.DeploymentTargets
import Amazonka.CloudFormation.Types.DeprecatedStatus
import Amazonka.CloudFormation.Types.DifferenceType
import Amazonka.CloudFormation.Types.EvaluationType
import Amazonka.CloudFormation.Types.ExecutionStatus
import Amazonka.CloudFormation.Types.Export
import Amazonka.CloudFormation.Types.HandlerErrorCode
import Amazonka.CloudFormation.Types.IdentityProvider
import Amazonka.CloudFormation.Types.LoggingConfig
import Amazonka.CloudFormation.Types.ModuleInfo
import Amazonka.CloudFormation.Types.OnFailure
import Amazonka.CloudFormation.Types.OperationStatus
import Amazonka.CloudFormation.Types.Output
import Amazonka.CloudFormation.Types.Parameter
import Amazonka.CloudFormation.Types.ParameterConstraints
import Amazonka.CloudFormation.Types.ParameterDeclaration
import Amazonka.CloudFormation.Types.PermissionModels
import Amazonka.CloudFormation.Types.PhysicalResourceIdContextKeyValuePair
import Amazonka.CloudFormation.Types.PropertyDifference
import Amazonka.CloudFormation.Types.ProvisioningType
import Amazonka.CloudFormation.Types.PublisherStatus
import Amazonka.CloudFormation.Types.RegionConcurrencyType
import Amazonka.CloudFormation.Types.RegistrationStatus
import Amazonka.CloudFormation.Types.RegistryType
import Amazonka.CloudFormation.Types.Replacement
import Amazonka.CloudFormation.Types.RequiredActivatedType
import Amazonka.CloudFormation.Types.RequiresRecreation
import Amazonka.CloudFormation.Types.ResourceAttribute
import Amazonka.CloudFormation.Types.ResourceChange
import Amazonka.CloudFormation.Types.ResourceChangeDetail
import Amazonka.CloudFormation.Types.ResourceIdentifierSummary
import Amazonka.CloudFormation.Types.ResourceSignalStatus
import Amazonka.CloudFormation.Types.ResourceStatus
import Amazonka.CloudFormation.Types.ResourceTargetDefinition
import Amazonka.CloudFormation.Types.ResourceToImport
import Amazonka.CloudFormation.Types.RollbackConfiguration
import Amazonka.CloudFormation.Types.RollbackTrigger
import Amazonka.CloudFormation.Types.Stack
import Amazonka.CloudFormation.Types.StackDriftDetectionStatus
import Amazonka.CloudFormation.Types.StackDriftInformation
import Amazonka.CloudFormation.Types.StackDriftInformationSummary
import Amazonka.CloudFormation.Types.StackDriftStatus
import Amazonka.CloudFormation.Types.StackEvent
import Amazonka.CloudFormation.Types.StackInstance
import Amazonka.CloudFormation.Types.StackInstanceComprehensiveStatus
import Amazonka.CloudFormation.Types.StackInstanceDetailedStatus
import Amazonka.CloudFormation.Types.StackInstanceFilter
import Amazonka.CloudFormation.Types.StackInstanceFilterName
import Amazonka.CloudFormation.Types.StackInstanceStatus
import Amazonka.CloudFormation.Types.StackInstanceSummary
import Amazonka.CloudFormation.Types.StackResource
import Amazonka.CloudFormation.Types.StackResourceDetail
import Amazonka.CloudFormation.Types.StackResourceDrift
import Amazonka.CloudFormation.Types.StackResourceDriftInformation
import Amazonka.CloudFormation.Types.StackResourceDriftInformationSummary
import Amazonka.CloudFormation.Types.StackResourceDriftStatus
import Amazonka.CloudFormation.Types.StackResourceSummary
import Amazonka.CloudFormation.Types.StackSet
import Amazonka.CloudFormation.Types.StackSetDriftDetectionDetails
import Amazonka.CloudFormation.Types.StackSetDriftDetectionStatus
import Amazonka.CloudFormation.Types.StackSetDriftStatus
import Amazonka.CloudFormation.Types.StackSetOperation
import Amazonka.CloudFormation.Types.StackSetOperationAction
import Amazonka.CloudFormation.Types.StackSetOperationPreferences
import Amazonka.CloudFormation.Types.StackSetOperationResultStatus
import Amazonka.CloudFormation.Types.StackSetOperationResultSummary
import Amazonka.CloudFormation.Types.StackSetOperationStatus
import Amazonka.CloudFormation.Types.StackSetOperationSummary
import Amazonka.CloudFormation.Types.StackSetStatus
import Amazonka.CloudFormation.Types.StackSetSummary
import Amazonka.CloudFormation.Types.StackStatus
import Amazonka.CloudFormation.Types.StackSummary
import Amazonka.CloudFormation.Types.Tag
import Amazonka.CloudFormation.Types.TemplateParameter
import Amazonka.CloudFormation.Types.TemplateStage
import Amazonka.CloudFormation.Types.ThirdPartyType
import Amazonka.CloudFormation.Types.TypeConfigurationDetails
import Amazonka.CloudFormation.Types.TypeConfigurationIdentifier
import Amazonka.CloudFormation.Types.TypeFilters
import Amazonka.CloudFormation.Types.TypeSummary
import Amazonka.CloudFormation.Types.TypeTestsStatus
import Amazonka.CloudFormation.Types.TypeVersionSummary
import Amazonka.CloudFormation.Types.VersionBump
import Amazonka.CloudFormation.Types.Visibility
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Service :: Abbrev
-> Signer
-> ByteString
-> ByteString
-> ByteString
-> (Region -> Endpoint)
-> Maybe Seconds
-> (Status -> Bool)
-> (Status -> [Header] -> ByteStringLazy -> Error)
-> Retry
-> Service
Core.Service
{ $sel:_serviceAbbrev:Service :: Abbrev
Core._serviceAbbrev =
Abbrev
"CloudFormation",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"cloudformation",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"cloudformation",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2010-05-15",
$sel:_serviceEndpoint:Service :: Region -> Endpoint
Core._serviceEndpoint =
Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:_serviceTimeout:Service :: Maybe Seconds
Core._serviceTimeout = Seconds -> Maybe Seconds
forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:_serviceCheck:Service :: Status -> Bool
Core._serviceCheck = Status -> Bool
Core.statusSuccess,
$sel:_serviceError:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core._serviceError =
Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseXMLError Abbrev
"CloudFormation",
$sel:_serviceRetry:Service :: Retry
Core._serviceRetry = Retry
retry
}
where
retry :: Retry
retry =
Exponential :: Double -> Int -> Int -> (ServiceError -> Maybe Text) -> Retry
Core.Exponential
{ $sel:_retryBase:Exponential :: Double
Core._retryBase = Double
5.0e-2,
$sel:_retryGrowth:Exponential :: Int
Core._retryGrowth = Int
2,
$sel:_retryAttempts:Exponential :: Int
Core._retryAttempts = Int
5,
$sel:_retryCheck:Exponential :: ServiceError -> Maybe Text
Core._retryCheck = ServiceError -> Maybe Text
forall a. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| Bool
Prelude.otherwise = Maybe a
forall a. Maybe a
Prelude.Nothing
_TypeNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TypeNotFoundException :: Getting (First ServiceError) a ServiceError
_TypeNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TypeNotFoundException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_CreatedButModifiedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_CreatedButModifiedException :: Getting (First ServiceError) a ServiceError
_CreatedButModifiedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CreatedButModifiedException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
409
_ChangeSetNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ChangeSetNotFoundException :: Getting (First ServiceError) a ServiceError
_ChangeSetNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ChangeSetNotFound"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_OperationInProgressException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_OperationInProgressException :: Getting (First ServiceError) a ServiceError
_OperationInProgressException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"OperationInProgressException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
409
_InvalidChangeSetStatusException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidChangeSetStatusException :: Getting (First ServiceError) a ServiceError
_InvalidChangeSetStatusException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidChangeSetStatus"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_OperationNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_OperationNotFoundException :: Getting (First ServiceError) a ServiceError
_OperationNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"OperationNotFoundException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_OperationIdAlreadyExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_OperationIdAlreadyExistsException :: Getting (First ServiceError) a ServiceError
_OperationIdAlreadyExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"OperationIdAlreadyExistsException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
409
_TypeConfigurationNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TypeConfigurationNotFoundException :: Getting (First ServiceError) a ServiceError
_TypeConfigurationNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TypeConfigurationNotFoundException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_InsufficientCapabilitiesException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InsufficientCapabilitiesException :: Getting (First ServiceError) a ServiceError
_InsufficientCapabilitiesException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InsufficientCapabilitiesException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_TokenAlreadyExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TokenAlreadyExistsException :: Getting (First ServiceError) a ServiceError
_TokenAlreadyExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TokenAlreadyExistsException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_StackNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_StackNotFoundException :: Getting (First ServiceError) a ServiceError
_StackNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StackNotFoundException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_StackSetNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_StackSetNotFoundException :: Getting (First ServiceError) a ServiceError
_StackSetNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StackSetNotFoundException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_StackInstanceNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_StackInstanceNotFoundException :: Getting (First ServiceError) a ServiceError
_StackInstanceNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StackInstanceNotFoundException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_OperationStatusCheckFailedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_OperationStatusCheckFailedException :: Getting (First ServiceError) a ServiceError
_OperationStatusCheckFailedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConditionalCheckFailed"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_StackSetNotEmptyException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_StackSetNotEmptyException :: Getting (First ServiceError) a ServiceError
_StackSetNotEmptyException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StackSetNotEmptyException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
409
_InvalidOperationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidOperationException :: Getting (First ServiceError) a ServiceError
_InvalidOperationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidOperationException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_InvalidStateTransitionException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidStateTransitionException :: Getting (First ServiceError) a ServiceError
_InvalidStateTransitionException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidStateTransition"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_NameAlreadyExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_NameAlreadyExistsException :: Getting (First ServiceError) a ServiceError
_NameAlreadyExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"NameAlreadyExistsException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
409
_CFNRegistryException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_CFNRegistryException :: Getting (First ServiceError) a ServiceError
_CFNRegistryException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CFNRegistryException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_StaleRequestException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_StaleRequestException :: Getting (First ServiceError) a ServiceError
_StaleRequestException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StaleRequestException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
409
_AlreadyExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_AlreadyExistsException :: Getting (First ServiceError) a ServiceError
_AlreadyExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AlreadyExistsException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_LimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_LimitExceededException :: Getting (First ServiceError) a ServiceError
_LimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"LimitExceededException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400