{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.AppFlow.Types
(
defaultService,
_AccessDeniedException,
_ConflictException,
_ConnectorAuthenticationException,
_ConnectorServerException,
_InternalServerException,
_ResourceNotFoundException,
_ServiceQuotaExceededException,
_ThrottlingException,
_UnsupportedOperationException,
_ValidationException,
AggregationType (..),
AmplitudeConnectorOperator (..),
AuthenticationType (..),
CatalogType (..),
ConnectionMode (..),
ConnectorProvisioningType (..),
ConnectorType (..),
DataPullMode (..),
DatadogConnectorOperator (..),
DynatraceConnectorOperator (..),
ExecutionStatus (..),
FileType (..),
FlowStatus (..),
GoogleAnalyticsConnectorOperator (..),
InforNexusConnectorOperator (..),
MarketoConnectorOperator (..),
OAuth2CustomPropType (..),
OAuth2GrantType (..),
Operator (..),
OperatorPropertiesKeys (..),
Operators (..),
PathPrefix (..),
PrefixFormat (..),
PrefixType (..),
PrivateConnectionProvisioningFailureCause (..),
PrivateConnectionProvisioningStatus (..),
S3ConnectorOperator (..),
S3InputFileType (..),
SAPODataConnectorOperator (..),
SalesforceConnectorOperator (..),
SalesforceDataTransferApi (..),
ScheduleFrequencyType (..),
ServiceNowConnectorOperator (..),
SingularConnectorOperator (..),
SlackConnectorOperator (..),
TaskType (..),
TrendmicroConnectorOperator (..),
TriggerType (..),
VeevaConnectorOperator (..),
WriteOperationType (..),
ZendeskConnectorOperator (..),
AggregationConfig (..),
newAggregationConfig,
aggregationConfig_aggregationType,
aggregationConfig_targetFileSize,
AmplitudeConnectorProfileCredentials (..),
newAmplitudeConnectorProfileCredentials,
amplitudeConnectorProfileCredentials_apiKey,
amplitudeConnectorProfileCredentials_secretKey,
AmplitudeConnectorProfileProperties (..),
newAmplitudeConnectorProfileProperties,
AmplitudeMetadata (..),
newAmplitudeMetadata,
AmplitudeSourceProperties (..),
newAmplitudeSourceProperties,
amplitudeSourceProperties_object,
ApiKeyCredentials (..),
newApiKeyCredentials,
apiKeyCredentials_apiSecretKey,
apiKeyCredentials_apiKey,
AuthParameter (..),
newAuthParameter,
authParameter_connectorSuppliedValues,
authParameter_description,
authParameter_isRequired,
authParameter_isSensitiveField,
authParameter_key,
authParameter_label,
AuthenticationConfig (..),
newAuthenticationConfig,
authenticationConfig_customAuthConfigs,
authenticationConfig_isApiKeyAuthSupported,
authenticationConfig_isBasicAuthSupported,
authenticationConfig_isCustomAuthSupported,
authenticationConfig_isOAuth2Supported,
authenticationConfig_oAuth2Defaults,
BasicAuthCredentials (..),
newBasicAuthCredentials,
basicAuthCredentials_username,
basicAuthCredentials_password,
ConnectorConfiguration (..),
newConnectorConfiguration,
connectorConfiguration_authenticationConfig,
connectorConfiguration_canUseAsDestination,
connectorConfiguration_canUseAsSource,
connectorConfiguration_connectorArn,
connectorConfiguration_connectorDescription,
connectorConfiguration_connectorLabel,
connectorConfiguration_connectorMetadata,
connectorConfiguration_connectorModes,
connectorConfiguration_connectorName,
connectorConfiguration_connectorOwner,
connectorConfiguration_connectorProvisioningConfig,
connectorConfiguration_connectorProvisioningType,
connectorConfiguration_connectorRuntimeSettings,
connectorConfiguration_connectorType,
connectorConfiguration_connectorVersion,
connectorConfiguration_isPrivateLinkEnabled,
connectorConfiguration_isPrivateLinkEndpointUrlRequired,
connectorConfiguration_logoURL,
connectorConfiguration_registeredAt,
connectorConfiguration_registeredBy,
connectorConfiguration_supportedApiVersions,
connectorConfiguration_supportedDestinationConnectors,
connectorConfiguration_supportedOperators,
connectorConfiguration_supportedSchedulingFrequencies,
connectorConfiguration_supportedTriggerTypes,
connectorConfiguration_supportedWriteOperations,
ConnectorDetail (..),
newConnectorDetail,
connectorDetail_applicationType,
connectorDetail_connectorDescription,
connectorDetail_connectorLabel,
connectorDetail_connectorModes,
connectorDetail_connectorName,
connectorDetail_connectorOwner,
connectorDetail_connectorProvisioningType,
connectorDetail_connectorType,
connectorDetail_connectorVersion,
connectorDetail_registeredAt,
connectorDetail_registeredBy,
ConnectorEntity (..),
newConnectorEntity,
connectorEntity_hasNestedEntities,
connectorEntity_label,
connectorEntity_name,
ConnectorEntityField (..),
newConnectorEntityField,
connectorEntityField_customProperties,
connectorEntityField_defaultValue,
connectorEntityField_description,
connectorEntityField_destinationProperties,
connectorEntityField_isDeprecated,
connectorEntityField_isPrimaryKey,
connectorEntityField_label,
connectorEntityField_parentIdentifier,
connectorEntityField_sourceProperties,
connectorEntityField_supportedFieldTypeDetails,
connectorEntityField_identifier,
ConnectorMetadata (..),
newConnectorMetadata,
connectorMetadata_amplitude,
connectorMetadata_customerProfiles,
connectorMetadata_datadog,
connectorMetadata_dynatrace,
connectorMetadata_eventBridge,
connectorMetadata_googleAnalytics,
connectorMetadata_honeycode,
connectorMetadata_inforNexus,
connectorMetadata_marketo,
connectorMetadata_redshift,
connectorMetadata_s3,
connectorMetadata_sAPOData,
connectorMetadata_salesforce,
connectorMetadata_serviceNow,
connectorMetadata_singular,
connectorMetadata_slack,
connectorMetadata_snowflake,
connectorMetadata_trendmicro,
connectorMetadata_upsolver,
connectorMetadata_veeva,
connectorMetadata_zendesk,
ConnectorOAuthRequest (..),
newConnectorOAuthRequest,
connectorOAuthRequest_authCode,
connectorOAuthRequest_redirectUri,
ConnectorOperator (..),
newConnectorOperator,
connectorOperator_amplitude,
connectorOperator_customConnector,
connectorOperator_datadog,
connectorOperator_dynatrace,
connectorOperator_googleAnalytics,
connectorOperator_inforNexus,
connectorOperator_marketo,
connectorOperator_s3,
connectorOperator_sAPOData,
connectorOperator_salesforce,
connectorOperator_serviceNow,
connectorOperator_singular,
connectorOperator_slack,
connectorOperator_trendmicro,
connectorOperator_veeva,
connectorOperator_zendesk,
ConnectorProfile (..),
newConnectorProfile,
connectorProfile_connectionMode,
connectorProfile_connectorLabel,
connectorProfile_connectorProfileArn,
connectorProfile_connectorProfileName,
connectorProfile_connectorProfileProperties,
connectorProfile_connectorType,
connectorProfile_createdAt,
connectorProfile_credentialsArn,
connectorProfile_lastUpdatedAt,
connectorProfile_privateConnectionProvisioningState,
ConnectorProfileConfig (..),
newConnectorProfileConfig,
connectorProfileConfig_connectorProfileCredentials,
connectorProfileConfig_connectorProfileProperties,
ConnectorProfileCredentials (..),
newConnectorProfileCredentials,
connectorProfileCredentials_amplitude,
connectorProfileCredentials_customConnector,
connectorProfileCredentials_datadog,
connectorProfileCredentials_dynatrace,
connectorProfileCredentials_googleAnalytics,
connectorProfileCredentials_honeycode,
connectorProfileCredentials_inforNexus,
connectorProfileCredentials_marketo,
connectorProfileCredentials_redshift,
connectorProfileCredentials_sAPOData,
connectorProfileCredentials_salesforce,
connectorProfileCredentials_serviceNow,
connectorProfileCredentials_singular,
connectorProfileCredentials_slack,
connectorProfileCredentials_snowflake,
connectorProfileCredentials_trendmicro,
connectorProfileCredentials_veeva,
connectorProfileCredentials_zendesk,
ConnectorProfileProperties (..),
newConnectorProfileProperties,
connectorProfileProperties_amplitude,
connectorProfileProperties_customConnector,
connectorProfileProperties_datadog,
connectorProfileProperties_dynatrace,
connectorProfileProperties_googleAnalytics,
connectorProfileProperties_honeycode,
connectorProfileProperties_inforNexus,
connectorProfileProperties_marketo,
connectorProfileProperties_redshift,
connectorProfileProperties_sAPOData,
connectorProfileProperties_salesforce,
connectorProfileProperties_serviceNow,
connectorProfileProperties_singular,
connectorProfileProperties_slack,
connectorProfileProperties_snowflake,
connectorProfileProperties_trendmicro,
connectorProfileProperties_veeva,
connectorProfileProperties_zendesk,
ConnectorProvisioningConfig (..),
newConnectorProvisioningConfig,
connectorProvisioningConfig_lambda,
ConnectorRuntimeSetting (..),
newConnectorRuntimeSetting,
connectorRuntimeSetting_connectorSuppliedValueOptions,
connectorRuntimeSetting_dataType,
connectorRuntimeSetting_description,
connectorRuntimeSetting_isRequired,
connectorRuntimeSetting_key,
connectorRuntimeSetting_label,
connectorRuntimeSetting_scope,
CustomAuthConfig (..),
newCustomAuthConfig,
customAuthConfig_authParameters,
customAuthConfig_customAuthenticationType,
CustomAuthCredentials (..),
newCustomAuthCredentials,
customAuthCredentials_credentialsMap,
customAuthCredentials_customAuthenticationType,
CustomConnectorDestinationProperties (..),
newCustomConnectorDestinationProperties,
customConnectorDestinationProperties_customProperties,
customConnectorDestinationProperties_errorHandlingConfig,
customConnectorDestinationProperties_idFieldNames,
customConnectorDestinationProperties_writeOperationType,
customConnectorDestinationProperties_entityName,
CustomConnectorProfileCredentials (..),
newCustomConnectorProfileCredentials,
customConnectorProfileCredentials_apiKey,
customConnectorProfileCredentials_basic,
customConnectorProfileCredentials_custom,
customConnectorProfileCredentials_oauth2,
customConnectorProfileCredentials_authenticationType,
CustomConnectorProfileProperties (..),
newCustomConnectorProfileProperties,
customConnectorProfileProperties_oAuth2Properties,
customConnectorProfileProperties_profileProperties,
CustomConnectorSourceProperties (..),
newCustomConnectorSourceProperties,
customConnectorSourceProperties_customProperties,
customConnectorSourceProperties_entityName,
CustomerProfilesDestinationProperties (..),
newCustomerProfilesDestinationProperties,
customerProfilesDestinationProperties_objectTypeName,
customerProfilesDestinationProperties_domainName,
CustomerProfilesMetadata (..),
newCustomerProfilesMetadata,
DatadogConnectorProfileCredentials (..),
newDatadogConnectorProfileCredentials,
datadogConnectorProfileCredentials_apiKey,
datadogConnectorProfileCredentials_applicationKey,
DatadogConnectorProfileProperties (..),
newDatadogConnectorProfileProperties,
datadogConnectorProfileProperties_instanceUrl,
DatadogMetadata (..),
newDatadogMetadata,
DatadogSourceProperties (..),
newDatadogSourceProperties,
datadogSourceProperties_object,
DestinationConnectorProperties (..),
newDestinationConnectorProperties,
destinationConnectorProperties_customConnector,
destinationConnectorProperties_customerProfiles,
destinationConnectorProperties_eventBridge,
destinationConnectorProperties_honeycode,
destinationConnectorProperties_lookoutMetrics,
destinationConnectorProperties_marketo,
destinationConnectorProperties_redshift,
destinationConnectorProperties_s3,
destinationConnectorProperties_sAPOData,
destinationConnectorProperties_salesforce,
destinationConnectorProperties_snowflake,
destinationConnectorProperties_upsolver,
destinationConnectorProperties_zendesk,
DestinationFieldProperties (..),
newDestinationFieldProperties,
destinationFieldProperties_isCreatable,
destinationFieldProperties_isDefaultedOnCreate,
destinationFieldProperties_isNullable,
destinationFieldProperties_isUpdatable,
destinationFieldProperties_isUpsertable,
destinationFieldProperties_supportedWriteOperations,
DestinationFlowConfig (..),
newDestinationFlowConfig,
destinationFlowConfig_apiVersion,
destinationFlowConfig_connectorProfileName,
destinationFlowConfig_connectorType,
destinationFlowConfig_destinationConnectorProperties,
DynatraceConnectorProfileCredentials (..),
newDynatraceConnectorProfileCredentials,
dynatraceConnectorProfileCredentials_apiToken,
DynatraceConnectorProfileProperties (..),
newDynatraceConnectorProfileProperties,
dynatraceConnectorProfileProperties_instanceUrl,
DynatraceMetadata (..),
newDynatraceMetadata,
DynatraceSourceProperties (..),
newDynatraceSourceProperties,
dynatraceSourceProperties_object,
ErrorHandlingConfig (..),
newErrorHandlingConfig,
errorHandlingConfig_bucketName,
errorHandlingConfig_bucketPrefix,
errorHandlingConfig_failOnFirstDestinationError,
ErrorInfo (..),
newErrorInfo,
errorInfo_executionMessage,
errorInfo_putFailuresCount,
EventBridgeDestinationProperties (..),
newEventBridgeDestinationProperties,
eventBridgeDestinationProperties_errorHandlingConfig,
eventBridgeDestinationProperties_object,
EventBridgeMetadata (..),
newEventBridgeMetadata,
ExecutionDetails (..),
newExecutionDetails,
executionDetails_mostRecentExecutionMessage,
executionDetails_mostRecentExecutionStatus,
executionDetails_mostRecentExecutionTime,
ExecutionRecord (..),
newExecutionRecord,
executionRecord_dataPullEndTime,
executionRecord_dataPullStartTime,
executionRecord_executionId,
executionRecord_executionResult,
executionRecord_executionStatus,
executionRecord_lastUpdatedAt,
executionRecord_metadataCatalogDetails,
executionRecord_startedAt,
ExecutionResult (..),
newExecutionResult,
executionResult_bytesProcessed,
executionResult_bytesWritten,
executionResult_errorInfo,
executionResult_recordsProcessed,
FieldTypeDetails (..),
newFieldTypeDetails,
fieldTypeDetails_fieldLengthRange,
fieldTypeDetails_fieldValueRange,
fieldTypeDetails_supportedDateFormat,
fieldTypeDetails_supportedValues,
fieldTypeDetails_valueRegexPattern,
fieldTypeDetails_fieldType,
fieldTypeDetails_filterOperators,
FlowDefinition (..),
newFlowDefinition,
flowDefinition_createdAt,
flowDefinition_createdBy,
flowDefinition_description,
flowDefinition_destinationConnectorLabel,
flowDefinition_destinationConnectorType,
flowDefinition_flowArn,
flowDefinition_flowName,
flowDefinition_flowStatus,
flowDefinition_lastRunExecutionDetails,
flowDefinition_lastUpdatedAt,
flowDefinition_lastUpdatedBy,
flowDefinition_sourceConnectorLabel,
flowDefinition_sourceConnectorType,
flowDefinition_tags,
flowDefinition_triggerType,
GlueDataCatalogConfig (..),
newGlueDataCatalogConfig,
glueDataCatalogConfig_roleArn,
glueDataCatalogConfig_databaseName,
glueDataCatalogConfig_tablePrefix,
GoogleAnalyticsConnectorProfileCredentials (..),
newGoogleAnalyticsConnectorProfileCredentials,
googleAnalyticsConnectorProfileCredentials_accessToken,
googleAnalyticsConnectorProfileCredentials_oAuthRequest,
googleAnalyticsConnectorProfileCredentials_refreshToken,
googleAnalyticsConnectorProfileCredentials_clientId,
googleAnalyticsConnectorProfileCredentials_clientSecret,
GoogleAnalyticsConnectorProfileProperties (..),
newGoogleAnalyticsConnectorProfileProperties,
GoogleAnalyticsMetadata (..),
newGoogleAnalyticsMetadata,
googleAnalyticsMetadata_oAuthScopes,
GoogleAnalyticsSourceProperties (..),
newGoogleAnalyticsSourceProperties,
googleAnalyticsSourceProperties_object,
HoneycodeConnectorProfileCredentials (..),
newHoneycodeConnectorProfileCredentials,
honeycodeConnectorProfileCredentials_accessToken,
honeycodeConnectorProfileCredentials_oAuthRequest,
honeycodeConnectorProfileCredentials_refreshToken,
HoneycodeConnectorProfileProperties (..),
newHoneycodeConnectorProfileProperties,
HoneycodeDestinationProperties (..),
newHoneycodeDestinationProperties,
honeycodeDestinationProperties_errorHandlingConfig,
honeycodeDestinationProperties_object,
HoneycodeMetadata (..),
newHoneycodeMetadata,
honeycodeMetadata_oAuthScopes,
IncrementalPullConfig (..),
newIncrementalPullConfig,
incrementalPullConfig_datetimeTypeFieldName,
InforNexusConnectorProfileCredentials (..),
newInforNexusConnectorProfileCredentials,
inforNexusConnectorProfileCredentials_accessKeyId,
inforNexusConnectorProfileCredentials_userId,
inforNexusConnectorProfileCredentials_secretAccessKey,
inforNexusConnectorProfileCredentials_datakey,
InforNexusConnectorProfileProperties (..),
newInforNexusConnectorProfileProperties,
inforNexusConnectorProfileProperties_instanceUrl,
InforNexusMetadata (..),
newInforNexusMetadata,
InforNexusSourceProperties (..),
newInforNexusSourceProperties,
inforNexusSourceProperties_object,
LambdaConnectorProvisioningConfig (..),
newLambdaConnectorProvisioningConfig,
lambdaConnectorProvisioningConfig_lambdaArn,
LookoutMetricsDestinationProperties (..),
newLookoutMetricsDestinationProperties,
MarketoConnectorProfileCredentials (..),
newMarketoConnectorProfileCredentials,
marketoConnectorProfileCredentials_accessToken,
marketoConnectorProfileCredentials_oAuthRequest,
marketoConnectorProfileCredentials_clientId,
marketoConnectorProfileCredentials_clientSecret,
MarketoConnectorProfileProperties (..),
newMarketoConnectorProfileProperties,
marketoConnectorProfileProperties_instanceUrl,
MarketoDestinationProperties (..),
newMarketoDestinationProperties,
marketoDestinationProperties_errorHandlingConfig,
marketoDestinationProperties_object,
MarketoMetadata (..),
newMarketoMetadata,
MarketoSourceProperties (..),
newMarketoSourceProperties,
marketoSourceProperties_object,
MetadataCatalogConfig (..),
newMetadataCatalogConfig,
metadataCatalogConfig_glueDataCatalog,
MetadataCatalogDetail (..),
newMetadataCatalogDetail,
metadataCatalogDetail_catalogType,
metadataCatalogDetail_partitionRegistrationOutput,
metadataCatalogDetail_tableName,
metadataCatalogDetail_tableRegistrationOutput,
OAuth2Credentials (..),
newOAuth2Credentials,
oAuth2Credentials_accessToken,
oAuth2Credentials_clientId,
oAuth2Credentials_clientSecret,
oAuth2Credentials_oAuthRequest,
oAuth2Credentials_refreshToken,
OAuth2CustomParameter (..),
newOAuth2CustomParameter,
oAuth2CustomParameter_connectorSuppliedValues,
oAuth2CustomParameter_description,
oAuth2CustomParameter_isRequired,
oAuth2CustomParameter_isSensitiveField,
oAuth2CustomParameter_key,
oAuth2CustomParameter_label,
oAuth2CustomParameter_type,
OAuth2Defaults (..),
newOAuth2Defaults,
oAuth2Defaults_authCodeUrls,
oAuth2Defaults_oauth2CustomProperties,
oAuth2Defaults_oauth2GrantTypesSupported,
oAuth2Defaults_oauthScopes,
oAuth2Defaults_tokenUrls,
OAuth2Properties (..),
newOAuth2Properties,
oAuth2Properties_tokenUrlCustomProperties,
oAuth2Properties_tokenUrl,
oAuth2Properties_oAuth2GrantType,
OAuthCredentials (..),
newOAuthCredentials,
oAuthCredentials_accessToken,
oAuthCredentials_oAuthRequest,
oAuthCredentials_refreshToken,
oAuthCredentials_clientId,
oAuthCredentials_clientSecret,
OAuthProperties (..),
newOAuthProperties,
oAuthProperties_tokenUrl,
oAuthProperties_authCodeUrl,
oAuthProperties_oAuthScopes,
PrefixConfig (..),
newPrefixConfig,
prefixConfig_pathPrefixHierarchy,
prefixConfig_prefixFormat,
prefixConfig_prefixType,
PrivateConnectionProvisioningState (..),
newPrivateConnectionProvisioningState,
privateConnectionProvisioningState_failureCause,
privateConnectionProvisioningState_failureMessage,
privateConnectionProvisioningState_status,
Range (..),
newRange,
range_maximum,
range_minimum,
RedshiftConnectorProfileCredentials (..),
newRedshiftConnectorProfileCredentials,
redshiftConnectorProfileCredentials_password,
redshiftConnectorProfileCredentials_username,
RedshiftConnectorProfileProperties (..),
newRedshiftConnectorProfileProperties,
redshiftConnectorProfileProperties_bucketPrefix,
redshiftConnectorProfileProperties_clusterIdentifier,
redshiftConnectorProfileProperties_dataApiRoleArn,
redshiftConnectorProfileProperties_databaseName,
redshiftConnectorProfileProperties_databaseUrl,
redshiftConnectorProfileProperties_isRedshiftServerless,
redshiftConnectorProfileProperties_workgroupName,
redshiftConnectorProfileProperties_bucketName,
redshiftConnectorProfileProperties_roleArn,
RedshiftDestinationProperties (..),
newRedshiftDestinationProperties,
redshiftDestinationProperties_bucketPrefix,
redshiftDestinationProperties_errorHandlingConfig,
redshiftDestinationProperties_object,
redshiftDestinationProperties_intermediateBucketName,
RedshiftMetadata (..),
newRedshiftMetadata,
RegistrationOutput (..),
newRegistrationOutput,
registrationOutput_message,
registrationOutput_result,
registrationOutput_status,
S3DestinationProperties (..),
newS3DestinationProperties,
s3DestinationProperties_bucketPrefix,
s3DestinationProperties_s3OutputFormatConfig,
s3DestinationProperties_bucketName,
S3InputFormatConfig (..),
newS3InputFormatConfig,
s3InputFormatConfig_s3InputFileType,
S3Metadata (..),
newS3Metadata,
S3OutputFormatConfig (..),
newS3OutputFormatConfig,
s3OutputFormatConfig_aggregationConfig,
s3OutputFormatConfig_fileType,
s3OutputFormatConfig_prefixConfig,
s3OutputFormatConfig_preserveSourceDataTyping,
S3SourceProperties (..),
newS3SourceProperties,
s3SourceProperties_bucketPrefix,
s3SourceProperties_s3InputFormatConfig,
s3SourceProperties_bucketName,
SAPODataConnectorProfileCredentials (..),
newSAPODataConnectorProfileCredentials,
sAPODataConnectorProfileCredentials_basicAuthCredentials,
sAPODataConnectorProfileCredentials_oAuthCredentials,
SAPODataConnectorProfileProperties (..),
newSAPODataConnectorProfileProperties,
sAPODataConnectorProfileProperties_logonLanguage,
sAPODataConnectorProfileProperties_oAuthProperties,
sAPODataConnectorProfileProperties_privateLinkServiceName,
sAPODataConnectorProfileProperties_applicationHostUrl,
sAPODataConnectorProfileProperties_applicationServicePath,
sAPODataConnectorProfileProperties_portNumber,
sAPODataConnectorProfileProperties_clientNumber,
SAPODataDestinationProperties (..),
newSAPODataDestinationProperties,
sAPODataDestinationProperties_errorHandlingConfig,
sAPODataDestinationProperties_idFieldNames,
sAPODataDestinationProperties_successResponseHandlingConfig,
sAPODataDestinationProperties_writeOperationType,
sAPODataDestinationProperties_objectPath,
SAPODataMetadata (..),
newSAPODataMetadata,
SAPODataSourceProperties (..),
newSAPODataSourceProperties,
sAPODataSourceProperties_objectPath,
SalesforceConnectorProfileCredentials (..),
newSalesforceConnectorProfileCredentials,
salesforceConnectorProfileCredentials_accessToken,
salesforceConnectorProfileCredentials_clientCredentialsArn,
salesforceConnectorProfileCredentials_oAuthRequest,
salesforceConnectorProfileCredentials_refreshToken,
SalesforceConnectorProfileProperties (..),
newSalesforceConnectorProfileProperties,
salesforceConnectorProfileProperties_instanceUrl,
salesforceConnectorProfileProperties_isSandboxEnvironment,
SalesforceDestinationProperties (..),
newSalesforceDestinationProperties,
salesforceDestinationProperties_dataTransferApi,
salesforceDestinationProperties_errorHandlingConfig,
salesforceDestinationProperties_idFieldNames,
salesforceDestinationProperties_writeOperationType,
salesforceDestinationProperties_object,
SalesforceMetadata (..),
newSalesforceMetadata,
salesforceMetadata_dataTransferApis,
salesforceMetadata_oAuthScopes,
SalesforceSourceProperties (..),
newSalesforceSourceProperties,
salesforceSourceProperties_dataTransferApi,
salesforceSourceProperties_enableDynamicFieldUpdate,
salesforceSourceProperties_includeDeletedRecords,
salesforceSourceProperties_object,
ScheduledTriggerProperties (..),
newScheduledTriggerProperties,
scheduledTriggerProperties_dataPullMode,
scheduledTriggerProperties_firstExecutionFrom,
scheduledTriggerProperties_flowErrorDeactivationThreshold,
scheduledTriggerProperties_scheduleEndTime,
scheduledTriggerProperties_scheduleOffset,
scheduledTriggerProperties_scheduleStartTime,
scheduledTriggerProperties_timezone,
scheduledTriggerProperties_scheduleExpression,
ServiceNowConnectorProfileCredentials (..),
newServiceNowConnectorProfileCredentials,
serviceNowConnectorProfileCredentials_username,
serviceNowConnectorProfileCredentials_password,
ServiceNowConnectorProfileProperties (..),
newServiceNowConnectorProfileProperties,
serviceNowConnectorProfileProperties_instanceUrl,
ServiceNowMetadata (..),
newServiceNowMetadata,
ServiceNowSourceProperties (..),
newServiceNowSourceProperties,
serviceNowSourceProperties_object,
SingularConnectorProfileCredentials (..),
newSingularConnectorProfileCredentials,
singularConnectorProfileCredentials_apiKey,
SingularConnectorProfileProperties (..),
newSingularConnectorProfileProperties,
SingularMetadata (..),
newSingularMetadata,
SingularSourceProperties (..),
newSingularSourceProperties,
singularSourceProperties_object,
SlackConnectorProfileCredentials (..),
newSlackConnectorProfileCredentials,
slackConnectorProfileCredentials_accessToken,
slackConnectorProfileCredentials_oAuthRequest,
slackConnectorProfileCredentials_clientId,
slackConnectorProfileCredentials_clientSecret,
SlackConnectorProfileProperties (..),
newSlackConnectorProfileProperties,
slackConnectorProfileProperties_instanceUrl,
SlackMetadata (..),
newSlackMetadata,
slackMetadata_oAuthScopes,
SlackSourceProperties (..),
newSlackSourceProperties,
slackSourceProperties_object,
SnowflakeConnectorProfileCredentials (..),
newSnowflakeConnectorProfileCredentials,
snowflakeConnectorProfileCredentials_username,
snowflakeConnectorProfileCredentials_password,
SnowflakeConnectorProfileProperties (..),
newSnowflakeConnectorProfileProperties,
snowflakeConnectorProfileProperties_accountName,
snowflakeConnectorProfileProperties_bucketPrefix,
snowflakeConnectorProfileProperties_privateLinkServiceName,
snowflakeConnectorProfileProperties_region,
snowflakeConnectorProfileProperties_warehouse,
snowflakeConnectorProfileProperties_stage,
snowflakeConnectorProfileProperties_bucketName,
SnowflakeDestinationProperties (..),
newSnowflakeDestinationProperties,
snowflakeDestinationProperties_bucketPrefix,
snowflakeDestinationProperties_errorHandlingConfig,
snowflakeDestinationProperties_object,
snowflakeDestinationProperties_intermediateBucketName,
SnowflakeMetadata (..),
newSnowflakeMetadata,
snowflakeMetadata_supportedRegions,
SourceConnectorProperties (..),
newSourceConnectorProperties,
sourceConnectorProperties_amplitude,
sourceConnectorProperties_customConnector,
sourceConnectorProperties_datadog,
sourceConnectorProperties_dynatrace,
sourceConnectorProperties_googleAnalytics,
sourceConnectorProperties_inforNexus,
sourceConnectorProperties_marketo,
sourceConnectorProperties_s3,
sourceConnectorProperties_sAPOData,
sourceConnectorProperties_salesforce,
sourceConnectorProperties_serviceNow,
sourceConnectorProperties_singular,
sourceConnectorProperties_slack,
sourceConnectorProperties_trendmicro,
sourceConnectorProperties_veeva,
sourceConnectorProperties_zendesk,
SourceFieldProperties (..),
newSourceFieldProperties,
sourceFieldProperties_isQueryable,
sourceFieldProperties_isRetrievable,
sourceFieldProperties_isTimestampFieldForIncrementalQueries,
SourceFlowConfig (..),
newSourceFlowConfig,
sourceFlowConfig_apiVersion,
sourceFlowConfig_connectorProfileName,
sourceFlowConfig_incrementalPullConfig,
sourceFlowConfig_connectorType,
sourceFlowConfig_sourceConnectorProperties,
SuccessResponseHandlingConfig (..),
newSuccessResponseHandlingConfig,
successResponseHandlingConfig_bucketName,
successResponseHandlingConfig_bucketPrefix,
SupportedFieldTypeDetails (..),
newSupportedFieldTypeDetails,
supportedFieldTypeDetails_v1,
Task (..),
newTask,
task_connectorOperator,
task_destinationField,
task_taskProperties,
task_sourceFields,
task_taskType,
TrendmicroConnectorProfileCredentials (..),
newTrendmicroConnectorProfileCredentials,
trendmicroConnectorProfileCredentials_apiSecretKey,
TrendmicroConnectorProfileProperties (..),
newTrendmicroConnectorProfileProperties,
TrendmicroMetadata (..),
newTrendmicroMetadata,
TrendmicroSourceProperties (..),
newTrendmicroSourceProperties,
trendmicroSourceProperties_object,
TriggerConfig (..),
newTriggerConfig,
triggerConfig_triggerProperties,
triggerConfig_triggerType,
TriggerProperties (..),
newTriggerProperties,
triggerProperties_scheduled,
UpsolverDestinationProperties (..),
newUpsolverDestinationProperties,
upsolverDestinationProperties_bucketPrefix,
upsolverDestinationProperties_bucketName,
upsolverDestinationProperties_s3OutputFormatConfig,
UpsolverMetadata (..),
newUpsolverMetadata,
UpsolverS3OutputFormatConfig (..),
newUpsolverS3OutputFormatConfig,
upsolverS3OutputFormatConfig_aggregationConfig,
upsolverS3OutputFormatConfig_fileType,
upsolverS3OutputFormatConfig_prefixConfig,
VeevaConnectorProfileCredentials (..),
newVeevaConnectorProfileCredentials,
veevaConnectorProfileCredentials_username,
veevaConnectorProfileCredentials_password,
VeevaConnectorProfileProperties (..),
newVeevaConnectorProfileProperties,
veevaConnectorProfileProperties_instanceUrl,
VeevaMetadata (..),
newVeevaMetadata,
VeevaSourceProperties (..),
newVeevaSourceProperties,
veevaSourceProperties_documentType,
veevaSourceProperties_includeAllVersions,
veevaSourceProperties_includeRenditions,
veevaSourceProperties_includeSourceFiles,
veevaSourceProperties_object,
ZendeskConnectorProfileCredentials (..),
newZendeskConnectorProfileCredentials,
zendeskConnectorProfileCredentials_accessToken,
zendeskConnectorProfileCredentials_oAuthRequest,
zendeskConnectorProfileCredentials_clientId,
zendeskConnectorProfileCredentials_clientSecret,
ZendeskConnectorProfileProperties (..),
newZendeskConnectorProfileProperties,
zendeskConnectorProfileProperties_instanceUrl,
ZendeskDestinationProperties (..),
newZendeskDestinationProperties,
zendeskDestinationProperties_errorHandlingConfig,
zendeskDestinationProperties_idFieldNames,
zendeskDestinationProperties_writeOperationType,
zendeskDestinationProperties_object,
ZendeskMetadata (..),
newZendeskMetadata,
zendeskMetadata_oAuthScopes,
ZendeskSourceProperties (..),
newZendeskSourceProperties,
zendeskSourceProperties_object,
)
where
import Amazonka.AppFlow.Types.AggregationConfig
import Amazonka.AppFlow.Types.AggregationType
import Amazonka.AppFlow.Types.AmplitudeConnectorOperator
import Amazonka.AppFlow.Types.AmplitudeConnectorProfileCredentials
import Amazonka.AppFlow.Types.AmplitudeConnectorProfileProperties
import Amazonka.AppFlow.Types.AmplitudeMetadata
import Amazonka.AppFlow.Types.AmplitudeSourceProperties
import Amazonka.AppFlow.Types.ApiKeyCredentials
import Amazonka.AppFlow.Types.AuthParameter
import Amazonka.AppFlow.Types.AuthenticationConfig
import Amazonka.AppFlow.Types.AuthenticationType
import Amazonka.AppFlow.Types.BasicAuthCredentials
import Amazonka.AppFlow.Types.CatalogType
import Amazonka.AppFlow.Types.ConnectionMode
import Amazonka.AppFlow.Types.ConnectorConfiguration
import Amazonka.AppFlow.Types.ConnectorDetail
import Amazonka.AppFlow.Types.ConnectorEntity
import Amazonka.AppFlow.Types.ConnectorEntityField
import Amazonka.AppFlow.Types.ConnectorMetadata
import Amazonka.AppFlow.Types.ConnectorOAuthRequest
import Amazonka.AppFlow.Types.ConnectorOperator
import Amazonka.AppFlow.Types.ConnectorProfile
import Amazonka.AppFlow.Types.ConnectorProfileConfig
import Amazonka.AppFlow.Types.ConnectorProfileCredentials
import Amazonka.AppFlow.Types.ConnectorProfileProperties
import Amazonka.AppFlow.Types.ConnectorProvisioningConfig
import Amazonka.AppFlow.Types.ConnectorProvisioningType
import Amazonka.AppFlow.Types.ConnectorRuntimeSetting
import Amazonka.AppFlow.Types.ConnectorType
import Amazonka.AppFlow.Types.CustomAuthConfig
import Amazonka.AppFlow.Types.CustomAuthCredentials
import Amazonka.AppFlow.Types.CustomConnectorDestinationProperties
import Amazonka.AppFlow.Types.CustomConnectorProfileCredentials
import Amazonka.AppFlow.Types.CustomConnectorProfileProperties
import Amazonka.AppFlow.Types.CustomConnectorSourceProperties
import Amazonka.AppFlow.Types.CustomerProfilesDestinationProperties
import Amazonka.AppFlow.Types.CustomerProfilesMetadata
import Amazonka.AppFlow.Types.DataPullMode
import Amazonka.AppFlow.Types.DatadogConnectorOperator
import Amazonka.AppFlow.Types.DatadogConnectorProfileCredentials
import Amazonka.AppFlow.Types.DatadogConnectorProfileProperties
import Amazonka.AppFlow.Types.DatadogMetadata
import Amazonka.AppFlow.Types.DatadogSourceProperties
import Amazonka.AppFlow.Types.DestinationConnectorProperties
import Amazonka.AppFlow.Types.DestinationFieldProperties
import Amazonka.AppFlow.Types.DestinationFlowConfig
import Amazonka.AppFlow.Types.DynatraceConnectorOperator
import Amazonka.AppFlow.Types.DynatraceConnectorProfileCredentials
import Amazonka.AppFlow.Types.DynatraceConnectorProfileProperties
import Amazonka.AppFlow.Types.DynatraceMetadata
import Amazonka.AppFlow.Types.DynatraceSourceProperties
import Amazonka.AppFlow.Types.ErrorHandlingConfig
import Amazonka.AppFlow.Types.ErrorInfo
import Amazonka.AppFlow.Types.EventBridgeDestinationProperties
import Amazonka.AppFlow.Types.EventBridgeMetadata
import Amazonka.AppFlow.Types.ExecutionDetails
import Amazonka.AppFlow.Types.ExecutionRecord
import Amazonka.AppFlow.Types.ExecutionResult
import Amazonka.AppFlow.Types.ExecutionStatus
import Amazonka.AppFlow.Types.FieldTypeDetails
import Amazonka.AppFlow.Types.FileType
import Amazonka.AppFlow.Types.FlowDefinition
import Amazonka.AppFlow.Types.FlowStatus
import Amazonka.AppFlow.Types.GlueDataCatalogConfig
import Amazonka.AppFlow.Types.GoogleAnalyticsConnectorOperator
import Amazonka.AppFlow.Types.GoogleAnalyticsConnectorProfileCredentials
import Amazonka.AppFlow.Types.GoogleAnalyticsConnectorProfileProperties
import Amazonka.AppFlow.Types.GoogleAnalyticsMetadata
import Amazonka.AppFlow.Types.GoogleAnalyticsSourceProperties
import Amazonka.AppFlow.Types.HoneycodeConnectorProfileCredentials
import Amazonka.AppFlow.Types.HoneycodeConnectorProfileProperties
import Amazonka.AppFlow.Types.HoneycodeDestinationProperties
import Amazonka.AppFlow.Types.HoneycodeMetadata
import Amazonka.AppFlow.Types.IncrementalPullConfig
import Amazonka.AppFlow.Types.InforNexusConnectorOperator
import Amazonka.AppFlow.Types.InforNexusConnectorProfileCredentials
import Amazonka.AppFlow.Types.InforNexusConnectorProfileProperties
import Amazonka.AppFlow.Types.InforNexusMetadata
import Amazonka.AppFlow.Types.InforNexusSourceProperties
import Amazonka.AppFlow.Types.LambdaConnectorProvisioningConfig
import Amazonka.AppFlow.Types.LookoutMetricsDestinationProperties
import Amazonka.AppFlow.Types.MarketoConnectorOperator
import Amazonka.AppFlow.Types.MarketoConnectorProfileCredentials
import Amazonka.AppFlow.Types.MarketoConnectorProfileProperties
import Amazonka.AppFlow.Types.MarketoDestinationProperties
import Amazonka.AppFlow.Types.MarketoMetadata
import Amazonka.AppFlow.Types.MarketoSourceProperties
import Amazonka.AppFlow.Types.MetadataCatalogConfig
import Amazonka.AppFlow.Types.MetadataCatalogDetail
import Amazonka.AppFlow.Types.OAuth2Credentials
import Amazonka.AppFlow.Types.OAuth2CustomParameter
import Amazonka.AppFlow.Types.OAuth2CustomPropType
import Amazonka.AppFlow.Types.OAuth2Defaults
import Amazonka.AppFlow.Types.OAuth2GrantType
import Amazonka.AppFlow.Types.OAuth2Properties
import Amazonka.AppFlow.Types.OAuthCredentials
import Amazonka.AppFlow.Types.OAuthProperties
import Amazonka.AppFlow.Types.Operator
import Amazonka.AppFlow.Types.OperatorPropertiesKeys
import Amazonka.AppFlow.Types.Operators
import Amazonka.AppFlow.Types.PathPrefix
import Amazonka.AppFlow.Types.PrefixConfig
import Amazonka.AppFlow.Types.PrefixFormat
import Amazonka.AppFlow.Types.PrefixType
import Amazonka.AppFlow.Types.PrivateConnectionProvisioningFailureCause
import Amazonka.AppFlow.Types.PrivateConnectionProvisioningState
import Amazonka.AppFlow.Types.PrivateConnectionProvisioningStatus
import Amazonka.AppFlow.Types.Range
import Amazonka.AppFlow.Types.RedshiftConnectorProfileCredentials
import Amazonka.AppFlow.Types.RedshiftConnectorProfileProperties
import Amazonka.AppFlow.Types.RedshiftDestinationProperties
import Amazonka.AppFlow.Types.RedshiftMetadata
import Amazonka.AppFlow.Types.RegistrationOutput
import Amazonka.AppFlow.Types.S3ConnectorOperator
import Amazonka.AppFlow.Types.S3DestinationProperties
import Amazonka.AppFlow.Types.S3InputFileType
import Amazonka.AppFlow.Types.S3InputFormatConfig
import Amazonka.AppFlow.Types.S3Metadata
import Amazonka.AppFlow.Types.S3OutputFormatConfig
import Amazonka.AppFlow.Types.S3SourceProperties
import Amazonka.AppFlow.Types.SAPODataConnectorOperator
import Amazonka.AppFlow.Types.SAPODataConnectorProfileCredentials
import Amazonka.AppFlow.Types.SAPODataConnectorProfileProperties
import Amazonka.AppFlow.Types.SAPODataDestinationProperties
import Amazonka.AppFlow.Types.SAPODataMetadata
import Amazonka.AppFlow.Types.SAPODataSourceProperties
import Amazonka.AppFlow.Types.SalesforceConnectorOperator
import Amazonka.AppFlow.Types.SalesforceConnectorProfileCredentials
import Amazonka.AppFlow.Types.SalesforceConnectorProfileProperties
import Amazonka.AppFlow.Types.SalesforceDataTransferApi
import Amazonka.AppFlow.Types.SalesforceDestinationProperties
import Amazonka.AppFlow.Types.SalesforceMetadata
import Amazonka.AppFlow.Types.SalesforceSourceProperties
import Amazonka.AppFlow.Types.ScheduleFrequencyType
import Amazonka.AppFlow.Types.ScheduledTriggerProperties
import Amazonka.AppFlow.Types.ServiceNowConnectorOperator
import Amazonka.AppFlow.Types.ServiceNowConnectorProfileCredentials
import Amazonka.AppFlow.Types.ServiceNowConnectorProfileProperties
import Amazonka.AppFlow.Types.ServiceNowMetadata
import Amazonka.AppFlow.Types.ServiceNowSourceProperties
import Amazonka.AppFlow.Types.SingularConnectorOperator
import Amazonka.AppFlow.Types.SingularConnectorProfileCredentials
import Amazonka.AppFlow.Types.SingularConnectorProfileProperties
import Amazonka.AppFlow.Types.SingularMetadata
import Amazonka.AppFlow.Types.SingularSourceProperties
import Amazonka.AppFlow.Types.SlackConnectorOperator
import Amazonka.AppFlow.Types.SlackConnectorProfileCredentials
import Amazonka.AppFlow.Types.SlackConnectorProfileProperties
import Amazonka.AppFlow.Types.SlackMetadata
import Amazonka.AppFlow.Types.SlackSourceProperties
import Amazonka.AppFlow.Types.SnowflakeConnectorProfileCredentials
import Amazonka.AppFlow.Types.SnowflakeConnectorProfileProperties
import Amazonka.AppFlow.Types.SnowflakeDestinationProperties
import Amazonka.AppFlow.Types.SnowflakeMetadata
import Amazonka.AppFlow.Types.SourceConnectorProperties
import Amazonka.AppFlow.Types.SourceFieldProperties
import Amazonka.AppFlow.Types.SourceFlowConfig
import Amazonka.AppFlow.Types.SuccessResponseHandlingConfig
import Amazonka.AppFlow.Types.SupportedFieldTypeDetails
import Amazonka.AppFlow.Types.Task
import Amazonka.AppFlow.Types.TaskType
import Amazonka.AppFlow.Types.TrendmicroConnectorOperator
import Amazonka.AppFlow.Types.TrendmicroConnectorProfileCredentials
import Amazonka.AppFlow.Types.TrendmicroConnectorProfileProperties
import Amazonka.AppFlow.Types.TrendmicroMetadata
import Amazonka.AppFlow.Types.TrendmicroSourceProperties
import Amazonka.AppFlow.Types.TriggerConfig
import Amazonka.AppFlow.Types.TriggerProperties
import Amazonka.AppFlow.Types.TriggerType
import Amazonka.AppFlow.Types.UpsolverDestinationProperties
import Amazonka.AppFlow.Types.UpsolverMetadata
import Amazonka.AppFlow.Types.UpsolverS3OutputFormatConfig
import Amazonka.AppFlow.Types.VeevaConnectorOperator
import Amazonka.AppFlow.Types.VeevaConnectorProfileCredentials
import Amazonka.AppFlow.Types.VeevaConnectorProfileProperties
import Amazonka.AppFlow.Types.VeevaMetadata
import Amazonka.AppFlow.Types.VeevaSourceProperties
import Amazonka.AppFlow.Types.WriteOperationType
import Amazonka.AppFlow.Types.ZendeskConnectorOperator
import Amazonka.AppFlow.Types.ZendeskConnectorProfileCredentials
import Amazonka.AppFlow.Types.ZendeskConnectorProfileProperties
import Amazonka.AppFlow.Types.ZendeskDestinationProperties
import Amazonka.AppFlow.Types.ZendeskMetadata
import Amazonka.AppFlow.Types.ZendeskSourceProperties
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
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
"AppFlow",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"appflow",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"appflow",
$sel:version:Service :: ByteString
Core.version = ByteString
"2020-08-23",
$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
"AppFlow",
$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
_AccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccessDeniedException :: forall a. AsError a => Fold a ServiceError
_AccessDeniedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccessDeniedException"
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
_ConflictException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConflictException :: forall a. AsError a => Fold a ServiceError
_ConflictException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConflictException"
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
409
_ConnectorAuthenticationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConnectorAuthenticationException :: forall a. AsError a => Fold a ServiceError
_ConnectorAuthenticationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConnectorAuthenticationException"
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
401
_ConnectorServerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConnectorServerException :: forall a. AsError a => Fold a ServiceError
_ConnectorServerException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConnectorServerException"
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
_InternalServerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InternalServerException :: forall a. AsError a => Fold a ServiceError
_InternalServerException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalServerException"
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
_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
_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
_ThrottlingException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ThrottlingException :: forall a. AsError a => Fold a ServiceError
_ThrottlingException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
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
429
_UnsupportedOperationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_UnsupportedOperationException :: forall a. AsError a => Fold a ServiceError
_UnsupportedOperationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnsupportedOperationException"
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
_ValidationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ValidationException :: forall a. AsError a => Fold a ServiceError
_ValidationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ValidationException"
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