{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.LicenseManager.Types
(
defaultService,
_NoEntitlementsAllowedException,
_ValidationException,
_AccessDeniedException,
_ResourceLimitExceededException,
_InvalidResourceStateException,
_RateLimitExceededException,
_FailedDependencyException,
_ConflictException,
_FilterLimitExceededException,
_InvalidParameterValueException,
_AuthorizationException,
_RedirectException,
_ServerInternalException,
_EntitlementNotAllowedException,
_UnsupportedDigitalSignatureMethodException,
_ResourceNotFoundException,
_LicenseUsageException,
AllowedOperation (..),
CheckoutType (..),
DigitalSignatureMethod (..),
EntitlementDataUnit (..),
EntitlementUnit (..),
GrantStatus (..),
InventoryFilterCondition (..),
LicenseConfigurationStatus (..),
LicenseConversionTaskStatus (..),
LicenseCountingType (..),
LicenseDeletionStatus (..),
LicenseStatus (..),
ReceivedStatus (..),
RenewType (..),
ReportFrequencyType (..),
ReportType (..),
ResourceType (..),
TokenType (..),
AutomatedDiscoveryInformation (..),
newAutomatedDiscoveryInformation,
automatedDiscoveryInformation_lastRunTime,
BorrowConfiguration (..),
newBorrowConfiguration,
borrowConfiguration_allowEarlyCheckIn,
borrowConfiguration_maxTimeToLiveInMinutes,
ConsumedLicenseSummary (..),
newConsumedLicenseSummary,
consumedLicenseSummary_resourceType,
consumedLicenseSummary_consumedLicenses,
ConsumptionConfiguration (..),
newConsumptionConfiguration,
consumptionConfiguration_borrowConfiguration,
consumptionConfiguration_provisionalConfiguration,
consumptionConfiguration_renewType,
DatetimeRange (..),
newDatetimeRange,
datetimeRange_end,
datetimeRange_begin,
Entitlement (..),
newEntitlement,
entitlement_maxCount,
entitlement_value,
entitlement_overage,
entitlement_allowCheckIn,
entitlement_name,
entitlement_unit,
EntitlementData (..),
newEntitlementData,
entitlementData_value,
entitlementData_name,
entitlementData_unit,
EntitlementUsage (..),
newEntitlementUsage,
entitlementUsage_maxCount,
entitlementUsage_name,
entitlementUsage_consumedValue,
entitlementUsage_unit,
Filter (..),
newFilter,
filter_values,
filter_name,
Grant (..),
newGrant,
grant_statusReason,
grant_grantArn,
grant_grantName,
grant_parentArn,
grant_licenseArn,
grant_granteePrincipalArn,
grant_homeRegion,
grant_grantStatus,
grant_version,
grant_grantedOperations,
GrantedLicense (..),
newGrantedLicense,
grantedLicense_status,
grantedLicense_productName,
grantedLicense_licenseName,
grantedLicense_productSKU,
grantedLicense_homeRegion,
grantedLicense_receivedMetadata,
grantedLicense_version,
grantedLicense_entitlements,
grantedLicense_validity,
grantedLicense_consumptionConfiguration,
grantedLicense_beneficiary,
grantedLicense_issuer,
grantedLicense_licenseArn,
grantedLicense_licenseMetadata,
grantedLicense_createTime,
InventoryFilter (..),
newInventoryFilter,
inventoryFilter_value,
inventoryFilter_name,
inventoryFilter_condition,
Issuer (..),
newIssuer,
issuer_signKey,
issuer_name,
IssuerDetails (..),
newIssuerDetails,
issuerDetails_keyFingerprint,
issuerDetails_signKey,
issuerDetails_name,
License (..),
newLicense,
license_status,
license_productName,
license_licenseName,
license_productSKU,
license_homeRegion,
license_version,
license_entitlements,
license_validity,
license_consumptionConfiguration,
license_beneficiary,
license_issuer,
license_licenseArn,
license_licenseMetadata,
license_createTime,
LicenseConfiguration (..),
newLicenseConfiguration,
licenseConfiguration_status,
licenseConfiguration_ownerAccountId,
licenseConfiguration_consumedLicenseSummaryList,
licenseConfiguration_licenseCount,
licenseConfiguration_managedResourceSummaryList,
licenseConfiguration_name,
licenseConfiguration_licenseCountHardLimit,
licenseConfiguration_disassociateWhenNotFound,
licenseConfiguration_productInformationList,
licenseConfiguration_licenseCountingType,
licenseConfiguration_automatedDiscoveryInformation,
licenseConfiguration_consumedLicenses,
licenseConfiguration_licenseRules,
licenseConfiguration_licenseConfigurationId,
licenseConfiguration_description,
licenseConfiguration_licenseConfigurationArn,
LicenseConfigurationAssociation (..),
newLicenseConfigurationAssociation,
licenseConfigurationAssociation_resourceType,
licenseConfigurationAssociation_amiAssociationScope,
licenseConfigurationAssociation_associationTime,
licenseConfigurationAssociation_resourceArn,
licenseConfigurationAssociation_resourceOwnerId,
LicenseConfigurationUsage (..),
newLicenseConfigurationUsage,
licenseConfigurationUsage_resourceType,
licenseConfigurationUsage_resourceStatus,
licenseConfigurationUsage_associationTime,
licenseConfigurationUsage_resourceArn,
licenseConfigurationUsage_consumedLicenses,
licenseConfigurationUsage_resourceOwnerId,
LicenseConversionContext (..),
newLicenseConversionContext,
licenseConversionContext_usageOperation,
LicenseConversionTask (..),
newLicenseConversionTask,
licenseConversionTask_status,
licenseConversionTask_startTime,
licenseConversionTask_destinationLicenseContext,
licenseConversionTask_licenseConversionTaskId,
licenseConversionTask_resourceArn,
licenseConversionTask_statusMessage,
licenseConversionTask_endTime,
licenseConversionTask_licenseConversionTime,
licenseConversionTask_sourceLicenseContext,
LicenseOperationFailure (..),
newLicenseOperationFailure,
licenseOperationFailure_resourceType,
licenseOperationFailure_operationRequestedBy,
licenseOperationFailure_resourceArn,
licenseOperationFailure_metadataList,
licenseOperationFailure_operationName,
licenseOperationFailure_failureTime,
licenseOperationFailure_errorMessage,
licenseOperationFailure_resourceOwnerId,
LicenseSpecification (..),
newLicenseSpecification,
licenseSpecification_amiAssociationScope,
licenseSpecification_licenseConfigurationArn,
LicenseUsage (..),
newLicenseUsage,
licenseUsage_entitlementUsages,
ManagedResourceSummary (..),
newManagedResourceSummary,
managedResourceSummary_associationCount,
managedResourceSummary_resourceType,
Metadata (..),
newMetadata,
metadata_value,
metadata_name,
OrganizationConfiguration (..),
newOrganizationConfiguration,
organizationConfiguration_enableIntegration,
ProductInformation (..),
newProductInformation,
productInformation_resourceType,
productInformation_productInformationFilterList,
ProductInformationFilter (..),
newProductInformationFilter,
productInformationFilter_productInformationFilterValue,
productInformationFilter_productInformationFilterName,
productInformationFilter_productInformationFilterComparator,
ProvisionalConfiguration (..),
newProvisionalConfiguration,
provisionalConfiguration_maxTimeToLiveInMinutes,
ReceivedMetadata (..),
newReceivedMetadata,
receivedMetadata_receivedStatus,
receivedMetadata_allowedOperations,
receivedMetadata_receivedStatusReason,
ReportContext (..),
newReportContext,
reportContext_licenseConfigurationArns,
ReportFrequency (..),
newReportFrequency,
reportFrequency_period,
reportFrequency_value,
ReportGenerator (..),
newReportGenerator,
reportGenerator_lastReportGenerationTime,
reportGenerator_lastRunFailureReason,
reportGenerator_lastRunStatus,
reportGenerator_reportGeneratorName,
reportGenerator_reportFrequency,
reportGenerator_s3Location,
reportGenerator_licenseManagerReportGeneratorArn,
reportGenerator_reportCreatorAccount,
reportGenerator_description,
reportGenerator_reportType,
reportGenerator_createTime,
reportGenerator_tags,
reportGenerator_reportContext,
ResourceInventory (..),
newResourceInventory,
resourceInventory_platform,
resourceInventory_resourceId,
resourceInventory_resourceType,
resourceInventory_platformVersion,
resourceInventory_resourceArn,
resourceInventory_resourceOwningAccountId,
S3Location (..),
newS3Location,
s3Location_bucket,
s3Location_keyPrefix,
Tag (..),
newTag,
tag_value,
tag_key,
TokenData (..),
newTokenData,
tokenData_status,
tokenData_tokenId,
tokenData_tokenProperties,
tokenData_roleArns,
tokenData_tokenType,
tokenData_expirationTime,
tokenData_licenseArn,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.LicenseManager.Types.AllowedOperation
import Amazonka.LicenseManager.Types.AutomatedDiscoveryInformation
import Amazonka.LicenseManager.Types.BorrowConfiguration
import Amazonka.LicenseManager.Types.CheckoutType
import Amazonka.LicenseManager.Types.ConsumedLicenseSummary
import Amazonka.LicenseManager.Types.ConsumptionConfiguration
import Amazonka.LicenseManager.Types.DatetimeRange
import Amazonka.LicenseManager.Types.DigitalSignatureMethod
import Amazonka.LicenseManager.Types.Entitlement
import Amazonka.LicenseManager.Types.EntitlementData
import Amazonka.LicenseManager.Types.EntitlementDataUnit
import Amazonka.LicenseManager.Types.EntitlementUnit
import Amazonka.LicenseManager.Types.EntitlementUsage
import Amazonka.LicenseManager.Types.Filter
import Amazonka.LicenseManager.Types.Grant
import Amazonka.LicenseManager.Types.GrantStatus
import Amazonka.LicenseManager.Types.GrantedLicense
import Amazonka.LicenseManager.Types.InventoryFilter
import Amazonka.LicenseManager.Types.InventoryFilterCondition
import Amazonka.LicenseManager.Types.Issuer
import Amazonka.LicenseManager.Types.IssuerDetails
import Amazonka.LicenseManager.Types.License
import Amazonka.LicenseManager.Types.LicenseConfiguration
import Amazonka.LicenseManager.Types.LicenseConfigurationAssociation
import Amazonka.LicenseManager.Types.LicenseConfigurationStatus
import Amazonka.LicenseManager.Types.LicenseConfigurationUsage
import Amazonka.LicenseManager.Types.LicenseConversionContext
import Amazonka.LicenseManager.Types.LicenseConversionTask
import Amazonka.LicenseManager.Types.LicenseConversionTaskStatus
import Amazonka.LicenseManager.Types.LicenseCountingType
import Amazonka.LicenseManager.Types.LicenseDeletionStatus
import Amazonka.LicenseManager.Types.LicenseOperationFailure
import Amazonka.LicenseManager.Types.LicenseSpecification
import Amazonka.LicenseManager.Types.LicenseStatus
import Amazonka.LicenseManager.Types.LicenseUsage
import Amazonka.LicenseManager.Types.ManagedResourceSummary
import Amazonka.LicenseManager.Types.Metadata
import Amazonka.LicenseManager.Types.OrganizationConfiguration
import Amazonka.LicenseManager.Types.ProductInformation
import Amazonka.LicenseManager.Types.ProductInformationFilter
import Amazonka.LicenseManager.Types.ProvisionalConfiguration
import Amazonka.LicenseManager.Types.ReceivedMetadata
import Amazonka.LicenseManager.Types.ReceivedStatus
import Amazonka.LicenseManager.Types.RenewType
import Amazonka.LicenseManager.Types.ReportContext
import Amazonka.LicenseManager.Types.ReportFrequency
import Amazonka.LicenseManager.Types.ReportFrequencyType
import Amazonka.LicenseManager.Types.ReportGenerator
import Amazonka.LicenseManager.Types.ReportType
import Amazonka.LicenseManager.Types.ResourceInventory
import Amazonka.LicenseManager.Types.ResourceType
import Amazonka.LicenseManager.Types.S3Location
import Amazonka.LicenseManager.Types.Tag
import Amazonka.LicenseManager.Types.TokenData
import Amazonka.LicenseManager.Types.TokenType
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
"LicenseManager",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"license-manager",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"license-manager",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2018-08-01",
$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.parseJSONError Abbrev
"LicenseManager",
$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
_NoEntitlementsAllowedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_NoEntitlementsAllowedException :: Getting (First ServiceError) a ServiceError
_NoEntitlementsAllowedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"NoEntitlementsAllowedException"
_ValidationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ValidationException :: Getting (First ServiceError) a ServiceError
_ValidationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ValidationException"
_AccessDeniedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_AccessDeniedException :: Getting (First ServiceError) a ServiceError
_AccessDeniedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccessDeniedException"
_ResourceLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceLimitExceededException :: Getting (First ServiceError) a ServiceError
_ResourceLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceLimitExceededException"
_InvalidResourceStateException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidResourceStateException :: Getting (First ServiceError) a ServiceError
_InvalidResourceStateException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidResourceStateException"
_RateLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_RateLimitExceededException :: Getting (First ServiceError) a ServiceError
_RateLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"RateLimitExceededException"
_FailedDependencyException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_FailedDependencyException :: Getting (First ServiceError) a ServiceError
_FailedDependencyException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"FailedDependencyException"
_ConflictException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ConflictException :: Getting (First ServiceError) a ServiceError
_ConflictException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConflictException"
_FilterLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_FilterLimitExceededException :: Getting (First ServiceError) a ServiceError
_FilterLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"FilterLimitExceededException"
_InvalidParameterValueException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidParameterValueException :: Getting (First ServiceError) a ServiceError
_InvalidParameterValueException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidParameterValueException"
_AuthorizationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_AuthorizationException :: Getting (First ServiceError) a ServiceError
_AuthorizationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AuthorizationException"
_RedirectException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_RedirectException :: Getting (First ServiceError) a ServiceError
_RedirectException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"RedirectException"
_ServerInternalException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ServerInternalException :: Getting (First ServiceError) a ServiceError
_ServerInternalException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServerInternalException"
_EntitlementNotAllowedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_EntitlementNotAllowedException :: Getting (First ServiceError) a ServiceError
_EntitlementNotAllowedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"EntitlementNotAllowedException"
_UnsupportedDigitalSignatureMethodException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnsupportedDigitalSignatureMethodException :: Getting (First ServiceError) a ServiceError
_UnsupportedDigitalSignatureMethodException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedDigitalSignatureMethodException"
_ResourceNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceNotFoundException :: Getting (First ServiceError) a ServiceError
_ResourceNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"
_LicenseUsageException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_LicenseUsageException :: Getting (First ServiceError) a ServiceError
_LicenseUsageException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"LicenseUsageException"