{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.IoT.Types
(
defaultService,
_TaskAlreadyExistsException,
_CertificateConflictException,
_SqlParseException,
_IndexNotReadyException,
_InvalidRequestException,
_TransferConflictException,
_CertificateStateException,
_InvalidResponseException,
_RegistrationCodeValidationException,
_MalformedPolicyException,
_DeleteConflictException,
_ResourceAlreadyExistsException,
_NotConfiguredException,
_CertificateValidationException,
_ConflictException,
_ResourceRegistrationFailureException,
_InvalidQueryException,
_TransferAlreadyCompletedException,
_ThrottlingException,
_InvalidAggregationException,
_ConflictingResourceUpdateException,
_InternalFailureException,
_VersionsLimitExceededException,
_ServiceUnavailableException,
_InternalException,
_VersionConflictException,
_UnauthorizedException,
_InvalidStateTransitionException,
_ResourceNotFoundException,
_LimitExceededException,
AbortAction (..),
ActionType (..),
AggregationTypeName (..),
AlertTargetType (..),
AuditCheckRunStatus (..),
AuditFindingSeverity (..),
AuditFrequency (..),
AuditMitigationActionsExecutionStatus (..),
AuditMitigationActionsTaskStatus (..),
AuditNotificationType (..),
AuditTaskStatus (..),
AuditTaskType (..),
AuthDecision (..),
AuthorizerStatus (..),
AutoRegistrationStatus (..),
AwsJobAbortCriteriaAbortAction (..),
AwsJobAbortCriteriaFailureType (..),
BehaviorCriteriaType (..),
CACertificateStatus (..),
CACertificateUpdateAction (..),
CannedAccessControlList (..),
CertificateMode (..),
CertificateStatus (..),
ComparisonOperator (..),
ConfidenceLevel (..),
CustomMetricType (..),
DayOfWeek (..),
DetectMitigationActionExecutionStatus (..),
DetectMitigationActionsTaskStatus (..),
DeviceCertificateUpdateAction (..),
DimensionType (..),
DimensionValueOperator (..),
DomainConfigurationStatus (..),
DomainType (..),
DynamicGroupStatus (..),
DynamoKeyType (..),
EventType (..),
FieldType (..),
FleetMetricUnit (..),
IndexStatus (..),
JobExecutionFailureType (..),
JobExecutionStatus (..),
JobStatus (..),
LogLevel (..),
LogTargetType (..),
MessageFormat (..),
MitigationActionType (..),
ModelStatus (..),
OTAUpdateStatus (..),
PolicyTemplateName (..),
Protocol (..),
ReportType (..),
ResourceType (..),
ServerCertificateStatus (..),
ServiceType (..),
TargetSelection (..),
TaskStatus (..),
ThingConnectivityIndexingMode (..),
ThingGroupIndexingMode (..),
ThingIndexingMode (..),
TopicRuleDestinationStatus (..),
VerificationState (..),
ViolationEventType (..),
AbortConfig (..),
newAbortConfig,
abortConfig_criteriaList,
AbortCriteria (..),
newAbortCriteria,
abortCriteria_failureType,
abortCriteria_action,
abortCriteria_thresholdPercentage,
abortCriteria_minNumberOfExecutedThings,
Action (..),
newAction,
action_cloudwatchMetric,
action_cloudwatchLogs,
action_dynamoDBv2,
action_stepFunctions,
action_cloudwatchAlarm,
action_sns,
action_dynamoDB,
action_firehose,
action_timestream,
action_iotSiteWise,
action_iotAnalytics,
action_lambda,
action_openSearch,
action_iotEvents,
action_salesforce,
action_kinesis,
action_s3,
action_http,
action_elasticsearch,
action_kafka,
action_republish,
action_sqs,
ActiveViolation (..),
newActiveViolation,
activeViolation_verificationStateDescription,
activeViolation_lastViolationValue,
activeViolation_lastViolationTime,
activeViolation_violationStartTime,
activeViolation_violationId,
activeViolation_behavior,
activeViolation_securityProfileName,
activeViolation_violationEventAdditionalInfo,
activeViolation_thingName,
activeViolation_verificationState,
AddThingsToThingGroupParams (..),
newAddThingsToThingGroupParams,
addThingsToThingGroupParams_overrideDynamicGroups,
addThingsToThingGroupParams_thingGroupNames,
AggregationType (..),
newAggregationType,
aggregationType_values,
aggregationType_name,
AlertTarget (..),
newAlertTarget,
alertTarget_alertTargetArn,
alertTarget_roleArn,
Allowed (..),
newAllowed,
allowed_policies,
AssetPropertyTimestamp (..),
newAssetPropertyTimestamp,
assetPropertyTimestamp_offsetInNanos,
assetPropertyTimestamp_timeInSeconds,
AssetPropertyValue (..),
newAssetPropertyValue,
assetPropertyValue_quality,
assetPropertyValue_value,
assetPropertyValue_timestamp,
AssetPropertyVariant (..),
newAssetPropertyVariant,
assetPropertyVariant_integerValue,
assetPropertyVariant_doubleValue,
assetPropertyVariant_stringValue,
assetPropertyVariant_booleanValue,
AttributePayload (..),
newAttributePayload,
attributePayload_attributes,
attributePayload_merge,
AuditCheckConfiguration (..),
newAuditCheckConfiguration,
auditCheckConfiguration_enabled,
AuditCheckDetails (..),
newAuditCheckDetails,
auditCheckDetails_suppressedNonCompliantResourcesCount,
auditCheckDetails_totalResourcesCount,
auditCheckDetails_checkCompliant,
auditCheckDetails_nonCompliantResourcesCount,
auditCheckDetails_errorCode,
auditCheckDetails_message,
auditCheckDetails_checkRunStatus,
AuditFinding (..),
newAuditFinding,
auditFinding_isSuppressed,
auditFinding_taskId,
auditFinding_findingTime,
auditFinding_taskStartTime,
auditFinding_reasonForNonComplianceCode,
auditFinding_severity,
auditFinding_relatedResources,
auditFinding_checkName,
auditFinding_nonCompliantResource,
auditFinding_reasonForNonCompliance,
auditFinding_findingId,
AuditMitigationActionExecutionMetadata (..),
newAuditMitigationActionExecutionMetadata,
auditMitigationActionExecutionMetadata_status,
auditMitigationActionExecutionMetadata_startTime,
auditMitigationActionExecutionMetadata_taskId,
auditMitigationActionExecutionMetadata_actionId,
auditMitigationActionExecutionMetadata_actionName,
auditMitigationActionExecutionMetadata_endTime,
auditMitigationActionExecutionMetadata_errorCode,
auditMitigationActionExecutionMetadata_findingId,
auditMitigationActionExecutionMetadata_message,
AuditMitigationActionsTaskMetadata (..),
newAuditMitigationActionsTaskMetadata,
auditMitigationActionsTaskMetadata_startTime,
auditMitigationActionsTaskMetadata_taskId,
auditMitigationActionsTaskMetadata_taskStatus,
AuditMitigationActionsTaskTarget (..),
newAuditMitigationActionsTaskTarget,
auditMitigationActionsTaskTarget_auditTaskId,
auditMitigationActionsTaskTarget_findingIds,
auditMitigationActionsTaskTarget_auditCheckToReasonCodeFilter,
AuditNotificationTarget (..),
newAuditNotificationTarget,
auditNotificationTarget_targetArn,
auditNotificationTarget_enabled,
auditNotificationTarget_roleArn,
AuditSuppression (..),
newAuditSuppression,
auditSuppression_expirationDate,
auditSuppression_suppressIndefinitely,
auditSuppression_description,
auditSuppression_checkName,
auditSuppression_resourceIdentifier,
AuditTaskMetadata (..),
newAuditTaskMetadata,
auditTaskMetadata_taskType,
auditTaskMetadata_taskId,
auditTaskMetadata_taskStatus,
AuthInfo (..),
newAuthInfo,
authInfo_actionType,
authInfo_resources,
AuthResult (..),
newAuthResult,
authResult_denied,
authResult_authDecision,
authResult_allowed,
authResult_missingContextValues,
authResult_authInfo,
AuthorizerConfig (..),
newAuthorizerConfig,
authorizerConfig_allowAuthorizerOverride,
authorizerConfig_defaultAuthorizerName,
AuthorizerDescription (..),
newAuthorizerDescription,
authorizerDescription_status,
authorizerDescription_lastModifiedDate,
authorizerDescription_signingDisabled,
authorizerDescription_authorizerName,
authorizerDescription_authorizerFunctionArn,
authorizerDescription_authorizerArn,
authorizerDescription_creationDate,
authorizerDescription_tokenSigningPublicKeys,
authorizerDescription_tokenKeyName,
AuthorizerSummary (..),
newAuthorizerSummary,
authorizerSummary_authorizerName,
authorizerSummary_authorizerArn,
AwsJobAbortConfig (..),
newAwsJobAbortConfig,
awsJobAbortConfig_abortCriteriaList,
AwsJobAbortCriteria (..),
newAwsJobAbortCriteria,
awsJobAbortCriteria_failureType,
awsJobAbortCriteria_action,
awsJobAbortCriteria_thresholdPercentage,
awsJobAbortCriteria_minNumberOfExecutedThings,
AwsJobExecutionsRolloutConfig (..),
newAwsJobExecutionsRolloutConfig,
awsJobExecutionsRolloutConfig_exponentialRate,
awsJobExecutionsRolloutConfig_maximumPerMinute,
AwsJobExponentialRolloutRate (..),
newAwsJobExponentialRolloutRate,
awsJobExponentialRolloutRate_baseRatePerMinute,
awsJobExponentialRolloutRate_incrementFactor,
awsJobExponentialRolloutRate_rateIncreaseCriteria,
AwsJobPresignedUrlConfig (..),
newAwsJobPresignedUrlConfig,
awsJobPresignedUrlConfig_expiresInSec,
AwsJobRateIncreaseCriteria (..),
newAwsJobRateIncreaseCriteria,
awsJobRateIncreaseCriteria_numberOfNotifiedThings,
awsJobRateIncreaseCriteria_numberOfSucceededThings,
AwsJobTimeoutConfig (..),
newAwsJobTimeoutConfig,
awsJobTimeoutConfig_inProgressTimeoutInMinutes,
Behavior (..),
newBehavior,
behavior_suppressAlerts,
behavior_metricDimension,
behavior_metric,
behavior_criteria,
behavior_name,
BehaviorCriteria (..),
newBehaviorCriteria,
behaviorCriteria_mlDetectionConfig,
behaviorCriteria_value,
behaviorCriteria_consecutiveDatapointsToAlarm,
behaviorCriteria_comparisonOperator,
behaviorCriteria_statisticalThreshold,
behaviorCriteria_durationSeconds,
behaviorCriteria_consecutiveDatapointsToClear,
BehaviorModelTrainingSummary (..),
newBehaviorModelTrainingSummary,
behaviorModelTrainingSummary_lastModelRefreshDate,
behaviorModelTrainingSummary_behaviorName,
behaviorModelTrainingSummary_datapointsCollectionPercentage,
behaviorModelTrainingSummary_securityProfileName,
behaviorModelTrainingSummary_trainingDataCollectionStartDate,
behaviorModelTrainingSummary_modelStatus,
BillingGroupMetadata (..),
newBillingGroupMetadata,
billingGroupMetadata_creationDate,
BillingGroupProperties (..),
newBillingGroupProperties,
billingGroupProperties_billingGroupDescription,
Bucket (..),
newBucket,
bucket_keyValue,
bucket_count,
BucketsAggregationType (..),
newBucketsAggregationType,
bucketsAggregationType_termsAggregation,
CACertificate (..),
newCACertificate,
cACertificate_status,
cACertificate_certificateArn,
cACertificate_certificateId,
cACertificate_creationDate,
CACertificateDescription (..),
newCACertificateDescription,
cACertificateDescription_status,
cACertificateDescription_ownedBy,
cACertificateDescription_lastModifiedDate,
cACertificateDescription_certificatePem,
cACertificateDescription_certificateArn,
cACertificateDescription_certificateId,
cACertificateDescription_validity,
cACertificateDescription_autoRegistrationStatus,
cACertificateDescription_creationDate,
cACertificateDescription_generationId,
cACertificateDescription_customerVersion,
Certificate (..),
newCertificate,
certificate_status,
certificate_certificateArn,
certificate_certificateId,
certificate_certificateMode,
certificate_creationDate,
CertificateDescription (..),
newCertificateDescription,
certificateDescription_status,
certificateDescription_ownedBy,
certificateDescription_lastModifiedDate,
certificateDescription_caCertificateId,
certificateDescription_previousOwnedBy,
certificateDescription_certificatePem,
certificateDescription_certificateArn,
certificateDescription_certificateId,
certificateDescription_certificateMode,
certificateDescription_validity,
certificateDescription_creationDate,
certificateDescription_generationId,
certificateDescription_transferData,
certificateDescription_customerVersion,
CertificateValidity (..),
newCertificateValidity,
certificateValidity_notBefore,
certificateValidity_notAfter,
CloudwatchAlarmAction (..),
newCloudwatchAlarmAction,
cloudwatchAlarmAction_roleArn,
cloudwatchAlarmAction_alarmName,
cloudwatchAlarmAction_stateReason,
cloudwatchAlarmAction_stateValue,
CloudwatchLogsAction (..),
newCloudwatchLogsAction,
cloudwatchLogsAction_roleArn,
cloudwatchLogsAction_logGroupName,
CloudwatchMetricAction (..),
newCloudwatchMetricAction,
cloudwatchMetricAction_metricTimestamp,
cloudwatchMetricAction_roleArn,
cloudwatchMetricAction_metricNamespace,
cloudwatchMetricAction_metricName,
cloudwatchMetricAction_metricValue,
cloudwatchMetricAction_metricUnit,
CodeSigning (..),
newCodeSigning,
codeSigning_customCodeSigning,
codeSigning_startSigningJobParameter,
codeSigning_awsSignerJobId,
CodeSigningCertificateChain (..),
newCodeSigningCertificateChain,
codeSigningCertificateChain_certificateName,
codeSigningCertificateChain_inlineDocument,
CodeSigningSignature (..),
newCodeSigningSignature,
codeSigningSignature_inlineDocument,
Configuration (..),
newConfiguration,
configuration_enabled,
CustomCodeSigning (..),
newCustomCodeSigning,
customCodeSigning_signature,
customCodeSigning_hashAlgorithm,
customCodeSigning_certificateChain,
customCodeSigning_signatureAlgorithm,
Denied (..),
newDenied,
denied_implicitDeny,
denied_explicitDeny,
Destination (..),
newDestination,
destination_s3Destination,
DetectMitigationActionExecution (..),
newDetectMitigationActionExecution,
detectMitigationActionExecution_status,
detectMitigationActionExecution_taskId,
detectMitigationActionExecution_actionName,
detectMitigationActionExecution_violationId,
detectMitigationActionExecution_errorCode,
detectMitigationActionExecution_message,
detectMitigationActionExecution_thingName,
detectMitigationActionExecution_executionStartDate,
detectMitigationActionExecution_executionEndDate,
DetectMitigationActionsTaskStatistics (..),
newDetectMitigationActionsTaskStatistics,
detectMitigationActionsTaskStatistics_actionsFailed,
detectMitigationActionsTaskStatistics_actionsSkipped,
detectMitigationActionsTaskStatistics_actionsExecuted,
DetectMitigationActionsTaskSummary (..),
newDetectMitigationActionsTaskSummary,
detectMitigationActionsTaskSummary_onlyActiveViolationsIncluded,
detectMitigationActionsTaskSummary_suppressedAlertsIncluded,
detectMitigationActionsTaskSummary_violationEventOccurrenceRange,
detectMitigationActionsTaskSummary_taskId,
detectMitigationActionsTaskSummary_taskStartTime,
detectMitigationActionsTaskSummary_taskStatistics,
detectMitigationActionsTaskSummary_actionsDefinition,
detectMitigationActionsTaskSummary_taskEndTime,
detectMitigationActionsTaskSummary_target,
detectMitigationActionsTaskSummary_taskStatus,
DetectMitigationActionsTaskTarget (..),
newDetectMitigationActionsTaskTarget,
detectMitigationActionsTaskTarget_violationIds,
detectMitigationActionsTaskTarget_behaviorName,
detectMitigationActionsTaskTarget_securityProfileName,
DomainConfigurationSummary (..),
newDomainConfigurationSummary,
domainConfigurationSummary_domainConfigurationName,
domainConfigurationSummary_domainConfigurationArn,
domainConfigurationSummary_serviceType,
DynamoDBAction (..),
newDynamoDBAction,
dynamoDBAction_hashKeyType,
dynamoDBAction_operation,
dynamoDBAction_rangeKeyType,
dynamoDBAction_payloadField,
dynamoDBAction_rangeKeyField,
dynamoDBAction_rangeKeyValue,
dynamoDBAction_tableName,
dynamoDBAction_roleArn,
dynamoDBAction_hashKeyField,
dynamoDBAction_hashKeyValue,
DynamoDBv2Action (..),
newDynamoDBv2Action,
dynamoDBv2Action_roleArn,
dynamoDBv2Action_putItem,
EffectivePolicy (..),
newEffectivePolicy,
effectivePolicy_policyName,
effectivePolicy_policyDocument,
effectivePolicy_policyArn,
ElasticsearchAction (..),
newElasticsearchAction,
elasticsearchAction_roleArn,
elasticsearchAction_endpoint,
elasticsearchAction_index,
elasticsearchAction_type,
elasticsearchAction_id,
EnableIoTLoggingParams (..),
newEnableIoTLoggingParams,
enableIoTLoggingParams_roleArnForLogging,
enableIoTLoggingParams_logLevel,
ErrorInfo (..),
newErrorInfo,
errorInfo_code,
errorInfo_message,
ExplicitDeny (..),
newExplicitDeny,
explicitDeny_policies,
ExponentialRolloutRate (..),
newExponentialRolloutRate,
exponentialRolloutRate_baseRatePerMinute,
exponentialRolloutRate_incrementFactor,
exponentialRolloutRate_rateIncreaseCriteria,
Field (..),
newField,
field_name,
field_type,
FileLocation (..),
newFileLocation,
fileLocation_stream,
fileLocation_s3Location,
FirehoseAction (..),
newFirehoseAction,
firehoseAction_batchMode,
firehoseAction_separator,
firehoseAction_roleArn,
firehoseAction_deliveryStreamName,
FleetMetricNameAndArn (..),
newFleetMetricNameAndArn,
fleetMetricNameAndArn_metricName,
fleetMetricNameAndArn_metricArn,
GroupNameAndArn (..),
newGroupNameAndArn,
groupNameAndArn_groupArn,
groupNameAndArn_groupName,
HttpAction (..),
newHttpAction,
httpAction_confirmationUrl,
httpAction_auth,
httpAction_headers,
httpAction_url,
HttpActionHeader (..),
newHttpActionHeader,
httpActionHeader_key,
httpActionHeader_value,
HttpAuthorization (..),
newHttpAuthorization,
httpAuthorization_sigv4,
HttpContext (..),
newHttpContext,
httpContext_headers,
httpContext_queryString,
HttpUrlDestinationConfiguration (..),
newHttpUrlDestinationConfiguration,
httpUrlDestinationConfiguration_confirmationUrl,
HttpUrlDestinationProperties (..),
newHttpUrlDestinationProperties,
httpUrlDestinationProperties_confirmationUrl,
HttpUrlDestinationSummary (..),
newHttpUrlDestinationSummary,
httpUrlDestinationSummary_confirmationUrl,
ImplicitDeny (..),
newImplicitDeny,
implicitDeny_policies,
IotAnalyticsAction (..),
newIotAnalyticsAction,
iotAnalyticsAction_batchMode,
iotAnalyticsAction_channelArn,
iotAnalyticsAction_channelName,
iotAnalyticsAction_roleArn,
IotEventsAction (..),
newIotEventsAction,
iotEventsAction_batchMode,
iotEventsAction_messageId,
iotEventsAction_inputName,
iotEventsAction_roleArn,
IotSiteWiseAction (..),
newIotSiteWiseAction,
iotSiteWiseAction_putAssetPropertyValueEntries,
iotSiteWiseAction_roleArn,
Job (..),
newJob,
job_status,
job_jobExecutionsRolloutConfig,
job_jobId,
job_lastUpdatedAt,
job_jobArn,
job_createdAt,
job_abortConfig,
job_jobProcessDetails,
job_namespaceId,
job_reasonCode,
job_presignedUrlConfig,
job_forceCanceled,
job_jobTemplateArn,
job_targets,
job_completedAt,
job_comment,
job_description,
job_targetSelection,
job_timeoutConfig,
JobExecution (..),
newJobExecution,
jobExecution_status,
jobExecution_jobId,
jobExecution_lastUpdatedAt,
jobExecution_approximateSecondsBeforeTimedOut,
jobExecution_queuedAt,
jobExecution_statusDetails,
jobExecution_thingArn,
jobExecution_executionNumber,
jobExecution_versionNumber,
jobExecution_startedAt,
jobExecution_forceCanceled,
JobExecutionStatusDetails (..),
newJobExecutionStatusDetails,
jobExecutionStatusDetails_detailsMap,
JobExecutionSummary (..),
newJobExecutionSummary,
jobExecutionSummary_status,
jobExecutionSummary_lastUpdatedAt,
jobExecutionSummary_queuedAt,
jobExecutionSummary_executionNumber,
jobExecutionSummary_startedAt,
JobExecutionSummaryForJob (..),
newJobExecutionSummaryForJob,
jobExecutionSummaryForJob_jobExecutionSummary,
jobExecutionSummaryForJob_thingArn,
JobExecutionSummaryForThing (..),
newJobExecutionSummaryForThing,
jobExecutionSummaryForThing_jobId,
jobExecutionSummaryForThing_jobExecutionSummary,
JobExecutionsRolloutConfig (..),
newJobExecutionsRolloutConfig,
jobExecutionsRolloutConfig_exponentialRate,
jobExecutionsRolloutConfig_maximumPerMinute,
JobProcessDetails (..),
newJobProcessDetails,
jobProcessDetails_numberOfRemovedThings,
jobProcessDetails_numberOfQueuedThings,
jobProcessDetails_numberOfFailedThings,
jobProcessDetails_numberOfSucceededThings,
jobProcessDetails_numberOfInProgressThings,
jobProcessDetails_numberOfCanceledThings,
jobProcessDetails_numberOfTimedOutThings,
jobProcessDetails_numberOfRejectedThings,
jobProcessDetails_processingTargets,
JobSummary (..),
newJobSummary,
jobSummary_status,
jobSummary_jobId,
jobSummary_lastUpdatedAt,
jobSummary_jobArn,
jobSummary_createdAt,
jobSummary_thingGroupId,
jobSummary_completedAt,
jobSummary_targetSelection,
JobTemplateSummary (..),
newJobTemplateSummary,
jobTemplateSummary_createdAt,
jobTemplateSummary_jobTemplateId,
jobTemplateSummary_jobTemplateArn,
jobTemplateSummary_description,
KafkaAction (..),
newKafkaAction,
kafkaAction_key,
kafkaAction_partition,
kafkaAction_destinationArn,
kafkaAction_topic,
kafkaAction_clientProperties,
KeyPair (..),
newKeyPair,
keyPair_privateKey,
keyPair_publicKey,
KinesisAction (..),
newKinesisAction,
kinesisAction_partitionKey,
kinesisAction_roleArn,
kinesisAction_streamName,
LambdaAction (..),
newLambdaAction,
lambdaAction_functionArn,
LogTarget (..),
newLogTarget,
logTarget_targetName,
logTarget_targetType,
LogTargetConfiguration (..),
newLogTargetConfiguration,
logTargetConfiguration_logLevel,
logTargetConfiguration_logTarget,
LoggingOptionsPayload (..),
newLoggingOptionsPayload,
loggingOptionsPayload_logLevel,
loggingOptionsPayload_roleArn,
MachineLearningDetectionConfig (..),
newMachineLearningDetectionConfig,
machineLearningDetectionConfig_confidenceLevel,
MetricDimension (..),
newMetricDimension,
metricDimension_operator,
metricDimension_dimensionName,
MetricToRetain (..),
newMetricToRetain,
metricToRetain_metricDimension,
metricToRetain_metric,
MetricValue (..),
newMetricValue,
metricValue_cidrs,
metricValue_count,
metricValue_ports,
metricValue_numbers,
metricValue_number,
metricValue_strings,
MitigationAction (..),
newMitigationAction,
mitigationAction_actionParams,
mitigationAction_name,
mitigationAction_id,
mitigationAction_roleArn,
MitigationActionIdentifier (..),
newMitigationActionIdentifier,
mitigationActionIdentifier_actionName,
mitigationActionIdentifier_creationDate,
mitigationActionIdentifier_actionArn,
MitigationActionParams (..),
newMitigationActionParams,
mitigationActionParams_enableIoTLoggingParams,
mitigationActionParams_addThingsToThingGroupParams,
mitigationActionParams_updateCACertificateParams,
mitigationActionParams_updateDeviceCertificateParams,
mitigationActionParams_replaceDefaultPolicyVersionParams,
mitigationActionParams_publishFindingToSnsParams,
MqttContext (..),
newMqttContext,
mqttContext_clientId,
mqttContext_username,
mqttContext_password,
NonCompliantResource (..),
newNonCompliantResource,
nonCompliantResource_additionalInfo,
nonCompliantResource_resourceType,
nonCompliantResource_resourceIdentifier,
OTAUpdateFile (..),
newOTAUpdateFile,
oTAUpdateFile_fileLocation,
oTAUpdateFile_fileType,
oTAUpdateFile_fileVersion,
oTAUpdateFile_attributes,
oTAUpdateFile_codeSigning,
oTAUpdateFile_fileName,
OTAUpdateInfo (..),
newOTAUpdateInfo,
oTAUpdateInfo_lastModifiedDate,
oTAUpdateInfo_awsJobExecutionsRolloutConfig,
oTAUpdateInfo_awsIotJobId,
oTAUpdateInfo_protocols,
oTAUpdateInfo_awsJobPresignedUrlConfig,
oTAUpdateInfo_otaUpdateFiles,
oTAUpdateInfo_otaUpdateStatus,
oTAUpdateInfo_targets,
oTAUpdateInfo_awsIotJobArn,
oTAUpdateInfo_creationDate,
oTAUpdateInfo_additionalParameters,
oTAUpdateInfo_otaUpdateId,
oTAUpdateInfo_errorInfo,
oTAUpdateInfo_otaUpdateArn,
oTAUpdateInfo_description,
oTAUpdateInfo_targetSelection,
OTAUpdateSummary (..),
newOTAUpdateSummary,
oTAUpdateSummary_creationDate,
oTAUpdateSummary_otaUpdateId,
oTAUpdateSummary_otaUpdateArn,
OpenSearchAction (..),
newOpenSearchAction,
openSearchAction_roleArn,
openSearchAction_endpoint,
openSearchAction_index,
openSearchAction_type,
openSearchAction_id,
OutgoingCertificate (..),
newOutgoingCertificate,
outgoingCertificate_transferDate,
outgoingCertificate_certificateArn,
outgoingCertificate_certificateId,
outgoingCertificate_transferredTo,
outgoingCertificate_creationDate,
outgoingCertificate_transferMessage,
PercentPair (..),
newPercentPair,
percentPair_value,
percentPair_percent,
Policy (..),
newPolicy,
policy_policyName,
policy_policyArn,
PolicyVersion (..),
newPolicyVersion,
policyVersion_versionId,
policyVersion_createDate,
policyVersion_isDefaultVersion,
PolicyVersionIdentifier (..),
newPolicyVersionIdentifier,
policyVersionIdentifier_policyName,
policyVersionIdentifier_policyVersionId,
PresignedUrlConfig (..),
newPresignedUrlConfig,
presignedUrlConfig_expiresInSec,
presignedUrlConfig_roleArn,
ProvisioningHook (..),
newProvisioningHook,
provisioningHook_payloadVersion,
provisioningHook_targetArn,
ProvisioningTemplateSummary (..),
newProvisioningTemplateSummary,
provisioningTemplateSummary_lastModifiedDate,
provisioningTemplateSummary_templateName,
provisioningTemplateSummary_enabled,
provisioningTemplateSummary_creationDate,
provisioningTemplateSummary_templateArn,
provisioningTemplateSummary_description,
ProvisioningTemplateVersionSummary (..),
newProvisioningTemplateVersionSummary,
provisioningTemplateVersionSummary_versionId,
provisioningTemplateVersionSummary_creationDate,
provisioningTemplateVersionSummary_isDefaultVersion,
PublishFindingToSnsParams (..),
newPublishFindingToSnsParams,
publishFindingToSnsParams_topicArn,
PutAssetPropertyValueEntry (..),
newPutAssetPropertyValueEntry,
putAssetPropertyValueEntry_entryId,
putAssetPropertyValueEntry_propertyAlias,
putAssetPropertyValueEntry_propertyId,
putAssetPropertyValueEntry_assetId,
putAssetPropertyValueEntry_propertyValues,
PutItemInput (..),
newPutItemInput,
putItemInput_tableName,
RateIncreaseCriteria (..),
newRateIncreaseCriteria,
rateIncreaseCriteria_numberOfNotifiedThings,
rateIncreaseCriteria_numberOfSucceededThings,
RegistrationConfig (..),
newRegistrationConfig,
registrationConfig_templateBody,
registrationConfig_roleArn,
RelatedResource (..),
newRelatedResource,
relatedResource_additionalInfo,
relatedResource_resourceType,
relatedResource_resourceIdentifier,
ReplaceDefaultPolicyVersionParams (..),
newReplaceDefaultPolicyVersionParams,
replaceDefaultPolicyVersionParams_templateName,
RepublishAction (..),
newRepublishAction,
republishAction_qos,
republishAction_roleArn,
republishAction_topic,
ResourceIdentifier (..),
newResourceIdentifier,
resourceIdentifier_iamRoleArn,
resourceIdentifier_clientId,
resourceIdentifier_roleAliasArn,
resourceIdentifier_caCertificateId,
resourceIdentifier_deviceCertificateId,
resourceIdentifier_account,
resourceIdentifier_policyVersionIdentifier,
resourceIdentifier_cognitoIdentityPoolId,
RoleAliasDescription (..),
newRoleAliasDescription,
roleAliasDescription_roleAliasArn,
roleAliasDescription_lastModifiedDate,
roleAliasDescription_roleAlias,
roleAliasDescription_owner,
roleAliasDescription_creationDate,
roleAliasDescription_credentialDurationSeconds,
roleAliasDescription_roleArn,
S3Action (..),
newS3Action,
s3Action_cannedAcl,
s3Action_roleArn,
s3Action_bucketName,
s3Action_key,
S3Destination (..),
newS3Destination,
s3Destination_prefix,
s3Destination_bucket,
S3Location (..),
newS3Location,
s3Location_bucket,
s3Location_key,
s3Location_version,
SalesforceAction (..),
newSalesforceAction,
salesforceAction_token,
salesforceAction_url,
ScheduledAuditMetadata (..),
newScheduledAuditMetadata,
scheduledAuditMetadata_frequency,
scheduledAuditMetadata_scheduledAuditName,
scheduledAuditMetadata_dayOfMonth,
scheduledAuditMetadata_dayOfWeek,
scheduledAuditMetadata_scheduledAuditArn,
SecurityProfileIdentifier (..),
newSecurityProfileIdentifier,
securityProfileIdentifier_name,
securityProfileIdentifier_arn,
SecurityProfileTarget (..),
newSecurityProfileTarget,
securityProfileTarget_arn,
SecurityProfileTargetMapping (..),
newSecurityProfileTargetMapping,
securityProfileTargetMapping_securityProfileIdentifier,
securityProfileTargetMapping_target,
ServerCertificateSummary (..),
newServerCertificateSummary,
serverCertificateSummary_serverCertificateStatusDetail,
serverCertificateSummary_serverCertificateStatus,
serverCertificateSummary_serverCertificateArn,
SigV4Authorization (..),
newSigV4Authorization,
sigV4Authorization_signingRegion,
sigV4Authorization_serviceName,
sigV4Authorization_roleArn,
SigningProfileParameter (..),
newSigningProfileParameter,
signingProfileParameter_platform,
signingProfileParameter_certificateArn,
signingProfileParameter_certificatePathOnDevice,
SnsAction (..),
newSnsAction,
snsAction_messageFormat,
snsAction_targetArn,
snsAction_roleArn,
SqsAction (..),
newSqsAction,
sqsAction_useBase64,
sqsAction_roleArn,
sqsAction_queueUrl,
StartSigningJobParameter (..),
newStartSigningJobParameter,
startSigningJobParameter_destination,
startSigningJobParameter_signingProfileName,
startSigningJobParameter_signingProfileParameter,
StatisticalThreshold (..),
newStatisticalThreshold,
statisticalThreshold_statistic,
Statistics (..),
newStatistics,
statistics_stdDeviation,
statistics_maximum,
statistics_average,
statistics_count,
statistics_minimum,
statistics_variance,
statistics_sumOfSquares,
statistics_sum,
StepFunctionsAction (..),
newStepFunctionsAction,
stepFunctionsAction_executionNamePrefix,
stepFunctionsAction_stateMachineName,
stepFunctionsAction_roleArn,
Stream (..),
newStream,
stream_fileId,
stream_streamId,
StreamFile (..),
newStreamFile,
streamFile_s3Location,
streamFile_fileId,
StreamInfo (..),
newStreamInfo,
streamInfo_lastUpdatedAt,
streamInfo_createdAt,
streamInfo_streamVersion,
streamInfo_streamArn,
streamInfo_files,
streamInfo_description,
streamInfo_streamId,
streamInfo_roleArn,
StreamSummary (..),
newStreamSummary,
streamSummary_streamVersion,
streamSummary_streamArn,
streamSummary_description,
streamSummary_streamId,
Tag (..),
newTag,
tag_value,
tag_key,
TaskStatistics (..),
newTaskStatistics,
taskStatistics_nonCompliantChecks,
taskStatistics_waitingForDataCollectionChecks,
taskStatistics_failedChecks,
taskStatistics_totalChecks,
taskStatistics_inProgressChecks,
taskStatistics_compliantChecks,
taskStatistics_canceledChecks,
TaskStatisticsForAuditCheck (..),
newTaskStatisticsForAuditCheck,
taskStatisticsForAuditCheck_canceledFindingsCount,
taskStatisticsForAuditCheck_skippedFindingsCount,
taskStatisticsForAuditCheck_totalFindingsCount,
taskStatisticsForAuditCheck_failedFindingsCount,
taskStatisticsForAuditCheck_succeededFindingsCount,
TermsAggregation (..),
newTermsAggregation,
termsAggregation_maxBuckets,
ThingAttribute (..),
newThingAttribute,
thingAttribute_thingTypeName,
thingAttribute_thingArn,
thingAttribute_attributes,
thingAttribute_version,
thingAttribute_thingName,
ThingConnectivity (..),
newThingConnectivity,
thingConnectivity_disconnectReason,
thingConnectivity_connected,
thingConnectivity_timestamp,
ThingDocument (..),
newThingDocument,
thingDocument_thingGroupNames,
thingDocument_thingTypeName,
thingDocument_shadow,
thingDocument_attributes,
thingDocument_connectivity,
thingDocument_thingName,
thingDocument_thingId,
ThingGroupDocument (..),
newThingGroupDocument,
thingGroupDocument_parentGroupNames,
thingGroupDocument_thingGroupId,
thingGroupDocument_thingGroupName,
thingGroupDocument_attributes,
thingGroupDocument_thingGroupDescription,
ThingGroupIndexingConfiguration (..),
newThingGroupIndexingConfiguration,
thingGroupIndexingConfiguration_managedFields,
thingGroupIndexingConfiguration_customFields,
thingGroupIndexingConfiguration_thingGroupIndexingMode,
ThingGroupMetadata (..),
newThingGroupMetadata,
thingGroupMetadata_rootToParentThingGroups,
thingGroupMetadata_parentGroupName,
thingGroupMetadata_creationDate,
ThingGroupProperties (..),
newThingGroupProperties,
thingGroupProperties_attributePayload,
thingGroupProperties_thingGroupDescription,
ThingIndexingConfiguration (..),
newThingIndexingConfiguration,
thingIndexingConfiguration_managedFields,
thingIndexingConfiguration_thingConnectivityIndexingMode,
thingIndexingConfiguration_customFields,
thingIndexingConfiguration_thingIndexingMode,
ThingTypeDefinition (..),
newThingTypeDefinition,
thingTypeDefinition_thingTypeProperties,
thingTypeDefinition_thingTypeName,
thingTypeDefinition_thingTypeMetadata,
thingTypeDefinition_thingTypeArn,
ThingTypeMetadata (..),
newThingTypeMetadata,
thingTypeMetadata_deprecationDate,
thingTypeMetadata_creationDate,
thingTypeMetadata_deprecated,
ThingTypeProperties (..),
newThingTypeProperties,
thingTypeProperties_searchableAttributes,
thingTypeProperties_thingTypeDescription,
TimeoutConfig (..),
newTimeoutConfig,
timeoutConfig_inProgressTimeoutInMinutes,
TimestreamAction (..),
newTimestreamAction,
timestreamAction_timestamp,
timestreamAction_roleArn,
timestreamAction_databaseName,
timestreamAction_tableName,
timestreamAction_dimensions,
TimestreamDimension (..),
newTimestreamDimension,
timestreamDimension_name,
timestreamDimension_value,
TimestreamTimestamp (..),
newTimestreamTimestamp,
timestreamTimestamp_value,
timestreamTimestamp_unit,
TlsContext (..),
newTlsContext,
tlsContext_serverName,
TopicRule (..),
newTopicRule,
topicRule_createdAt,
topicRule_actions,
topicRule_awsIotSqlVersion,
topicRule_errorAction,
topicRule_ruleDisabled,
topicRule_ruleName,
topicRule_sql,
topicRule_description,
TopicRuleDestination (..),
newTopicRuleDestination,
topicRuleDestination_vpcProperties,
topicRuleDestination_status,
topicRuleDestination_lastUpdatedAt,
topicRuleDestination_httpUrlProperties,
topicRuleDestination_arn,
topicRuleDestination_createdAt,
topicRuleDestination_statusReason,
TopicRuleDestinationConfiguration (..),
newTopicRuleDestinationConfiguration,
topicRuleDestinationConfiguration_vpcConfiguration,
topicRuleDestinationConfiguration_httpUrlConfiguration,
TopicRuleDestinationSummary (..),
newTopicRuleDestinationSummary,
topicRuleDestinationSummary_status,
topicRuleDestinationSummary_httpUrlSummary,
topicRuleDestinationSummary_lastUpdatedAt,
topicRuleDestinationSummary_arn,
topicRuleDestinationSummary_createdAt,
topicRuleDestinationSummary_vpcDestinationSummary,
topicRuleDestinationSummary_statusReason,
TopicRuleListItem (..),
newTopicRuleListItem,
topicRuleListItem_createdAt,
topicRuleListItem_ruleDisabled,
topicRuleListItem_ruleName,
topicRuleListItem_ruleArn,
topicRuleListItem_topicPattern,
TopicRulePayload (..),
newTopicRulePayload,
topicRulePayload_awsIotSqlVersion,
topicRulePayload_errorAction,
topicRulePayload_ruleDisabled,
topicRulePayload_description,
topicRulePayload_sql,
topicRulePayload_actions,
TransferData (..),
newTransferData,
transferData_transferDate,
transferData_acceptDate,
transferData_transferMessage,
transferData_rejectDate,
transferData_rejectReason,
UpdateCACertificateParams (..),
newUpdateCACertificateParams,
updateCACertificateParams_action,
UpdateDeviceCertificateParams (..),
newUpdateDeviceCertificateParams,
updateDeviceCertificateParams_action,
ValidationError (..),
newValidationError,
validationError_errorMessage,
ViolationEvent (..),
newViolationEvent,
violationEvent_violationEventType,
violationEvent_verificationStateDescription,
violationEvent_violationId,
violationEvent_behavior,
violationEvent_metricValue,
violationEvent_securityProfileName,
violationEvent_violationEventAdditionalInfo,
violationEvent_violationEventTime,
violationEvent_thingName,
violationEvent_verificationState,
ViolationEventAdditionalInfo (..),
newViolationEventAdditionalInfo,
violationEventAdditionalInfo_confidenceLevel,
ViolationEventOccurrenceRange (..),
newViolationEventOccurrenceRange,
violationEventOccurrenceRange_startTime,
violationEventOccurrenceRange_endTime,
VpcDestinationConfiguration (..),
newVpcDestinationConfiguration,
vpcDestinationConfiguration_securityGroups,
vpcDestinationConfiguration_subnetIds,
vpcDestinationConfiguration_vpcId,
vpcDestinationConfiguration_roleArn,
VpcDestinationProperties (..),
newVpcDestinationProperties,
vpcDestinationProperties_securityGroups,
vpcDestinationProperties_subnetIds,
vpcDestinationProperties_vpcId,
vpcDestinationProperties_roleArn,
VpcDestinationSummary (..),
newVpcDestinationSummary,
vpcDestinationSummary_securityGroups,
vpcDestinationSummary_subnetIds,
vpcDestinationSummary_vpcId,
vpcDestinationSummary_roleArn,
)
where
import qualified Amazonka.Core as Core
import Amazonka.IoT.Types.AbortAction
import Amazonka.IoT.Types.AbortConfig
import Amazonka.IoT.Types.AbortCriteria
import Amazonka.IoT.Types.Action
import Amazonka.IoT.Types.ActionType
import Amazonka.IoT.Types.ActiveViolation
import Amazonka.IoT.Types.AddThingsToThingGroupParams
import Amazonka.IoT.Types.AggregationType
import Amazonka.IoT.Types.AggregationTypeName
import Amazonka.IoT.Types.AlertTarget
import Amazonka.IoT.Types.AlertTargetType
import Amazonka.IoT.Types.Allowed
import Amazonka.IoT.Types.AssetPropertyTimestamp
import Amazonka.IoT.Types.AssetPropertyValue
import Amazonka.IoT.Types.AssetPropertyVariant
import Amazonka.IoT.Types.AttributePayload
import Amazonka.IoT.Types.AuditCheckConfiguration
import Amazonka.IoT.Types.AuditCheckDetails
import Amazonka.IoT.Types.AuditCheckRunStatus
import Amazonka.IoT.Types.AuditFinding
import Amazonka.IoT.Types.AuditFindingSeverity
import Amazonka.IoT.Types.AuditFrequency
import Amazonka.IoT.Types.AuditMitigationActionExecutionMetadata
import Amazonka.IoT.Types.AuditMitigationActionsExecutionStatus
import Amazonka.IoT.Types.AuditMitigationActionsTaskMetadata
import Amazonka.IoT.Types.AuditMitigationActionsTaskStatus
import Amazonka.IoT.Types.AuditMitigationActionsTaskTarget
import Amazonka.IoT.Types.AuditNotificationTarget
import Amazonka.IoT.Types.AuditNotificationType
import Amazonka.IoT.Types.AuditSuppression
import Amazonka.IoT.Types.AuditTaskMetadata
import Amazonka.IoT.Types.AuditTaskStatus
import Amazonka.IoT.Types.AuditTaskType
import Amazonka.IoT.Types.AuthDecision
import Amazonka.IoT.Types.AuthInfo
import Amazonka.IoT.Types.AuthResult
import Amazonka.IoT.Types.AuthorizerConfig
import Amazonka.IoT.Types.AuthorizerDescription
import Amazonka.IoT.Types.AuthorizerStatus
import Amazonka.IoT.Types.AuthorizerSummary
import Amazonka.IoT.Types.AutoRegistrationStatus
import Amazonka.IoT.Types.AwsJobAbortConfig
import Amazonka.IoT.Types.AwsJobAbortCriteria
import Amazonka.IoT.Types.AwsJobAbortCriteriaAbortAction
import Amazonka.IoT.Types.AwsJobAbortCriteriaFailureType
import Amazonka.IoT.Types.AwsJobExecutionsRolloutConfig
import Amazonka.IoT.Types.AwsJobExponentialRolloutRate
import Amazonka.IoT.Types.AwsJobPresignedUrlConfig
import Amazonka.IoT.Types.AwsJobRateIncreaseCriteria
import Amazonka.IoT.Types.AwsJobTimeoutConfig
import Amazonka.IoT.Types.Behavior
import Amazonka.IoT.Types.BehaviorCriteria
import Amazonka.IoT.Types.BehaviorCriteriaType
import Amazonka.IoT.Types.BehaviorModelTrainingSummary
import Amazonka.IoT.Types.BillingGroupMetadata
import Amazonka.IoT.Types.BillingGroupProperties
import Amazonka.IoT.Types.Bucket
import Amazonka.IoT.Types.BucketsAggregationType
import Amazonka.IoT.Types.CACertificate
import Amazonka.IoT.Types.CACertificateDescription
import Amazonka.IoT.Types.CACertificateStatus
import Amazonka.IoT.Types.CACertificateUpdateAction
import Amazonka.IoT.Types.CannedAccessControlList
import Amazonka.IoT.Types.Certificate
import Amazonka.IoT.Types.CertificateDescription
import Amazonka.IoT.Types.CertificateMode
import Amazonka.IoT.Types.CertificateStatus
import Amazonka.IoT.Types.CertificateValidity
import Amazonka.IoT.Types.CloudwatchAlarmAction
import Amazonka.IoT.Types.CloudwatchLogsAction
import Amazonka.IoT.Types.CloudwatchMetricAction
import Amazonka.IoT.Types.CodeSigning
import Amazonka.IoT.Types.CodeSigningCertificateChain
import Amazonka.IoT.Types.CodeSigningSignature
import Amazonka.IoT.Types.ComparisonOperator
import Amazonka.IoT.Types.ConfidenceLevel
import Amazonka.IoT.Types.Configuration
import Amazonka.IoT.Types.CustomCodeSigning
import Amazonka.IoT.Types.CustomMetricType
import Amazonka.IoT.Types.DayOfWeek
import Amazonka.IoT.Types.Denied
import Amazonka.IoT.Types.Destination
import Amazonka.IoT.Types.DetectMitigationActionExecution
import Amazonka.IoT.Types.DetectMitigationActionExecutionStatus
import Amazonka.IoT.Types.DetectMitigationActionsTaskStatistics
import Amazonka.IoT.Types.DetectMitigationActionsTaskStatus
import Amazonka.IoT.Types.DetectMitigationActionsTaskSummary
import Amazonka.IoT.Types.DetectMitigationActionsTaskTarget
import Amazonka.IoT.Types.DeviceCertificateUpdateAction
import Amazonka.IoT.Types.DimensionType
import Amazonka.IoT.Types.DimensionValueOperator
import Amazonka.IoT.Types.DomainConfigurationStatus
import Amazonka.IoT.Types.DomainConfigurationSummary
import Amazonka.IoT.Types.DomainType
import Amazonka.IoT.Types.DynamicGroupStatus
import Amazonka.IoT.Types.DynamoDBAction
import Amazonka.IoT.Types.DynamoDBv2Action
import Amazonka.IoT.Types.DynamoKeyType
import Amazonka.IoT.Types.EffectivePolicy
import Amazonka.IoT.Types.ElasticsearchAction
import Amazonka.IoT.Types.EnableIoTLoggingParams
import Amazonka.IoT.Types.ErrorInfo
import Amazonka.IoT.Types.EventType
import Amazonka.IoT.Types.ExplicitDeny
import Amazonka.IoT.Types.ExponentialRolloutRate
import Amazonka.IoT.Types.Field
import Amazonka.IoT.Types.FieldType
import Amazonka.IoT.Types.FileLocation
import Amazonka.IoT.Types.FirehoseAction
import Amazonka.IoT.Types.FleetMetricNameAndArn
import Amazonka.IoT.Types.FleetMetricUnit
import Amazonka.IoT.Types.GroupNameAndArn
import Amazonka.IoT.Types.HttpAction
import Amazonka.IoT.Types.HttpActionHeader
import Amazonka.IoT.Types.HttpAuthorization
import Amazonka.IoT.Types.HttpContext
import Amazonka.IoT.Types.HttpUrlDestinationConfiguration
import Amazonka.IoT.Types.HttpUrlDestinationProperties
import Amazonka.IoT.Types.HttpUrlDestinationSummary
import Amazonka.IoT.Types.ImplicitDeny
import Amazonka.IoT.Types.IndexStatus
import Amazonka.IoT.Types.IotAnalyticsAction
import Amazonka.IoT.Types.IotEventsAction
import Amazonka.IoT.Types.IotSiteWiseAction
import Amazonka.IoT.Types.Job
import Amazonka.IoT.Types.JobExecution
import Amazonka.IoT.Types.JobExecutionFailureType
import Amazonka.IoT.Types.JobExecutionStatus
import Amazonka.IoT.Types.JobExecutionStatusDetails
import Amazonka.IoT.Types.JobExecutionSummary
import Amazonka.IoT.Types.JobExecutionSummaryForJob
import Amazonka.IoT.Types.JobExecutionSummaryForThing
import Amazonka.IoT.Types.JobExecutionsRolloutConfig
import Amazonka.IoT.Types.JobProcessDetails
import Amazonka.IoT.Types.JobStatus
import Amazonka.IoT.Types.JobSummary
import Amazonka.IoT.Types.JobTemplateSummary
import Amazonka.IoT.Types.KafkaAction
import Amazonka.IoT.Types.KeyPair
import Amazonka.IoT.Types.KinesisAction
import Amazonka.IoT.Types.LambdaAction
import Amazonka.IoT.Types.LogLevel
import Amazonka.IoT.Types.LogTarget
import Amazonka.IoT.Types.LogTargetConfiguration
import Amazonka.IoT.Types.LogTargetType
import Amazonka.IoT.Types.LoggingOptionsPayload
import Amazonka.IoT.Types.MachineLearningDetectionConfig
import Amazonka.IoT.Types.MessageFormat
import Amazonka.IoT.Types.MetricDimension
import Amazonka.IoT.Types.MetricToRetain
import Amazonka.IoT.Types.MetricValue
import Amazonka.IoT.Types.MitigationAction
import Amazonka.IoT.Types.MitigationActionIdentifier
import Amazonka.IoT.Types.MitigationActionParams
import Amazonka.IoT.Types.MitigationActionType
import Amazonka.IoT.Types.ModelStatus
import Amazonka.IoT.Types.MqttContext
import Amazonka.IoT.Types.NonCompliantResource
import Amazonka.IoT.Types.OTAUpdateFile
import Amazonka.IoT.Types.OTAUpdateInfo
import Amazonka.IoT.Types.OTAUpdateStatus
import Amazonka.IoT.Types.OTAUpdateSummary
import Amazonka.IoT.Types.OpenSearchAction
import Amazonka.IoT.Types.OutgoingCertificate
import Amazonka.IoT.Types.PercentPair
import Amazonka.IoT.Types.Policy
import Amazonka.IoT.Types.PolicyTemplateName
import Amazonka.IoT.Types.PolicyVersion
import Amazonka.IoT.Types.PolicyVersionIdentifier
import Amazonka.IoT.Types.PresignedUrlConfig
import Amazonka.IoT.Types.Protocol
import Amazonka.IoT.Types.ProvisioningHook
import Amazonka.IoT.Types.ProvisioningTemplateSummary
import Amazonka.IoT.Types.ProvisioningTemplateVersionSummary
import Amazonka.IoT.Types.PublishFindingToSnsParams
import Amazonka.IoT.Types.PutAssetPropertyValueEntry
import Amazonka.IoT.Types.PutItemInput
import Amazonka.IoT.Types.RateIncreaseCriteria
import Amazonka.IoT.Types.RegistrationConfig
import Amazonka.IoT.Types.RelatedResource
import Amazonka.IoT.Types.ReplaceDefaultPolicyVersionParams
import Amazonka.IoT.Types.ReportType
import Amazonka.IoT.Types.RepublishAction
import Amazonka.IoT.Types.ResourceIdentifier
import Amazonka.IoT.Types.ResourceType
import Amazonka.IoT.Types.RoleAliasDescription
import Amazonka.IoT.Types.S3Action
import Amazonka.IoT.Types.S3Destination
import Amazonka.IoT.Types.S3Location
import Amazonka.IoT.Types.SalesforceAction
import Amazonka.IoT.Types.ScheduledAuditMetadata
import Amazonka.IoT.Types.SecurityProfileIdentifier
import Amazonka.IoT.Types.SecurityProfileTarget
import Amazonka.IoT.Types.SecurityProfileTargetMapping
import Amazonka.IoT.Types.ServerCertificateStatus
import Amazonka.IoT.Types.ServerCertificateSummary
import Amazonka.IoT.Types.ServiceType
import Amazonka.IoT.Types.SigV4Authorization
import Amazonka.IoT.Types.SigningProfileParameter
import Amazonka.IoT.Types.SnsAction
import Amazonka.IoT.Types.SqsAction
import Amazonka.IoT.Types.StartSigningJobParameter
import Amazonka.IoT.Types.StatisticalThreshold
import Amazonka.IoT.Types.Statistics
import Amazonka.IoT.Types.StepFunctionsAction
import Amazonka.IoT.Types.Stream
import Amazonka.IoT.Types.StreamFile
import Amazonka.IoT.Types.StreamInfo
import Amazonka.IoT.Types.StreamSummary
import Amazonka.IoT.Types.Tag
import Amazonka.IoT.Types.TargetSelection
import Amazonka.IoT.Types.TaskStatistics
import Amazonka.IoT.Types.TaskStatisticsForAuditCheck
import Amazonka.IoT.Types.TaskStatus
import Amazonka.IoT.Types.TermsAggregation
import Amazonka.IoT.Types.ThingAttribute
import Amazonka.IoT.Types.ThingConnectivity
import Amazonka.IoT.Types.ThingConnectivityIndexingMode
import Amazonka.IoT.Types.ThingDocument
import Amazonka.IoT.Types.ThingGroupDocument
import Amazonka.IoT.Types.ThingGroupIndexingConfiguration
import Amazonka.IoT.Types.ThingGroupIndexingMode
import Amazonka.IoT.Types.ThingGroupMetadata
import Amazonka.IoT.Types.ThingGroupProperties
import Amazonka.IoT.Types.ThingIndexingConfiguration
import Amazonka.IoT.Types.ThingIndexingMode
import Amazonka.IoT.Types.ThingTypeDefinition
import Amazonka.IoT.Types.ThingTypeMetadata
import Amazonka.IoT.Types.ThingTypeProperties
import Amazonka.IoT.Types.TimeoutConfig
import Amazonka.IoT.Types.TimestreamAction
import Amazonka.IoT.Types.TimestreamDimension
import Amazonka.IoT.Types.TimestreamTimestamp
import Amazonka.IoT.Types.TlsContext
import Amazonka.IoT.Types.TopicRule
import Amazonka.IoT.Types.TopicRuleDestination
import Amazonka.IoT.Types.TopicRuleDestinationConfiguration
import Amazonka.IoT.Types.TopicRuleDestinationStatus
import Amazonka.IoT.Types.TopicRuleDestinationSummary
import Amazonka.IoT.Types.TopicRuleListItem
import Amazonka.IoT.Types.TopicRulePayload
import Amazonka.IoT.Types.TransferData
import Amazonka.IoT.Types.UpdateCACertificateParams
import Amazonka.IoT.Types.UpdateDeviceCertificateParams
import Amazonka.IoT.Types.ValidationError
import Amazonka.IoT.Types.VerificationState
import Amazonka.IoT.Types.ViolationEvent
import Amazonka.IoT.Types.ViolationEventAdditionalInfo
import Amazonka.IoT.Types.ViolationEventOccurrenceRange
import Amazonka.IoT.Types.ViolationEventType
import Amazonka.IoT.Types.VpcDestinationConfiguration
import Amazonka.IoT.Types.VpcDestinationProperties
import Amazonka.IoT.Types.VpcDestinationSummary
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
"IoT",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"iot",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"execute-api",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2015-05-28",
$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
"IoT",
$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
_TaskAlreadyExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TaskAlreadyExistsException :: Getting (First ServiceError) a ServiceError
_TaskAlreadyExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TaskAlreadyExistsException"
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
_CertificateConflictException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_CertificateConflictException :: Getting (First ServiceError) a ServiceError
_CertificateConflictException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CertificateConflictException"
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
_SqlParseException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_SqlParseException :: Getting (First ServiceError) a ServiceError
_SqlParseException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"SqlParseException"
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
_IndexNotReadyException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_IndexNotReadyException :: Getting (First ServiceError) a ServiceError
_IndexNotReadyException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"IndexNotReadyException"
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
_InvalidRequestException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidRequestException :: Getting (First ServiceError) a ServiceError
_InvalidRequestException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidRequestException"
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
_TransferConflictException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TransferConflictException :: Getting (First ServiceError) a ServiceError
_TransferConflictException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TransferConflictException"
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
_CertificateStateException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_CertificateStateException :: Getting (First ServiceError) a ServiceError
_CertificateStateException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CertificateStateException"
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
406
_InvalidResponseException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidResponseException :: Getting (First ServiceError) a ServiceError
_InvalidResponseException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidResponseException"
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
_RegistrationCodeValidationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_RegistrationCodeValidationException :: Getting (First ServiceError) a ServiceError
_RegistrationCodeValidationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"RegistrationCodeValidationException"
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
_MalformedPolicyException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_MalformedPolicyException :: Getting (First ServiceError) a ServiceError
_MalformedPolicyException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"MalformedPolicyException"
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
_DeleteConflictException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_DeleteConflictException :: Getting (First ServiceError) a ServiceError
_DeleteConflictException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"DeleteConflictException"
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
_ResourceAlreadyExistsException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceAlreadyExistsException :: Getting (First ServiceError) a ServiceError
_ResourceAlreadyExistsException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceAlreadyExistsException"
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
_NotConfiguredException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_NotConfiguredException :: Getting (First ServiceError) a ServiceError
_NotConfiguredException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"NotConfiguredException"
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
_CertificateValidationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_CertificateValidationException :: Getting (First ServiceError) a ServiceError
_CertificateValidationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"CertificateValidationException"
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
_ResourceRegistrationFailureException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceRegistrationFailureException :: Getting (First ServiceError) a ServiceError
_ResourceRegistrationFailureException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceRegistrationFailureException"
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
_InvalidQueryException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidQueryException :: Getting (First ServiceError) a ServiceError
_InvalidQueryException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidQueryException"
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
_TransferAlreadyCompletedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TransferAlreadyCompletedException :: Getting (First ServiceError) a ServiceError
_TransferAlreadyCompletedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TransferAlreadyCompletedException"
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
410
_ThrottlingException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ThrottlingException :: Getting (First ServiceError) a ServiceError
_ThrottlingException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ThrottlingException"
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
_InvalidAggregationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidAggregationException :: Getting (First ServiceError) a ServiceError
_InvalidAggregationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidAggregationException"
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
_ConflictingResourceUpdateException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ConflictingResourceUpdateException :: Getting (First ServiceError) a ServiceError
_ConflictingResourceUpdateException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConflictingResourceUpdateException"
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
_InternalFailureException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InternalFailureException :: Getting (First ServiceError) a ServiceError
_InternalFailureException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalFailureException"
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
_VersionsLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_VersionsLimitExceededException :: Getting (First ServiceError) a ServiceError
_VersionsLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"VersionsLimitExceededException"
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
_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
_InternalException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InternalException :: Getting (First ServiceError) a ServiceError
_InternalException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalException"
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
_VersionConflictException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_VersionConflictException :: Getting (First ServiceError) a ServiceError
_VersionConflictException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"VersionConflictException"
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
_UnauthorizedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnauthorizedException :: Getting (First ServiceError) a ServiceError
_UnauthorizedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnauthorizedException"
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
401
_InvalidStateTransitionException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidStateTransitionException :: Getting (First ServiceError) a ServiceError
_InvalidStateTransitionException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidStateTransitionException"
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
_ResourceNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceNotFoundException :: Getting (First ServiceError) a ServiceError
_ResourceNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"
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
_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
410