{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.AppMesh.Types
(
defaultService,
_TooManyTagsException,
_ConflictException,
_ForbiddenException,
_NotFoundException,
_TooManyRequestsException,
_InternalServerErrorException,
_ServiceUnavailableException,
_BadRequestException,
_LimitExceededException,
_ResourceInUseException,
DefaultGatewayRouteRewrite (..),
DnsResponseType (..),
DurationUnit (..),
EgressFilterType (..),
GatewayRouteStatusCode (..),
GrpcRetryPolicyEvent (..),
HttpMethod (..),
HttpScheme (..),
ListenerTlsMode (..),
MeshStatusCode (..),
PortProtocol (..),
RouteStatusCode (..),
TcpRetryPolicyEvent (..),
VirtualGatewayListenerTlsMode (..),
VirtualGatewayPortProtocol (..),
VirtualGatewayStatusCode (..),
VirtualNodeStatusCode (..),
VirtualRouterStatusCode (..),
VirtualServiceStatusCode (..),
AccessLog (..),
newAccessLog,
accessLog_file,
AwsCloudMapInstanceAttribute (..),
newAwsCloudMapInstanceAttribute,
awsCloudMapInstanceAttribute_key,
awsCloudMapInstanceAttribute_value,
AwsCloudMapServiceDiscovery (..),
newAwsCloudMapServiceDiscovery,
awsCloudMapServiceDiscovery_attributes,
awsCloudMapServiceDiscovery_namespaceName,
awsCloudMapServiceDiscovery_serviceName,
Backend (..),
newBackend,
backend_virtualService,
BackendDefaults (..),
newBackendDefaults,
backendDefaults_clientPolicy,
ClientPolicy (..),
newClientPolicy,
clientPolicy_tls,
ClientPolicyTls (..),
newClientPolicyTls,
clientPolicyTls_ports,
clientPolicyTls_certificate,
clientPolicyTls_enforce,
clientPolicyTls_validation,
ClientTlsCertificate (..),
newClientTlsCertificate,
clientTlsCertificate_sds,
clientTlsCertificate_file,
DnsServiceDiscovery (..),
newDnsServiceDiscovery,
dnsServiceDiscovery_responseType,
dnsServiceDiscovery_hostname,
Duration (..),
newDuration,
duration_value,
duration_unit,
EgressFilter (..),
newEgressFilter,
egressFilter_type,
FileAccessLog (..),
newFileAccessLog,
fileAccessLog_path,
GatewayRouteData (..),
newGatewayRouteData,
gatewayRouteData_gatewayRouteName,
gatewayRouteData_meshName,
gatewayRouteData_metadata,
gatewayRouteData_spec,
gatewayRouteData_status,
gatewayRouteData_virtualGatewayName,
GatewayRouteHostnameMatch (..),
newGatewayRouteHostnameMatch,
gatewayRouteHostnameMatch_suffix,
gatewayRouteHostnameMatch_exact,
GatewayRouteHostnameRewrite (..),
newGatewayRouteHostnameRewrite,
gatewayRouteHostnameRewrite_defaultTargetHostname,
GatewayRouteRef (..),
newGatewayRouteRef,
gatewayRouteRef_arn,
gatewayRouteRef_createdAt,
gatewayRouteRef_gatewayRouteName,
gatewayRouteRef_lastUpdatedAt,
gatewayRouteRef_meshName,
gatewayRouteRef_meshOwner,
gatewayRouteRef_resourceOwner,
gatewayRouteRef_version,
gatewayRouteRef_virtualGatewayName,
GatewayRouteSpec (..),
newGatewayRouteSpec,
gatewayRouteSpec_priority,
gatewayRouteSpec_http2Route,
gatewayRouteSpec_grpcRoute,
gatewayRouteSpec_httpRoute,
GatewayRouteStatus (..),
newGatewayRouteStatus,
gatewayRouteStatus_status,
GatewayRouteTarget (..),
newGatewayRouteTarget,
gatewayRouteTarget_virtualService,
GatewayRouteVirtualService (..),
newGatewayRouteVirtualService,
gatewayRouteVirtualService_virtualServiceName,
GrpcGatewayRoute (..),
newGrpcGatewayRoute,
grpcGatewayRoute_action,
grpcGatewayRoute_match,
GrpcGatewayRouteAction (..),
newGrpcGatewayRouteAction,
grpcGatewayRouteAction_rewrite,
grpcGatewayRouteAction_target,
GrpcGatewayRouteMatch (..),
newGrpcGatewayRouteMatch,
grpcGatewayRouteMatch_hostname,
grpcGatewayRouteMatch_serviceName,
grpcGatewayRouteMatch_metadata,
GrpcGatewayRouteMetadata (..),
newGrpcGatewayRouteMetadata,
grpcGatewayRouteMetadata_invert,
grpcGatewayRouteMetadata_match,
grpcGatewayRouteMetadata_name,
GrpcGatewayRouteRewrite (..),
newGrpcGatewayRouteRewrite,
grpcGatewayRouteRewrite_hostname,
GrpcMetadataMatchMethod (..),
newGrpcMetadataMatchMethod,
grpcMetadataMatchMethod_suffix,
grpcMetadataMatchMethod_regex,
grpcMetadataMatchMethod_prefix,
grpcMetadataMatchMethod_range,
grpcMetadataMatchMethod_exact,
GrpcRetryPolicy (..),
newGrpcRetryPolicy,
grpcRetryPolicy_httpRetryEvents,
grpcRetryPolicy_grpcRetryEvents,
grpcRetryPolicy_tcpRetryEvents,
grpcRetryPolicy_maxRetries,
grpcRetryPolicy_perRetryTimeout,
GrpcRoute (..),
newGrpcRoute,
grpcRoute_retryPolicy,
grpcRoute_timeout,
grpcRoute_action,
grpcRoute_match,
GrpcRouteAction (..),
newGrpcRouteAction,
grpcRouteAction_weightedTargets,
GrpcRouteMatch (..),
newGrpcRouteMatch,
grpcRouteMatch_methodName,
grpcRouteMatch_serviceName,
grpcRouteMatch_metadata,
GrpcRouteMetadata (..),
newGrpcRouteMetadata,
grpcRouteMetadata_invert,
grpcRouteMetadata_match,
grpcRouteMetadata_name,
GrpcRouteMetadataMatchMethod (..),
newGrpcRouteMetadataMatchMethod,
grpcRouteMetadataMatchMethod_suffix,
grpcRouteMetadataMatchMethod_regex,
grpcRouteMetadataMatchMethod_prefix,
grpcRouteMetadataMatchMethod_range,
grpcRouteMetadataMatchMethod_exact,
GrpcTimeout (..),
newGrpcTimeout,
grpcTimeout_idle,
grpcTimeout_perRequest,
HeaderMatchMethod (..),
newHeaderMatchMethod,
headerMatchMethod_suffix,
headerMatchMethod_regex,
headerMatchMethod_prefix,
headerMatchMethod_range,
headerMatchMethod_exact,
HealthCheckPolicy (..),
newHealthCheckPolicy,
healthCheckPolicy_path,
healthCheckPolicy_port,
healthCheckPolicy_healthyThreshold,
healthCheckPolicy_intervalMillis,
healthCheckPolicy_protocol,
healthCheckPolicy_timeoutMillis,
healthCheckPolicy_unhealthyThreshold,
HttpGatewayRoute (..),
newHttpGatewayRoute,
httpGatewayRoute_action,
httpGatewayRoute_match,
HttpGatewayRouteAction (..),
newHttpGatewayRouteAction,
httpGatewayRouteAction_rewrite,
httpGatewayRouteAction_target,
HttpGatewayRouteHeader (..),
newHttpGatewayRouteHeader,
httpGatewayRouteHeader_invert,
httpGatewayRouteHeader_match,
httpGatewayRouteHeader_name,
HttpGatewayRouteMatch (..),
newHttpGatewayRouteMatch,
httpGatewayRouteMatch_hostname,
httpGatewayRouteMatch_path,
httpGatewayRouteMatch_prefix,
httpGatewayRouteMatch_queryParameters,
httpGatewayRouteMatch_headers,
httpGatewayRouteMatch_method,
HttpGatewayRoutePathRewrite (..),
newHttpGatewayRoutePathRewrite,
httpGatewayRoutePathRewrite_exact,
HttpGatewayRoutePrefixRewrite (..),
newHttpGatewayRoutePrefixRewrite,
httpGatewayRoutePrefixRewrite_value,
httpGatewayRoutePrefixRewrite_defaultPrefix,
HttpGatewayRouteRewrite (..),
newHttpGatewayRouteRewrite,
httpGatewayRouteRewrite_hostname,
httpGatewayRouteRewrite_path,
httpGatewayRouteRewrite_prefix,
HttpPathMatch (..),
newHttpPathMatch,
httpPathMatch_regex,
httpPathMatch_exact,
HttpQueryParameter (..),
newHttpQueryParameter,
httpQueryParameter_match,
httpQueryParameter_name,
HttpRetryPolicy (..),
newHttpRetryPolicy,
httpRetryPolicy_httpRetryEvents,
httpRetryPolicy_tcpRetryEvents,
httpRetryPolicy_maxRetries,
httpRetryPolicy_perRetryTimeout,
HttpRoute (..),
newHttpRoute,
httpRoute_retryPolicy,
httpRoute_timeout,
httpRoute_action,
httpRoute_match,
HttpRouteAction (..),
newHttpRouteAction,
httpRouteAction_weightedTargets,
HttpRouteHeader (..),
newHttpRouteHeader,
httpRouteHeader_invert,
httpRouteHeader_match,
httpRouteHeader_name,
HttpRouteMatch (..),
newHttpRouteMatch,
httpRouteMatch_path,
httpRouteMatch_prefix,
httpRouteMatch_queryParameters,
httpRouteMatch_headers,
httpRouteMatch_method,
httpRouteMatch_scheme,
HttpTimeout (..),
newHttpTimeout,
httpTimeout_idle,
httpTimeout_perRequest,
Listener (..),
newListener,
listener_healthCheck,
listener_connectionPool,
listener_tls,
listener_outlierDetection,
listener_timeout,
listener_portMapping,
ListenerTimeout (..),
newListenerTimeout,
listenerTimeout_http2,
listenerTimeout_grpc,
listenerTimeout_tcp,
listenerTimeout_http,
ListenerTls (..),
newListenerTls,
listenerTls_validation,
listenerTls_certificate,
listenerTls_mode,
ListenerTlsAcmCertificate (..),
newListenerTlsAcmCertificate,
listenerTlsAcmCertificate_certificateArn,
ListenerTlsCertificate (..),
newListenerTlsCertificate,
listenerTlsCertificate_acm,
listenerTlsCertificate_sds,
listenerTlsCertificate_file,
ListenerTlsFileCertificate (..),
newListenerTlsFileCertificate,
listenerTlsFileCertificate_certificateChain,
listenerTlsFileCertificate_privateKey,
ListenerTlsSdsCertificate (..),
newListenerTlsSdsCertificate,
listenerTlsSdsCertificate_secretName,
ListenerTlsValidationContext (..),
newListenerTlsValidationContext,
listenerTlsValidationContext_subjectAlternativeNames,
listenerTlsValidationContext_trust,
ListenerTlsValidationContextTrust (..),
newListenerTlsValidationContextTrust,
listenerTlsValidationContextTrust_sds,
listenerTlsValidationContextTrust_file,
Logging (..),
newLogging,
logging_accessLog,
MatchRange (..),
newMatchRange,
matchRange_end,
matchRange_start,
MeshData (..),
newMeshData,
meshData_meshName,
meshData_metadata,
meshData_spec,
meshData_status,
MeshRef (..),
newMeshRef,
meshRef_arn,
meshRef_createdAt,
meshRef_lastUpdatedAt,
meshRef_meshName,
meshRef_meshOwner,
meshRef_resourceOwner,
meshRef_version,
MeshSpec (..),
newMeshSpec,
meshSpec_egressFilter,
MeshStatus (..),
newMeshStatus,
meshStatus_status,
OutlierDetection (..),
newOutlierDetection,
outlierDetection_baseEjectionDuration,
outlierDetection_interval,
outlierDetection_maxEjectionPercent,
outlierDetection_maxServerErrors,
PortMapping (..),
newPortMapping,
portMapping_port,
portMapping_protocol,
QueryParameterMatch (..),
newQueryParameterMatch,
queryParameterMatch_exact,
ResourceMetadata (..),
newResourceMetadata,
resourceMetadata_arn,
resourceMetadata_createdAt,
resourceMetadata_lastUpdatedAt,
resourceMetadata_meshOwner,
resourceMetadata_resourceOwner,
resourceMetadata_uid,
resourceMetadata_version,
RouteData (..),
newRouteData,
routeData_meshName,
routeData_metadata,
routeData_routeName,
routeData_spec,
routeData_status,
routeData_virtualRouterName,
RouteRef (..),
newRouteRef,
routeRef_arn,
routeRef_createdAt,
routeRef_lastUpdatedAt,
routeRef_meshName,
routeRef_meshOwner,
routeRef_resourceOwner,
routeRef_routeName,
routeRef_version,
routeRef_virtualRouterName,
RouteSpec (..),
newRouteSpec,
routeSpec_priority,
routeSpec_http2Route,
routeSpec_grpcRoute,
routeSpec_tcpRoute,
routeSpec_httpRoute,
RouteStatus (..),
newRouteStatus,
routeStatus_status,
ServiceDiscovery (..),
newServiceDiscovery,
serviceDiscovery_awsCloudMap,
serviceDiscovery_dns,
SubjectAlternativeNameMatchers (..),
newSubjectAlternativeNameMatchers,
subjectAlternativeNameMatchers_exact,
SubjectAlternativeNames (..),
newSubjectAlternativeNames,
subjectAlternativeNames_match,
TagRef (..),
newTagRef,
tagRef_key,
tagRef_value,
TcpRoute (..),
newTcpRoute,
tcpRoute_timeout,
tcpRoute_action,
TcpRouteAction (..),
newTcpRouteAction,
tcpRouteAction_weightedTargets,
TcpTimeout (..),
newTcpTimeout,
tcpTimeout_idle,
TlsValidationContext (..),
newTlsValidationContext,
tlsValidationContext_subjectAlternativeNames,
tlsValidationContext_trust,
TlsValidationContextAcmTrust (..),
newTlsValidationContextAcmTrust,
tlsValidationContextAcmTrust_certificateAuthorityArns,
TlsValidationContextFileTrust (..),
newTlsValidationContextFileTrust,
tlsValidationContextFileTrust_certificateChain,
TlsValidationContextSdsTrust (..),
newTlsValidationContextSdsTrust,
tlsValidationContextSdsTrust_secretName,
TlsValidationContextTrust (..),
newTlsValidationContextTrust,
tlsValidationContextTrust_acm,
tlsValidationContextTrust_sds,
tlsValidationContextTrust_file,
VirtualGatewayAccessLog (..),
newVirtualGatewayAccessLog,
virtualGatewayAccessLog_file,
VirtualGatewayBackendDefaults (..),
newVirtualGatewayBackendDefaults,
virtualGatewayBackendDefaults_clientPolicy,
VirtualGatewayClientPolicy (..),
newVirtualGatewayClientPolicy,
virtualGatewayClientPolicy_tls,
VirtualGatewayClientPolicyTls (..),
newVirtualGatewayClientPolicyTls,
virtualGatewayClientPolicyTls_ports,
virtualGatewayClientPolicyTls_certificate,
virtualGatewayClientPolicyTls_enforce,
virtualGatewayClientPolicyTls_validation,
VirtualGatewayClientTlsCertificate (..),
newVirtualGatewayClientTlsCertificate,
virtualGatewayClientTlsCertificate_sds,
virtualGatewayClientTlsCertificate_file,
VirtualGatewayConnectionPool (..),
newVirtualGatewayConnectionPool,
virtualGatewayConnectionPool_http2,
virtualGatewayConnectionPool_grpc,
virtualGatewayConnectionPool_http,
VirtualGatewayData (..),
newVirtualGatewayData,
virtualGatewayData_meshName,
virtualGatewayData_metadata,
virtualGatewayData_spec,
virtualGatewayData_status,
virtualGatewayData_virtualGatewayName,
VirtualGatewayFileAccessLog (..),
newVirtualGatewayFileAccessLog,
virtualGatewayFileAccessLog_path,
VirtualGatewayGrpcConnectionPool (..),
newVirtualGatewayGrpcConnectionPool,
virtualGatewayGrpcConnectionPool_maxRequests,
VirtualGatewayHealthCheckPolicy (..),
newVirtualGatewayHealthCheckPolicy,
virtualGatewayHealthCheckPolicy_path,
virtualGatewayHealthCheckPolicy_port,
virtualGatewayHealthCheckPolicy_healthyThreshold,
virtualGatewayHealthCheckPolicy_intervalMillis,
virtualGatewayHealthCheckPolicy_protocol,
virtualGatewayHealthCheckPolicy_timeoutMillis,
virtualGatewayHealthCheckPolicy_unhealthyThreshold,
VirtualGatewayHttp2ConnectionPool (..),
newVirtualGatewayHttp2ConnectionPool,
virtualGatewayHttp2ConnectionPool_maxRequests,
VirtualGatewayHttpConnectionPool (..),
newVirtualGatewayHttpConnectionPool,
virtualGatewayHttpConnectionPool_maxPendingRequests,
virtualGatewayHttpConnectionPool_maxConnections,
VirtualGatewayListener (..),
newVirtualGatewayListener,
virtualGatewayListener_healthCheck,
virtualGatewayListener_connectionPool,
virtualGatewayListener_tls,
virtualGatewayListener_portMapping,
VirtualGatewayListenerTls (..),
newVirtualGatewayListenerTls,
virtualGatewayListenerTls_validation,
virtualGatewayListenerTls_certificate,
virtualGatewayListenerTls_mode,
VirtualGatewayListenerTlsAcmCertificate (..),
newVirtualGatewayListenerTlsAcmCertificate,
virtualGatewayListenerTlsAcmCertificate_certificateArn,
VirtualGatewayListenerTlsCertificate (..),
newVirtualGatewayListenerTlsCertificate,
virtualGatewayListenerTlsCertificate_acm,
virtualGatewayListenerTlsCertificate_sds,
virtualGatewayListenerTlsCertificate_file,
VirtualGatewayListenerTlsFileCertificate (..),
newVirtualGatewayListenerTlsFileCertificate,
virtualGatewayListenerTlsFileCertificate_certificateChain,
virtualGatewayListenerTlsFileCertificate_privateKey,
VirtualGatewayListenerTlsSdsCertificate (..),
newVirtualGatewayListenerTlsSdsCertificate,
virtualGatewayListenerTlsSdsCertificate_secretName,
VirtualGatewayListenerTlsValidationContext (..),
newVirtualGatewayListenerTlsValidationContext,
virtualGatewayListenerTlsValidationContext_subjectAlternativeNames,
virtualGatewayListenerTlsValidationContext_trust,
VirtualGatewayListenerTlsValidationContextTrust (..),
newVirtualGatewayListenerTlsValidationContextTrust,
virtualGatewayListenerTlsValidationContextTrust_sds,
virtualGatewayListenerTlsValidationContextTrust_file,
VirtualGatewayLogging (..),
newVirtualGatewayLogging,
virtualGatewayLogging_accessLog,
VirtualGatewayPortMapping (..),
newVirtualGatewayPortMapping,
virtualGatewayPortMapping_port,
virtualGatewayPortMapping_protocol,
VirtualGatewayRef (..),
newVirtualGatewayRef,
virtualGatewayRef_arn,
virtualGatewayRef_createdAt,
virtualGatewayRef_lastUpdatedAt,
virtualGatewayRef_meshName,
virtualGatewayRef_meshOwner,
virtualGatewayRef_resourceOwner,
virtualGatewayRef_version,
virtualGatewayRef_virtualGatewayName,
VirtualGatewaySpec (..),
newVirtualGatewaySpec,
virtualGatewaySpec_backendDefaults,
virtualGatewaySpec_logging,
virtualGatewaySpec_listeners,
VirtualGatewayStatus (..),
newVirtualGatewayStatus,
virtualGatewayStatus_status,
VirtualGatewayTlsValidationContext (..),
newVirtualGatewayTlsValidationContext,
virtualGatewayTlsValidationContext_subjectAlternativeNames,
virtualGatewayTlsValidationContext_trust,
VirtualGatewayTlsValidationContextAcmTrust (..),
newVirtualGatewayTlsValidationContextAcmTrust,
virtualGatewayTlsValidationContextAcmTrust_certificateAuthorityArns,
VirtualGatewayTlsValidationContextFileTrust (..),
newVirtualGatewayTlsValidationContextFileTrust,
virtualGatewayTlsValidationContextFileTrust_certificateChain,
VirtualGatewayTlsValidationContextSdsTrust (..),
newVirtualGatewayTlsValidationContextSdsTrust,
virtualGatewayTlsValidationContextSdsTrust_secretName,
VirtualGatewayTlsValidationContextTrust (..),
newVirtualGatewayTlsValidationContextTrust,
virtualGatewayTlsValidationContextTrust_acm,
virtualGatewayTlsValidationContextTrust_sds,
virtualGatewayTlsValidationContextTrust_file,
VirtualNodeConnectionPool (..),
newVirtualNodeConnectionPool,
virtualNodeConnectionPool_http2,
virtualNodeConnectionPool_grpc,
virtualNodeConnectionPool_tcp,
virtualNodeConnectionPool_http,
VirtualNodeData (..),
newVirtualNodeData,
virtualNodeData_meshName,
virtualNodeData_metadata,
virtualNodeData_spec,
virtualNodeData_status,
virtualNodeData_virtualNodeName,
VirtualNodeGrpcConnectionPool (..),
newVirtualNodeGrpcConnectionPool,
virtualNodeGrpcConnectionPool_maxRequests,
VirtualNodeHttp2ConnectionPool (..),
newVirtualNodeHttp2ConnectionPool,
virtualNodeHttp2ConnectionPool_maxRequests,
VirtualNodeHttpConnectionPool (..),
newVirtualNodeHttpConnectionPool,
virtualNodeHttpConnectionPool_maxPendingRequests,
virtualNodeHttpConnectionPool_maxConnections,
VirtualNodeRef (..),
newVirtualNodeRef,
virtualNodeRef_arn,
virtualNodeRef_createdAt,
virtualNodeRef_lastUpdatedAt,
virtualNodeRef_meshName,
virtualNodeRef_meshOwner,
virtualNodeRef_resourceOwner,
virtualNodeRef_version,
virtualNodeRef_virtualNodeName,
VirtualNodeServiceProvider (..),
newVirtualNodeServiceProvider,
virtualNodeServiceProvider_virtualNodeName,
VirtualNodeSpec (..),
newVirtualNodeSpec,
virtualNodeSpec_backends,
virtualNodeSpec_backendDefaults,
virtualNodeSpec_serviceDiscovery,
virtualNodeSpec_listeners,
virtualNodeSpec_logging,
VirtualNodeStatus (..),
newVirtualNodeStatus,
virtualNodeStatus_status,
VirtualNodeTcpConnectionPool (..),
newVirtualNodeTcpConnectionPool,
virtualNodeTcpConnectionPool_maxConnections,
VirtualRouterData (..),
newVirtualRouterData,
virtualRouterData_meshName,
virtualRouterData_metadata,
virtualRouterData_spec,
virtualRouterData_status,
virtualRouterData_virtualRouterName,
VirtualRouterListener (..),
newVirtualRouterListener,
virtualRouterListener_portMapping,
VirtualRouterRef (..),
newVirtualRouterRef,
virtualRouterRef_arn,
virtualRouterRef_createdAt,
virtualRouterRef_lastUpdatedAt,
virtualRouterRef_meshName,
virtualRouterRef_meshOwner,
virtualRouterRef_resourceOwner,
virtualRouterRef_version,
virtualRouterRef_virtualRouterName,
VirtualRouterServiceProvider (..),
newVirtualRouterServiceProvider,
virtualRouterServiceProvider_virtualRouterName,
VirtualRouterSpec (..),
newVirtualRouterSpec,
virtualRouterSpec_listeners,
VirtualRouterStatus (..),
newVirtualRouterStatus,
virtualRouterStatus_status,
VirtualServiceBackend (..),
newVirtualServiceBackend,
virtualServiceBackend_clientPolicy,
virtualServiceBackend_virtualServiceName,
VirtualServiceData (..),
newVirtualServiceData,
virtualServiceData_meshName,
virtualServiceData_metadata,
virtualServiceData_spec,
virtualServiceData_status,
virtualServiceData_virtualServiceName,
VirtualServiceProvider (..),
newVirtualServiceProvider,
virtualServiceProvider_virtualRouter,
virtualServiceProvider_virtualNode,
VirtualServiceRef (..),
newVirtualServiceRef,
virtualServiceRef_arn,
virtualServiceRef_createdAt,
virtualServiceRef_lastUpdatedAt,
virtualServiceRef_meshName,
virtualServiceRef_meshOwner,
virtualServiceRef_resourceOwner,
virtualServiceRef_version,
virtualServiceRef_virtualServiceName,
VirtualServiceSpec (..),
newVirtualServiceSpec,
virtualServiceSpec_provider,
VirtualServiceStatus (..),
newVirtualServiceStatus,
virtualServiceStatus_status,
WeightedTarget (..),
newWeightedTarget,
weightedTarget_virtualNode,
weightedTarget_weight,
)
where
import Amazonka.AppMesh.Types.AccessLog
import Amazonka.AppMesh.Types.AwsCloudMapInstanceAttribute
import Amazonka.AppMesh.Types.AwsCloudMapServiceDiscovery
import Amazonka.AppMesh.Types.Backend
import Amazonka.AppMesh.Types.BackendDefaults
import Amazonka.AppMesh.Types.ClientPolicy
import Amazonka.AppMesh.Types.ClientPolicyTls
import Amazonka.AppMesh.Types.ClientTlsCertificate
import Amazonka.AppMesh.Types.DefaultGatewayRouteRewrite
import Amazonka.AppMesh.Types.DnsResponseType
import Amazonka.AppMesh.Types.DnsServiceDiscovery
import Amazonka.AppMesh.Types.Duration
import Amazonka.AppMesh.Types.DurationUnit
import Amazonka.AppMesh.Types.EgressFilter
import Amazonka.AppMesh.Types.EgressFilterType
import Amazonka.AppMesh.Types.FileAccessLog
import Amazonka.AppMesh.Types.GatewayRouteData
import Amazonka.AppMesh.Types.GatewayRouteHostnameMatch
import Amazonka.AppMesh.Types.GatewayRouteHostnameRewrite
import Amazonka.AppMesh.Types.GatewayRouteRef
import Amazonka.AppMesh.Types.GatewayRouteSpec
import Amazonka.AppMesh.Types.GatewayRouteStatus
import Amazonka.AppMesh.Types.GatewayRouteStatusCode
import Amazonka.AppMesh.Types.GatewayRouteTarget
import Amazonka.AppMesh.Types.GatewayRouteVirtualService
import Amazonka.AppMesh.Types.GrpcGatewayRoute
import Amazonka.AppMesh.Types.GrpcGatewayRouteAction
import Amazonka.AppMesh.Types.GrpcGatewayRouteMatch
import Amazonka.AppMesh.Types.GrpcGatewayRouteMetadata
import Amazonka.AppMesh.Types.GrpcGatewayRouteRewrite
import Amazonka.AppMesh.Types.GrpcMetadataMatchMethod
import Amazonka.AppMesh.Types.GrpcRetryPolicy
import Amazonka.AppMesh.Types.GrpcRetryPolicyEvent
import Amazonka.AppMesh.Types.GrpcRoute
import Amazonka.AppMesh.Types.GrpcRouteAction
import Amazonka.AppMesh.Types.GrpcRouteMatch
import Amazonka.AppMesh.Types.GrpcRouteMetadata
import Amazonka.AppMesh.Types.GrpcRouteMetadataMatchMethod
import Amazonka.AppMesh.Types.GrpcTimeout
import Amazonka.AppMesh.Types.HeaderMatchMethod
import Amazonka.AppMesh.Types.HealthCheckPolicy
import Amazonka.AppMesh.Types.HttpGatewayRoute
import Amazonka.AppMesh.Types.HttpGatewayRouteAction
import Amazonka.AppMesh.Types.HttpGatewayRouteHeader
import Amazonka.AppMesh.Types.HttpGatewayRouteMatch
import Amazonka.AppMesh.Types.HttpGatewayRoutePathRewrite
import Amazonka.AppMesh.Types.HttpGatewayRoutePrefixRewrite
import Amazonka.AppMesh.Types.HttpGatewayRouteRewrite
import Amazonka.AppMesh.Types.HttpMethod
import Amazonka.AppMesh.Types.HttpPathMatch
import Amazonka.AppMesh.Types.HttpQueryParameter
import Amazonka.AppMesh.Types.HttpRetryPolicy
import Amazonka.AppMesh.Types.HttpRoute
import Amazonka.AppMesh.Types.HttpRouteAction
import Amazonka.AppMesh.Types.HttpRouteHeader
import Amazonka.AppMesh.Types.HttpRouteMatch
import Amazonka.AppMesh.Types.HttpScheme
import Amazonka.AppMesh.Types.HttpTimeout
import Amazonka.AppMesh.Types.Listener
import Amazonka.AppMesh.Types.ListenerTimeout
import Amazonka.AppMesh.Types.ListenerTls
import Amazonka.AppMesh.Types.ListenerTlsAcmCertificate
import Amazonka.AppMesh.Types.ListenerTlsCertificate
import Amazonka.AppMesh.Types.ListenerTlsFileCertificate
import Amazonka.AppMesh.Types.ListenerTlsMode
import Amazonka.AppMesh.Types.ListenerTlsSdsCertificate
import Amazonka.AppMesh.Types.ListenerTlsValidationContext
import Amazonka.AppMesh.Types.ListenerTlsValidationContextTrust
import Amazonka.AppMesh.Types.Logging
import Amazonka.AppMesh.Types.MatchRange
import Amazonka.AppMesh.Types.MeshData
import Amazonka.AppMesh.Types.MeshRef
import Amazonka.AppMesh.Types.MeshSpec
import Amazonka.AppMesh.Types.MeshStatus
import Amazonka.AppMesh.Types.MeshStatusCode
import Amazonka.AppMesh.Types.OutlierDetection
import Amazonka.AppMesh.Types.PortMapping
import Amazonka.AppMesh.Types.PortProtocol
import Amazonka.AppMesh.Types.QueryParameterMatch
import Amazonka.AppMesh.Types.ResourceMetadata
import Amazonka.AppMesh.Types.RouteData
import Amazonka.AppMesh.Types.RouteRef
import Amazonka.AppMesh.Types.RouteSpec
import Amazonka.AppMesh.Types.RouteStatus
import Amazonka.AppMesh.Types.RouteStatusCode
import Amazonka.AppMesh.Types.ServiceDiscovery
import Amazonka.AppMesh.Types.SubjectAlternativeNameMatchers
import Amazonka.AppMesh.Types.SubjectAlternativeNames
import Amazonka.AppMesh.Types.TagRef
import Amazonka.AppMesh.Types.TcpRetryPolicyEvent
import Amazonka.AppMesh.Types.TcpRoute
import Amazonka.AppMesh.Types.TcpRouteAction
import Amazonka.AppMesh.Types.TcpTimeout
import Amazonka.AppMesh.Types.TlsValidationContext
import Amazonka.AppMesh.Types.TlsValidationContextAcmTrust
import Amazonka.AppMesh.Types.TlsValidationContextFileTrust
import Amazonka.AppMesh.Types.TlsValidationContextSdsTrust
import Amazonka.AppMesh.Types.TlsValidationContextTrust
import Amazonka.AppMesh.Types.VirtualGatewayAccessLog
import Amazonka.AppMesh.Types.VirtualGatewayBackendDefaults
import Amazonka.AppMesh.Types.VirtualGatewayClientPolicy
import Amazonka.AppMesh.Types.VirtualGatewayClientPolicyTls
import Amazonka.AppMesh.Types.VirtualGatewayClientTlsCertificate
import Amazonka.AppMesh.Types.VirtualGatewayConnectionPool
import Amazonka.AppMesh.Types.VirtualGatewayData
import Amazonka.AppMesh.Types.VirtualGatewayFileAccessLog
import Amazonka.AppMesh.Types.VirtualGatewayGrpcConnectionPool
import Amazonka.AppMesh.Types.VirtualGatewayHealthCheckPolicy
import Amazonka.AppMesh.Types.VirtualGatewayHttp2ConnectionPool
import Amazonka.AppMesh.Types.VirtualGatewayHttpConnectionPool
import Amazonka.AppMesh.Types.VirtualGatewayListener
import Amazonka.AppMesh.Types.VirtualGatewayListenerTls
import Amazonka.AppMesh.Types.VirtualGatewayListenerTlsAcmCertificate
import Amazonka.AppMesh.Types.VirtualGatewayListenerTlsCertificate
import Amazonka.AppMesh.Types.VirtualGatewayListenerTlsFileCertificate
import Amazonka.AppMesh.Types.VirtualGatewayListenerTlsMode
import Amazonka.AppMesh.Types.VirtualGatewayListenerTlsSdsCertificate
import Amazonka.AppMesh.Types.VirtualGatewayListenerTlsValidationContext
import Amazonka.AppMesh.Types.VirtualGatewayListenerTlsValidationContextTrust
import Amazonka.AppMesh.Types.VirtualGatewayLogging
import Amazonka.AppMesh.Types.VirtualGatewayPortMapping
import Amazonka.AppMesh.Types.VirtualGatewayPortProtocol
import Amazonka.AppMesh.Types.VirtualGatewayRef
import Amazonka.AppMesh.Types.VirtualGatewaySpec
import Amazonka.AppMesh.Types.VirtualGatewayStatus
import Amazonka.AppMesh.Types.VirtualGatewayStatusCode
import Amazonka.AppMesh.Types.VirtualGatewayTlsValidationContext
import Amazonka.AppMesh.Types.VirtualGatewayTlsValidationContextAcmTrust
import Amazonka.AppMesh.Types.VirtualGatewayTlsValidationContextFileTrust
import Amazonka.AppMesh.Types.VirtualGatewayTlsValidationContextSdsTrust
import Amazonka.AppMesh.Types.VirtualGatewayTlsValidationContextTrust
import Amazonka.AppMesh.Types.VirtualNodeConnectionPool
import Amazonka.AppMesh.Types.VirtualNodeData
import Amazonka.AppMesh.Types.VirtualNodeGrpcConnectionPool
import Amazonka.AppMesh.Types.VirtualNodeHttp2ConnectionPool
import Amazonka.AppMesh.Types.VirtualNodeHttpConnectionPool
import Amazonka.AppMesh.Types.VirtualNodeRef
import Amazonka.AppMesh.Types.VirtualNodeServiceProvider
import Amazonka.AppMesh.Types.VirtualNodeSpec
import Amazonka.AppMesh.Types.VirtualNodeStatus
import Amazonka.AppMesh.Types.VirtualNodeStatusCode
import Amazonka.AppMesh.Types.VirtualNodeTcpConnectionPool
import Amazonka.AppMesh.Types.VirtualRouterData
import Amazonka.AppMesh.Types.VirtualRouterListener
import Amazonka.AppMesh.Types.VirtualRouterRef
import Amazonka.AppMesh.Types.VirtualRouterServiceProvider
import Amazonka.AppMesh.Types.VirtualRouterSpec
import Amazonka.AppMesh.Types.VirtualRouterStatus
import Amazonka.AppMesh.Types.VirtualRouterStatusCode
import Amazonka.AppMesh.Types.VirtualServiceBackend
import Amazonka.AppMesh.Types.VirtualServiceData
import Amazonka.AppMesh.Types.VirtualServiceProvider
import Amazonka.AppMesh.Types.VirtualServiceRef
import Amazonka.AppMesh.Types.VirtualServiceSpec
import Amazonka.AppMesh.Types.VirtualServiceStatus
import Amazonka.AppMesh.Types.VirtualServiceStatusCode
import Amazonka.AppMesh.Types.WeightedTarget
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
"AppMesh",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"appmesh",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"appmesh",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2019-01-25",
$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
"AppMesh",
$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
_TooManyTagsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TooManyTagsException :: Getting (First ServiceError) a ServiceError
_TooManyTagsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TooManyTagsException"
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
_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"
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
_ForbiddenException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ForbiddenException :: Getting (First ServiceError) a ServiceError
_ForbiddenException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ForbiddenException"
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
403
_NotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_NotFoundException :: Getting (First ServiceError) a ServiceError
_NotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"NotFoundException"
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
_TooManyRequestsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TooManyRequestsException :: Getting (First ServiceError) a ServiceError
_TooManyRequestsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TooManyRequestsException"
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
429
_InternalServerErrorException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InternalServerErrorException :: Getting (First ServiceError) a ServiceError
_InternalServerErrorException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalServerErrorException"
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
500
_ServiceUnavailableException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ServiceUnavailableException :: Getting (First ServiceError) a ServiceError
_ServiceUnavailableException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceUnavailableException"
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
503
_BadRequestException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_BadRequestException :: Getting (First ServiceError) a ServiceError
_BadRequestException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"BadRequestException"
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
_ResourceInUseException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceInUseException :: Getting (First ServiceError) a ServiceError
_ResourceInUseException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceInUseException"
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