{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Chime.Types
(
defaultService,
_AccessDeniedException,
_BadRequestException,
_ConflictException,
_ForbiddenException,
_NotFoundException,
_ResourceLimitExceededException,
_ServiceFailureException,
_ServiceUnavailableException,
_ThrottledClientException,
_UnauthorizedClientException,
_UnprocessableEntityException,
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 (..),
TranscribeContentIdentificationType (..),
TranscribeContentRedactionType (..),
TranscribeLanguageCode (..),
TranscribeMedicalContentIdentificationType (..),
TranscribeMedicalLanguageCode (..),
TranscribeMedicalRegion (..),
TranscribeMedicalSpecialty (..),
TranscribeMedicalType (..),
TranscribePartialResultsStability (..),
TranscribeRegion (..),
TranscribeVocabularyFilterMethod (..),
UserType (..),
VideoMuxType (..),
VoiceConnectorAwsRegion (..),
Account (..),
newAccount,
account_accountStatus,
account_accountType,
account_createdTimestamp,
account_defaultLicense,
account_signinDelegateGroups,
account_supportedLicenses,
account_awsAccountId,
account_accountId,
account_name,
AccountSettings (..),
newAccountSettings,
accountSettings_disableRemoteControl,
accountSettings_enableDialOut,
Address (..),
newAddress,
address_city,
address_country,
address_postDirectional,
address_postalCode,
address_postalCodePlus4,
address_preDirectional,
address_state,
address_streetName,
address_streetNumber,
address_streetSuffix,
AlexaForBusinessMetadata (..),
newAlexaForBusinessMetadata,
alexaForBusinessMetadata_alexaForBusinessRoomArn,
alexaForBusinessMetadata_isAlexaForBusinessEnabled,
AppInstance (..),
newAppInstance,
appInstance_appInstanceArn,
appInstance_createdTimestamp,
appInstance_lastUpdatedTimestamp,
appInstance_metadata,
appInstance_name,
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_appInstanceArn,
appInstanceSummary_metadata,
appInstanceSummary_name,
AppInstanceUser (..),
newAppInstanceUser,
appInstanceUser_appInstanceUserArn,
appInstanceUser_createdTimestamp,
appInstanceUser_lastUpdatedTimestamp,
appInstanceUser_metadata,
appInstanceUser_name,
AppInstanceUserMembershipSummary (..),
newAppInstanceUserMembershipSummary,
appInstanceUserMembershipSummary_readMarkerTimestamp,
appInstanceUserMembershipSummary_type,
AppInstanceUserSummary (..),
newAppInstanceUserSummary,
appInstanceUserSummary_appInstanceUserArn,
appInstanceUserSummary_metadata,
appInstanceUserSummary_name,
ArtifactsConfiguration (..),
newArtifactsConfiguration,
artifactsConfiguration_audio,
artifactsConfiguration_video,
artifactsConfiguration_content,
Attendee (..),
newAttendee,
attendee_attendeeId,
attendee_externalUserId,
attendee_joinToken,
AudioArtifactsConfiguration (..),
newAudioArtifactsConfiguration,
audioArtifactsConfiguration_muxType,
BatchChannelMemberships (..),
newBatchChannelMemberships,
batchChannelMemberships_channelArn,
batchChannelMemberships_invitedBy,
batchChannelMemberships_members,
batchChannelMemberships_type,
BatchCreateChannelMembershipError (..),
newBatchCreateChannelMembershipError,
batchCreateChannelMembershipError_errorCode,
batchCreateChannelMembershipError_errorMessage,
batchCreateChannelMembershipError_memberArn,
Bot (..),
newBot,
bot_botEmail,
bot_botId,
bot_botType,
bot_createdTimestamp,
bot_disabled,
bot_displayName,
bot_securityToken,
bot_updatedTimestamp,
bot_userId,
BusinessCallingSettings (..),
newBusinessCallingSettings,
businessCallingSettings_cdrBucket,
CandidateAddress (..),
newCandidateAddress,
candidateAddress_city,
candidateAddress_country,
candidateAddress_postalCode,
candidateAddress_postalCodePlus4,
candidateAddress_state,
candidateAddress_streetInfo,
candidateAddress_streetNumber,
Channel (..),
newChannel,
channel_channelArn,
channel_createdBy,
channel_createdTimestamp,
channel_lastMessageTimestamp,
channel_lastUpdatedTimestamp,
channel_metadata,
channel_mode,
channel_name,
channel_privacy,
ChannelBan (..),
newChannelBan,
channelBan_channelArn,
channelBan_createdBy,
channelBan_createdTimestamp,
channelBan_member,
ChannelBanSummary (..),
newChannelBanSummary,
channelBanSummary_member,
ChannelMembership (..),
newChannelMembership,
channelMembership_channelArn,
channelMembership_createdTimestamp,
channelMembership_invitedBy,
channelMembership_lastUpdatedTimestamp,
channelMembership_member,
channelMembership_type,
ChannelMembershipForAppInstanceUserSummary (..),
newChannelMembershipForAppInstanceUserSummary,
channelMembershipForAppInstanceUserSummary_appInstanceUserMembershipSummary,
channelMembershipForAppInstanceUserSummary_channelSummary,
ChannelMembershipSummary (..),
newChannelMembershipSummary,
channelMembershipSummary_member,
ChannelMessage (..),
newChannelMessage,
channelMessage_channelArn,
channelMessage_content,
channelMessage_createdTimestamp,
channelMessage_lastEditedTimestamp,
channelMessage_lastUpdatedTimestamp,
channelMessage_messageId,
channelMessage_metadata,
channelMessage_persistence,
channelMessage_redacted,
channelMessage_sender,
channelMessage_type,
ChannelMessageSummary (..),
newChannelMessageSummary,
channelMessageSummary_content,
channelMessageSummary_createdTimestamp,
channelMessageSummary_lastEditedTimestamp,
channelMessageSummary_lastUpdatedTimestamp,
channelMessageSummary_messageId,
channelMessageSummary_metadata,
channelMessageSummary_redacted,
channelMessageSummary_sender,
channelMessageSummary_type,
ChannelModeratedByAppInstanceUserSummary (..),
newChannelModeratedByAppInstanceUserSummary,
channelModeratedByAppInstanceUserSummary_channelSummary,
ChannelModerator (..),
newChannelModerator,
channelModerator_channelArn,
channelModerator_createdBy,
channelModerator_createdTimestamp,
channelModerator_moderator,
ChannelModeratorSummary (..),
newChannelModeratorSummary,
channelModeratorSummary_moderator,
ChannelRetentionSettings (..),
newChannelRetentionSettings,
channelRetentionSettings_retentionDays,
ChannelSummary (..),
newChannelSummary,
channelSummary_channelArn,
channelSummary_lastMessageTimestamp,
channelSummary_metadata,
channelSummary_mode,
channelSummary_name,
channelSummary_privacy,
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_password,
credential_username,
DNISEmergencyCallingConfiguration (..),
newDNISEmergencyCallingConfiguration,
dNISEmergencyCallingConfiguration_testPhoneNumber,
dNISEmergencyCallingConfiguration_emergencyPhoneNumber,
dNISEmergencyCallingConfiguration_callingCountry,
EmergencyCallingConfiguration (..),
newEmergencyCallingConfiguration,
emergencyCallingConfiguration_dnis,
EngineTranscribeMedicalSettings (..),
newEngineTranscribeMedicalSettings,
engineTranscribeMedicalSettings_contentIdentificationType,
engineTranscribeMedicalSettings_region,
engineTranscribeMedicalSettings_vocabularyName,
engineTranscribeMedicalSettings_languageCode,
engineTranscribeMedicalSettings_specialty,
engineTranscribeMedicalSettings_type,
EngineTranscribeSettings (..),
newEngineTranscribeSettings,
engineTranscribeSettings_contentIdentificationType,
engineTranscribeSettings_contentRedactionType,
engineTranscribeSettings_enablePartialResultsStabilization,
engineTranscribeSettings_languageModelName,
engineTranscribeSettings_partialResultsStability,
engineTranscribeSettings_piiEntityTypes,
engineTranscribeSettings_region,
engineTranscribeSettings_vocabularyFilterMethod,
engineTranscribeSettings_vocabularyFilterName,
engineTranscribeSettings_vocabularyName,
engineTranscribeSettings_languageCode,
EventsConfiguration (..),
newEventsConfiguration,
eventsConfiguration_botId,
eventsConfiguration_lambdaFunctionArn,
eventsConfiguration_outboundEventsHTTPSEndpoint,
GeoMatchParams (..),
newGeoMatchParams,
geoMatchParams_country,
geoMatchParams_areaCode,
Identity (..),
newIdentity,
identity_arn,
identity_name,
Invite (..),
newInvite,
invite_emailAddress,
invite_emailStatus,
invite_inviteId,
invite_status,
LoggingConfiguration (..),
newLoggingConfiguration,
loggingConfiguration_enableMediaMetricLogs,
loggingConfiguration_enableSIPLogs,
MediaCapturePipeline (..),
newMediaCapturePipeline,
mediaCapturePipeline_chimeSdkMeetingConfiguration,
mediaCapturePipeline_createdTimestamp,
mediaCapturePipeline_mediaPipelineId,
mediaCapturePipeline_sinkArn,
mediaCapturePipeline_sinkType,
mediaCapturePipeline_sourceArn,
mediaCapturePipeline_sourceType,
mediaCapturePipeline_status,
mediaCapturePipeline_updatedTimestamp,
MediaPlacement (..),
newMediaPlacement,
mediaPlacement_audioFallbackUrl,
mediaPlacement_audioHostUrl,
mediaPlacement_eventIngestionUrl,
mediaPlacement_screenDataUrl,
mediaPlacement_screenSharingUrl,
mediaPlacement_screenViewingUrl,
mediaPlacement_signalingUrl,
mediaPlacement_turnControlUrl,
Meeting (..),
newMeeting,
meeting_externalMeetingId,
meeting_mediaPlacement,
meeting_mediaRegion,
meeting_meetingId,
MeetingNotificationConfiguration (..),
newMeetingNotificationConfiguration,
meetingNotificationConfiguration_snsTopicArn,
meetingNotificationConfiguration_sqsQueueArn,
Member (..),
newMember,
member_accountId,
member_email,
member_fullName,
member_memberId,
member_memberType,
MemberError (..),
newMemberError,
memberError_errorCode,
memberError_errorMessage,
memberError_memberId,
MembershipItem (..),
newMembershipItem,
membershipItem_memberId,
membershipItem_role,
MessagingSessionEndpoint (..),
newMessagingSessionEndpoint,
messagingSessionEndpoint_url,
OrderedPhoneNumber (..),
newOrderedPhoneNumber,
orderedPhoneNumber_e164PhoneNumber,
orderedPhoneNumber_status,
Origination (..),
newOrigination,
origination_disabled,
origination_routes,
OriginationRoute (..),
newOriginationRoute,
originationRoute_host,
originationRoute_port,
originationRoute_priority,
originationRoute_protocol,
originationRoute_weight,
Participant (..),
newParticipant,
participant_phoneNumber,
participant_proxyPhoneNumber,
PhoneNumber (..),
newPhoneNumber,
phoneNumber_associations,
phoneNumber_callingName,
phoneNumber_callingNameStatus,
phoneNumber_capabilities,
phoneNumber_country,
phoneNumber_createdTimestamp,
phoneNumber_deletionTimestamp,
phoneNumber_e164PhoneNumber,
phoneNumber_phoneNumberId,
phoneNumber_productType,
phoneNumber_status,
phoneNumber_type,
phoneNumber_updatedTimestamp,
PhoneNumberAssociation (..),
newPhoneNumberAssociation,
phoneNumberAssociation_associatedTimestamp,
phoneNumberAssociation_name,
phoneNumberAssociation_value,
PhoneNumberCapabilities (..),
newPhoneNumberCapabilities,
phoneNumberCapabilities_inboundCall,
phoneNumberCapabilities_inboundMMS,
phoneNumberCapabilities_inboundSMS,
phoneNumberCapabilities_outboundCall,
phoneNumberCapabilities_outboundMMS,
phoneNumberCapabilities_outboundSMS,
PhoneNumberCountry (..),
newPhoneNumberCountry,
phoneNumberCountry_countryCode,
phoneNumberCountry_supportedPhoneNumberTypes,
PhoneNumberError (..),
newPhoneNumberError,
phoneNumberError_errorCode,
phoneNumberError_errorMessage,
phoneNumberError_phoneNumberId,
PhoneNumberOrder (..),
newPhoneNumberOrder,
phoneNumberOrder_createdTimestamp,
phoneNumberOrder_orderedPhoneNumbers,
phoneNumberOrder_phoneNumberOrderId,
phoneNumberOrder_productType,
phoneNumberOrder_status,
phoneNumberOrder_updatedTimestamp,
Proxy (..),
newProxy,
proxy_defaultSessionExpiryMinutes,
proxy_disabled,
proxy_fallBackPhoneNumber,
proxy_phoneNumberCountries,
ProxySession (..),
newProxySession,
proxySession_capabilities,
proxySession_createdTimestamp,
proxySession_endedTimestamp,
proxySession_expiryMinutes,
proxySession_geoMatchLevel,
proxySession_geoMatchParams,
proxySession_name,
proxySession_numberSelectionBehavior,
proxySession_participants,
proxySession_proxySessionId,
proxySession_status,
proxySession_updatedTimestamp,
proxySession_voiceConnectorId,
RetentionSettings (..),
newRetentionSettings,
retentionSettings_conversationRetentionSettings,
retentionSettings_roomRetentionSettings,
Room (..),
newRoom,
room_accountId,
room_createdBy,
room_createdTimestamp,
room_name,
room_roomId,
room_updatedTimestamp,
RoomMembership (..),
newRoomMembership,
roomMembership_invitedBy,
roomMembership_member,
roomMembership_role,
roomMembership_roomId,
roomMembership_updatedTimestamp,
RoomRetentionSettings (..),
newRoomRetentionSettings,
roomRetentionSettings_retentionDays,
SelectedVideoStreams (..),
newSelectedVideoStreams,
selectedVideoStreams_attendeeIds,
selectedVideoStreams_externalUserIds,
SigninDelegateGroup (..),
newSigninDelegateGroup,
signinDelegateGroup_groupName,
SipMediaApplication (..),
newSipMediaApplication,
sipMediaApplication_awsRegion,
sipMediaApplication_createdTimestamp,
sipMediaApplication_endpoints,
sipMediaApplication_name,
sipMediaApplication_sipMediaApplicationId,
sipMediaApplication_updatedTimestamp,
SipMediaApplicationCall (..),
newSipMediaApplicationCall,
sipMediaApplicationCall_transactionId,
SipMediaApplicationEndpoint (..),
newSipMediaApplicationEndpoint,
sipMediaApplicationEndpoint_lambdaArn,
SipMediaApplicationLoggingConfiguration (..),
newSipMediaApplicationLoggingConfiguration,
sipMediaApplicationLoggingConfiguration_enableSipMediaApplicationMessageLogs,
SipRule (..),
newSipRule,
sipRule_createdTimestamp,
sipRule_disabled,
sipRule_name,
sipRule_sipRuleId,
sipRule_targetApplications,
sipRule_triggerType,
sipRule_triggerValue,
sipRule_updatedTimestamp,
SipRuleTargetApplication (..),
newSipRuleTargetApplication,
sipRuleTargetApplication_awsRegion,
sipRuleTargetApplication_priority,
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_callingRegions,
termination_cidrAllowedList,
termination_cpsLimit,
termination_defaultPhoneNumber,
termination_disabled,
TerminationHealth (..),
newTerminationHealth,
terminationHealth_source,
terminationHealth_timestamp,
TranscriptionConfiguration (..),
newTranscriptionConfiguration,
transcriptionConfiguration_engineTranscribeMedicalSettings,
transcriptionConfiguration_engineTranscribeSettings,
UpdatePhoneNumberRequestItem (..),
newUpdatePhoneNumberRequestItem,
updatePhoneNumberRequestItem_callingName,
updatePhoneNumberRequestItem_productType,
updatePhoneNumberRequestItem_phoneNumberId,
UpdateUserRequestItem (..),
newUpdateUserRequestItem,
updateUserRequestItem_alexaForBusinessMetadata,
updateUserRequestItem_licenseType,
updateUserRequestItem_userType,
updateUserRequestItem_userId,
User (..),
newUser,
user_accountId,
user_alexaForBusinessMetadata,
user_displayName,
user_invitedOn,
user_licenseType,
user_personalPIN,
user_primaryEmail,
user_primaryProvisionedNumber,
user_registeredOn,
user_userInvitationStatus,
user_userRegistrationStatus,
user_userType,
user_userId,
UserError (..),
newUserError,
userError_errorCode,
userError_errorMessage,
userError_userId,
UserSettings (..),
newUserSettings,
userSettings_telephony,
VideoArtifactsConfiguration (..),
newVideoArtifactsConfiguration,
videoArtifactsConfiguration_muxType,
videoArtifactsConfiguration_state,
VoiceConnector (..),
newVoiceConnector,
voiceConnector_awsRegion,
voiceConnector_createdTimestamp,
voiceConnector_name,
voiceConnector_outboundHostName,
voiceConnector_requireEncryption,
voiceConnector_updatedTimestamp,
voiceConnector_voiceConnectorArn,
voiceConnector_voiceConnectorId,
VoiceConnectorGroup (..),
newVoiceConnectorGroup,
voiceConnectorGroup_createdTimestamp,
voiceConnectorGroup_name,
voiceConnectorGroup_updatedTimestamp,
voiceConnectorGroup_voiceConnectorGroupArn,
voiceConnectorGroup_voiceConnectorGroupId,
voiceConnectorGroup_voiceConnectorItems,
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.Address
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.CandidateAddress
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.TranscribeContentIdentificationType
import Amazonka.Chime.Types.TranscribeContentRedactionType
import Amazonka.Chime.Types.TranscribeLanguageCode
import Amazonka.Chime.Types.TranscribeMedicalContentIdentificationType
import Amazonka.Chime.Types.TranscribeMedicalLanguageCode
import Amazonka.Chime.Types.TranscribeMedicalRegion
import Amazonka.Chime.Types.TranscribeMedicalSpecialty
import Amazonka.Chime.Types.TranscribeMedicalType
import Amazonka.Chime.Types.TranscribePartialResultsStability
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.Core.Lens.Internal as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Core.Service
{ $sel:abbrev:Service :: Abbrev
Core.abbrev = Abbrev
"Chime",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"chime",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"chime",
$sel:version:Service :: ByteString
Core.version = ByteString
"2018-05-01",
$sel:s3AddressingStyle:Service :: S3AddressingStyle
Core.s3AddressingStyle = S3AddressingStyle
Core.S3AddressingStyleAuto,
$sel:endpoint:Service :: Region -> Endpoint
Core.endpoint = Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:timeout:Service :: Maybe Seconds
Core.timeout = forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:check:Service :: Status -> Bool
Core.check = Status -> Bool
Core.statusSuccess,
$sel:error:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core.error = Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"Chime",
$sel:retry:Service :: Retry
Core.retry = Retry
retry
}
where
retry :: Retry
retry =
Core.Exponential
{ $sel:base:Exponential :: Double
Core.base = Double
5.0e-2,
$sel:growth:Exponential :: Int
Core.growth = Int
2,
$sel:attempts:Exponential :: Int
Core.attempts = Int
5,
$sel:check:Exponential :: ServiceError -> Maybe Text
Core.check = forall {a}. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Bool
Prelude.otherwise = forall a. Maybe a
Prelude.Nothing
_AccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccessDeniedException :: forall a. AsError a => Fold a ServiceError
_AccessDeniedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccessDeniedException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
403
_BadRequestException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_BadRequestException :: forall a. AsError a => Fold a ServiceError
_BadRequestException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"BadRequestException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ConflictException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConflictException :: forall a. AsError a => Fold a ServiceError
_ConflictException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConflictException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
409
_ForbiddenException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ForbiddenException :: forall a. AsError a => Fold a ServiceError
_ForbiddenException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ForbiddenException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
403
_NotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_NotFoundException :: forall a. AsError a => Fold a ServiceError
_NotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"NotFoundException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_ResourceLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceLimitExceededException :: forall a. AsError a => Fold a ServiceError
_ResourceLimitExceededException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceLimitExceededException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ServiceFailureException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ServiceFailureException :: forall a. AsError a => Fold a ServiceError
_ServiceFailureException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceFailureException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500
_ServiceUnavailableException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ServiceUnavailableException :: forall a. AsError a => Fold a ServiceError
_ServiceUnavailableException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ServiceUnavailableException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503
_ThrottledClientException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ThrottledClientException :: forall a. AsError a => Fold a ServiceError
_ThrottledClientException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ThrottledClientException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429
_UnauthorizedClientException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_UnauthorizedClientException :: forall a. AsError a => Fold a ServiceError
_UnauthorizedClientException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnauthorizedClientException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
401
_UnprocessableEntityException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_UnprocessableEntityException :: forall a. AsError a => Fold a ServiceError
_UnprocessableEntityException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"UnprocessableEntityException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
422