{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Chime.Types
(
defaultService,
_AccessDeniedException,
_ThrottledClientException,
_ResourceLimitExceededException,
_UnprocessableEntityException,
_ConflictException,
_ForbiddenException,
_NotFoundException,
_ServiceFailureException,
_UnauthorizedClientException,
_ServiceUnavailableException,
_BadRequestException,
AccountStatus (..),
AccountType (..),
AppInstanceDataType (..),
ArtifactsState (..),
AudioMuxType (..),
BotType (..),
CallingNameStatus (..),
Capability (..),
ChannelMembershipType (..),
ChannelMessagePersistenceType (..),
ChannelMessageType (..),
ChannelMode (..),
ChannelPrivacy (..),
ContentMuxType (..),
EmailStatus (..),
ErrorCode (..),
GeoMatchLevel (..),
InviteStatus (..),
License (..),
MediaPipelineSinkType (..),
MediaPipelineSourceType (..),
MediaPipelineStatus (..),
MemberType (..),
NotificationTarget (..),
NumberSelectionBehavior (..),
OrderedPhoneNumberStatus (..),
OriginationRouteProtocol (..),
PhoneNumberAssociationName (..),
PhoneNumberOrderStatus (..),
PhoneNumberProductType (..),
PhoneNumberStatus (..),
PhoneNumberType (..),
ProxySessionStatus (..),
RegistrationStatus (..),
RoomMembershipRole (..),
SipRuleTriggerType (..),
SortOrder (..),
TranscribeLanguageCode (..),
TranscribeMedicalLanguageCode (..),
TranscribeMedicalRegion (..),
TranscribeMedicalSpecialty (..),
TranscribeMedicalType (..),
TranscribeRegion (..),
TranscribeVocabularyFilterMethod (..),
UserType (..),
VideoMuxType (..),
VoiceConnectorAwsRegion (..),
Account (..),
newAccount,
account_signinDelegateGroups,
account_accountStatus,
account_defaultLicense,
account_supportedLicenses,
account_createdTimestamp,
account_accountType,
account_awsAccountId,
account_accountId,
account_name,
AccountSettings (..),
newAccountSettings,
accountSettings_enableDialOut,
accountSettings_disableRemoteControl,
AlexaForBusinessMetadata (..),
newAlexaForBusinessMetadata,
alexaForBusinessMetadata_alexaForBusinessRoomArn,
alexaForBusinessMetadata_isAlexaForBusinessEnabled,
AppInstance (..),
newAppInstance,
appInstance_name,
appInstance_metadata,
appInstance_appInstanceArn,
appInstance_createdTimestamp,
appInstance_lastUpdatedTimestamp,
AppInstanceAdmin (..),
newAppInstanceAdmin,
appInstanceAdmin_admin,
appInstanceAdmin_appInstanceArn,
appInstanceAdmin_createdTimestamp,
AppInstanceAdminSummary (..),
newAppInstanceAdminSummary,
appInstanceAdminSummary_admin,
AppInstanceRetentionSettings (..),
newAppInstanceRetentionSettings,
appInstanceRetentionSettings_channelRetentionSettings,
AppInstanceStreamingConfiguration (..),
newAppInstanceStreamingConfiguration,
appInstanceStreamingConfiguration_appInstanceDataType,
appInstanceStreamingConfiguration_resourceArn,
AppInstanceSummary (..),
newAppInstanceSummary,
appInstanceSummary_name,
appInstanceSummary_metadata,
appInstanceSummary_appInstanceArn,
AppInstanceUser (..),
newAppInstanceUser,
appInstanceUser_appInstanceUserArn,
appInstanceUser_name,
appInstanceUser_metadata,
appInstanceUser_createdTimestamp,
appInstanceUser_lastUpdatedTimestamp,
AppInstanceUserMembershipSummary (..),
newAppInstanceUserMembershipSummary,
appInstanceUserMembershipSummary_readMarkerTimestamp,
appInstanceUserMembershipSummary_type,
AppInstanceUserSummary (..),
newAppInstanceUserSummary,
appInstanceUserSummary_appInstanceUserArn,
appInstanceUserSummary_name,
appInstanceUserSummary_metadata,
ArtifactsConfiguration (..),
newArtifactsConfiguration,
artifactsConfiguration_audio,
artifactsConfiguration_video,
artifactsConfiguration_content,
Attendee (..),
newAttendee,
attendee_attendeeId,
attendee_joinToken,
attendee_externalUserId,
AudioArtifactsConfiguration (..),
newAudioArtifactsConfiguration,
audioArtifactsConfiguration_muxType,
BatchChannelMemberships (..),
newBatchChannelMemberships,
batchChannelMemberships_members,
batchChannelMemberships_channelArn,
batchChannelMemberships_type,
batchChannelMemberships_invitedBy,
BatchCreateChannelMembershipError (..),
newBatchCreateChannelMembershipError,
batchCreateChannelMembershipError_errorCode,
batchCreateChannelMembershipError_memberArn,
batchCreateChannelMembershipError_errorMessage,
Bot (..),
newBot,
bot_securityToken,
bot_disabled,
bot_updatedTimestamp,
bot_userId,
bot_botId,
bot_displayName,
bot_botEmail,
bot_createdTimestamp,
bot_botType,
BusinessCallingSettings (..),
newBusinessCallingSettings,
businessCallingSettings_cdrBucket,
Channel (..),
newChannel,
channel_mode,
channel_createdBy,
channel_channelArn,
channel_privacy,
channel_lastMessageTimestamp,
channel_name,
channel_metadata,
channel_createdTimestamp,
channel_lastUpdatedTimestamp,
ChannelBan (..),
newChannelBan,
channelBan_createdBy,
channelBan_channelArn,
channelBan_member,
channelBan_createdTimestamp,
ChannelBanSummary (..),
newChannelBanSummary,
channelBanSummary_member,
ChannelMembership (..),
newChannelMembership,
channelMembership_channelArn,
channelMembership_member,
channelMembership_type,
channelMembership_invitedBy,
channelMembership_createdTimestamp,
channelMembership_lastUpdatedTimestamp,
ChannelMembershipForAppInstanceUserSummary (..),
newChannelMembershipForAppInstanceUserSummary,
channelMembershipForAppInstanceUserSummary_appInstanceUserMembershipSummary,
channelMembershipForAppInstanceUserSummary_channelSummary,
ChannelMembershipSummary (..),
newChannelMembershipSummary,
channelMembershipSummary_member,
ChannelMessage (..),
newChannelMessage,
channelMessage_sender,
channelMessage_channelArn,
channelMessage_content,
channelMessage_redacted,
channelMessage_persistence,
channelMessage_metadata,
channelMessage_type,
channelMessage_createdTimestamp,
channelMessage_messageId,
channelMessage_lastUpdatedTimestamp,
channelMessage_lastEditedTimestamp,
ChannelMessageSummary (..),
newChannelMessageSummary,
channelMessageSummary_sender,
channelMessageSummary_content,
channelMessageSummary_redacted,
channelMessageSummary_metadata,
channelMessageSummary_type,
channelMessageSummary_createdTimestamp,
channelMessageSummary_messageId,
channelMessageSummary_lastUpdatedTimestamp,
channelMessageSummary_lastEditedTimestamp,
ChannelModeratedByAppInstanceUserSummary (..),
newChannelModeratedByAppInstanceUserSummary,
channelModeratedByAppInstanceUserSummary_channelSummary,
ChannelModerator (..),
newChannelModerator,
channelModerator_createdBy,
channelModerator_channelArn,
channelModerator_createdTimestamp,
channelModerator_moderator,
ChannelModeratorSummary (..),
newChannelModeratorSummary,
channelModeratorSummary_moderator,
ChannelRetentionSettings (..),
newChannelRetentionSettings,
channelRetentionSettings_retentionDays,
ChannelSummary (..),
newChannelSummary,
channelSummary_mode,
channelSummary_channelArn,
channelSummary_privacy,
channelSummary_lastMessageTimestamp,
channelSummary_name,
channelSummary_metadata,
ChimeSdkMeetingConfiguration (..),
newChimeSdkMeetingConfiguration,
chimeSdkMeetingConfiguration_artifactsConfiguration,
chimeSdkMeetingConfiguration_sourceConfiguration,
ContentArtifactsConfiguration (..),
newContentArtifactsConfiguration,
contentArtifactsConfiguration_muxType,
contentArtifactsConfiguration_state,
ConversationRetentionSettings (..),
newConversationRetentionSettings,
conversationRetentionSettings_retentionDays,
CreateAttendeeError (..),
newCreateAttendeeError,
createAttendeeError_errorCode,
createAttendeeError_errorMessage,
createAttendeeError_externalUserId,
CreateAttendeeRequestItem (..),
newCreateAttendeeRequestItem,
createAttendeeRequestItem_tags,
createAttendeeRequestItem_externalUserId,
Credential (..),
newCredential,
credential_username,
credential_password,
DNISEmergencyCallingConfiguration (..),
newDNISEmergencyCallingConfiguration,
dNISEmergencyCallingConfiguration_testPhoneNumber,
dNISEmergencyCallingConfiguration_emergencyPhoneNumber,
dNISEmergencyCallingConfiguration_callingCountry,
EmergencyCallingConfiguration (..),
newEmergencyCallingConfiguration,
emergencyCallingConfiguration_dnis,
EngineTranscribeMedicalSettings (..),
newEngineTranscribeMedicalSettings,
engineTranscribeMedicalSettings_vocabularyName,
engineTranscribeMedicalSettings_region,
engineTranscribeMedicalSettings_languageCode,
engineTranscribeMedicalSettings_specialty,
engineTranscribeMedicalSettings_type,
EngineTranscribeSettings (..),
newEngineTranscribeSettings,
engineTranscribeSettings_vocabularyName,
engineTranscribeSettings_vocabularyFilterName,
engineTranscribeSettings_vocabularyFilterMethod,
engineTranscribeSettings_region,
engineTranscribeSettings_languageCode,
EventsConfiguration (..),
newEventsConfiguration,
eventsConfiguration_lambdaFunctionArn,
eventsConfiguration_botId,
eventsConfiguration_outboundEventsHTTPSEndpoint,
GeoMatchParams (..),
newGeoMatchParams,
geoMatchParams_country,
geoMatchParams_areaCode,
Identity (..),
newIdentity,
identity_arn,
identity_name,
Invite (..),
newInvite,
invite_status,
invite_emailStatus,
invite_inviteId,
invite_emailAddress,
LoggingConfiguration (..),
newLoggingConfiguration,
loggingConfiguration_enableSIPLogs,
MediaCapturePipeline (..),
newMediaCapturePipeline,
mediaCapturePipeline_status,
mediaCapturePipeline_sourceType,
mediaCapturePipeline_sourceArn,
mediaCapturePipeline_updatedTimestamp,
mediaCapturePipeline_sinkType,
mediaCapturePipeline_chimeSdkMeetingConfiguration,
mediaCapturePipeline_sinkArn,
mediaCapturePipeline_mediaPipelineId,
mediaCapturePipeline_createdTimestamp,
MediaPlacement (..),
newMediaPlacement,
mediaPlacement_screenDataUrl,
mediaPlacement_eventIngestionUrl,
mediaPlacement_signalingUrl,
mediaPlacement_screenSharingUrl,
mediaPlacement_screenViewingUrl,
mediaPlacement_audioHostUrl,
mediaPlacement_audioFallbackUrl,
mediaPlacement_turnControlUrl,
Meeting (..),
newMeeting,
meeting_mediaRegion,
meeting_mediaPlacement,
meeting_externalMeetingId,
meeting_meetingId,
MeetingNotificationConfiguration (..),
newMeetingNotificationConfiguration,
meetingNotificationConfiguration_snsTopicArn,
meetingNotificationConfiguration_sqsQueueArn,
Member (..),
newMember,
member_fullName,
member_email,
member_memberId,
member_memberType,
member_accountId,
MemberError (..),
newMemberError,
memberError_memberId,
memberError_errorCode,
memberError_errorMessage,
MembershipItem (..),
newMembershipItem,
membershipItem_memberId,
membershipItem_role,
MessagingSessionEndpoint (..),
newMessagingSessionEndpoint,
messagingSessionEndpoint_url,
OrderedPhoneNumber (..),
newOrderedPhoneNumber,
orderedPhoneNumber_status,
orderedPhoneNumber_e164PhoneNumber,
Origination (..),
newOrigination,
origination_routes,
origination_disabled,
OriginationRoute (..),
newOriginationRoute,
originationRoute_priority,
originationRoute_weight,
originationRoute_protocol,
originationRoute_host,
originationRoute_port,
Participant (..),
newParticipant,
participant_phoneNumber,
participant_proxyPhoneNumber,
PhoneNumber (..),
newPhoneNumber,
phoneNumber_status,
phoneNumber_deletionTimestamp,
phoneNumber_phoneNumberId,
phoneNumber_country,
phoneNumber_updatedTimestamp,
phoneNumber_productType,
phoneNumber_e164PhoneNumber,
phoneNumber_associations,
phoneNumber_callingName,
phoneNumber_type,
phoneNumber_createdTimestamp,
phoneNumber_capabilities,
phoneNumber_callingNameStatus,
PhoneNumberAssociation (..),
newPhoneNumberAssociation,
phoneNumberAssociation_value,
phoneNumberAssociation_associatedTimestamp,
phoneNumberAssociation_name,
PhoneNumberCapabilities (..),
newPhoneNumberCapabilities,
phoneNumberCapabilities_outboundMMS,
phoneNumberCapabilities_inboundCall,
phoneNumberCapabilities_inboundSMS,
phoneNumberCapabilities_inboundMMS,
phoneNumberCapabilities_outboundCall,
phoneNumberCapabilities_outboundSMS,
PhoneNumberCountry (..),
newPhoneNumberCountry,
phoneNumberCountry_supportedPhoneNumberTypes,
phoneNumberCountry_countryCode,
PhoneNumberError (..),
newPhoneNumberError,
phoneNumberError_phoneNumberId,
phoneNumberError_errorCode,
phoneNumberError_errorMessage,
PhoneNumberOrder (..),
newPhoneNumberOrder,
phoneNumberOrder_status,
phoneNumberOrder_orderedPhoneNumbers,
phoneNumberOrder_updatedTimestamp,
phoneNumberOrder_productType,
phoneNumberOrder_phoneNumberOrderId,
phoneNumberOrder_createdTimestamp,
Proxy (..),
newProxy,
proxy_defaultSessionExpiryMinutes,
proxy_disabled,
proxy_fallBackPhoneNumber,
proxy_phoneNumberCountries,
ProxySession (..),
newProxySession,
proxySession_status,
proxySession_numberSelectionBehavior,
proxySession_geoMatchParams,
proxySession_expiryMinutes,
proxySession_endedTimestamp,
proxySession_updatedTimestamp,
proxySession_participants,
proxySession_name,
proxySession_proxySessionId,
proxySession_geoMatchLevel,
proxySession_voiceConnectorId,
proxySession_createdTimestamp,
proxySession_capabilities,
RetentionSettings (..),
newRetentionSettings,
retentionSettings_roomRetentionSettings,
retentionSettings_conversationRetentionSettings,
Room (..),
newRoom,
room_updatedTimestamp,
room_createdBy,
room_accountId,
room_name,
room_roomId,
room_createdTimestamp,
RoomMembership (..),
newRoomMembership,
roomMembership_updatedTimestamp,
roomMembership_role,
roomMembership_roomId,
roomMembership_member,
roomMembership_invitedBy,
RoomRetentionSettings (..),
newRoomRetentionSettings,
roomRetentionSettings_retentionDays,
SelectedVideoStreams (..),
newSelectedVideoStreams,
selectedVideoStreams_attendeeIds,
selectedVideoStreams_externalUserIds,
SigninDelegateGroup (..),
newSigninDelegateGroup,
signinDelegateGroup_groupName,
SipMediaApplication (..),
newSipMediaApplication,
sipMediaApplication_updatedTimestamp,
sipMediaApplication_name,
sipMediaApplication_awsRegion,
sipMediaApplication_endpoints,
sipMediaApplication_createdTimestamp,
sipMediaApplication_sipMediaApplicationId,
SipMediaApplicationCall (..),
newSipMediaApplicationCall,
sipMediaApplicationCall_transactionId,
SipMediaApplicationEndpoint (..),
newSipMediaApplicationEndpoint,
sipMediaApplicationEndpoint_lambdaArn,
SipMediaApplicationLoggingConfiguration (..),
newSipMediaApplicationLoggingConfiguration,
sipMediaApplicationLoggingConfiguration_enableSipMediaApplicationMessageLogs,
SipRule (..),
newSipRule,
sipRule_disabled,
sipRule_targetApplications,
sipRule_triggerType,
sipRule_updatedTimestamp,
sipRule_name,
sipRule_triggerValue,
sipRule_createdTimestamp,
sipRule_sipRuleId,
SipRuleTargetApplication (..),
newSipRuleTargetApplication,
sipRuleTargetApplication_priority,
sipRuleTargetApplication_awsRegion,
sipRuleTargetApplication_sipMediaApplicationId,
SourceConfiguration (..),
newSourceConfiguration,
sourceConfiguration_selectedVideoStreams,
StreamingConfiguration (..),
newStreamingConfiguration,
streamingConfiguration_disabled,
streamingConfiguration_streamingNotificationTargets,
streamingConfiguration_dataRetentionInHours,
StreamingNotificationTarget (..),
newStreamingNotificationTarget,
streamingNotificationTarget_notificationTarget,
Tag (..),
newTag,
tag_key,
tag_value,
TelephonySettings (..),
newTelephonySettings,
telephonySettings_inboundCalling,
telephonySettings_outboundCalling,
telephonySettings_sms,
Termination (..),
newTermination,
termination_defaultPhoneNumber,
termination_disabled,
termination_callingRegions,
termination_cpsLimit,
termination_cidrAllowedList,
TerminationHealth (..),
newTerminationHealth,
terminationHealth_source,
terminationHealth_timestamp,
TranscriptionConfiguration (..),
newTranscriptionConfiguration,
transcriptionConfiguration_engineTranscribeMedicalSettings,
transcriptionConfiguration_engineTranscribeSettings,
UpdatePhoneNumberRequestItem (..),
newUpdatePhoneNumberRequestItem,
updatePhoneNumberRequestItem_productType,
updatePhoneNumberRequestItem_callingName,
updatePhoneNumberRequestItem_phoneNumberId,
UpdateUserRequestItem (..),
newUpdateUserRequestItem,
updateUserRequestItem_licenseType,
updateUserRequestItem_userType,
updateUserRequestItem_alexaForBusinessMetadata,
updateUserRequestItem_userId,
User (..),
newUser,
user_userInvitationStatus,
user_personalPIN,
user_primaryProvisionedNumber,
user_licenseType,
user_registeredOn,
user_accountId,
user_userRegistrationStatus,
user_invitedOn,
user_displayName,
user_primaryEmail,
user_userType,
user_alexaForBusinessMetadata,
user_userId,
UserError (..),
newUserError,
userError_userId,
userError_errorCode,
userError_errorMessage,
UserSettings (..),
newUserSettings,
userSettings_telephony,
VideoArtifactsConfiguration (..),
newVideoArtifactsConfiguration,
videoArtifactsConfiguration_muxType,
videoArtifactsConfiguration_state,
VoiceConnector (..),
newVoiceConnector,
voiceConnector_updatedTimestamp,
voiceConnector_outboundHostName,
voiceConnector_name,
voiceConnector_requireEncryption,
voiceConnector_awsRegion,
voiceConnector_voiceConnectorId,
voiceConnector_voiceConnectorArn,
voiceConnector_createdTimestamp,
VoiceConnectorGroup (..),
newVoiceConnectorGroup,
voiceConnectorGroup_voiceConnectorGroupId,
voiceConnectorGroup_updatedTimestamp,
voiceConnectorGroup_voiceConnectorItems,
voiceConnectorGroup_voiceConnectorGroupArn,
voiceConnectorGroup_name,
voiceConnectorGroup_createdTimestamp,
VoiceConnectorItem (..),
newVoiceConnectorItem,
voiceConnectorItem_voiceConnectorId,
voiceConnectorItem_priority,
VoiceConnectorSettings (..),
newVoiceConnectorSettings,
voiceConnectorSettings_cdrBucket,
)
where
import Amazonka.Chime.Types.Account
import Amazonka.Chime.Types.AccountSettings
import Amazonka.Chime.Types.AccountStatus
import Amazonka.Chime.Types.AccountType
import Amazonka.Chime.Types.AlexaForBusinessMetadata
import Amazonka.Chime.Types.AppInstance
import Amazonka.Chime.Types.AppInstanceAdmin
import Amazonka.Chime.Types.AppInstanceAdminSummary
import Amazonka.Chime.Types.AppInstanceDataType
import Amazonka.Chime.Types.AppInstanceRetentionSettings
import Amazonka.Chime.Types.AppInstanceStreamingConfiguration
import Amazonka.Chime.Types.AppInstanceSummary
import Amazonka.Chime.Types.AppInstanceUser
import Amazonka.Chime.Types.AppInstanceUserMembershipSummary
import Amazonka.Chime.Types.AppInstanceUserSummary
import Amazonka.Chime.Types.ArtifactsConfiguration
import Amazonka.Chime.Types.ArtifactsState
import Amazonka.Chime.Types.Attendee
import Amazonka.Chime.Types.AudioArtifactsConfiguration
import Amazonka.Chime.Types.AudioMuxType
import Amazonka.Chime.Types.BatchChannelMemberships
import Amazonka.Chime.Types.BatchCreateChannelMembershipError
import Amazonka.Chime.Types.Bot
import Amazonka.Chime.Types.BotType
import Amazonka.Chime.Types.BusinessCallingSettings
import Amazonka.Chime.Types.CallingNameStatus
import Amazonka.Chime.Types.Capability
import Amazonka.Chime.Types.Channel
import Amazonka.Chime.Types.ChannelBan
import Amazonka.Chime.Types.ChannelBanSummary
import Amazonka.Chime.Types.ChannelMembership
import Amazonka.Chime.Types.ChannelMembershipForAppInstanceUserSummary
import Amazonka.Chime.Types.ChannelMembershipSummary
import Amazonka.Chime.Types.ChannelMembershipType
import Amazonka.Chime.Types.ChannelMessage
import Amazonka.Chime.Types.ChannelMessagePersistenceType
import Amazonka.Chime.Types.ChannelMessageSummary
import Amazonka.Chime.Types.ChannelMessageType
import Amazonka.Chime.Types.ChannelMode
import Amazonka.Chime.Types.ChannelModeratedByAppInstanceUserSummary
import Amazonka.Chime.Types.ChannelModerator
import Amazonka.Chime.Types.ChannelModeratorSummary
import Amazonka.Chime.Types.ChannelPrivacy
import Amazonka.Chime.Types.ChannelRetentionSettings
import Amazonka.Chime.Types.ChannelSummary
import Amazonka.Chime.Types.ChimeSdkMeetingConfiguration
import Amazonka.Chime.Types.ContentArtifactsConfiguration
import Amazonka.Chime.Types.ContentMuxType
import Amazonka.Chime.Types.ConversationRetentionSettings
import Amazonka.Chime.Types.CreateAttendeeError
import Amazonka.Chime.Types.CreateAttendeeRequestItem
import Amazonka.Chime.Types.Credential
import Amazonka.Chime.Types.DNISEmergencyCallingConfiguration
import Amazonka.Chime.Types.EmailStatus
import Amazonka.Chime.Types.EmergencyCallingConfiguration
import Amazonka.Chime.Types.EngineTranscribeMedicalSettings
import Amazonka.Chime.Types.EngineTranscribeSettings
import Amazonka.Chime.Types.ErrorCode
import Amazonka.Chime.Types.EventsConfiguration
import Amazonka.Chime.Types.GeoMatchLevel
import Amazonka.Chime.Types.GeoMatchParams
import Amazonka.Chime.Types.Identity
import Amazonka.Chime.Types.Invite
import Amazonka.Chime.Types.InviteStatus
import Amazonka.Chime.Types.License
import Amazonka.Chime.Types.LoggingConfiguration
import Amazonka.Chime.Types.MediaCapturePipeline
import Amazonka.Chime.Types.MediaPipelineSinkType
import Amazonka.Chime.Types.MediaPipelineSourceType
import Amazonka.Chime.Types.MediaPipelineStatus
import Amazonka.Chime.Types.MediaPlacement
import Amazonka.Chime.Types.Meeting
import Amazonka.Chime.Types.MeetingNotificationConfiguration
import Amazonka.Chime.Types.Member
import Amazonka.Chime.Types.MemberError
import Amazonka.Chime.Types.MemberType
import Amazonka.Chime.Types.MembershipItem
import Amazonka.Chime.Types.MessagingSessionEndpoint
import Amazonka.Chime.Types.NotificationTarget
import Amazonka.Chime.Types.NumberSelectionBehavior
import Amazonka.Chime.Types.OrderedPhoneNumber
import Amazonka.Chime.Types.OrderedPhoneNumberStatus
import Amazonka.Chime.Types.Origination
import Amazonka.Chime.Types.OriginationRoute
import Amazonka.Chime.Types.OriginationRouteProtocol
import Amazonka.Chime.Types.Participant
import Amazonka.Chime.Types.PhoneNumber
import Amazonka.Chime.Types.PhoneNumberAssociation
import Amazonka.Chime.Types.PhoneNumberAssociationName
import Amazonka.Chime.Types.PhoneNumberCapabilities
import Amazonka.Chime.Types.PhoneNumberCountry
import Amazonka.Chime.Types.PhoneNumberError
import Amazonka.Chime.Types.PhoneNumberOrder
import Amazonka.Chime.Types.PhoneNumberOrderStatus
import Amazonka.Chime.Types.PhoneNumberProductType
import Amazonka.Chime.Types.PhoneNumberStatus
import Amazonka.Chime.Types.PhoneNumberType
import Amazonka.Chime.Types.Proxy
import Amazonka.Chime.Types.ProxySession
import Amazonka.Chime.Types.ProxySessionStatus
import Amazonka.Chime.Types.RegistrationStatus
import Amazonka.Chime.Types.RetentionSettings
import Amazonka.Chime.Types.Room
import Amazonka.Chime.Types.RoomMembership
import Amazonka.Chime.Types.RoomMembershipRole
import Amazonka.Chime.Types.RoomRetentionSettings
import Amazonka.Chime.Types.SelectedVideoStreams
import Amazonka.Chime.Types.SigninDelegateGroup
import Amazonka.Chime.Types.SipMediaApplication
import Amazonka.Chime.Types.SipMediaApplicationCall
import Amazonka.Chime.Types.SipMediaApplicationEndpoint
import Amazonka.Chime.Types.SipMediaApplicationLoggingConfiguration
import Amazonka.Chime.Types.SipRule
import Amazonka.Chime.Types.SipRuleTargetApplication
import Amazonka.Chime.Types.SipRuleTriggerType
import Amazonka.Chime.Types.SortOrder
import Amazonka.Chime.Types.SourceConfiguration
import Amazonka.Chime.Types.StreamingConfiguration
import Amazonka.Chime.Types.StreamingNotificationTarget
import Amazonka.Chime.Types.Tag
import Amazonka.Chime.Types.TelephonySettings
import Amazonka.Chime.Types.Termination
import Amazonka.Chime.Types.TerminationHealth
import Amazonka.Chime.Types.TranscribeLanguageCode
import Amazonka.Chime.Types.TranscribeMedicalLanguageCode
import Amazonka.Chime.Types.TranscribeMedicalRegion
import Amazonka.Chime.Types.TranscribeMedicalSpecialty
import Amazonka.Chime.Types.TranscribeMedicalType
import Amazonka.Chime.Types.TranscribeRegion
import Amazonka.Chime.Types.TranscribeVocabularyFilterMethod
import Amazonka.Chime.Types.TranscriptionConfiguration
import Amazonka.Chime.Types.UpdatePhoneNumberRequestItem
import Amazonka.Chime.Types.UpdateUserRequestItem
import Amazonka.Chime.Types.User
import Amazonka.Chime.Types.UserError
import Amazonka.Chime.Types.UserSettings
import Amazonka.Chime.Types.UserType
import Amazonka.Chime.Types.VideoArtifactsConfiguration
import Amazonka.Chime.Types.VideoMuxType
import Amazonka.Chime.Types.VoiceConnector
import Amazonka.Chime.Types.VoiceConnectorAwsRegion
import Amazonka.Chime.Types.VoiceConnectorGroup
import Amazonka.Chime.Types.VoiceConnectorItem
import Amazonka.Chime.Types.VoiceConnectorSettings
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Service :: Abbrev
-> Signer
-> ByteString
-> ByteString
-> ByteString
-> (Region -> Endpoint)
-> Maybe Seconds
-> (Status -> Bool)
-> (Status -> [Header] -> ByteStringLazy -> Error)
-> Retry
-> Service
Core.Service
{ $sel:_serviceAbbrev:Service :: Abbrev
Core._serviceAbbrev = Abbrev
"Chime",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"chime",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"chime",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2018-05-01",
$sel:_serviceEndpoint:Service :: Region -> Endpoint
Core._serviceEndpoint =
Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:_serviceTimeout:Service :: Maybe Seconds
Core._serviceTimeout = Seconds -> Maybe Seconds
forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:_serviceCheck:Service :: Status -> Bool
Core._serviceCheck = Status -> Bool
Core.statusSuccess,
$sel:_serviceError:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core._serviceError = Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"Chime",
$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
_AccessDeniedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_AccessDeniedException :: Getting (First ServiceError) a ServiceError
_AccessDeniedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccessDeniedException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
403
_ThrottledClientException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ThrottledClientException :: Getting (First ServiceError) a ServiceError
_ThrottledClientException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ThrottledClientException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429
_ResourceLimitExceededException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceLimitExceededException :: Getting (First ServiceError) a ServiceError
_ResourceLimitExceededException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceLimitExceededException"
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
_UnprocessableEntityException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnprocessableEntityException :: Getting (First ServiceError) a ServiceError
_UnprocessableEntityException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnprocessableEntityException"
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
422
_ConflictException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ConflictException :: Getting (First ServiceError) a ServiceError
_ConflictException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConflictException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
409
_ForbiddenException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ForbiddenException :: Getting (First ServiceError) a ServiceError
_ForbiddenException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ForbiddenException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
403
_NotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_NotFoundException :: Getting (First ServiceError) a ServiceError
_NotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"NotFoundException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_ServiceFailureException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ServiceFailureException :: Getting (First ServiceError) a ServiceError
_ServiceFailureException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceFailureException"
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
_UnauthorizedClientException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_UnauthorizedClientException :: Getting (First ServiceError) a ServiceError
_UnauthorizedClientException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnauthorizedClientException"
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
_ServiceUnavailableException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ServiceUnavailableException :: Getting (First ServiceError) a ServiceError
_ServiceUnavailableException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceUnavailableException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503
_BadRequestException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_BadRequestException :: Getting (First ServiceError) a ServiceError
_BadRequestException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"BadRequestException"
Getting (First ServiceError) a ServiceError
-> ((ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError -> Const (First ServiceError) ServiceError)
-> Getting (First ServiceError) a ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int
-> (ServiceError -> Const (First ServiceError) ServiceError)
-> ServiceError
-> Const (First ServiceError) ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400