{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.ImageBuilder.Types
(
defaultService,
_CallRateLimitExceededException,
_ClientException,
_ForbiddenException,
_IdempotentParameterMismatchException,
_InvalidPaginationTokenException,
_InvalidParameterCombinationException,
_InvalidParameterException,
_InvalidParameterValueException,
_InvalidRequestException,
_InvalidVersionNumberException,
_ResourceAlreadyExistsException,
_ResourceDependencyException,
_ResourceInUseException,
_ResourceNotFoundException,
_ServiceException,
_ServiceQuotaExceededException,
_ServiceUnavailableException,
BuildType (..),
ComponentFormat (..),
ComponentStatus (..),
ComponentType (..),
ContainerRepositoryService (..),
ContainerType (..),
DiskImageFormat (..),
EbsVolumeType (..),
ImageStatus (..),
ImageType (..),
Ownership (..),
PipelineExecutionStartCondition (..),
PipelineStatus (..),
Platform (..),
AdditionalInstanceConfiguration (..),
newAdditionalInstanceConfiguration,
additionalInstanceConfiguration_systemsManagerAgent,
additionalInstanceConfiguration_userDataOverride,
Ami (..),
newAmi,
ami_accountId,
ami_description,
ami_image,
ami_name,
ami_region,
ami_state,
AmiDistributionConfiguration (..),
newAmiDistributionConfiguration,
amiDistributionConfiguration_amiTags,
amiDistributionConfiguration_description,
amiDistributionConfiguration_kmsKeyId,
amiDistributionConfiguration_launchPermission,
amiDistributionConfiguration_name,
amiDistributionConfiguration_targetAccountIds,
Component (..),
newComponent,
component_arn,
component_changeDescription,
component_data,
component_dateCreated,
component_description,
component_encrypted,
component_kmsKeyId,
component_name,
component_owner,
component_parameters,
component_platform,
component_state,
component_supportedOsVersions,
component_tags,
component_type,
component_version,
ComponentConfiguration (..),
newComponentConfiguration,
componentConfiguration_parameters,
componentConfiguration_componentArn,
ComponentParameter (..),
newComponentParameter,
componentParameter_name,
componentParameter_value,
ComponentParameterDetail (..),
newComponentParameterDetail,
componentParameterDetail_defaultValue,
componentParameterDetail_description,
componentParameterDetail_name,
componentParameterDetail_type,
ComponentState (..),
newComponentState,
componentState_reason,
componentState_status,
ComponentSummary (..),
newComponentSummary,
componentSummary_arn,
componentSummary_changeDescription,
componentSummary_dateCreated,
componentSummary_description,
componentSummary_name,
componentSummary_owner,
componentSummary_platform,
componentSummary_state,
componentSummary_supportedOsVersions,
componentSummary_tags,
componentSummary_type,
componentSummary_version,
ComponentVersion (..),
newComponentVersion,
componentVersion_arn,
componentVersion_dateCreated,
componentVersion_description,
componentVersion_name,
componentVersion_owner,
componentVersion_platform,
componentVersion_supportedOsVersions,
componentVersion_type,
componentVersion_version,
Container (..),
newContainer,
container_imageUris,
container_region,
ContainerDistributionConfiguration (..),
newContainerDistributionConfiguration,
containerDistributionConfiguration_containerTags,
containerDistributionConfiguration_description,
containerDistributionConfiguration_targetRepository,
ContainerRecipe (..),
newContainerRecipe,
containerRecipe_arn,
containerRecipe_components,
containerRecipe_containerType,
containerRecipe_dateCreated,
containerRecipe_description,
containerRecipe_dockerfileTemplateData,
containerRecipe_encrypted,
containerRecipe_instanceConfiguration,
containerRecipe_kmsKeyId,
containerRecipe_name,
containerRecipe_owner,
containerRecipe_parentImage,
containerRecipe_platform,
containerRecipe_tags,
containerRecipe_targetRepository,
containerRecipe_version,
containerRecipe_workingDirectory,
ContainerRecipeSummary (..),
newContainerRecipeSummary,
containerRecipeSummary_arn,
containerRecipeSummary_containerType,
containerRecipeSummary_dateCreated,
containerRecipeSummary_name,
containerRecipeSummary_owner,
containerRecipeSummary_parentImage,
containerRecipeSummary_platform,
containerRecipeSummary_tags,
Distribution (..),
newDistribution,
distribution_amiDistributionConfiguration,
distribution_containerDistributionConfiguration,
distribution_fastLaunchConfigurations,
distribution_launchTemplateConfigurations,
distribution_licenseConfigurationArns,
distribution_s3ExportConfiguration,
distribution_region,
DistributionConfiguration (..),
newDistributionConfiguration,
distributionConfiguration_arn,
distributionConfiguration_dateCreated,
distributionConfiguration_dateUpdated,
distributionConfiguration_description,
distributionConfiguration_distributions,
distributionConfiguration_name,
distributionConfiguration_tags,
distributionConfiguration_timeoutMinutes,
DistributionConfigurationSummary (..),
newDistributionConfigurationSummary,
distributionConfigurationSummary_arn,
distributionConfigurationSummary_dateCreated,
distributionConfigurationSummary_dateUpdated,
distributionConfigurationSummary_description,
distributionConfigurationSummary_name,
distributionConfigurationSummary_regions,
distributionConfigurationSummary_tags,
EbsInstanceBlockDeviceSpecification (..),
newEbsInstanceBlockDeviceSpecification,
ebsInstanceBlockDeviceSpecification_deleteOnTermination,
ebsInstanceBlockDeviceSpecification_encrypted,
ebsInstanceBlockDeviceSpecification_iops,
ebsInstanceBlockDeviceSpecification_kmsKeyId,
ebsInstanceBlockDeviceSpecification_snapshotId,
ebsInstanceBlockDeviceSpecification_throughput,
ebsInstanceBlockDeviceSpecification_volumeSize,
ebsInstanceBlockDeviceSpecification_volumeType,
FastLaunchConfiguration (..),
newFastLaunchConfiguration,
fastLaunchConfiguration_accountId,
fastLaunchConfiguration_launchTemplate,
fastLaunchConfiguration_maxParallelLaunches,
fastLaunchConfiguration_snapshotConfiguration,
fastLaunchConfiguration_enabled,
FastLaunchLaunchTemplateSpecification (..),
newFastLaunchLaunchTemplateSpecification,
fastLaunchLaunchTemplateSpecification_launchTemplateId,
fastLaunchLaunchTemplateSpecification_launchTemplateName,
fastLaunchLaunchTemplateSpecification_launchTemplateVersion,
FastLaunchSnapshotConfiguration (..),
newFastLaunchSnapshotConfiguration,
fastLaunchSnapshotConfiguration_targetResourceCount,
Filter (..),
newFilter,
filter_name,
filter_values,
Image (..),
newImage,
image_arn,
image_buildType,
image_containerRecipe,
image_dateCreated,
image_distributionConfiguration,
image_enhancedImageMetadataEnabled,
image_imageRecipe,
image_imageTestsConfiguration,
image_infrastructureConfiguration,
image_name,
image_osVersion,
image_outputResources,
image_platform,
image_sourcePipelineArn,
image_sourcePipelineName,
image_state,
image_tags,
image_type,
image_version,
ImagePackage (..),
newImagePackage,
imagePackage_packageName,
imagePackage_packageVersion,
ImagePipeline (..),
newImagePipeline,
imagePipeline_arn,
imagePipeline_containerRecipeArn,
imagePipeline_dateCreated,
imagePipeline_dateLastRun,
imagePipeline_dateNextRun,
imagePipeline_dateUpdated,
imagePipeline_description,
imagePipeline_distributionConfigurationArn,
imagePipeline_enhancedImageMetadataEnabled,
imagePipeline_imageRecipeArn,
imagePipeline_imageTestsConfiguration,
imagePipeline_infrastructureConfigurationArn,
imagePipeline_name,
imagePipeline_platform,
imagePipeline_schedule,
imagePipeline_status,
imagePipeline_tags,
ImageRecipe (..),
newImageRecipe,
imageRecipe_additionalInstanceConfiguration,
imageRecipe_arn,
imageRecipe_blockDeviceMappings,
imageRecipe_components,
imageRecipe_dateCreated,
imageRecipe_description,
imageRecipe_name,
imageRecipe_owner,
imageRecipe_parentImage,
imageRecipe_platform,
imageRecipe_tags,
imageRecipe_type,
imageRecipe_version,
imageRecipe_workingDirectory,
ImageRecipeSummary (..),
newImageRecipeSummary,
imageRecipeSummary_arn,
imageRecipeSummary_dateCreated,
imageRecipeSummary_name,
imageRecipeSummary_owner,
imageRecipeSummary_parentImage,
imageRecipeSummary_platform,
imageRecipeSummary_tags,
ImageState (..),
newImageState,
imageState_reason,
imageState_status,
ImageSummary (..),
newImageSummary,
imageSummary_arn,
imageSummary_buildType,
imageSummary_dateCreated,
imageSummary_name,
imageSummary_osVersion,
imageSummary_outputResources,
imageSummary_owner,
imageSummary_platform,
imageSummary_state,
imageSummary_tags,
imageSummary_type,
imageSummary_version,
ImageTestsConfiguration (..),
newImageTestsConfiguration,
imageTestsConfiguration_imageTestsEnabled,
imageTestsConfiguration_timeoutMinutes,
ImageVersion (..),
newImageVersion,
imageVersion_arn,
imageVersion_buildType,
imageVersion_dateCreated,
imageVersion_name,
imageVersion_osVersion,
imageVersion_owner,
imageVersion_platform,
imageVersion_type,
imageVersion_version,
InfrastructureConfiguration (..),
newInfrastructureConfiguration,
infrastructureConfiguration_arn,
infrastructureConfiguration_dateCreated,
infrastructureConfiguration_dateUpdated,
infrastructureConfiguration_description,
infrastructureConfiguration_instanceMetadataOptions,
infrastructureConfiguration_instanceProfileName,
infrastructureConfiguration_instanceTypes,
infrastructureConfiguration_keyPair,
infrastructureConfiguration_logging,
infrastructureConfiguration_name,
infrastructureConfiguration_resourceTags,
infrastructureConfiguration_securityGroupIds,
infrastructureConfiguration_snsTopicArn,
infrastructureConfiguration_subnetId,
infrastructureConfiguration_tags,
infrastructureConfiguration_terminateInstanceOnFailure,
InfrastructureConfigurationSummary (..),
newInfrastructureConfigurationSummary,
infrastructureConfigurationSummary_arn,
infrastructureConfigurationSummary_dateCreated,
infrastructureConfigurationSummary_dateUpdated,
infrastructureConfigurationSummary_description,
infrastructureConfigurationSummary_instanceProfileName,
infrastructureConfigurationSummary_instanceTypes,
infrastructureConfigurationSummary_name,
infrastructureConfigurationSummary_resourceTags,
infrastructureConfigurationSummary_tags,
InstanceBlockDeviceMapping (..),
newInstanceBlockDeviceMapping,
instanceBlockDeviceMapping_deviceName,
instanceBlockDeviceMapping_ebs,
instanceBlockDeviceMapping_noDevice,
instanceBlockDeviceMapping_virtualName,
InstanceConfiguration (..),
newInstanceConfiguration,
instanceConfiguration_blockDeviceMappings,
instanceConfiguration_image,
InstanceMetadataOptions (..),
newInstanceMetadataOptions,
instanceMetadataOptions_httpPutResponseHopLimit,
instanceMetadataOptions_httpTokens,
LaunchPermissionConfiguration (..),
newLaunchPermissionConfiguration,
launchPermissionConfiguration_organizationArns,
launchPermissionConfiguration_organizationalUnitArns,
launchPermissionConfiguration_userGroups,
launchPermissionConfiguration_userIds,
LaunchTemplateConfiguration (..),
newLaunchTemplateConfiguration,
launchTemplateConfiguration_accountId,
launchTemplateConfiguration_setDefaultVersion,
launchTemplateConfiguration_launchTemplateId,
Logging (..),
newLogging,
logging_s3Logs,
OutputResources (..),
newOutputResources,
outputResources_amis,
outputResources_containers,
S3ExportConfiguration (..),
newS3ExportConfiguration,
s3ExportConfiguration_s3Prefix,
s3ExportConfiguration_roleName,
s3ExportConfiguration_diskImageFormat,
s3ExportConfiguration_s3Bucket,
S3Logs (..),
newS3Logs,
s3Logs_s3BucketName,
s3Logs_s3KeyPrefix,
Schedule (..),
newSchedule,
schedule_pipelineExecutionStartCondition,
schedule_scheduleExpression,
schedule_timezone,
SystemsManagerAgent (..),
newSystemsManagerAgent,
systemsManagerAgent_uninstallAfterBuild,
TargetContainerRepository (..),
newTargetContainerRepository,
targetContainerRepository_service,
targetContainerRepository_repositoryName,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import Amazonka.ImageBuilder.Types.AdditionalInstanceConfiguration
import Amazonka.ImageBuilder.Types.Ami
import Amazonka.ImageBuilder.Types.AmiDistributionConfiguration
import Amazonka.ImageBuilder.Types.BuildType
import Amazonka.ImageBuilder.Types.Component
import Amazonka.ImageBuilder.Types.ComponentConfiguration
import Amazonka.ImageBuilder.Types.ComponentFormat
import Amazonka.ImageBuilder.Types.ComponentParameter
import Amazonka.ImageBuilder.Types.ComponentParameterDetail
import Amazonka.ImageBuilder.Types.ComponentState
import Amazonka.ImageBuilder.Types.ComponentStatus
import Amazonka.ImageBuilder.Types.ComponentSummary
import Amazonka.ImageBuilder.Types.ComponentType
import Amazonka.ImageBuilder.Types.ComponentVersion
import Amazonka.ImageBuilder.Types.Container
import Amazonka.ImageBuilder.Types.ContainerDistributionConfiguration
import Amazonka.ImageBuilder.Types.ContainerRecipe
import Amazonka.ImageBuilder.Types.ContainerRecipeSummary
import Amazonka.ImageBuilder.Types.ContainerRepositoryService
import Amazonka.ImageBuilder.Types.ContainerType
import Amazonka.ImageBuilder.Types.DiskImageFormat
import Amazonka.ImageBuilder.Types.Distribution
import Amazonka.ImageBuilder.Types.DistributionConfiguration
import Amazonka.ImageBuilder.Types.DistributionConfigurationSummary
import Amazonka.ImageBuilder.Types.EbsInstanceBlockDeviceSpecification
import Amazonka.ImageBuilder.Types.EbsVolumeType
import Amazonka.ImageBuilder.Types.FastLaunchConfiguration
import Amazonka.ImageBuilder.Types.FastLaunchLaunchTemplateSpecification
import Amazonka.ImageBuilder.Types.FastLaunchSnapshotConfiguration
import Amazonka.ImageBuilder.Types.Filter
import Amazonka.ImageBuilder.Types.Image
import Amazonka.ImageBuilder.Types.ImagePackage
import Amazonka.ImageBuilder.Types.ImagePipeline
import Amazonka.ImageBuilder.Types.ImageRecipe
import Amazonka.ImageBuilder.Types.ImageRecipeSummary
import Amazonka.ImageBuilder.Types.ImageState
import Amazonka.ImageBuilder.Types.ImageStatus
import Amazonka.ImageBuilder.Types.ImageSummary
import Amazonka.ImageBuilder.Types.ImageTestsConfiguration
import Amazonka.ImageBuilder.Types.ImageType
import Amazonka.ImageBuilder.Types.ImageVersion
import Amazonka.ImageBuilder.Types.InfrastructureConfiguration
import Amazonka.ImageBuilder.Types.InfrastructureConfigurationSummary
import Amazonka.ImageBuilder.Types.InstanceBlockDeviceMapping
import Amazonka.ImageBuilder.Types.InstanceConfiguration
import Amazonka.ImageBuilder.Types.InstanceMetadataOptions
import Amazonka.ImageBuilder.Types.LaunchPermissionConfiguration
import Amazonka.ImageBuilder.Types.LaunchTemplateConfiguration
import Amazonka.ImageBuilder.Types.Logging
import Amazonka.ImageBuilder.Types.OutputResources
import Amazonka.ImageBuilder.Types.Ownership
import Amazonka.ImageBuilder.Types.PipelineExecutionStartCondition
import Amazonka.ImageBuilder.Types.PipelineStatus
import Amazonka.ImageBuilder.Types.Platform
import Amazonka.ImageBuilder.Types.S3ExportConfiguration
import Amazonka.ImageBuilder.Types.S3Logs
import Amazonka.ImageBuilder.Types.Schedule
import Amazonka.ImageBuilder.Types.SystemsManagerAgent
import Amazonka.ImageBuilder.Types.TargetContainerRepository
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Core.Service
{ $sel:abbrev:Service :: Abbrev
Core.abbrev = Abbrev
"ImageBuilder",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"imagebuilder",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"imagebuilder",
$sel:version:Service :: ByteString
Core.version = ByteString
"2019-12-02",
$sel:s3AddressingStyle:Service :: S3AddressingStyle
Core.s3AddressingStyle = S3AddressingStyle
Core.S3AddressingStyleAuto,
$sel:endpoint:Service :: Region -> Endpoint
Core.endpoint = Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:timeout:Service :: Maybe Seconds
Core.timeout = forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:check:Service :: Status -> Bool
Core.check = Status -> Bool
Core.statusSuccess,
$sel:error:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core.error = Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"ImageBuilder",
$sel:retry:Service :: Retry
Core.retry = Retry
retry
}
where
retry :: Retry
retry =
Core.Exponential
{ $sel:base:Exponential :: Double
Core.base = Double
5.0e-2,
$sel:growth:Exponential :: Int
Core.growth = Int
2,
$sel:attempts:Exponential :: Int
Core.attempts = Int
5,
$sel:check:Exponential :: ServiceError -> Maybe Text
Core.check = forall {a}. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Bool
Prelude.otherwise = forall a. Maybe a
Prelude.Nothing
_CallRateLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_CallRateLimitExceededException :: forall a. AsError a => Fold a ServiceError
_CallRateLimitExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CallRateLimitExceededException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429
_ClientException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ClientException :: forall a. AsError a => Fold a ServiceError
_ClientException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ClientException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ForbiddenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ForbiddenException :: forall a. AsError a => Fold a ServiceError
_ForbiddenException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ForbiddenException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
403
_IdempotentParameterMismatchException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_IdempotentParameterMismatchException :: forall a. AsError a => Fold a ServiceError
_IdempotentParameterMismatchException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"IdempotentParameterMismatchException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_InvalidPaginationTokenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
=
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidPaginationTokenException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_InvalidParameterCombinationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidParameterCombinationException :: forall a. AsError a => Fold a ServiceError
_InvalidParameterCombinationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidParameterCombinationException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_InvalidParameterException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidParameterException :: forall a. AsError a => Fold a ServiceError
_InvalidParameterException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidParameterException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_InvalidParameterValueException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidParameterValueException :: forall a. AsError a => Fold a ServiceError
_InvalidParameterValueException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidParameterValueException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_InvalidRequestException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidRequestException :: forall a. AsError a => Fold a ServiceError
_InvalidRequestException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidRequestException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_InvalidVersionNumberException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidVersionNumberException :: forall a. AsError a => Fold a ServiceError
_InvalidVersionNumberException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidVersionNumberException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ResourceAlreadyExistsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceAlreadyExistsException :: forall a. AsError a => Fold a ServiceError
_ResourceAlreadyExistsException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceAlreadyExistsException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ResourceDependencyException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceDependencyException :: forall a. AsError a => Fold a ServiceError
_ResourceDependencyException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceDependencyException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ResourceInUseException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceInUseException :: forall a. AsError a => Fold a ServiceError
_ResourceInUseException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceInUseException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceNotFoundException :: forall a. AsError a => Fold a ServiceError
_ResourceNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_ServiceException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ServiceException :: forall a. AsError a => Fold a ServiceError
_ServiceException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500
_ServiceQuotaExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ServiceQuotaExceededException :: forall a. AsError a => Fold a ServiceError
_ServiceQuotaExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceQuotaExceededException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
402
_ServiceUnavailableException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ServiceUnavailableException :: forall a. AsError a => Fold a ServiceError
_ServiceUnavailableException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceUnavailableException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503