Module Smaws_Client_PinpointSMSVoiceV2.Types

type nonrec voice_message_origination_identity = string
type nonrec voice_message_body_text_type =
  1. | TEXT
  2. | SSML
type nonrec voice_message_body = string
type nonrec voice_id =
  1. | AMY
  2. | ASTRID
  3. | BIANCA
  4. | BRIAN
  5. | CAMILA
  6. | CARLA
  7. | CARMEN
  8. | CELINE
  9. | CHANTAL
  10. | CONCHITA
  11. | CRISTIANO
  12. | DORA
  13. | EMMA
  14. | ENRIQUE
  15. | EWA
  16. | FILIZ
  17. | GERAINT
  18. | GIORGIO
  19. | GWYNETH
  20. | HANS
  21. | INES
  22. | IVY
  23. | JACEK
  24. | JAN
  25. | JOANNA
  26. | JOEY
  27. | JUSTIN
  28. | KARL
  29. | KENDRA
  30. | KIMBERLY
  31. | LEA
  32. | LIV
  33. | LOTTE
  34. | LUCIA
  35. | LUPE
  36. | MADS
  37. | MAJA
  38. | MARLENE
  39. | MATHIEU
  40. | MATTHEW
  41. | MAXIM
  42. | MIA
  43. | MIGUEL
  44. | MIZUKI
  45. | NAJA
  46. | NICOLE
  47. | PENELOPE
  48. | RAVEENA
  49. | RICARDO
  50. | RUBEN
  51. | RUSSELL
  52. | SALLI
  53. | SEOYEON
  54. | TAKUMI
  55. | TATYANA
  56. | VICKI
  57. | VITORIA
  58. | ZEINA
  59. | ZHIYU
type nonrec voice_id_list = voice_id list
type nonrec phone_number = string
type nonrec verification_status =
  1. | PENDING
  2. | VERIFIED
  3. | UNSUPPORTED
type nonrec verify_destination_number_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the destination phone number was created, in UNIX epoch time format.

    *)
  2. status : verification_status;
    (*

    The status for being able to send messages to the phone number.

    *)
  3. destination_phone_number : phone_number;
    (*

    The phone number in E.164 format.

    *)
  4. verified_destination_number_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the verified destination phone number.

    *)
  5. verified_destination_number_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the verified destination phone number.

    *)
}
type nonrec verified_destination_number_id_or_arn = string
type nonrec verification_code = string
type nonrec verify_destination_number_request = {
  1. verification_code : verification_code;
    (*

    The verification code that was received by the verified destination phone number.

    *)
  2. verified_destination_number_id : verified_destination_number_id_or_arn;
    (*

    The unique identifier for the verififed destination phone number.

    *)
}
type nonrec validation_exception_reason =
  1. | CANNOT_ADD_OPTED_OUT_NUMBER
  2. | CANNOT_PARSE
  3. | CHANNEL_NOT_ENABLED
  4. | COUNTRY_CODE_MISMATCH
  5. | COUNTRY_NOT_ENABLED
  6. | DESTINATION_COUNTRY_BLOCKED
  7. | FIELD_VALIDATION_FAILED
  8. | ATTACHMENT_TYPE_NOT_SUPPORTED
  9. | INTERNATIONAL_SENDING_NOT_SUPPORTED
  10. | INVALID_ARN
  11. | INVALID_FILTER_VALUES
  12. | INVALID_IDENTITY_FOR_DESTINATION_COUNTRY
  13. | INVALID_NEXT_TOKEN
  14. | INVALID_PARAMETER
  15. | INVALID_REQUEST
  16. | INVALID_REGISTRATION_ASSOCIATION
  17. | MAXIMUM_SIZE_EXCEEDED
  18. | MEDIA_TYPE_NOT_SUPPORTED
  19. | MISSING_PARAMETER
  20. | PARAMETERS_CANNOT_BE_USED_TOGETHER
  21. | PHONE_NUMBER_CANNOT_BE_OPTED_IN
  22. | PHONE_NUMBER_CANNOT_BE_RELEASED
  23. | PRICE_OVER_THRESHOLD
  24. | RESOURCE_NOT_ACCESSIBLE
  25. | REQUESTED_SPEND_LIMIT_HIGHER_THAN_SERVICE_LIMIT
  26. | SENDER_ID_NOT_REGISTERED
  27. | SENDER_ID_NOT_SUPPORTED
  28. | SENDER_ID_REQUIRES_REGISTRATION
  29. | TWO_WAY_TOPIC_NOT_PRESENT
  30. | TWO_WAY_NOT_ENABLED
  31. | TWO_WAY_NOT_SUPPORTED_IN_COUNTRY
  32. | TWO_WAY_NOT_SUPPORTED_IN_REGION
  33. | TWO_WAY_CHANNEL_NOT_PRESENT
  34. | UNKNOWN_REGISTRATION_FIELD
  35. | UNKNOWN_REGISTRATION_SECTION
  36. | UNKNOWN_REGISTRATION_TYPE
  37. | UNKNOWN_REGISTRATION_VERSION
  38. | UNKNOWN_OPERATION
  39. | REGISTRATION_FIELD_CANNOT_BE_DELETED
  40. | VERIFICATION_CODE_MISMATCH
  41. | VOICE_CAPABILITY_NOT_AVAILABLE
  42. | UNSPECIFIED_PARAMETER_NOT_SUPPORTED
  43. | OTHER
type nonrec validation_exception_field = {
  1. message : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The message associated with the validation exception with information to help determine its cause.

    *)
  2. name : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The name of the field.

    *)
}

The field associated with the validation exception.

type nonrec validation_exception_field_list = validation_exception_field list
type nonrec validation_exception = {
  1. fields : validation_exception_field_list option;
    (*

    The field that failed validation.

    *)
  2. reason : validation_exception_reason option;
    (*

    The reason for the exception.

    *)
  3. message : Smaws_Lib.Smithy_api.Types.string_ option;
}

A validation exception for a field.

type nonrec throttling_exception = {
  1. message : Smaws_Lib.Smithy_api.Types.string_ option;
}

An error that occurred because too many requests were sent during a certain amount of time.

type nonrec resource_type =
  1. | ACCOUNT
  2. | PHONE_NUMBER
  3. | SENDER_ID
  4. | POOL
  5. | CONFIGURATION_SET
  6. | OPT_OUT_LIST
  7. | EVENT_DESTINATION
  8. | KEYWORD
  9. | OPTED_OUT_NUMBER
  10. | REGISTRATION
  11. | REGISTRATION_ATTACHMENT
  12. | VERIFIED_DESTINATION_NUMBER
  13. | PROTECT_CONFIGURATION
  14. | NOTIFY_CONFIGURATION
  15. | NOTIFY_TEMPLATE
  16. | MESSAGE_TEMPLATE
  17. | POLICY
  18. | MESSAGE
  19. | RCS_AGENT
type nonrec resource_not_found_exception = {
  1. resource_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier of the resource.

    *)
  2. resource_type : resource_type option;
    (*

    The type of resource that caused the exception.

    *)
  3. message : Smaws_Lib.Smithy_api.Types.string_ option;
}

A requested resource couldn't be found.

type nonrec internal_server_exception = {
  1. request_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier of the request.

    *)
  2. message : Smaws_Lib.Smithy_api.Types.string_ option;
}

The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.

type nonrec conflict_exception_reason =
  1. | CREATE_REGISTRATION_VERSION_NOT_ALLOWED
  2. | DELETION_PROTECTION_ENABLED
  3. | DESTINATION_PHONE_NUMBER_NOT_VERIFIED
  4. | DESTINATION_PHONE_NUMBER_OPTED_OUT
  5. | DISASSOCIATE_REGISTRATION_NOT_ALLOWED
  6. | DISCARD_REGISTRATION_VERSION_NOT_ALLOWED
  7. | EDIT_REGISTRATION_FIELD_VALUES_NOT_ALLOWED
  8. | EVENT_DESTINATION_MISMATCH
  9. | KEYWORD_MISMATCH
  10. | LAST_PHONE_NUMBER
  11. | NUMBER_CAPABILITIES_MISMATCH
  12. | MESSAGE_TYPE_MISMATCH
  13. | NO_ORIGINATION_IDENTITIES_FOUND
  14. | OPT_OUT_LIST_MISMATCH
  15. | PHONE_NUMBER_ASSOCIATED_TO_POOL
  16. | PHONE_NUMBER_ASSOCIATED_TO_REGISTRATION
  17. | PHONE_NUMBER_NOT_ASSOCIATED_TO_POOL
  18. | PHONE_NUMBER_NOT_IN_REGISTRATION_REGION
  19. | REGISTRATION_ALREADY_SUBMITTED
  20. | REGISTRATION_NOT_COMPLETE
  21. | RESOURCE_ALREADY_ASSOCIATED
  22. | SENDER_ID_ASSOCIATED_TO_POOL
  23. | RCS_AGENT_ASSOCIATED_TO_POOL
  24. | POOL_ASSOCIATED_TO_NOTIFY_CONFIGURATION
  25. | RESOURCE_ALREADY_EXISTS
  26. | RESOURCE_DELETION_NOT_ALLOWED
  27. | RESOURCE_MODIFICATION_NOT_ALLOWED
  28. | RESOURCE_NOT_ACTIVE
  29. | RESOURCE_NOT_EMPTY
  30. | SELF_MANAGED_OPT_OUTS_MISMATCH
  31. | SUBMIT_REGISTRATION_VERSION_NOT_ALLOWED
  32. | TWO_WAY_CONFIG_MISMATCH
  33. | VERIFICATION_CODE_EXPIRED
  34. | VERIFICATION_ALREADY_COMPLETE
  35. | PROTECT_CONFIGURATION_IS_ACCOUNT_DEFAULT
  36. | PROTECT_CONFIGURATION_ASSOCIATED_WITH_CONFIGURATION_SET
  37. | PROTECT_CONFIGURATION_NOT_ASSOCIATED_WITH_CONFIGURATION_SET
  38. | DESTINATION_COUNTRY_BLOCKED_BY_PROTECT_CONFIGURATION
  39. | DESTINATION_PHONE_NUMBER_BLOCKED_BY_PROTECT_NUMBER_OVERRIDE
  40. | RCS_AGENT_ALREADY_ASSOCIATED_TO_REGISTRATION_TYPE
  41. | NOTIFY_CONFIGURATION_NOT_ACTIVE
type nonrec conflict_exception = {
  1. resource_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier of the request.

    *)
  2. resource_type : resource_type option;
    (*

    The type of resource that caused the exception.

    *)
  3. reason : conflict_exception_reason option;
    (*

    The reason for the exception.

    *)
  4. message : Smaws_Lib.Smithy_api.Types.string_ option;
}

Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time or it could be that the requested action isn't valid for the current state or configuration of the resource.

type nonrec access_denied_exception_reason =
  1. | INSUFFICIENT_ACCOUNT_REPUTATION
  2. | ACCOUNT_DISABLED
type nonrec access_denied_exception = {
  1. reason : access_denied_exception_reason option;
    (*

    The reason for the exception.

    *)
  2. message : Smaws_Lib.Smithy_api.Types.string_ option;
}

The request was denied because you don't have sufficient permissions to access the resource.

type nonrec verified_destination_number_information = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the destination phone number was created, in UNIX epoch time format.

    *)
  2. rcs_agent_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier of the RCS agent associated with the verified destination number.

    *)
  3. status : verification_status;
    (*

    The status of the verified destination phone number.

    • PENDING: The phone number hasn't been verified yet.
    • VERIFIED: The phone number is verified and can receive messages.
    *)
  4. destination_phone_number : phone_number;
    (*

    The verified destination phone number, in E.164 format.

    *)
  5. verified_destination_number_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the verified destination phone number.

    *)
  6. verified_destination_number_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the verified destination phone number.

    *)
}

Provides information about the requested verified destintion phone number.

type nonrec verified_destination_number_information_list = verified_destination_number_information list
type nonrec verified_destination_number_id_list = verified_destination_number_id_or_arn list
type nonrec verified_destination_number_filter_name =
  1. | STATUS
  2. | RCS_AGENT_ID
type nonrec filter_value = string
type nonrec filter_value_list = filter_value list
type nonrec verified_destination_number_filter = {
  1. values : filter_value_list;
    (*

    An array of values to filter on.

    *)
  2. name : verified_destination_number_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The filter definition for filtering verified destination phone numbers that meets a specified criteria.

type nonrec verified_destination_number_filter_list = verified_destination_number_filter list
type nonrec verification_message_origination_identity = string
type nonrec verification_channel =
  1. | TEXT
  2. | VOICE
type nonrec sender_id = string
type nonrec iso_country_code = string
type nonrec message_type =
  1. | TRANSACTIONAL
  2. | PROMOTIONAL
type nonrec message_type_list = message_type list
type nonrec update_sender_id_result = {
  1. registration_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the registration.

    *)
  2. registered : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    True if the sender ID is registered..

    *)
  3. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    By default this is set to false. When set to true the sender ID can't be deleted.

    *)
  4. monthly_leasing_price : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The monthly price, in US dollars, to lease the sender ID.

    *)
  5. message_types : message_type_list;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  6. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  7. sender_id : sender_id;
    (*

    The sender ID that was updated.

    *)
  8. sender_id_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) associated with the SenderId.

    *)
}
type nonrec sender_id_or_arn = string
type nonrec update_sender_id_request = {
  1. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true the sender ID can't be deleted.

    *)
  2. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  3. sender_id : sender_id_or_arn;
    (*

    The sender ID to update.

    *)
}
type nonrec rcs_agent_status =
  1. | CREATED
  2. | PENDING
  3. | TESTING
  4. | PARTIAL
  5. | ACTIVE
  6. | DELETED
type nonrec opt_out_list_name = string
type nonrec two_way_channel_arn = string
type nonrec iam_role_arn = string
type nonrec two_way_media_s3_bucket_name = string
type nonrec two_way_media_s3_key_prefix = string
type nonrec rcs_event_type = string
type nonrec rcs_event_type_list = rcs_event_type list
type nonrec update_rcs_agent_result = {
  1. two_way_rcs_events_enabled : rcs_event_type_list option;
    (*

    The list of RCS event types enabled for two-way messaging on the agent.

    *)
  2. two_way_media_s3_role : iam_role_arn option;
    (*

    The ARN of the IAM role used to write inbound RCS media files to the S3 bucket.

    *)
  3. two_way_media_s3_key_prefix : two_way_media_s3_key_prefix option;
    (*

    The key prefix used for inbound RCS media objects in the S3 bucket.

    *)
  4. two_way_media_s3_bucket_name : two_way_media_s3_bucket_name option;
    (*

    The name of the S3 bucket where inbound RCS media files are stored.

    *)
  5. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  6. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  7. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  8. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    By default this is set to false. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  9. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList associated with the RCS agent.

    *)
  10. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true deletion protection is enabled. By default this is set to false.

    *)
  11. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the RCS agent was created, in UNIX epoch time format.

    *)
  12. status : rcs_agent_status;
    (*

    The current status of the RCS agent.

    *)
  13. rcs_agent_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the RCS agent.

    *)
  14. rcs_agent_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) of the updated RCS agent.

    *)
}
type nonrec rcs_agent_id_or_arn = string
type nonrec opt_out_list_name_or_arn = string
type nonrec two_way_media_s3_bucket_name_or_unset = string
type nonrec iam_role_arn_or_unset = string
type nonrec update_rcs_agent_request = {
  1. two_way_rcs_events_enabled : rcs_event_type_list option;
    (*

    The list of RCS event types to enable for two-way messaging. Pass an empty list to disable all event types. The special value ALL enables all current and future event types and must be the sole element if used.

    *)
  2. two_way_media_s3_role : iam_role_arn_or_unset option;
    (*

    The ARN of the IAM role used to write inbound RCS media files to the S3 bucket. The role must have s3:PutObject permission on the bucket and a trust policy allowing sms-voice.amazonaws.com to assume it. To remove the media configuration, pass the sentinel value UNSET_RCS_MEDIA_CONFIGURATION for both this field and TwoWayMediaS3BucketName.

    *)
  3. two_way_media_s3_key_prefix : two_way_media_s3_key_prefix option;
    (*

    The key prefix used for inbound RCS media objects in the S3 bucket.

    *)
  4. two_way_media_s3_bucket_name : two_way_media_s3_bucket_name_or_unset option;
    (*

    The name of the S3 bucket where inbound RCS media files are stored. Two-way messaging must be enabled on the agent. To remove the media configuration, pass the sentinel value UNSET_RCS_MEDIA_CONFIGURATION for both this field and TwoWayMediaS3Role.

    *)
  5. two_way_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  6. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  7. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  8. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  9. opt_out_list_name : opt_out_list_name_or_arn option;
    (*

    The OptOutList to associate with the RCS agent. Valid values are either OptOutListName or OptOutListArn.

    *)
  10. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true the RCS agent can't be deleted.

    *)
  11. rcs_agent_id : rcs_agent_id_or_arn;
    (*

    The unique identifier of the RCS agent to update. You can use either the RcsAgentId or RcsAgentArn.

    *)
}
type nonrec protect_configuration_arn = string
type nonrec protect_configuration_id = string
type nonrec update_protect_configuration_result = {
  1. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.

    *)
  2. account_default : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    This is true if the protect configuration is set as your account default protect configuration.

    *)
  3. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the protect configuration was created, in UNIX epoch time format.

    *)
  4. protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier for the protect configuration.

    *)
  5. protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the protect configuration.

    *)
}
type nonrec protect_configuration_id_or_arn = string
type nonrec update_protect_configuration_request = {
  1. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    When set to true deletion protection is enabled. By default this is set to false.

    *)
  2. protect_configuration_id : protect_configuration_id_or_arn;
    (*

    The unique identifier for the protect configuration.

    *)
}
type nonrec number_capability =
  1. | SMS
  2. | VOICE
  3. | MMS
  4. | RCS
type nonrec protect_status =
  1. | ALLOW
  2. | BLOCK
  3. | MONITOR
  4. | FILTER
type nonrec protect_configuration_country_rule_set_information = {
  1. protect_status : protect_status;
    (*

    The types of protection that can be used.

    *)
}

The types of statuses that can be used.

type nonrec protect_configuration_country_rule_set = (iso_country_code * protect_configuration_country_rule_set_information) list
type nonrec update_protect_configuration_country_rule_set_result = {
  1. country_rule_set : protect_configuration_country_rule_set;
    (*

    An array of ProtectConfigurationCountryRuleSetInformation containing the rules for the NumberCapability.

    *)
  2. number_capability : number_capability;
    (*

    The number capability that was updated

    *)
  3. protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier for the protect configuration.

    *)
  4. protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the protect configuration.

    *)
}
type nonrec update_protect_configuration_country_rule_set_request = {
  1. country_rule_set_updates : protect_configuration_country_rule_set;
    (*

    A map of ProtectConfigurationCountryRuleSetInformation objects that contain the details for the requested NumberCapability. The Key is the two-letter ISO country code. For a list of supported ISO country codes, see Supported countries and regions (SMS channel) in the End User Messaging SMS User Guide.

    For example, to set the United States as allowed and Canada as blocked, the CountryRuleSetUpdates would be formatted as: "CountryRuleSetUpdates": { "US" : { "ProtectStatus": "ALLOW" } "CA" : { "ProtectStatus": "BLOCK" } }

    *)
  2. number_capability : number_capability;
    (*

    The number capability to apply the CountryRuleSetUpdates updates to.

    *)
  3. protect_configuration_id : protect_configuration_id_or_arn;
    (*

    The unique identifier for the protect configuration.

    *)
}
type nonrec pool_status =
  1. | CREATING
  2. | ACTIVE
  3. | DELETING
type nonrec update_pool_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the pool was created, in UNIX epoch time format.

    *)
  2. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to true the pool can't be deleted.

    *)
  3. shared_routes_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    Indicates whether shared routes are enabled for the pool.

    *)
  4. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList associated with the pool.

    *)
  5. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  6. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  7. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  8. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  9. message_type : message_type option;
    (*

    The type of message for the pool to use.

    *)
  10. status : pool_status option;
    (*

    The current status of the pool update request.

    *)
  11. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier of the pool.

    *)
  12. pool_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The ARN of the pool.

    *)
}
type nonrec pool_id_or_arn = string
type nonrec update_pool_request = {
  1. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    When set to true the pool can't be deleted.

    *)
  2. shared_routes_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    Indicates whether shared routes are enabled for the pool.

    *)
  3. opt_out_list_name : opt_out_list_name_or_arn option;
    (*

    The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
  4. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  5. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  6. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  7. two_way_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  8. pool_id : pool_id_or_arn;
    (*

    The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec number_status =
  1. | PENDING
  2. | ACTIVE
  3. | ASSOCIATING
  4. | DISASSOCIATING
  5. | DELETED
type nonrec number_capability_list = number_capability list
type nonrec number_type =
  1. | SHORT_CODE
  2. | LONG_CODE
  3. | TOLL_FREE
  4. | TEN_DLC
  5. | SIMULATOR
type nonrec update_phone_number_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the phone number was created, in UNIX epoch time format.

    *)
  2. registration_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the registration.

    *)
  3. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to true the phone number can't be deleted.

    *)
  4. international_sending_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to true the international sending of phone number is Enabled.

    *)
  5. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList associated with the phone number.

    *)
  6. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    This is true if self managed opt-out are enabled.

    *)
  7. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  8. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  9. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  10. monthly_leasing_price : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The monthly leasing price of the phone number, in US dollars.

    *)
  11. number_type : number_type option;
    (*

    The type of number that was requested.

    *)
  12. number_capabilities : number_capability_list option;
    (*

    Specifies if the number could be used for text messages, voice or both.

    *)
  13. message_type : message_type option;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  14. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  15. status : number_status option;
    (*

    The current status of the request.

    *)
  16. phone_number : phone_number option;
    (*

    The phone number that was updated.

    *)
  17. phone_number_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier of the phone number.

    *)
  18. phone_number_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the updated phone number.

    *)
}
type nonrec phone_number_id_or_arn = string
type nonrec update_phone_number_request = {
  1. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true the phone number can't be deleted.

    *)
  2. international_sending_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true the international sending of phone number is Enabled.

    *)
  3. opt_out_list_name : opt_out_list_name_or_arn option;
    (*

    The OptOutList to add the phone number to. You can use either the opt out list name or the opt out list ARN.

    *)
  4. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  5. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  6. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  7. two_way_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  8. phone_number_id : phone_number_id_or_arn;
    (*

    The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec notify_configuration_arn = string
type nonrec notify_configuration_id = string
type nonrec notify_configuration_display_name = string
type nonrec notify_configuration_use_case =
  1. | CODE_VERIFICATION
type nonrec notify_template_id = string
type nonrec iso_country_code_list = iso_country_code list
type nonrec notify_enabled_channels_list = number_capability list
type nonrec notify_configuration_tier =
  1. | BASIC
  2. | ADVANCED
type nonrec tier_upgrade_status =
  1. | BASIC
  2. | PENDING_UPGRADE
  3. | ADVANCED
  4. | REJECTED
type nonrec notify_configuration_status =
  1. | PENDING
  2. | ACTIVE
  3. | REJECTED
  4. | REQUIRES_VERIFICATION
type nonrec update_notify_configuration_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the notify configuration was created, in UNIX epoch time format.

    *)
  2. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true deletion protection is enabled. By default this is set to false.

    *)
  3. rejection_reason : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The reason the notify configuration was rejected, if applicable.

    *)
  4. status : notify_configuration_status;
    (*

    The current status of the notify configuration.

    *)
  5. tier_upgrade_status : tier_upgrade_status;
    (*

    The tier upgrade status of the notify configuration.

    *)
  6. tier : notify_configuration_tier;
    (*

    The tier of the notify configuration.

    *)
  7. enabled_channels : notify_enabled_channels_list;
    (*

    An array of channels enabled for the notify configuration. Supported values include SMS and VOICE.

    *)
  8. enabled_countries : iso_country_code_list option;
    (*

    An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.

    *)
  9. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The identifier of the pool associated with the notify configuration.

    *)
  10. default_template_id : notify_template_id option;
    (*

    The default template identifier associated with the notify configuration.

    *)
  11. use_case : notify_configuration_use_case;
    (*

    The use case for the notify configuration.

    *)
  12. display_name : notify_configuration_display_name;
    (*

    The display name associated with the notify configuration.

    *)
  13. notify_configuration_id : notify_configuration_id;
    (*

    The unique identifier for the notify configuration.

    *)
  14. notify_configuration_arn : notify_configuration_arn;
    (*

    The Amazon Resource Name (ARN) for the notify configuration.

    *)
}
type nonrec notify_configuration_id_or_arn = string
type nonrec notify_pool_id_or_unset = string
type nonrec update_notify_configuration_request = {
  1. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    When set to true the notify configuration can't be deleted.

    *)
  2. enabled_channels : notify_enabled_channels_list option;
    (*

    An array of channels to enable for the notify configuration. Supported values include SMS and VOICE.

    *)
  3. enabled_countries : iso_country_code_list option;
    (*

    An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.

    *)
  4. pool_id : notify_pool_id_or_unset option;
    (*

    The pool identifier or Amazon Resource Name (ARN) to associate with the notify configuration. Pass the special value UNSET_DEFAULT_POOL_FOR_NOTIFY to clear the current default pool from the notify configuration.

    *)
  5. default_template_id : notify_template_id option;
    (*

    The default template identifier to associate with the notify configuration. If specified, this template is used when sending messages without an explicit template identifier. Pass the special value UNSET_DEFAULT_TEMPLATE to clear the current default template from the notify configuration.

    *)
  6. notify_configuration_id : notify_configuration_id_or_arn;
    (*

    The identifier of the notify configuration to update. The NotifyConfigurationId can be found using the DescribeNotifyConfigurations operation.

    *)
}
type nonrec configuration_set_name = string
type nonrec event_destination_name = string
type nonrec event_type =
  1. | ALL
  2. | TEXT_ALL
  3. | TEXT_SENT
  4. | TEXT_PENDING
  5. | TEXT_QUEUED
  6. | TEXT_SUCCESSFUL
  7. | TEXT_DELIVERED
  8. | TEXT_INVALID
  9. | TEXT_INVALID_MESSAGE
  10. | TEXT_UNREACHABLE
  11. | TEXT_CARRIER_UNREACHABLE
  12. | TEXT_BLOCKED
  13. | TEXT_CARRIER_BLOCKED
  14. | TEXT_SPAM
  15. | TEXT_UNKNOWN
  16. | TEXT_TTL_EXPIRED
  17. | TEXT_PROTECT_BLOCKED
  18. | VOICE_ALL
  19. | VOICE_INITIATED
  20. | VOICE_RINGING
  21. | VOICE_ANSWERED
  22. | VOICE_COMPLETED
  23. | VOICE_BUSY
  24. | VOICE_NO_ANSWER
  25. | VOICE_FAILED
  26. | VOICE_TTL_EXPIRED
  27. | MEDIA_ALL
  28. | MEDIA_PENDING
  29. | MEDIA_QUEUED
  30. | MEDIA_SUCCESSFUL
  31. | MEDIA_DELIVERED
  32. | MEDIA_INVALID
  33. | MEDIA_INVALID_MESSAGE
  34. | MEDIA_UNREACHABLE
  35. | MEDIA_CARRIER_UNREACHABLE
  36. | MEDIA_BLOCKED
  37. | MEDIA_CARRIER_BLOCKED
  38. | MEDIA_SPAM
  39. | MEDIA_UNKNOWN
  40. | MEDIA_TTL_EXPIRED
  41. | MEDIA_FILE_INACCESSIBLE
  42. | MEDIA_FILE_TYPE_UNSUPPORTED
  43. | MEDIA_FILE_SIZE_EXCEEDED
  44. | RCS_ALL
  45. | RCS_QUEUED
  46. | RCS_SENT
  47. | RCS_DELIVERED
  48. | RCS_READ
  49. | RCS_FAILED
  50. | RCS_TTL_EXPIRED
  51. | RCS_PROTECT_BLOCKED
  52. | RCS_FALLEN_BACK_TO_SMS
type nonrec event_type_list = event_type list
type nonrec log_group_arn = string
type nonrec cloud_watch_logs_destination = {
  1. log_group_arn : log_group_arn;
    (*

    The name of the Amazon CloudWatch log group that you want to record events in.

    *)
  2. iam_role_arn : iam_role_arn;
    (*

    The Amazon Resource Name (ARN) of an Identity and Access Management role that is able to write event data to an Amazon CloudWatch destination.

    *)
}

Contains the destination configuration to use when publishing message sending events.

type nonrec delivery_stream_arn = string
type nonrec kinesis_firehose_destination = {
  1. delivery_stream_arn : delivery_stream_arn;
    (*

    The Amazon Resource Name (ARN) of the delivery stream.

    *)
  2. iam_role_arn : iam_role_arn;
    (*

    The ARN of an Identity and Access Management role that is able to write event data to an Amazon Data Firehose destination.

    *)
}

Contains the delivery stream Amazon Resource Name (ARN), and the ARN of the Identity and Access Management (IAM) role associated with a Firehose event destination.

Event destinations, such as Firehose, are associated with configuration sets, which enable you to publish message sending events.

type nonrec sns_topic_arn = string
type nonrec sns_destination = {
  1. topic_arn : sns_topic_arn;
    (*

    The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.

    *)
}

An object that defines an Amazon SNS destination for events. You can use Amazon SNS to send notification when certain events occur.

type nonrec event_destination = {
  1. sns_destination : sns_destination option;
    (*

    An object that contains information about an event destination that sends logging events to Amazon SNS.

    *)
  2. kinesis_firehose_destination : kinesis_firehose_destination option;
    (*

    An object that contains information about an event destination for logging to Amazon Data Firehose.

    *)
  3. cloud_watch_logs_destination : cloud_watch_logs_destination option;
    (*

    An object that contains information about an event destination that sends logging events to Amazon CloudWatch logs.

    *)
  4. matching_event_types : event_type_list;
    (*

    An array of event types that determine which events to log.

    The TEXT_SENT event type is not supported.

    *)
  5. enabled : Smaws_Lib.Smithy_api.Types.boolean_;
    (*

    When set to true events will be logged.

    *)
  6. event_destination_name : event_destination_name;
    (*

    The name of the EventDestination.

    *)
}

Contains information about an event destination.

Event destinations are associated with configuration sets, which enable you to publish message sending events to CloudWatch, Firehose, or Amazon SNS.

type nonrec update_event_destination_result = {
  1. event_destination : event_destination option;
    (*

    An EventDestination object containing the details of where events will be logged.

    *)
  2. configuration_set_name : configuration_set_name option;
    (*

    The name of the configuration set.

    *)
  3. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) for the ConfigurationSet that was updated.

    *)
}
type nonrec configuration_set_name_or_arn = string
type nonrec update_event_destination_request = {
  1. sns_destination : sns_destination option;
    (*

    An object that contains information about an event destination that sends data to Amazon SNS.

    *)
  2. kinesis_firehose_destination : kinesis_firehose_destination option;
    (*

    An object that contains information about an event destination for logging to Firehose.

    *)
  3. cloud_watch_logs_destination : cloud_watch_logs_destination option;
    (*

    An object that contains information about an event destination that sends data to CloudWatch Logs.

    *)
  4. matching_event_types : event_type_list option;
    (*

    An array of event types that determine which events to log.

    The TEXT_SENT event type is not supported.

    *)
  5. enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    When set to true logging is enabled.

    *)
  6. event_destination_name : event_destination_name;
    (*

    The name to use for the event destination.

    *)
  7. configuration_set_name : configuration_set_name_or_arn;
    (*

    The configuration set to update with the new event destination. Valid values for this can be the ConfigurationSetName or ConfigurationSetArn.

    *)
}
type nonrec untag_resource_result = unit
type nonrec amazon_resource_name = string
type nonrec tag_key = string
type nonrec tag_key_list = tag_key list
type nonrec untag_resource_request = {
  1. tag_keys : tag_key_list;
    (*

    An array of tag key values to unassociate with the resource.

    *)
  2. resource_arn : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec time_to_live = int
type nonrec text_value = string
type nonrec text_validation = {
  1. pattern : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The regular expression used to validate the text field.

    *)
  2. max_length : Smaws_Lib.Smithy_api.Types.integer;
    (*

    The maximum number of characters for the text field.

    *)
  3. min_length : Smaws_Lib.Smithy_api.Types.integer;
    (*

    The minimum number of characters for the text field.

    *)
}

Validation rules for a text field.

type nonrec text_message_origination_identity = string
type nonrec text_message_body = string
type nonrec testing_agent_status =
  1. | CREATED
  2. | PENDING
  3. | ACTIVE
type nonrec testing_agent_information = {
  1. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier of the registration associated with the testing agent.

    *)
  2. testing_agent_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the testing agent.

    *)
  3. status : testing_agent_status;
    (*

    The current status of the testing agent.

    *)
}

Contains details about the testing agent associated with an RCS agent.

type nonrec template_variable_type =
  1. | STRING
  2. | INTEGER
  3. | BOOLEAN
type nonrec template_variable_source =
  1. | CUSTOMER
  2. | SYSTEM
type nonrec template_variable_metadata = {
  1. source : template_variable_source option;
    (*

    The source of the variable, either CUSTOMER or SYSTEM.

    *)
  2. sample : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    A sample value for the variable.

    *)
  3. pattern : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The regex pattern the variable value must match.

    *)
  4. default_value : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The default value for the variable.

    *)
  5. max_value : Smaws_Lib.Smithy_api.Types.integer option;
    (*

    The maximum value for numeric variables.

    *)
  6. min_value : Smaws_Lib.Smithy_api.Types.integer option;
    (*

    The minimum value for numeric variables.

    *)
  7. max_length : Smaws_Lib.Smithy_api.Types.integer option;
    (*

    The maximum length for string variables.

    *)
  8. description : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    A description of the variable.

    *)
  9. required : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    Whether the variable is required.

    *)
  10. type_ : template_variable_type;
    (*

    The type of the variable.

    *)
}

Contains metadata about a template variable.

type nonrec template_variables_map = (Smaws_Lib.Smithy_api.Types.string_ * template_variable_metadata) list
type nonrec template_variable_value = string
type nonrec template_variable_name = string
type nonrec template_variable_substitution_map = (template_variable_name * template_variable_value) list
type nonrec template_content = string
type nonrec tag_value = string
type nonrec tag_resource_result = unit
type nonrec tag = {
  1. value : tag_value;
    (*

    The string value associated with the key of the tag.

    *)
  2. key : tag_key;
    (*

    The key identifier, or name, of the tag.

    *)
}

The list of tags to be added to the specified topic.

type nonrec non_empty_tag_list = tag list
type nonrec tag_resource_request = {
  1. tags : non_empty_tag_list;
    (*

    An array of key and value pair tags that are associated with the resource.

    *)
  2. resource_arn : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
}
type nonrec service_quota_exceeded_exception_reason =
  1. | ASSOCIATIONS_PER_REGISTRATION
  2. | CONFIGURATION_SETS_PER_ACCOUNT
  3. | DAILY_DESTINATION_CALL_LIMIT
  4. | DAILY_NOTIFY_TIER_MESSAGE_LIMIT
  5. | EVENT_DESTINATIONS_PER_CONFIGURATION_SET
  6. | KEYWORDS_PER_PHONE_NUMBER
  7. | KEYWORDS_PER_POOL
  8. | MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA
  9. | MONTHLY_SPEND_LIMIT_REACHED_FOR_NOTIFY
  10. | MONTHLY_SPEND_LIMIT_REACHED_FOR_RCS
  11. | MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT
  12. | MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE
  13. | NOTIFY_CONFIGURATIONS_PER_ACCOUNT
  14. | OPT_OUT_LISTS_PER_ACCOUNT
  15. | ORIGINATION_IDENTITIES_PER_POOL
  16. | PHONE_NUMBERS_PER_ACCOUNT
  17. | PHONE_NUMBERS_PER_REGISTRATION
  18. | POOLS_PER_ACCOUNT
  19. | RCS_AGENTS_PER_ACCOUNT
  20. | REGISTRATION_ATTACHMENTS_CREATED_PER_DAY
  21. | REGISTRATION_ATTACHMENTS_PER_ACCOUNT
  22. | REGISTRATION_VERSIONS_CREATED_PER_DAY
  23. | REGISTRATIONS_PER_ACCOUNT
  24. | SENDER_IDS_PER_ACCOUNT
  25. | TAGS_PER_RESOURCE
  26. | VERIFIED_DESTINATION_NUMBERS_PER_ACCOUNT
  27. | VERIFICATION_ATTEMPTS_PER_DAY
  28. | PROTECT_CONFIGURATIONS_PER_ACCOUNT
type nonrec service_quota_exceeded_exception = {
  1. reason : service_quota_exceeded_exception_reason option;
    (*

    The reason for the exception.

    *)
  2. message : Smaws_Lib.Smithy_api.Types.string_ option;
}

The request would cause a service quota to be exceeded.

type nonrec tag_list = tag list
type nonrec registration_association_behavior =
  1. | ASSOCIATE_BEFORE_SUBMIT
  2. | ASSOCIATE_ON_APPROVAL
  3. | ASSOCIATE_AFTER_COMPLETE
type nonrec registration_disassociation_behavior =
  1. | DISASSOCIATE_ALL_CLOSES_REGISTRATION
  2. | DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION
  3. | DELETE_REGISTRATION_DISASSOCIATES
type nonrec supported_association = {
  1. disassociation_behavior : registration_disassociation_behavior;
    (*

    The disassociation behavior.

    • DISASSOCIATE_ALL_CLOSES_REGISTRATION All origination identities must be disassociated from the registration before the registration can be closed.
    • DISASSOCIATE_ALL_ALLOWS_DELETE_REGISTRATION All origination identities must be disassociated from the registration before the registration can be deleted.
    • DELETE_REGISTRATION_DISASSOCIATES The registration can be deleted and all origination identities will be disasscoiated.
    *)
  2. association_behavior : registration_association_behavior;
    (*

    The association behavior.

    • ASSOCIATE_BEFORE_SUBMIT The origination identity has to be supplied when creating a registration.
    • ASSOCIATE_ON_APPROVAL This applies to all sender ID registrations. The sender ID will be automatically provisioned once the registration is approved.
    • ASSOCIATE_AFTER_COMPLETE This applies to phone number registrations when you must complete a registration first, then associate one or more phone numbers later. For example 10DLC campaigns and long codes.
    *)
  3. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  4. resource_type : Smaws_Lib.Smithy_api.Types.string_;
    (*

    Defines the behavior of when an origination identity and registration can be associated with each other.

    *)
}

The processing rules for when a registration can be associated with an origination identity and disassociated from an origination identity.

type nonrec supported_association_list = supported_association list
type nonrec registration_version_number = Smaws_Lib.CoreTypes.Int64.t
type nonrec registration_version_status =
  1. | DRAFT
  2. | SUBMITTED
  3. | AWS_REVIEWING
  4. | REVIEWING
  5. | REQUIRES_AUTHENTICATION
  6. | APPROVED
  7. | DISCARDED
  8. | DENIED
  9. | REVOKED
  10. | ARCHIVED
  11. | REQUIRES_OFFLINE_REVIEW
type nonrec registration_version_status_history = {
  1. archived_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the registration was in the archived state, in UNIX epoch time format.

    *)
  2. revoked_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the registration was in the revoked state, in UNIX epoch time format.

    *)
  3. denied_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the registration was in the denied state, in UNIX epoch time format.

    *)
  4. discarded_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the registration was in the discarded state, in UNIX epoch time format.

    *)
  5. approved_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the registration was in the approved state, in UNIX epoch time format.

    *)
  6. requires_authentication_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the registration was in the requires authentication state, in UNIX epoch time format.

    *)
  7. reviewing_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the registration was in the reviewing state, in UNIX epoch time format.

    *)
  8. aws_reviewing_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the registration was in the AWS reviewing state, in UNIX epoch time format.

    *)
  9. submitted_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the registration was in the submitted state, in UNIX epoch time format.

    *)
  10. draft_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the registration was in the draft state, in UNIX epoch time format.

    *)
}

The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.

type nonrec submit_registration_version_result = {
  1. aws_review : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    Indicates whether AWS review was requested for this registration submission.

    *)
  2. registration_version_status_history : registration_version_status_history;
    (*

    The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.

    *)
  3. registration_version_status : registration_version_status;
    (*

    The status of the registration version.

    • APPROVED: Your registration has been approved.
    • ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.
    • DENIED: You must fix your registration and resubmit it.
    • DISCARDED: You've abandon this version of their registration to start over with a new version.
    • DRAFT: The initial status of a registration version after it’s created.
    • REQUIRES_AUTHENTICATION: You need to complete email authentication.
    • REVIEWING: Your registration has been accepted and is being reviewed.
    • REVOKED: Your previously approved registration has been revoked.
    • SUBMITTED: Your registration has been submitted.
    *)
  4. version_number : registration_version_number;
    (*

    The version number of the registration.

    *)
  5. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  6. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}
type nonrec registration_id_or_arn = string
type nonrec submit_registration_version_request = {
  1. aws_review : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    Set to true to request AWS review of the registration. When enabled, AWS will perform additional validation and review of the registration submission before processing.

    *)
  2. registration_id : registration_id_or_arn;
    (*

    The unique identifier for the registration.

    *)
}
type nonrec string_list = Smaws_Lib.Smithy_api.Types.string_ list
type nonrec spend_limit_name =
  1. | TEXT_MESSAGE_MONTHLY_SPEND_LIMIT
  2. | VOICE_MESSAGE_MONTHLY_SPEND_LIMIT
  3. | MEDIA_MESSAGE_MONTHLY_SPEND_LIMIT
  4. | NOTIFY_MESSAGE_MONTHLY_SPEND_LIMIT
  5. | RCS_MESSAGE_MONTHLY_SPEND_LIMIT
type nonrec spend_limit = {
  1. overridden : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to True, the value that has been specified in the EnforcedLimit is used to determine the maximum amount in US dollars that can be spent to send messages each month, in US dollars.

    *)
  2. max_limit : Smaws_Lib.Smithy_api.Types.primitive_long;
    (*

    The maximum amount of money that you are able to spend to send messages each month, in US dollars.

    *)
  3. enforced_limit : Smaws_Lib.Smithy_api.Types.primitive_long;
    (*

    The maximum amount of money, in US dollars, that you want to be able to spend sending messages each month. This value has to be less than or equal to the amount in MaxLimit. To use this custom limit, Overridden must be set to true.

    *)
  4. name : spend_limit_name;
    (*

    The name for the SpendLimit.

    *)
}

Describes the current monthly spend limits for sending voice and text messages. For more information on increasing your monthly spend limit, see Requesting a spending quota increase in the End User Messaging SMS User Guide.

type nonrec spend_limit_list = spend_limit list
type nonrec monthly_limit = Smaws_Lib.CoreTypes.Int64.t
type nonrec set_voice_message_spend_limit_override_result = {
  1. monthly_limit : monthly_limit option;
    (*

    The current monthly limit to enforce on sending voice messages.

    *)
}
type nonrec set_voice_message_spend_limit_override_request = {
  1. monthly_limit : monthly_limit;
    (*

    The new monthly limit to enforce on voice messages.

    *)
}
type nonrec set_text_message_spend_limit_override_result = {
  1. monthly_limit : monthly_limit option;
    (*

    The current monthly limit to enforce on sending text messages.

    *)
}
type nonrec set_text_message_spend_limit_override_request = {
  1. monthly_limit : monthly_limit;
    (*

    The new monthly limit to enforce on text messages.

    *)
}
type nonrec set_rcs_message_spend_limit_override_result = {
  1. monthly_limit : monthly_limit option;
    (*

    The current monthly limit to enforce on RCS message spending.

    *)
}
type nonrec set_rcs_message_spend_limit_override_request = {
  1. monthly_limit : monthly_limit;
    (*

    The new monthly limit to enforce on RCS message spending.

    *)
}
type nonrec set_notify_message_spend_limit_override_result = {
  1. monthly_limit : monthly_limit option;
    (*

    The current monthly limit, in US dollars.

    *)
}
type nonrec set_notify_message_spend_limit_override_request = {
  1. monthly_limit : monthly_limit;
    (*

    The new monthly limit to enforce on notify messages.

    *)
}
type nonrec set_media_message_spend_limit_override_result = {
  1. monthly_limit : monthly_limit option;
    (*

    The current monthly limit to enforce on sending text messages.

    *)
}
type nonrec set_media_message_spend_limit_override_request = {
  1. monthly_limit : monthly_limit;
    (*

    The new monthly limit to enforce on text messages.

    *)
}
type nonrec set_default_sender_id_result = {
  1. sender_id : sender_id option;
    (*

    The default sender ID to set for the ConfigurationSet.

    *)
  2. configuration_set_name : configuration_set_name option;
    (*

    The name of the configuration set that was updated.

    *)
  3. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the updated configuration set.

    *)
}
type nonrec set_default_sender_id_request = {
  1. sender_id : sender_id;
    (*

    The current sender ID for the configuration set. When sending a text message to a destination country which supports SenderIds, the default sender ID on the configuration set specified on SendTextMessage will be used if no dedicated origination phone numbers or registered SenderIds are available in your account, instead of a generic sender ID, such as 'NOTICE'.

    *)
  2. configuration_set_name : configuration_set_name_or_arn;
    (*

    The configuration set to updated with a new default SenderId. This field can be the ConsigurationSetName or ConfigurationSetArn.

    *)
}
type nonrec set_default_message_type_result = {
  1. message_type : message_type option;
    (*

    The new default message type of the configuration set.

    *)
  2. configuration_set_name : configuration_set_name option;
    (*

    The name of the configuration set that was updated.

    *)
  3. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the updated configuration set.

    *)
}
type nonrec set_default_message_type_request = {
  1. message_type : message_type;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  2. configuration_set_name : configuration_set_name_or_arn;
    (*

    The configuration set to update with a new default message type. This field can be the ConsigurationSetName or ConfigurationSetArn.

    *)
}
type nonrec set_default_message_feedback_enabled_result = {
  1. message_feedback_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    True if message feedback is enabled.

    *)
  2. configuration_set_name : configuration_set_name option;
    (*

    The name of the configuration.

    *)
  3. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The arn of the configuration set.

    *)
}
type nonrec set_default_message_feedback_enabled_request = {
  1. message_feedback_enabled : Smaws_Lib.Smithy_api.Types.boolean_;
    (*

    Set to true to enable message feedback.

    *)
  2. configuration_set_name : configuration_set_name_or_arn;
    (*

    The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

    *)
}
type nonrec set_account_default_protect_configuration_result = {
  1. default_protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier of the account default protect configuration.

    *)
  2. default_protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the account default protect configuration.

    *)
}
type nonrec set_account_default_protect_configuration_request = {
  1. protect_configuration_id : protect_configuration_id_or_arn;
    (*

    The unique identifier for the protect configuration.

    *)
}
type nonrec sender_id_and_country = {
  1. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  2. sender_id : sender_id_or_arn;
    (*

    The unique identifier of the sender.

    *)
}

The alphanumeric sender ID in a specific country that you want to describe. For more information on sender IDs see Requesting sender IDs in the End User Messaging SMS User Guide.

type nonrec sender_id_list = sender_id_and_country list
type nonrec sender_id_information = {
  1. registration_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the registration.

    *)
  2. registered : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    True if the sender ID is registered.

    *)
  3. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    By default this is set to false. When set to true the sender ID can't be deleted.

    *)
  4. monthly_leasing_price : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The monthly leasing price, in US dollars.

    *)
  5. message_types : message_type_list;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  6. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  7. sender_id : sender_id;
    (*

    The alphanumeric sender ID in a specific country that you'd like to describe.

    *)
  8. sender_id_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) associated with the SenderId.

    *)
}

The information for all SenderIds in an Amazon Web Services account.

type nonrec sender_id_information_list = sender_id_information list
type nonrec sender_id_filter_name =
  1. | SENDER_ID
  2. | ISO_COUNTRY_CODE
  3. | MESSAGE_TYPE
  4. | DELETION_PROTECTION_ENABLED
  5. | REGISTERED
type nonrec sender_id_filter = {
  1. values : filter_value_list;
    (*

    An array of values to filter for.

    *)
  2. name : sender_id_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The information for a sender ID that meets a specified criteria.

type nonrec sender_id_filter_list = sender_id_filter list
type nonrec send_voice_message_result = {
  1. message_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the message.

    *)
}
type nonrec max_price = string
type nonrec context_value = string
type nonrec context_key = string
type nonrec context_map = (context_key * context_value) list
type nonrec send_voice_message_request = {
  1. message_feedback_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.

    *)
  2. protect_configuration_id : protect_configuration_id_or_arn option;
    (*

    The unique identifier for the protect configuration.

    *)
  3. dry_run : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to true, the message is checked and validated, but isn't sent to the end recipient.

    *)
  4. context : context_map option;
    (*

    You can specify custom data in this field. If you do, that data is logged to the event destination.

    *)
  5. time_to_live : time_to_live option;
    (*

    How long the voice message is valid for. By default this is 72 hours.

    *)
  6. max_price_per_minute : max_price option;
    (*

    The maximum amount to spend per voice message, in US dollars.

    *)
  7. configuration_set_name : configuration_set_name_or_arn option;
    (*

    The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

    *)
  8. voice_id : voice_id option;
    (*

    The voice for the Amazon Polly service to use. By default this is set to "MATTHEW".

    *)
  9. message_body_text_type : voice_message_body_text_type option;
    (*

    Specifies if the MessageBody field contains text or speech synthesis markup language (SSML).

    • TEXT: This is the default value. When used the maximum character limit is 3000.
    • SSML: When used the maximum character limit is 6000 including SSML tagging.
    *)
  10. message_body : voice_message_body option;
    (*

    The text to convert to a voice message.

    *)
  11. origination_identity : voice_message_origination_identity;
    (*

    The origination identity to use for the voice call. This can be the PhoneNumber, PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
  12. destination_phone_number : phone_number;
    (*

    The destination phone number in E.164 format.

    *)
}
type nonrec send_text_message_result = {
  1. message_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the message.

    *)
}
type nonrec keyword = string
type nonrec destination_country_parameter_value = string
type nonrec destination_country_parameter_key =
  1. | IN_TEMPLATE_ID
  2. | IN_ENTITY_ID
type nonrec destination_country_parameters = (destination_country_parameter_key * destination_country_parameter_value) list
type nonrec send_text_message_request = {
  1. message_feedback_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.

    *)
  2. protect_configuration_id : protect_configuration_id_or_arn option;
    (*

    The unique identifier for the protect configuration.

    *)
  3. dry_run : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to true, the message is checked and validated, but isn't sent to the end recipient. You are not charged for using DryRun.

    The Message Parts per Second (MPS) limit when using DryRun is five. If your origination identity has a lower MPS limit then the lower MPS limit is used. For more information about MPS limits, see Message Parts per Second (MPS) limits in the End User Messaging SMS User Guide..

    *)
  4. destination_country_parameters : destination_country_parameters option;
    (*

    This field is used for any country-specific registration requirements. Currently, this setting is only used when you send messages to recipients in India using a sender ID. For more information see Special requirements for sending SMS messages to recipients in India.

    • IN_ENTITY_ID The entity ID or Principal Entity (PE) ID that you received after completing the sender ID registration process.
    • IN_TEMPLATE_ID The template ID that you received after completing the sender ID registration process.

      Make sure that the Template ID that you specify matches your message template exactly. If your message doesn't match the template that you provided during the registration process, the mobile carriers might reject your message.

    *)
  5. context : context_map option;
    (*

    You can specify custom data in this field. If you do, that data is logged to the event destination.

    *)
  6. time_to_live : time_to_live option;
    (*

    How long the text message is valid for, in seconds. By default this is 72 hours. If the messages isn't handed off before the TTL expires we stop attempting to hand off the message and return TTL_EXPIRED event.

    *)
  7. max_price : max_price option;
    (*

    The maximum amount that you want to spend, in US dollars, per each text message. If the calculated amount to send the text message is greater than MaxPrice, the message is not sent and an error is returned.

    *)
  8. configuration_set_name : configuration_set_name_or_arn option;
    (*

    The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

    *)
  9. keyword : keyword option;
    (*

    When you register a short code in the US, you must specify a program name. If you don’t have a US short code, omit this attribute.

    *)
  10. message_type : message_type option;
    (*

    The type of message. Valid values are for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  11. message_body : text_message_body option;
    (*

    The body of the text message.

    *)
  12. origination_identity : text_message_origination_identity option;
    (*

    The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, RcsAgentId, RcsAgentArn, SenderId, SenderIdArn, PoolId, or PoolArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
  13. destination_phone_number : phone_number;
    (*

    The destination phone number in E.164 format.

    *)
}
type nonrec send_rcs_message_result = {
  1. message_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the message.

    *)
}
type nonrec rcs_message_origination_identity = string
type nonrec rcs_text_body = string
type nonrec rcs_text_message = {
  1. body : rcs_text_body;
    (*

    The text body of the RCS message. Maximum 3072 characters.

    *)
}

A plain text RCS message body.

type nonrec rcs_media_url = string
type nonrec rcs_file_message = {
  1. thumbnail_url : rcs_media_url option;
    (*

    The S3 URI of an optional thumbnail image for the media file, in the format s3://bucket-name/key. Maximum 2000 characters.

    *)
  2. file_url : rcs_media_url;
    (*

    The S3 URI of the media file to send, in the format s3://bucket-name/key. The service downloads the file from your S3 bucket, rehosts it, and generates a presigned URL for the aggregator. Maximum 2000 characters.

    *)
}

A file message containing a media file (image, video, audio, or PDF) with an optional thumbnail.

type nonrec rcs_card_title = string
type nonrec rcs_card_description = string
type nonrec rcs_card_media = {
  1. height : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The display height of the media in the card. Valid values are SHORT, MEDIUM, and TALL.

    *)
  2. thumbnail_url : rcs_media_url option;
    (*

    The S3 URI of an optional thumbnail image for the card media. Maximum 2000 characters.

    *)
  3. file_url : rcs_media_url;
    (*

    The S3 URI of the media file for the card, in the format s3://bucket-name/key. Maximum 2000 characters.

    *)
}

The media content of a rich card, including the file URL, optional thumbnail, and display height.

type nonrec rcs_suggested_action_text = string
type nonrec rcs_postback_data = string
type nonrec rcs_reply_action = {
  1. postback_data : rcs_postback_data;
    (*

    The postback data sent to your webhook when the user taps this reply. Maximum 2048 characters.

    *)
  2. text : rcs_suggested_action_text;
    (*

    The display text of the suggested reply. Maximum 25 characters.

    *)
}

A suggested reply action that sends predefined text and postback data when tapped by the recipient.

type nonrec rcs_open_url_value = string
type nonrec rcs_open_url_action = {
  1. webview_view_mode : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The display mode of the webview. Valid values are FULL, HALF, and TALL. Only applicable when Application is WEBVIEW.

    *)
  2. application : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    How to open the URL. BROWSER opens in the device's default browser. WEBVIEW opens in an in-app webview.

    *)
  3. url : rcs_open_url_value;
    (*

    The URL to open. Must start with https://. Maximum 2048 characters.

    *)
  4. postback_data : rcs_postback_data;
    (*

    The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.

    *)
  5. text : rcs_suggested_action_text;
    (*

    The display text of the action. Maximum 25 characters.

    *)
}

A suggested action that opens a URL in the recipient's browser or an in-app webview.

type nonrec rcs_dial_phone_action = {
  1. phone_number : phone_number;
    (*

    The phone number to dial in E.164 format.

    *)
  2. postback_data : rcs_postback_data;
    (*

    The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.

    *)
  3. text : rcs_suggested_action_text;
    (*

    The display text of the action. Maximum 25 characters.

    *)
}

A suggested action that initiates a phone call to a specified number when tapped by the recipient.

type nonrec rcs_location_label = string
type nonrec rcs_show_location_action = {
  1. label : rcs_location_label option;
    (*

    An optional label for the location pin. Maximum 100 characters.

    *)
  2. longitude : Smaws_Lib.Smithy_api.Types.double;
    (*

    The longitude of the location. Valid values are -180 to 180.

    *)
  3. latitude : Smaws_Lib.Smithy_api.Types.double;
    (*

    The latitude of the location. Valid values are -90 to 90.

    *)
  4. postback_data : rcs_postback_data;
    (*

    The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.

    *)
  5. text : rcs_suggested_action_text;
    (*

    The display text of the action. Maximum 25 characters.

    *)
}

A suggested action that shows a location on a map when tapped by the recipient.

type nonrec rcs_request_location_action = {
  1. postback_data : rcs_postback_data;
    (*

    The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.

    *)
  2. text : rcs_suggested_action_text;
    (*

    The display text of the action. Maximum 25 characters.

    *)
}

A suggested action that requests the recipient's current location.

type nonrec rcs_calendar_event_title = string
type nonrec rcs_calendar_event_description = string
type nonrec rcs_create_calendar_event_action = {
  1. description : rcs_calendar_event_description option;
    (*

    An optional description for the calendar event. Maximum 500 characters.

    *)
  2. end_time : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The end time of the calendar event in ISO 8601 format.

    *)
  3. start_time : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The start time of the calendar event in ISO 8601 format.

    *)
  4. title : rcs_calendar_event_title;
    (*

    The title of the calendar event. Maximum 100 characters.

    *)
  5. postback_data : rcs_postback_data;
    (*

    The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.

    *)
  6. text : rcs_suggested_action_text;
    (*

    The display text of the action. Maximum 25 characters.

    *)
}

A suggested action that creates a calendar event on the recipient's device.

type nonrec rcs_suggested_action =
  1. | CreateCalendarEvent of rcs_create_calendar_event_action
    (*

    A suggested action that creates a calendar event on the user's device.

    *)
  2. | RequestLocation of rcs_request_location_action
    (*

    A suggested action that requests the user's current location.

    *)
  3. | ShowLocation of rcs_show_location_action
    (*

    A suggested action that shows a location on a map.

    *)
  4. | DialPhone of rcs_dial_phone_action
    (*

    A suggested action that initiates a phone call to the specified number.

    *)
  5. | OpenUrl of rcs_open_url_action
    (*

    A suggested action that opens a URL in the user's browser or a webview.

    *)
  6. | Reply of rcs_reply_action
    (*

    A suggested reply that sends predefined text and postback data when tapped.

    *)

A suggested action displayed to the RCS message recipient. Can be a reply, open URL, dial phone, show location, request location, or create calendar event.

type nonrec rcs_card_suggested_action_list = rcs_suggested_action list
type nonrec rcs_card_content = {
  1. suggestions : rcs_card_suggested_action_list option;
    (*

    Card-level suggested actions. Maximum 4 suggestions per card.

    *)
  2. media : rcs_card_media option;
    (*

    The media content of the card, including the file URL, optional thumbnail, and display height.

    *)
  3. description : rcs_card_description option;
    (*

    The description text of the card. Maximum 2000 characters.

    *)
  4. title : rcs_card_title option;
    (*

    The title of the card. Maximum 200 characters.

    *)
}

The content of a rich card, including title, description, media, and card-level suggested actions.

type nonrec rcs_standalone_card = {
  1. card_content : rcs_card_content;
    (*

    The content of the rich card, including title, description, media, and card-level suggested actions.

    *)
  2. thumbnail_image_alignment : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The alignment of the thumbnail image in a horizontal card. Valid values are LEFT and RIGHT. Only applicable when CardOrientation is HORIZONTAL.

    *)
  3. card_orientation : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The orientation of the rich card. Valid values are HORIZONTAL and VERTICAL.

    *)
}

A standalone rich card with media, title, description, and suggested actions.

The media content of a carousel card. Display height is restricted to SHORT or MEDIUM (TALL is not supported in carousels).

The content of a carousel card, including title, description, media, and card-level suggested actions. Media height is restricted to SHORT or MEDIUM.

A carousel of 2 to 10 scrollable rich cards.

type nonrec rcs_content =
  1. | Carousel of rcs_carousel
    (*

    A carousel of 2 to 10 scrollable cards, each with media, title, description, and suggested actions.

    *)
  2. | RichCard of rcs_standalone_card
    (*

    A standalone rich card with media, title, description, and suggested actions.

    *)
  3. | FileMessage of rcs_file_message
    (*

    A file message containing a media file (image, video, audio, or PDF) with an optional thumbnail.

    *)
  4. | TextMessage of rcs_text_message
    (*

    A plain text RCS message.

    *)

The message body of an RCS message. Exactly one content type must be specified.

type nonrec rcs_suggested_action_list = rcs_suggested_action list
type nonrec rcs_message_content = {
  1. suggestions : rcs_suggested_action_list option;
    (*

    Message-level suggested actions displayed to the recipient. Maximum 11 suggestions per message.

    *)
  2. content : rcs_content;
    (*

    The content of the RCS message. Exactly one content type must be specified: TextMessage, FileMessage, RichCard, or Carousel.

    *)
}

The content of an RCS message, containing the message body (text, file, rich card, or carousel) and optional message-level suggested actions.

type nonrec rcs_time_to_live = int
type nonrec rcs_message_traffic_type = string
type nonrec rcs_fallback_channel =
  1. | SMS
  2. | MMS
type nonrec rcs_fallback_message_body = string
type nonrec media_url_value = string
type nonrec media_url_list = media_url_value list
type nonrec rcs_fallback_origination_identity = string
type nonrec rcs_fallback_configuration = {
  1. origination_identity : rcs_fallback_origination_identity option;
    (*

    The origination identity to use for the fallback message. This can be a PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn. Pool IDs and pool ARNs are not accepted. If not specified and the original message was sent via a pool, the service selects a suitable number from the pool.

    *)
  2. media_urls : media_url_list option;
    (*

    An array of S3 URIs to media files for MMS fallback. Only valid when Channel is MMS.

    *)
  3. message_body : rcs_fallback_message_body option;
    (*

    The text body of the fallback message. Required for SMS fallback. For MMS fallback, at least one of MessageBody or MediaUrls must be provided.

    *)
  4. channel : rcs_fallback_channel;
    (*

    The fallback channel to use when RCS delivery fails. Valid values are SMS and MMS. SMS and MMS are mutually exclusive.

    *)
}

Configuration for SMS or MMS fallback when RCS delivery fails or the TimeToLive expires without delivery confirmation.

type nonrec send_rcs_message_request = {
  1. message_feedback_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.

    *)
  2. context : context_map option;
    (*

    You can specify custom data in this field. If you do, that data is logged to the event destination.

    *)
  3. dry_run : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to true, the message is checked and validated, but isn't sent to the end recipient.

    *)
  4. max_price : max_price option;
    (*

    The maximum amount that you want to spend, in US dollars, per each RCS message.

    *)
  5. configuration_set_name : configuration_set_name_or_arn option;
    (*

    The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

    *)
  6. protect_configuration_id : protect_configuration_id_or_arn option;
    (*

    The unique identifier of the protect configuration to use.

    *)
  7. fallback_configuration : rcs_fallback_configuration option;
    (*

    Configuration for SMS or MMS fallback when RCS delivery fails. If provided, the service sends a fallback message via the specified channel when the RCS message fails or the TimeToLive expires.

    *)
  8. message_traffic_type : rcs_message_traffic_type option;
    (*

    The traffic type of the RCS message. Valid values are AUTHENTICATION, TRANSACTION, PROMOTION, SERVICE_REQUEST, and ACKNOWLEDGEMENT. This field is reserved for future use.

    *)
  9. time_to_live : rcs_time_to_live option;
    (*

    The duration in seconds that the RCS message is valid for delivery. If the message cannot be delivered within this duration, it is considered expired. Valid values are 1 to 172800 (48 hours). If a FallbackConfiguration is provided, the fallback is triggered when the duration expires without delivery confirmation.

    *)
  10. rcs_message_content : rcs_message_content option;
    (*

    The content of the RCS message. Contains the message content (text, file, rich card, or carousel) and optional message-level suggested actions.

    *)
  11. origination_identity : rcs_message_origination_identity;
    (*

    The origination identity of the message. This can be either the RcsAgentId, RcsAgentArn, PoolId, or PoolArn.

    *)
  12. destination_phone_number : phone_number;
    (*

    The destination phone number in E.164 format.

    *)
}
type nonrec send_notify_voice_message_result = {
  1. resolved_message_body : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The message body after template variable substitution has been applied.

    *)
  2. template_id : notify_template_id option;
    (*

    The unique identifier of the template used for the message.

    *)
  3. message_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the message.

    *)
}
type nonrec send_notify_voice_message_request = {
  1. message_feedback_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.

    *)
  2. dry_run : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to true, the message is checked and validated, but isn't sent to the end recipient.

    *)
  3. configuration_set_name : configuration_set_name_or_arn option;
    (*

    The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

    *)
  4. context : context_map option;
    (*

    You can specify custom data in this field. If you do, that data is logged to the event destination.

    *)
  5. time_to_live : time_to_live option;
    (*

    How long the voice message is valid for, in seconds. By default this is 72 hours.

    *)
  6. voice_id : voice_id option;
    (*

    The voice ID to use for the voice message.

    *)
  7. template_variables : template_variable_substitution_map;
    (*

    A map of template variable names and their values. All variable values are passed as strings regardless of the declared variable type. For example, pass INTEGER values as "42" and BOOLEAN values as "true" or "false".

    *)
  8. template_id : notify_template_id option;
    (*

    The unique identifier of the template to use for the message.

    *)
  9. destination_phone_number : phone_number;
    (*

    The destination phone number in E.164 format.

    *)
  10. notify_configuration_id : notify_configuration_id_or_arn;
    (*

    The unique identifier of the notify configuration to use for sending the message. This can be either the NotifyConfigurationId or NotifyConfigurationArn.

    *)
}
type nonrec send_notify_text_message_result = {
  1. resolved_message_body : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The message body after template variable substitution has been applied.

    *)
  2. template_id : notify_template_id option;
    (*

    The unique identifier of the template used for the message.

    *)
  3. message_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the message.

    *)
}
type nonrec send_notify_text_message_request = {
  1. message_feedback_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.

    *)
  2. dry_run : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to true, the message is checked and validated, but isn't sent to the end recipient.

    *)
  3. configuration_set_name : configuration_set_name_or_arn option;
    (*

    The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

    *)
  4. context : context_map option;
    (*

    You can specify custom data in this field. If you do, that data is logged to the event destination.

    *)
  5. time_to_live : time_to_live option;
    (*

    How long the text message is valid for, in seconds. By default this is 72 hours.

    *)
  6. template_variables : template_variable_substitution_map;
    (*

    A map of template variable names and their values. All variable values are passed as strings regardless of the declared variable type. For example, pass INTEGER values as "42" and BOOLEAN values as "true" or "false".

    *)
  7. template_id : notify_template_id option;
    (*

    The unique identifier of the template to use for the message.

    *)
  8. destination_phone_number : phone_number;
    (*

    The destination phone number in E.164 format.

    *)
  9. notify_configuration_id : notify_configuration_id_or_arn;
    (*

    The unique identifier of the notify configuration to use for sending the message. This can be either the NotifyConfigurationId or NotifyConfigurationArn.

    *)
}
type nonrec send_media_message_result = {
  1. message_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the message.

    *)
}
type nonrec media_message_origination_identity = string
type nonrec send_media_message_request = {
  1. message_feedback_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.

    *)
  2. protect_configuration_id : protect_configuration_id_or_arn option;
    (*

    The unique identifier of the protect configuration to use.

    *)
  3. dry_run : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to true, the message is checked and validated, but isn't sent to the end recipient.

    *)
  4. context : context_map option;
    (*

    You can specify custom data in this field. If you do, that data is logged to the event destination.

    *)
  5. time_to_live : time_to_live option;
    (*

    How long the media message is valid for. By default this is 72 hours.

    *)
  6. max_price : max_price option;
    (*

    The maximum amount that you want to spend, in US dollars, per each MMS message.

    *)
  7. configuration_set_name : configuration_set_name_or_arn option;
    (*

    The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

    *)
  8. media_urls : media_url_list option;
    (*

    An array of URLs to each media file to send.

    The media files have to be stored in an S3 bucket. Supported media file formats are listed in MMS file types, size and character limits. For more information on creating an S3 bucket and managing objects, see Creating a bucket, Uploading objects in the Amazon S3 User Guide, and Setting up an Amazon S3 bucket for MMS files in the Amazon Web Services End User Messaging SMS User Guide.

    *)
  9. message_body : text_message_body option;
    (*

    The text body of the message.

    *)
  10. origination_identity : media_message_origination_identity;
    (*

    The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
  11. destination_phone_number : phone_number;
    (*

    The destination phone number in E.164 format.

    *)
}
type nonrec send_destination_number_verification_code_result = {
  1. message_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the message.

    *)
}
type nonrec language_code =
  1. | DE_DE
  2. | EN_GB
  3. | EN_US
  4. | ES_419
  5. | ES_ES
  6. | FR_CA
  7. | FR_FR
  8. | IT_IT
  9. | JA_JP
  10. | KO_KR
  11. | PT_BR
  12. | ZH_CN
  13. | ZH_TW
type nonrec send_destination_number_verification_code_request = {
  1. destination_country_parameters : destination_country_parameters option;
    (*

    This field is used for any country-specific registration requirements. Currently, this setting is only used when you send messages to recipients in India using a sender ID. For more information see Special requirements for sending SMS messages to recipients in India.

    *)
  2. context : context_map option;
    (*

    You can specify custom data in this field. If you do, that data is logged to the event destination.

    *)
  3. configuration_set_name : configuration_set_name_or_arn option;
    (*

    The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.

    *)
  4. origination_identity : verification_message_origination_identity option;
    (*

    The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
  5. language_code : language_code option;
    (*

    Choose the language to use for the message.

    *)
  6. verification_channel : verification_channel;
    (*

    Choose to send the verification code as an SMS or voice message.

    *)
  7. verified_destination_number_id : verified_destination_number_id_or_arn;
    (*

    The unique identifier for the verified destination phone number.

    *)
}
type nonrec select_validation = {
  1. options : string_list;
    (*

    An array of strings for the possible selection options.

    *)
  2. max_choices : Smaws_Lib.Smithy_api.Types.integer;
    (*

    The maximum number of choices for the select.

    *)
  3. min_choices : Smaws_Lib.Smithy_api.Types.integer;
    (*

    The minimum number of choices for the select.

    *)
}

Validation rules for a select field.

type nonrec select_option_description = {
  1. description : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    A description of the option meaning.

    *)
  2. title : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The title of the select option.

    *)
  3. option_ : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The value of the option.

    *)
}

A description of each select option.

type nonrec select_option_descriptions_list = select_option_description list
type nonrec select_choice = string
type nonrec select_choice_list = select_choice list
type nonrec section_path = string
type nonrec section_path_list = section_path list
type nonrec resource_policy = string
type nonrec resource_id_or_arn = string
type nonrec requestable_number_type =
  1. | LONG_CODE
  2. | TOLL_FREE
  3. | TEN_DLC
  4. | SIMULATOR
type nonrec request_sender_id_result = {
  1. tags : tag_list option;
    (*

    An array of tags (key and value pairs) to associate with the sender ID.

    *)
  2. registered : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    True if the sender ID is registered.

    *)
  3. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    By default this is set to false. When set to true the sender ID can't be deleted.

    *)
  4. monthly_leasing_price : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The monthly price, in US dollars, to lease the sender ID.

    *)
  5. message_types : message_type_list;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  6. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  7. sender_id : sender_id;
    (*

    The sender ID that was requested.

    *)
  8. sender_id_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) associated with the SenderId.

    *)
}
type nonrec client_token = string
type nonrec request_sender_id_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) to associate with the sender ID.

    *)
  3. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true the sender ID can't be deleted.

    *)
  4. message_types : message_type_list option;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  5. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  6. sender_id : sender_id;
    (*

    The sender ID string to request. The sender ID can be 1-11 alphanumeric characters including letters (A-Z, a-z), numbers (0-9), or hyphens (-). The sender ID must contain at least one letter and cannot start or end with a hyphen.

    *)
}
type nonrec request_phone_number_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the phone number was created, in UNIX epoch time format.

    *)
  2. tags : tag_list option;
    (*

    An array of key and value pair tags that are associated with the phone number.

    *)
  3. registration_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the registration.

    *)
  4. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier of the pool associated with the phone number

    *)
  5. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to true the phone number can't be deleted.

    *)
  6. international_sending_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to true the international sending of phone number is Enabled.

    *)
  7. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList that is associated with the requested phone number.

    *)
  8. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  9. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  10. two_way_channel_arn : two_way_channel_arn option;
    (*

    The ARN used to identify the two way channel.

    *)
  11. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  12. monthly_leasing_price : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The monthly price, in US dollars, to lease the phone number.

    *)
  13. number_type : requestable_number_type option;
    (*

    The type of number that was released.

    *)
  14. number_capabilities : number_capability_list option;
    (*

    Indicates if the phone number will be used for text messages, voice messages or both.

    *)
  15. message_type : message_type option;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  16. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  17. status : number_status option;
    (*

    The current status of the request.

    *)
  18. phone_number : phone_number option;
    (*

    The new phone number that was requested.

    *)
  19. phone_number_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier of the new phone number.

    *)
  20. phone_number_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the requested phone number.

    *)
}
type nonrec request_phone_number_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) to associate with the requested phone number.

    *)
  3. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true the phone number can't be deleted.

    *)
  4. international_sending_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true the international sending of phone number is Enabled.

    *)
  5. registration_id : registration_id_or_arn option;
    (*

    Use this field to attach your phone number for an external registration process.

    *)
  6. pool_id : pool_id_or_arn option;
    (*

    The pool to associated with the phone number. You can use the PoolId or PoolArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
  7. opt_out_list_name : opt_out_list_name_or_arn option;
    (*

    The name of the OptOutList to associate with the phone number. You can use the OptOutListName or OptOutListArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
  8. number_type : requestable_number_type;
    (*

    The type of phone number to request.

    When you request a SIMULATOR phone number, you must set MessageType as TRANSACTIONAL.

    *)
  9. number_capabilities : number_capability_list;
    (*

    Indicates if the phone number will be used for text messages, voice messages, or both.

    *)
  10. message_type : message_type;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  11. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
}
type nonrec release_sender_id_result = {
  1. registration_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the registration.

    *)
  2. registered : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    True if the sender ID is registered.

    *)
  3. monthly_leasing_price : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The monthly price, in US dollars, to lease the sender ID.

    *)
  4. message_types : message_type_list;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  5. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  6. sender_id : sender_id;
    (*

    The sender ID that was released.

    *)
  7. sender_id_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) associated with the SenderId.

    *)
}
type nonrec release_sender_id_request = {
  1. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  2. sender_id : sender_id_or_arn;
    (*

    The sender ID to release.

    *)
}
type nonrec release_phone_number_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the phone number was created, in UNIX epoch time format.

    *)
  2. registration_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the registration.

    *)
  3. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList that was associated with the phone number.

    *)
  4. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  5. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  6. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the TwoWayChannel.

    *)
  7. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  8. monthly_leasing_price : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The monthly price of the phone number, in US dollars.

    *)
  9. number_type : number_type option;
    (*

    The type of number that was released.

    *)
  10. number_capabilities : number_capability_list option;
    (*

    Specifies if the number could be used for text messages, voice, or both.

    *)
  11. message_type : message_type option;
    (*

    The message type that was associated with the phone number.

    *)
  12. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  13. status : number_status option;
    (*

    The current status of the request.

    *)
  14. phone_number : phone_number option;
    (*

    The phone number that was released.

    *)
  15. phone_number_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberId of the phone number that was released.

    *)
  16. phone_number_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberArn of the phone number that was released.

    *)
}
type nonrec release_phone_number_request = {
  1. phone_number_id : phone_number_id_or_arn;
    (*

    The PhoneNumberId or PhoneNumberArn of the phone number to release. You can use DescribePhoneNumbers to get the values for PhoneNumberId and PhoneNumberArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec registration_version_number_list = registration_version_number list
type nonrec registration_denied_reason_information = {
  1. documentation_title : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The title of the document.

    *)
  2. long_description : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    A long description of the rejection reason.

    *)
  3. short_description : Smaws_Lib.Smithy_api.Types.string_;
    (*

    A short description of the rejection reason.

    *)
  4. reason : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The reason a registration was rejected.

    *)
}

Provides the reason a registration was rejected.

type nonrec registration_denied_reason_information_list = registration_denied_reason_information list
type nonrec registration_version_information = {
  1. feedback : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    Generative AI feedback information provided during the registration review process. This includes comments, suggestions, or additional requirements.

    *)
  2. denied_reasons : registration_denied_reason_information_list option;
    (*

    An array of RegistrationDeniedReasonInformation objects.

    *)
  3. registration_version_status_history : registration_version_status_history;
    (*

    The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.

    *)
  4. registration_version_status : registration_version_status;
    (*

    The status of the registration.

    • APPROVED: Your registration has been approved.
    • ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.
    • DENIED: You must fix your registration and resubmit it.
    • DISCARDED: You've abandon this version of their registration to start over with a new version.
    • DRAFT: The initial status of a registration version after it’s created.
    • REQUIRES_AUTHENTICATION: You need to complete email authentication.
    • REVIEWING: Your registration has been accepted and is being reviewed.
    • REVOKED: Your previously approved registration has been revoked.
    • SUBMITTED: Your registration has been submitted.
    *)
  5. version_number : registration_version_number;
    (*

    The version number of the registration.

    *)
}

Provides information about the specified version of the registration.

type nonrec registration_version_information_list = registration_version_information list
type nonrec registration_version_filter_name =
  1. | REGISTRATION_VERSION_STATUS
type nonrec registration_version_filter = {
  1. values : filter_value_list;
    (*

    An array of values to filter on.

    *)
  2. name : registration_version_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The filter definition for filtering registration versions that meets a specified criteria.

type nonrec registration_version_filter_list = registration_version_filter list
type nonrec registration_type = string
type nonrec registration_type_list = registration_type list
type nonrec registration_type_filter_name =
  1. | SUPPORTED_ASSOCIATION_RESOURCE_TYPE
  2. | SUPPORTED_ASSOCIATION_ISO_COUNTRY_CODE
type nonrec registration_type_filter = {
  1. values : filter_value_list;
    (*

    An array of values to filter on.

    *)
  2. name : registration_type_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The filter definition for filtering registration types that meets a specified criteria.

type nonrec registration_type_filter_list = registration_type_filter list
type nonrec registration_type_display_hints = {
  1. documentation_title : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The title of the document the display hint is associated with.

    *)
  2. long_description : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    A full description of the display hint.

    *)
  3. short_description : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    A short description of the display hint.

    *)
  4. title : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The title of the display hint.

    *)
}

Provides help information on the registration type.

type nonrec registration_type_definition = {
  1. display_hints : registration_type_display_hints;
    (*

    Provides help information on the registration.

    *)
  2. supported_associations : supported_association_list option;
    (*

    The supported association behavior for the registration type.

    *)
  3. registration_type : registration_type;
    (*

    The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
}

Provides information on the supported registration type.

type nonrec registration_type_definition_list = registration_type_definition list
type nonrec registration_status =
  1. | CREATED
  2. | SUBMITTED
  3. | AWS_REVIEWING
  4. | REVIEWING
  5. | REQUIRES_AUTHENTICATION
  6. | PROVISIONING
  7. | COMPLETE
  8. | REQUIRES_UPDATES
  9. | CLOSED
  10. | DELETED
type nonrec registration_section_display_hints = {
  1. documentation_title : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The title of the document the display hint is associated with.

    *)
  2. long_description : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    A full description of the display hint.

    *)
  3. short_description : Smaws_Lib.Smithy_api.Types.string_;
    (*

    A short description of the display hint.

    *)
  4. title : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The title of the display hint.

    *)
}

Provides help information on the registration section.

type nonrec registration_section_definition = {
  1. display_hints : registration_section_display_hints;
    (*

    The path to the section of the registration.

    *)
  2. section_path : section_path;
    (*

    The path to the section of the registration.

    *)
}

Provides information on the specified section definition.

type nonrec registration_section_definition_list = registration_section_definition list
type nonrec registration_information = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the registration was created, in UNIX epoch time format.

    *)
  2. additional_attributes : string_map option;
    (*

    Metadata about a given registration which is specific to that registration type.

    *)
  3. latest_denied_version_number : registration_version_number option;
    (*

    The latest version number of the registration that was denied.

    *)
  4. approved_version_number : registration_version_number option;
    (*

    The version number of the registration that was approved.

    *)
  5. current_version_number : registration_version_number;
    (*

    The current version number of the registration.

    *)
  6. registration_status : registration_status;
    (*

    The status of the registration.

    • CLOSED: The phone number or sender ID has been deleted and you must also delete the registration for the number.
    • CREATED: Your registration is created but not submitted.
    • COMPLETE: Your registration has been approved and your origination identity has been created.
    • DELETED: The registration has been deleted.
    • PROVISIONING: Your registration has been approved and your origination identity is being created.
    • REQUIRES_AUTHENTICATION: You need to complete email authentication.
    • REQUIRES_UPDATES: You must fix your registration and resubmit it.
    • REVIEWING: Your registration has been accepted and is being reviewed.
    • SUBMITTED: Your registration has been submitted and is awaiting review.
    *)
  7. registration_type : registration_type;
    (*

    The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
  8. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  9. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}

Provides information about the requested registration.

type nonrec registration_information_list = registration_information list
type nonrec registration_id_list = registration_id_or_arn list
type nonrec registration_filter_name =
  1. | REGISTRATION_TYPE
  2. | REGISTRATION_STATUS
type nonrec registration_filter = {
  1. values : filter_value_list;
    (*

    An array of values to filter on.

    *)
  2. name : registration_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The filter definition for filtering registrations that meets a specified criteria.

type nonrec registration_filter_list = registration_filter list
type nonrec field_path = string
type nonrec registration_attachment_id_or_arn = string
type nonrec registration_field_value_information = {
  1. feedback : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    Generative AI feedback information provided for this specific field during the registration review process. This may include validation errors, suggestions for improvement, or additional requirements.

    *)
  2. denied_reason : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    A description of why the registration was denied.

    *)
  3. registration_attachment_id : registration_attachment_id_or_arn option;
    (*

    The unique identifier for the registration attachment.

    *)
  4. text_value : text_value option;
    (*

    The text data for a free form field.

    *)
  5. select_choices : select_choice_list option;
    (*

    An array of values for the form field.

    *)
  6. field_path : field_path;
    (*

    The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.

    *)
}

Provides the values of the specified field.

type nonrec registration_field_value_information_list = registration_field_value_information list
type nonrec registration_field_display_hints = {
  1. example_text_value : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    Example text of what the value of a field should contain.

    *)
  2. text_validation_description : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The validation rules for the text field.

    *)
  3. select_option_descriptions : select_option_descriptions_list option;
    (*

    An array of SelectOptionDescription objects.

    *)
  4. documentation_title : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The title of the document the display hint is associated with.

    *)
  5. long_description : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    A full description of the display hint.

    *)
  6. short_description : Smaws_Lib.Smithy_api.Types.string_;
    (*

    A short description of the display hint.

    *)
  7. title : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The title of the display hint.

    *)
}

Provides help information on the registration field.

type nonrec field_type =
  1. | SELECT
  2. | TEXT
  3. | ATTACHMENT
type nonrec field_requirement =
  1. | REQUIRED
  2. | CONDITIONAL
  3. | OPTIONAL
type nonrec registration_field_definition = {
  1. display_hints : registration_field_display_hints;
    (*

    An array of RegistrationFieldDisplayHints objects for the field.

    *)
  2. text_validation : text_validation option;
    (*

    The validation rules for a text field.

    *)
  3. select_validation : select_validation option;
    (*

    The validation rules for a select field.

    *)
  4. field_requirement : field_requirement;
    (*

    Specifies if the field for the registration form is required, conditional or optional.

    *)
  5. field_type : field_type;
    (*

    The type of field.

    *)
  6. field_path : field_path;
    (*

    The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.

    *)
  7. section_path : section_path;
    (*

    The section path of the field.

    *)
}

Provides a description of the specified field.

type nonrec registration_field_definition_list = registration_field_definition list
type nonrec attachment_status =
  1. | UPLOAD_IN_PROGRESS
  2. | UPLOAD_COMPLETE
  3. | UPLOAD_FAILED
  4. | DELETED
type nonrec attachment_upload_error_reason =
  1. | INTERNAL_ERROR
type nonrec registration_attachments_information = {
  1. attachment_url : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The URL to the document that's associated with the registration attachment.

    *)
  2. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the registration attachment was created, in UNIX epoch time format.

    *)
  3. attachment_upload_error_reason : attachment_upload_error_reason option;
    (*

    A description of why the upload didn't successfully complete.

    *)
  4. attachment_status : attachment_status;
    (*

    The status of the registration attachment.

    • UPLOAD_IN_PROGRESS The attachment is being uploaded.
    • UPLOAD_COMPLETE The attachment has been uploaded.
    • UPLOAD_FAILED The attachment failed to uploaded.
    • DELETED The attachment has been deleted..
    *)
  5. registration_attachment_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration attachment.

    *)
  6. registration_attachment_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration attachment.

    *)
}

Provides information on the specified registration attachments.

type nonrec registration_attachments_information_list = registration_attachments_information list
type nonrec registration_attachment_id_list = registration_id_or_arn list
type nonrec registration_attachment_filter_name =
  1. | ATTACHMENT_STATUS
type nonrec registration_attachment_filter = {
  1. values : filter_value_list;
    (*

    An array of values to filter on.

    *)
  2. name : registration_attachment_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The filter definition for filtering registration attachments that meets a specified criteria.

type nonrec registration_attachment_filter_list = registration_attachment_filter list
type nonrec registration_association_metadata = {
  1. phone_number : phone_number option;
    (*

    The phone number associated with the registration in E.164 format.

    *)
  2. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  3. resource_type : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The origination identity type.

    *)
  4. resource_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.

    *)
  5. resource_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) of the origination identity that is associated with the registration.

    *)
}

Metadata for the origination identity that is associated with the registration.

type nonrec registration_association_metadata_list = registration_association_metadata list
type nonrec registration_association_filter_name =
  1. | RESOURCE_TYPE
  2. | ISO_COUNTRY_CODE
type nonrec registration_association_filter = {
  1. values : filter_value_list;
    (*

    An array of values to filter for.

    *)
  2. name : registration_association_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The filter definition for filtering registrations that meets a specified criteria.

type nonrec registration_association_filter_list = registration_association_filter list
type nonrec rcs_agent_information = {
  1. testing_agent : testing_agent_information option;
    (*

    The testing agent information associated with the RCS agent.

    *)
  2. two_way_rcs_events_enabled : rcs_event_type_list option;
    (*

    The list of RCS event types enabled for two-way messaging on the agent.

    *)
  3. two_way_media_s3_role : iam_role_arn option;
    (*

    The ARN of the IAM role used to write inbound RCS media files to the S3 bucket.

    *)
  4. two_way_media_s3_key_prefix : two_way_media_s3_key_prefix option;
    (*

    The key prefix used for inbound RCS media objects in the S3 bucket.

    *)
  5. two_way_media_s3_bucket_name : two_way_media_s3_bucket_name option;
    (*

    The name of the S3 bucket where inbound RCS media files are stored.

    *)
  6. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier of the pool associated with the RCS agent.

    *)
  7. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.

    *)
  8. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  9. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  10. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  11. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList associated with the RCS agent.

    *)
  12. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true the RCS agent can't be deleted.

    *)
  13. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the RCS agent was created, in UNIX epoch time format.

    *)
  14. status : rcs_agent_status;
    (*

    The current status of the RCS agent.

    *)
  15. rcs_agent_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the RCS agent.

    *)
  16. rcs_agent_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) of the RCS agent.

    *)
}

The information for an RCS agent in an Amazon Web Services account.

type nonrec rcs_agent_information_list = rcs_agent_information list
type nonrec rcs_agent_id_list = rcs_agent_id_or_arn list
type nonrec rcs_agent_filter_name =
  1. | STATUS
  2. | TWO_WAY_ENABLED
  3. | SELF_MANAGED_OPT_OUTS_ENABLED
  4. | OPT_OUT_LIST_NAME
  5. | DELETION_PROTECTION_ENABLED
  6. | TWO_WAY_CHANNEL_ARN
type nonrec rcs_agent_filter = {
  1. values : filter_value_list;
    (*

    An array values to filter for.

    *)
  2. name : rcs_agent_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The information for an RCS agent that meets a specified criteria.

type nonrec rcs_agent_filter_list = rcs_agent_filter list
type nonrec put_resource_policy_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the resource-based policy was created, in UNIX epoch time format.

    *)
  2. policy : resource_policy option;
    (*

    The JSON formatted Resource Policy.

    *)
  3. resource_arn : amazon_resource_name option;
    (*

    The Amazon Resource Name (ARN) of the End User Messaging SMS resource attached to the resource-based policy.

    *)
}
type nonrec put_resource_policy_request = {
  1. policy : resource_policy;
    (*

    The JSON formatted resource-based policy to attach.

    *)
  2. resource_arn : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the End User Messaging SMS resource to attach the resource-based policy to.

    *)
}
type nonrec put_registration_field_value_result = {
  1. registration_attachment_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the registration attachment.

    *)
  2. text_value : text_value option;
    (*

    The text data for a free form field.

    *)
  3. select_choices : select_choice_list option;
    (*

    An array of values for the form field.

    *)
  4. field_path : field_path;
    (*

    The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.

    *)
  5. version_number : registration_version_number;
    (*

    The version number of the registration.

    *)
  6. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  7. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}
type nonrec put_registration_field_value_request = {
  1. registration_attachment_id : registration_attachment_id_or_arn option;
    (*

    The unique identifier for the registration attachment.

    *)
  2. text_value : text_value option;
    (*

    The text data for a free form field.

    *)
  3. select_choices : select_choice_list option;
    (*

    An array of values for the form field.

    *)
  4. field_path : field_path;
    (*

    The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.

    *)
  5. registration_id : registration_id_or_arn;
    (*

    The unique identifier for the registration.

    *)
}
type nonrec protect_configuration_rule_override_action =
  1. | ALLOW
  2. | BLOCK
type nonrec put_protect_configuration_rule_set_number_override_result = {
  1. expiration_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time the rule will expire at.

    *)
  2. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  3. action : protect_configuration_rule_override_action;
    (*

    The action for the rule to take.

    *)
  4. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the rule was created, in UNIX epoch time format.

    *)
  5. destination_phone_number : phone_number;
    (*

    The destination phone number in E.164 format.

    *)
  6. protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier for the protect configuration.

    *)
  7. protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the protect configuration.

    *)
}
type nonrec put_protect_configuration_rule_set_number_override_request = {
  1. expiration_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time the rule will expire at. If ExpirationTimestamp is not set then the rule does not expire.

    *)
  2. action : protect_configuration_rule_override_action;
    (*

    The action for the rule to either block or allow messages to the destination phone number.

    *)
  3. destination_phone_number : phone_number;
    (*

    The destination phone number in E.164 format.

    *)
  4. protect_configuration_id : protect_configuration_id_or_arn;
    (*

    The unique identifier for the protect configuration.

    *)
  5. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
}
type nonrec put_opted_out_number_result = {
  1. end_user_opted_out : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    This is true if it was the end user who requested their phone number be removed.

    *)
  2. opted_out_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time that the phone number was added to the OptOutList, in UNIX epoch time format.

    *)
  3. opted_out_number : phone_number option;
    (*

    The phone number that was added to the OptOutList.

    *)
  4. opt_out_list_name : opt_out_list_name option;
    (*

    The OptOutListName that the phone number was removed from.

    *)
  5. opt_out_list_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The OptOutListArn that the phone number was removed from.

    *)
}
type nonrec put_opted_out_number_request = {
  1. opted_out_number : phone_number;
    (*

    The phone number to add to the OptOutList in E.164 format.

    *)
  2. opt_out_list_name : opt_out_list_name_or_arn;
    (*

    The OptOutListName or OptOutListArn to add the phone number to.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec message_id = string
type nonrec message_feedback_status =
  1. | RECEIVED
  2. | FAILED
type nonrec put_message_feedback_result = {
  1. message_feedback_status : message_feedback_status;
    (*

    The current status of the message.

    *)
  2. message_id : message_id;
    (*

    The unique identifier for the message.

    *)
}
type nonrec put_message_feedback_request = {
  1. message_feedback_status : message_feedback_status;
    (*

    Set the message feedback to be either RECEIVED or FAILED.

    *)
  2. message_id : message_id;
    (*

    The unique identifier for the message.

    *)
}
type nonrec keyword_message = string
type nonrec keyword_action =
  1. | AUTOMATIC_RESPONSE
  2. | OPT_OUT
  3. | OPT_IN
type nonrec put_keyword_result = {
  1. keyword_action : keyword_action option;
    (*

    The action to perform when the keyword is used.

    *)
  2. keyword_message : keyword_message option;
    (*

    The message associated with the keyword.

    *)
  3. keyword : keyword option;
    (*

    The keyword that was added.

    *)
  4. origination_identity : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberId or PoolId that the keyword was associated with.

    *)
  5. origination_identity_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberArn or PoolArn that the keyword was associated with.

    *)
}
type nonrec phone_or_pool_id_or_arn = string
type nonrec put_keyword_request = {
  1. keyword_action : keyword_action option;
    (*

    The action to perform for the new keyword when it is received.

    • AUTOMATIC_RESPONSE: A message is sent to the recipient.
    • OPT_OUT: Keeps the recipient from receiving future messages.
    • OPT_IN: The recipient wants to receive future messages.
    *)
  2. keyword_message : keyword_message;
    (*

    The message associated with the keyword.

    *)
  3. keyword : keyword;
    (*

    The new keyword to add.

    *)
  4. origination_identity : phone_or_pool_id_or_arn;
    (*

    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec protect_configuration_rule_set_number_override = {
  1. expiration_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time the rule will expire at. If ExpirationTimestamp is not set then the rule will not expire.

    *)
  2. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  3. action : protect_configuration_rule_override_action;
    (*

    The action for the rule to perform of either blocking or allowing messages to the destination phone number.

    *)
  4. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the rule was created, in UNIX epoch time format.

    *)
  5. destination_phone_number : phone_number;
    (*

    The destination phone number in E.164 format.

    *)
}

Provides details on phone number rule overrides for a protect configuration.

type nonrec protect_configuration_rule_set_number_override_list = protect_configuration_rule_set_number_override list
type nonrec protect_configuration_rule_set_number_override_filter_name =
  1. | ISO_COUNTRY_CODE
  2. | DESTINATION_PHONE_NUMBER_BEGINS_WITH
  3. | ACTION
  4. | EXPIRES_BEFORE
  5. | EXPIRES_AFTER
  6. | CREATED_BEFORE
  7. | CREATED_AFTER
type nonrec protect_configuration_rule_set_number_override_filter_item = {
  1. values : filter_value_list;
    (*

    An array values to filter for.

    *)
  2. name : protect_configuration_rule_set_number_override_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The information for a protect configuration rule set number override that meets a specified criteria.

type nonrec protect_configuration_information = {
  1. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.

    *)
  2. account_default : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    This is true if the protect configuration is set as your account default protect configuration.

    *)
  3. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the protect configuration was created, in UNIX epoch time format.

    *)
  4. protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier for the protect configuration.

    *)
  5. protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the protect configuration.

    *)
}

Provides information on the specified protect configuration.

type nonrec protect_configuration_information_list = protect_configuration_information list
type nonrec protect_configuration_id_list = protect_configuration_id_or_arn list
type nonrec protect_configuration_filter_name =
  1. | ACCOUNT_DEFAULT
  2. | DELETION_PROTECTION_ENABLED
type nonrec protect_configuration_filter = {
  1. values : filter_value_list;
    (*

    An array of values to filter for.

    *)
  2. name : protect_configuration_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The filter definition for filtering protect configurations that meet a specified criteria.

type nonrec protect_configuration_filter_list = protect_configuration_filter list
type nonrec pool_origination_identities_filter_name =
  1. | ISO_COUNTRY_CODE
  2. | NUMBER_CAPABILITY
type nonrec pool_origination_identities_filter = {
  1. values : filter_value_list;
    (*

    An array values to filter for.

    *)
  2. name : pool_origination_identities_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

Information about origination identities associated with a pool that meets a specified criteria.

type nonrec pool_origination_identities_filter_list = pool_origination_identities_filter list
type nonrec pool_information = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the pool was created, in UNIX epoch time format.

    *)
  2. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true the pool can't be deleted.

    *)
  3. shared_routes_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    Allows you to enable shared routes on your pool.

    By default, this is set to False. If you set this value to True, your messages are sent using phone numbers or sender IDs (depending on the country) that are shared with other users. In some countries, such as the United States, senders aren't allowed to use shared routes and must use a dedicated phone number or short code.

    *)
  4. opt_out_list_name : opt_out_list_name;
    (*

    The name of the OptOutList associated with the pool.

    *)
  5. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to false, an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests. For more information see Self-managed opt-outs

    *)
  6. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  7. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  8. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.

    *)
  9. message_type : message_type;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  10. status : pool_status;
    (*

    The current status of the pool.

    *)
  11. pool_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the pool.

    *)
  12. pool_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the pool.

    *)
}

The information for a pool in an Amazon Web Services account.

type nonrec pool_information_list = pool_information list
type nonrec pool_id_list = pool_id_or_arn list
type nonrec pool_filter_name =
  1. | STATUS
  2. | MESSAGE_TYPE
  3. | TWO_WAY_ENABLED
  4. | SELF_MANAGED_OPT_OUTS_ENABLED
  5. | OPT_OUT_LIST_NAME
  6. | SHARED_ROUTES_ENABLED
  7. | DELETION_PROTECTION_ENABLED
  8. | TWO_WAY_CHANNEL_ARN
type nonrec pool_filter = {
  1. values : filter_value_list;
    (*

    An array values to filter for.

    *)
  2. name : pool_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The information for a pool that meets a specified criteria.

type nonrec pool_filter_list = pool_filter list
type nonrec list_tags_for_resource_result = {
  1. tags : tag_list option;
    (*

    An array of key and value pair tags that are associated with the resource.

    *)
  2. resource_arn : amazon_resource_name option;
    (*

    The ARN of the resource.

    *)
}
type nonrec list_tags_for_resource_request = {
  1. resource_arn : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the resource to query for.

    *)
}
type nonrec next_token = string
type nonrec list_registration_associations_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. registration_associations : registration_association_metadata_list;
    (*

    An array of RegistrationAssociationMetadata objects.

    *)
  3. registration_type : registration_type;
    (*

    The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
  4. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  5. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}
type nonrec max_results = int
type nonrec list_registration_associations_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : registration_association_filter_list option;
    (*

    An array of RegistrationAssociationFilter to apply to the results that are returned.

    *)
  4. registration_id : registration_id_or_arn;
    (*

    The unique identifier for the registration.

    *)
}
type nonrec list_protect_configuration_rule_set_number_overrides_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. rule_set_number_overrides : protect_configuration_rule_set_number_override_list option;
    (*

    An array of RuleSetNumberOverrides objects.

    *)
  3. protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier for the protect configuration.

    *)
  4. protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the protect configuration.

    *)
}
type nonrec list_protect_configuration_rule_set_number_override_filter = protect_configuration_rule_set_number_override_filter_item list
type nonrec list_protect_configuration_rule_set_number_overrides_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : list_protect_configuration_rule_set_number_override_filter option;
    (*

    An array of ProtectConfigurationRuleSetNumberOverrideFilterItem objects to filter the results.

    *)
  4. protect_configuration_id : protect_configuration_id_or_arn;
    (*

    The unique identifier for the protect configuration.

    *)
}
type nonrec origination_identity_metadata = {
  1. phone_number : phone_number option;
    (*

    The phone number in E.164 format.

    *)
  2. number_capabilities : number_capability_list;
    (*

    Describes if the origination identity can be used for text messages, voice calls or both.

    *)
  3. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. This field is optional and may not be present for origination identity types that are not country-specific, such as RCS agents.

    *)
  4. origination_identity : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier of the origination identity.

    *)
  5. origination_identity_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) associated with the origination identity.

    *)
}

The metadata for an origination identity associated with a pool.

type nonrec origination_identity_metadata_list = origination_identity_metadata list
type nonrec list_pool_origination_identities_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. origination_identities : origination_identity_metadata_list option;
    (*

    An array of any OriginationIdentityMetadata objects.

    *)
  3. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique PoolId of the pool.

    *)
  4. pool_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) for the pool.

    *)
}
type nonrec list_pool_origination_identities_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : pool_origination_identities_filter_list option;
    (*

    An array of PoolOriginationIdentitiesFilter objects to filter the results..

    *)
  4. pool_id : pool_id_or_arn;
    (*

    The unique identifier for the pool. This value can be either the PoolId or PoolArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec notify_use_case_list = notify_configuration_use_case list
type nonrec notify_tier_list = notify_configuration_tier list
type nonrec notify_country_information = {
  1. customer_owned_identity_required : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    Whether a customer-owned identity is required to send notify messages to this country.

    *)
  2. supported_tiers : notify_tier_list;
    (*

    An array of supported tiers for the country.

    *)
  3. supported_use_cases : notify_use_case_list;
    (*

    An array of supported use cases for the country.

    *)
  4. supported_channels : notify_enabled_channels_list;
    (*

    An array of supported channels for the country. Supported values include SMS and VOICE.

    *)
  5. country_name : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The name of the country.

    *)
  6. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
}

The information for a country that supports notify messaging.

type nonrec notify_country_information_list = notify_country_information list
type nonrec list_notify_countries_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. notify_countries : notify_country_information_list option;
    (*

    An array of NotifyCountryInformation objects that contain the results.

    *)
}
type nonrec list_notify_countries_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. tier : notify_configuration_tier option;
    (*

    The tier to filter the results by.

    *)
  4. use_cases : notify_use_case_list option;
    (*

    An array of use cases to filter the results by.

    *)
  5. channels : notify_enabled_channels_list option;
    (*

    An array of channels to filter the results by.

    *)
}
type nonrec get_resource_policy_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the resource-based policy was created, in UNIX epoch time format.

    *)
  2. policy : resource_policy option;
    (*

    The JSON formatted string that contains the resource-based policy attached to the End User Messaging SMS resource.

    *)
  3. resource_arn : amazon_resource_name option;
    (*

    The Amazon Resource Name (ARN) of the End User Messaging SMS resource attached to the resource-based policy.

    *)
}
type nonrec get_resource_policy_request = {
  1. resource_arn : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the End User Messaging SMS resource attached to the resource-based policy.

    *)
}
type nonrec get_protect_configuration_country_rule_set_result = {
  1. country_rule_set : protect_configuration_country_rule_set;
    (*

    A map of ProtectConfigurationCountryRuleSetInformation objects that contain the details for the requested NumberCapability. The Key is the two-letter ISO country code. For a list of supported ISO country codes, see Supported countries and regions (SMS channel) in the End User Messaging SMS User Guide.

    *)
  2. number_capability : number_capability;
    (*

    The capability type associated with the returned ProtectConfigurationCountryRuleSetInformation objects.

    *)
  3. protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier for the protect configuration.

    *)
  4. protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the protect configuration.

    *)
}
type nonrec get_protect_configuration_country_rule_set_request = {
  1. number_capability : number_capability;
    (*

    The capability type to return the CountryRuleSet for. Valid values are SMS, VOICE, or MMS.

    *)
  2. protect_configuration_id : protect_configuration_id_or_arn;
    (*

    The unique identifier for the protect configuration.

    *)
}
type nonrec discard_registration_version_result = {
  1. registration_version_status_history : registration_version_status_history;
    (*

    The RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.

    *)
  2. registration_version_status : registration_version_status;
    (*

    The status of the registration version.

    • APPROVED: Your registration has been approved.
    • ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.
    • DENIED: You must fix your registration and resubmit it.
    • DISCARDED: You've abandon this version of their registration to start over with a new version.
    • DRAFT: The initial status of a registration version after it’s created.
    • REQUIRES_AUTHENTICATION: You need to complete email authentication.
    • REVIEWING: Your registration has been accepted and is being reviewed.
    • REVOKED: Your previously approved registration has been revoked.
    • SUBMITTED: Your registration has been submitted.
    *)
  3. version_number : registration_version_number;
    (*

    The version number of the registration.

    *)
  4. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  5. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}
type nonrec discard_registration_version_request = {
  1. registration_id : registration_id_or_arn;
    (*

    The unique identifier for the registration.

    *)
}
type nonrec disassociate_protect_configuration_result = {
  1. protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier for the protect configuration.

    *)
  2. protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the protect configuration.

    *)
  3. configuration_set_name : configuration_set_name;
    (*

    The name of the ConfigurationSet.

    *)
  4. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) of the configuration set.

    *)
}
type nonrec disassociate_protect_configuration_request = {
  1. configuration_set_name : configuration_set_name_or_arn;
    (*

    The name of the ConfigurationSet.

    *)
  2. protect_configuration_id : protect_configuration_id_or_arn;
    (*

    The unique identifier for the protect configuration.

    *)
}
type nonrec disassociate_origination_identity_result = {
  1. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  2. origination_identity : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberId or SenderId of the origination identity.

    *)
  3. origination_identity_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberArn or SenderIdArn of the origination identity.

    *)
  4. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PoolId of the pool no longer associated with the origination identity.

    *)
  5. pool_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the pool.

    *)
}
type nonrec phone_or_sender_id_or_arn = string
type nonrec disassociate_origination_identity_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. This field is optional and is not required for origination identity types that are not country-specific, such as RCS agents.

    *)
  3. origination_identity : phone_or_sender_id_or_arn;
    (*

    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers find the values for PhoneNumberId and PhoneNumberArn, or use DescribeSenderIds to get the values for SenderId and SenderIdArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
  4. pool_id : pool_id_or_arn;
    (*

    The unique identifier for the pool to disassociate with the origination identity. This value can be either the PoolId or PoolArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec describe_verified_destination_numbers_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. verified_destination_numbers : verified_destination_number_information_list;
    (*

    An array of VerifiedDestinationNumberInformation objects

    *)
}
type nonrec destination_phone_number_list = phone_number list
type nonrec describe_verified_destination_numbers_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : verified_destination_number_filter_list option;
    (*

    An array of VerifiedDestinationNumberFilter objects to filter the results.

    *)
  4. destination_phone_numbers : destination_phone_number_list option;
    (*

    An array of verified destination phone number, in E.164 format.

    *)
  5. verified_destination_number_ids : verified_destination_number_id_list option;
    (*

    An array of VerifiedDestinationNumberid to retrieve.

    *)
}
type nonrec describe_spend_limits_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. spend_limits : spend_limit_list option;
    (*

    An array of SpendLimit objects that contain the details for the requested spend limits.

    *)
}
type nonrec describe_spend_limits_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
}
type nonrec describe_sender_ids_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. sender_ids : sender_id_information_list option;
    (*

    An array of SernderIdInformation objects that contain the details for the requested SenderIds.

    *)
}
type nonrec owner =
  1. | SELF
  2. | SHARED
type nonrec describe_sender_ids_request = {
  1. owner : owner option;
    (*

    Use SELF to filter the list of Sender Ids to ones your account owns or use SHARED to filter on Sender Ids shared with your account. The Owner and SenderIds parameters can't be used at the same time.

    *)
  2. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  3. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  4. filters : sender_id_filter_list option;
    (*

    An array of SenderIdFilter objects to filter the results.

    *)
  5. sender_ids : sender_id_list option;
    (*

    An array of SenderIdAndCountry objects to search for.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec describe_registration_versions_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. registration_versions : registration_version_information_list;
    (*

    An array of RegistrationVersions objects.

    *)
  3. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  4. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}
type nonrec describe_registration_versions_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : registration_version_filter_list option;
    (*

    An array of RegistrationVersionFilter objects to filter the results.

    *)
  4. version_numbers : registration_version_number_list option;
    (*

    An array of registration version numbers.

    *)
  5. registration_id : registration_id_or_arn;
    (*

    The unique identifier for the registration.

    *)
}
type nonrec describe_registration_type_definitions_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. registration_type_definitions : registration_type_definition_list;
    (*

    The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
}
type nonrec describe_registration_type_definitions_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : registration_type_filter_list option;
    (*

    An array of RegistrationFilter objects to filter the results.

    *)
  4. registration_types : registration_type_list option;
    (*

    The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
}
type nonrec describe_registration_section_definitions_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. registration_section_definitions : registration_section_definition_list;
    (*

    An array of RegistrationSectionDefinition objects.

    *)
  3. registration_type : registration_type;
    (*

    The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
}
type nonrec describe_registration_section_definitions_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. section_paths : section_path_list option;
    (*

    An array of paths for the registration form section.

    *)
  4. registration_type : registration_type;
    (*

    The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
}
type nonrec describe_registrations_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. registrations : registration_information_list;
    (*

    An array of RegistrationInformation objects.

    *)
}
type nonrec describe_registrations_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : registration_filter_list option;
    (*

    An array of RegistrationFilter objects to filter the results.

    *)
  4. registration_ids : registration_id_list option;
    (*

    An array of unique identifiers for each registration.

    *)
}
type nonrec describe_registration_field_values_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. registration_field_values : registration_field_value_information_list;
    (*

    An array of RegistrationFieldValues objects that contain the values for the requested registration.

    *)
  3. version_number : registration_version_number;
    (*

    The current version of the registration.

    *)
  4. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  5. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}
type nonrec field_path_list = field_path list
type nonrec describe_registration_field_values_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. field_paths : field_path_list option;
    (*

    An array of paths to the registration form field.

    *)
  4. section_path : section_path option;
    (*

    The path to the section of the registration.

    *)
  5. version_number : registration_version_number option;
    (*

    The version number of the registration.

    *)
  6. registration_id : registration_id_or_arn;
    (*

    The unique identifier for the registration.

    *)
}
type nonrec describe_registration_field_definitions_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. registration_field_definitions : registration_field_definition_list;
    (*

    An array of RegistrationFieldDefinitions objects that contain the details for the requested fields.

    *)
  3. registration_type : registration_type;
    (*

    The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
}
type nonrec describe_registration_field_definitions_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. field_paths : field_path_list option;
    (*

    An array of paths to the registration form field.

    *)
  4. section_path : section_path option;
    (*

    The path to the section of the registration.

    *)
  5. registration_type : registration_type;
    (*

    The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
}
type nonrec describe_registration_attachments_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. registration_attachments : registration_attachments_information_list;
    (*

    An array of RegistrationAttachments objects that contain the details for the requested registration attachments.

    *)
}
type nonrec describe_registration_attachments_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : registration_attachment_filter_list option;
    (*

    An array of RegistrationAttachmentFilter objects to filter the results.

    *)
  4. registration_attachment_ids : registration_attachment_id_list option;
    (*

    The unique identifier of registration attachments to find. This is an array of RegistrationAttachmentId.

    *)
}
type nonrec describe_rcs_agents_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. rcs_agents : rcs_agent_information_list option;
    (*

    An array of RcsAgentInformation objects that contain the details for the requested RCS agents.

    *)
}
type nonrec describe_rcs_agents_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : rcs_agent_filter_list option;
    (*

    An array of RcsAgentFilter objects to filter the results.

    *)
  4. owner : owner option;
    (*

    Use SELF to filter the list of RCS agents to ones your account owns or use SHARED to filter on RCS agents shared with your account. The Owner and RcsAgentIds parameters can't be used at the same time.

    *)
  5. rcs_agent_ids : rcs_agent_id_list option;
    (*

    An array of unique identifiers for the RCS agents. This is an array of strings that can be either the RcsAgentId or RcsAgentArn.

    *)
}
type nonrec country_launch_status =
  1. | CREATED
  2. | PENDING
  3. | PARTIAL
  4. | ACTIVE
  5. | REJECTED
type nonrec carrier_status =
  1. | PENDING
  2. | ACTIVE
  3. | REJECTED
type nonrec carrier_status_information = {
  1. status : carrier_status;
    (*

    The launch status for this carrier.

    *)
  2. carrier_name : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The name of the carrier.

    *)
}

Contains carrier-level launch status details for an RCS agent within a country.

type nonrec carrier_status_information_list = carrier_status_information list
type nonrec country_launch_status_information = {
  1. carrier_status : carrier_status_information_list;
    (*

    An array of CarrierStatusInformation objects containing carrier-level launch status details.

    *)
  2. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier of the registration associated with this country launch.

    *)
  3. rcs_platform_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The RCS platform identifier for this country.

    *)
  4. status : country_launch_status;
    (*

    The launch status for this country.

    *)
  5. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
}

Contains per-country launch status details for an RCS agent.

type nonrec country_launch_status_information_list = country_launch_status_information list
type nonrec describe_rcs_agent_country_launch_status_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. country_launch_status : country_launch_status_information_list option;
    (*

    An array of CountryLaunchStatusInformation objects that contain the per-country launch status details.

    *)
  3. rcs_agent_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) of the RCS agent.

    *)
  4. rcs_agent_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the RCS agent.

    *)
}
type nonrec country_launch_status_filter_name =
  1. | COUNTRY_LAUNCH_STATUS
type nonrec country_launch_status_filter = {
  1. values : filter_value_list;
    (*

    An array values to filter for.

    *)
  2. name : country_launch_status_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The information for a country launch status that meets a specified criteria.

type nonrec country_launch_status_filter_list = country_launch_status_filter list
type nonrec describe_rcs_agent_country_launch_status_request = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  3. filters : country_launch_status_filter_list option;
    (*

    An array of CountryLaunchStatusFilter objects to filter the results.

    *)
  4. iso_country_codes : iso_country_code_list option;
    (*

    An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, to filter the results.

    *)
  5. rcs_agent_id : rcs_agent_id_or_arn;
    (*

    The unique identifier of the RCS agent. You can use either the RcsAgentId or RcsAgentArn.

    *)
}
type nonrec describe_protect_configurations_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  2. protect_configurations : protect_configuration_information_list option;
    (*

    An array of ProtectConfigurationInformation objects that contain the details for the request.

    *)
}
type nonrec describe_protect_configurations_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : protect_configuration_filter_list option;
    (*

    An array of ProtectConfigurationFilter objects to filter the results.

    *)
  4. protect_configuration_ids : protect_configuration_id_list option;
    (*

    An array of protect configuration identifiers to search for.

    *)
}
type nonrec describe_pools_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. pools : pool_information_list option;
    (*

    An array of PoolInformation objects that contain the details for the requested pools.

    *)
}
type nonrec describe_pools_request = {
  1. owner : owner option;
    (*

    Use SELF to filter the list of Pools to ones your account owns or use SHARED to filter on Pools shared with your account. The Owner and PoolIds parameters can't be used at the same time.

    *)
  2. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  3. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  4. filters : pool_filter_list option;
    (*

    An array of PoolFilter objects to filter the results.

    *)
  5. pool_ids : pool_id_list option;
    (*

    The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec phone_number_information = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the phone number was created, in UNIX epoch time format.

    *)
  2. registration_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the registration.

    *)
  3. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier of the pool associated with the phone number.

    *)
  4. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true the phone number can't be deleted.

    *)
  5. international_sending_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to true the international sending of phone number is Enabled.

    *)
  6. opt_out_list_name : opt_out_list_name;
    (*

    The name of the OptOutList associated with the phone number.

    *)
  7. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out request. For more information see Self-managed opt-outs

    *)
  8. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  9. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  10. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.

    *)
  11. monthly_leasing_price : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The price, in US dollars, to lease the phone number.

    *)
  12. number_type : number_type;
    (*

    The type of phone number.

    *)
  13. number_capabilities : number_capability_list;
    (*

    Describes if the origination identity can be used for text messages, voice calls or both.

    *)
  14. message_type : message_type;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  15. iso_country_code : iso_country_code;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  16. status : number_status;
    (*

    The current status of the phone number.

    *)
  17. phone_number : phone_number;
    (*

    The phone number in E.164 format.

    *)
  18. phone_number_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the phone number.

    *)
  19. phone_number_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) associated with the phone number.

    *)
}

The information for a phone number, in E.164 format, in an Amazon Web Services account.

type nonrec phone_number_information_list = phone_number_information list
type nonrec describe_phone_numbers_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. phone_numbers : phone_number_information_list option;
    (*

    An array of PhoneNumberInformation objects that contain the details for the requested phone numbers.

    *)
}
type nonrec phone_number_id_list = phone_number_id_or_arn list
type nonrec phone_number_filter_name =
  1. | STATUS
  2. | ISO_COUNTRY_CODE
  3. | MESSAGE_TYPE
  4. | NUMBER_CAPABILITY
  5. | NUMBER_TYPE
  6. | TWO_WAY_ENABLED
  7. | SELF_MANAGED_OPT_OUTS_ENABLED
  8. | OPT_OUT_LIST_NAME
  9. | DELETION_PROTECTION_ENABLED
  10. | TWO_WAY_CHANNEL_ARN
type nonrec phone_number_filter = {
  1. values : filter_value_list;
    (*

    An array values to filter for.

    *)
  2. name : phone_number_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The information for a phone number that meets a specified criteria.

type nonrec phone_number_filter_list = phone_number_filter list
type nonrec describe_phone_numbers_request = {
  1. owner : owner option;
    (*

    Use SELF to filter the list of phone numbers to ones your account owns or use SHARED to filter on phone numbers shared with your account. The Owner and PhoneNumberIds parameters can't be used at the same time.

    *)
  2. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  3. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  4. filters : phone_number_filter_list option;
    (*

    An array of PhoneNumberFilter objects to filter the results.

    *)
  5. phone_number_ids : phone_number_id_list option;
    (*

    The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec opt_out_list_information = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the OutOutList was created, in UNIX epoch time format.

    *)
  2. opt_out_list_name : opt_out_list_name;
    (*

    The name of the OptOutList.

    *)
  3. opt_out_list_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) of the OptOutList.

    *)
}

The information for all OptOutList in an Amazon Web Services account.

type nonrec opt_out_list_information_list = opt_out_list_information list
type nonrec describe_opt_out_lists_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. opt_out_lists : opt_out_list_information_list option;
    (*

    An array of OptOutListInformation objects that contain the details for the requested OptOutLists.

    *)
}
type nonrec opt_out_list_name_list = opt_out_list_name_or_arn list
type nonrec describe_opt_out_lists_request = {
  1. owner : owner option;
    (*

    Use SELF to filter the list of Opt-Out List to ones your account owns or use SHARED to filter on Opt-Out List shared with your account. The Owner and OptOutListNames parameters can't be used at the same time.

    *)
  2. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  3. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  4. opt_out_list_names : opt_out_list_name_list option;
    (*

    The OptOutLists to show the details of. This is an array of strings that can be either the OptOutListName or OptOutListArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec opted_out_number_information = {
  1. end_user_opted_out : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    This is set to true if it was the end recipient that opted out.

    *)
  2. opted_out_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time that the op tout occurred, in UNIX epoch time format.

    *)
  3. opted_out_number : phone_number;
    (*

    The phone number that is opted out.

    *)
}

The information for an opted out number in an Amazon Web Services account.

type nonrec opted_out_number_information_list = opted_out_number_information list
type nonrec describe_opted_out_numbers_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. opted_out_numbers : opted_out_number_information_list option;
    (*

    An array of OptedOutNumbersInformation objects that provide information about the requested OptedOutNumbers.

    *)
  3. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList.

    *)
  4. opt_out_list_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the OptOutList.

    *)
}
type nonrec opted_out_number_list = phone_number list
type nonrec opted_out_filter_name =
  1. | END_USER_OPTED_OUT
type nonrec opted_out_filter = {
  1. values : filter_value_list;
    (*

    An array of values to filter for.

    *)
  2. name : opted_out_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The information for opted out numbers that meet a specified criteria.

type nonrec opted_out_filter_list = opted_out_filter list
type nonrec describe_opted_out_numbers_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : opted_out_filter_list option;
    (*

    An array of OptedOutFilter objects to filter the results on.

    *)
  4. opted_out_numbers : opted_out_number_list option;
    (*

    An array of phone numbers to search for in the OptOutList.

    If you specify an opted out number that isn't valid, an exception is returned.

    *)
  5. opt_out_list_name : opt_out_list_name_or_arn;
    (*

    The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec notify_template_version = int
type nonrec notify_template_type =
  1. | OTP_VERIFICATION
type nonrec notify_configuration_tier_list = notify_configuration_tier list
type nonrec notify_template_status =
  1. | ACTIVE
  2. | INACTIVE
type nonrec notify_language_code = string
type nonrec notify_template_information = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the notify template was created, in UNIX epoch time format.

    *)
  2. supported_voice_ids : voice_id_list option;
    (*

    An array of supported voice IDs for voice templates.

    *)
  3. variables : template_variables_map option;
    (*

    An array of template variable metadata for the template.

    *)
  4. content : template_content option;
    (*

    The content of the template.

    *)
  5. language_code : notify_language_code option;
    (*

    The language code for the template.

    *)
  6. supported_countries : iso_country_code_list option;
    (*

    An array of supported country codes for the template.

    *)
  7. status : notify_template_status option;
    (*

    The current status of the template.

    *)
  8. tier_access : notify_configuration_tier_list option;
    (*

    The tier access level for the template.

    *)
  9. channels : number_capability_list;
    (*

    The channels for the template. Supported values are SMS and VOICE.

    *)
  10. template_type : notify_template_type;
    (*

    The type of the template.

    *)
  11. version : notify_template_version;
    (*

    The version of the template.

    *)
  12. template_id : notify_template_id;
    (*

    The unique identifier for the template.

    *)
}

The information for a system-managed notify template in an Amazon Web Services account.

type nonrec notify_template_information_list = notify_template_information list
type nonrec describe_notify_templates_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. notify_templates : notify_template_information_list option;
    (*

    An array of NotifyTemplateInformation objects that contain the results.

    *)
}
type nonrec notify_template_id_list = notify_template_id list
type nonrec notify_template_filter_name =
  1. | TEMPLATE_TYPE
  2. | CHANNELS
  3. | TIER_ACCESS
  4. | SUPPORTED_COUNTRIES
  5. | LANGUAGE_CODE
  6. | SUPPORTED_VOICE_IDS
type nonrec notify_template_filter = {
  1. values : filter_value_list;
    (*

    An array values to filter for.

    *)
  2. name : notify_template_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The information for notify templates that meet a specified criteria.

type nonrec notify_template_filter_list = notify_template_filter list
type nonrec describe_notify_templates_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : notify_template_filter_list option;
    (*

    An array of NotifyTemplateFilter objects to filter the results on.

    *)
  4. template_ids : notify_template_id_list option;
    (*

    An array of template IDs to describe.

    *)
}
type nonrec notify_configuration_information = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the notify configuration was created, in UNIX epoch time format.

    *)
  2. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true deletion protection is enabled. By default this is set to false.

    *)
  3. rejection_reason : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The reason the notify configuration was rejected, if applicable.

    *)
  4. status : notify_configuration_status;
    (*

    The current status of the notify configuration.

    *)
  5. tier_upgrade_status : tier_upgrade_status;
    (*

    The tier upgrade status of the notify configuration.

    *)
  6. tier : notify_configuration_tier;
    (*

    The tier of the notify configuration.

    *)
  7. enabled_channels : notify_enabled_channels_list;
    (*

    An array of channels enabled for the notify configuration. Supported values include SMS and VOICE.

    *)
  8. enabled_countries : iso_country_code_list option;
    (*

    An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.

    *)
  9. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The identifier of the pool associated with the notify configuration.

    *)
  10. default_template_id : notify_template_id option;
    (*

    The default template identifier associated with the notify configuration.

    *)
  11. use_case : notify_configuration_use_case;
    (*

    The use case for the notify configuration.

    *)
  12. display_name : notify_configuration_display_name;
    (*

    The display name associated with the notify configuration.

    *)
  13. notify_configuration_id : notify_configuration_id;
    (*

    The unique identifier for the notify configuration.

    *)
  14. notify_configuration_arn : notify_configuration_arn;
    (*

    The Amazon Resource Name (ARN) for the notify configuration.

    *)
}

The information for a notify configuration in an Amazon Web Services account.

type nonrec notify_configuration_information_list = notify_configuration_information list
type nonrec describe_notify_configurations_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. notify_configurations : notify_configuration_information_list option;
    (*

    An array of NotifyConfigurationInformation objects that contain the results.

    *)
}
type nonrec notify_configuration_id_list = notify_configuration_id_or_arn list
type nonrec notify_configuration_filter_name =
  1. | DISPLAY_NAME
  2. | ENABLED_COUNTRIES
  3. | ENABLED_CHANNELS
  4. | DEFAULT_TEMPLATE
  5. | DEFAULT_POOL
  6. | USE_CASE
  7. | STATUS
  8. | DELETION_PROTECTION_ENABLED
  9. | TIER_UPGRADE_STATUS
type nonrec notify_configuration_filter = {
  1. values : filter_value_list;
    (*

    An array values to filter for.

    *)
  2. name : notify_configuration_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The information for notify configurations that meet a specified criteria.

type nonrec notify_configuration_filter_list = notify_configuration_filter list
type nonrec describe_notify_configurations_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : notify_configuration_filter_list option;
    (*

    An array of NotifyConfigurationFilter objects to filter the results on.

    *)
  4. notify_configuration_ids : notify_configuration_id_list option;
    (*

    An array of notify configuration IDs to describe.

    *)
}
type nonrec keyword_information = {
  1. keyword_action : keyword_action;
    (*

    The action to perform for the keyword.

    *)
  2. keyword_message : keyword_message;
    (*

    A custom message that can be used with the keyword.

    *)
  3. keyword : keyword;
    (*

    The keyword as a string.

    *)
}

The information for all keywords in a pool.

type nonrec keyword_information_list = keyword_information list
type nonrec describe_keywords_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. keywords : keyword_information_list option;
    (*

    An array of KeywordInformation objects that contain the results.

    *)
  3. origination_identity : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberId or PoolId that is associated with the OriginationIdentity.

    *)
  4. origination_identity_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberArn or PoolArn that is associated with the OriginationIdentity.

    *)
}
type nonrec keyword_list = keyword list
type nonrec keyword_filter_name =
  1. | KEYWORD_ACTION
type nonrec keyword_filter = {
  1. values : filter_value_list;
    (*

    An array values to filter for.

    *)
  2. name : keyword_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The information for keywords that meet a specified criteria.

type nonrec keyword_filter_list = keyword_filter list
type nonrec describe_keywords_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : keyword_filter_list option;
    (*

    An array of keyword filters to filter the results.

    *)
  4. keywords : keyword_list option;
    (*

    An array of keywords to search for.

    *)
  5. origination_identity : phone_or_pool_id_or_arn;
    (*

    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec event_destination_list = event_destination list
type nonrec configuration_set_information = {
  1. protect_configuration_id : protect_configuration_id_or_arn option;
    (*

    The unique identifier for the protect configuration.

    *)
  2. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the ConfigurationSet was created, in UNIX epoch time format.

    *)
  3. default_message_feedback_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    True if message feedback is enabled.

    *)
  4. default_sender_id : sender_id option;
    (*

    The default sender ID used by the ConfigurationSet.

    *)
  5. default_message_type : message_type option;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

    *)
  6. event_destinations : event_destination_list;
    (*

    An array of EventDestination objects that describe any events to log and where to log them.

    *)
  7. configuration_set_name : configuration_set_name;
    (*

    The name of the ConfigurationSet.

    *)
  8. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Resource Name (ARN) of the ConfigurationSet.

    *)
}

Information related to a given configuration set in your Amazon Web Services account.

type nonrec configuration_set_information_list = configuration_set_information list
type nonrec describe_configuration_sets_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. configuration_sets : configuration_set_information_list option;
    (*

    An array of ConfigurationSets objects.

    *)
}
type nonrec configuration_set_name_list = configuration_set_name_or_arn list
type nonrec configuration_set_filter_name =
  1. | EVENT_DESTINATION_NAME
  2. | MATCHING_EVENT_TYPES
  3. | DEFAULT_MESSAGE_TYPE
  4. | DEFAULT_SENDER_ID
  5. | DEFAULT_MESSAGE_FEEDBACK_ENABLED
  6. | PROTECT_CONFIGURATION_ID
type nonrec configuration_set_filter = {
  1. values : filter_value_list;
    (*

    An array values to filter for.

    *)
  2. name : configuration_set_filter_name;
    (*

    The name of the attribute to filter on.

    *)
}

The information for configuration sets that meet a specified criteria.

type nonrec configuration_set_filter_list = configuration_set_filter list
type nonrec describe_configuration_sets_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
  3. filters : configuration_set_filter_list option;
    (*

    An array of filters to apply to the results that are returned.

    *)
  4. configuration_set_names : configuration_set_name_list option;
    (*

    An array of strings. Each element can be either a ConfigurationSetName or ConfigurationSetArn.

    *)
}
type nonrec account_limit_name =
  1. | PHONE_NUMBERS
  2. | POOLS
  3. | CONFIGURATION_SETS
  4. | OPT_OUT_LISTS
  5. | SENDER_IDS
  6. | REGISTRATIONS
  7. | REGISTRATION_ATTACHMENTS
  8. | VERIFIED_DESTINATION_NUMBERS
type nonrec account_limit = {
  1. max : Smaws_Lib.Smithy_api.Types.primitive_long;
    (*

    The Amazon Web Services set limit for that resource type, in US dollars.

    *)
  2. used : Smaws_Lib.Smithy_api.Types.primitive_long;
    (*

    The current amount that has been spent, in US dollars.

    *)
  3. name : account_limit_name;
    (*

    The name of the attribute to apply the account limit to.

    *)
}

The current resource quotas associated with an Amazon Web Services account.

type nonrec account_limit_list = account_limit list
type nonrec describe_account_limits_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. account_limits : account_limit_list option;
    (*

    An array of AccountLimit objects that show the current spend limits.

    *)
}
type nonrec describe_account_limits_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
}
type nonrec account_attribute_name =
  1. | ACCOUNT_TIER
  2. | DEFAULT_PROTECT_CONFIGURATION_ID
type nonrec account_attribute = {
  1. value : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The value associated with the account attribute name.

    *)
  2. name : account_attribute_name;
    (*

    The name of the account attribute.

    *)
}

Displays the attributes associated with a single Amazon Web Services account.

type nonrec account_attribute_list = account_attribute list
type nonrec describe_account_attributes_result = {
  1. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. If this field is empty then there are no more results.

    *)
  2. account_attributes : account_attribute_list option;
    (*

    An array of AccountAttributes objects.

    *)
}
type nonrec describe_account_attributes_request = {
  1. max_results : max_results option;
    (*

    The maximum number of results to return per each request.

    *)
  2. next_token : next_token option;
    (*

    The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

    *)
}
type nonrec delete_voice_message_spend_limit_override_result = {
  1. monthly_limit : monthly_limit option;
    (*

    The current monthly limit, in US dollars.

    *)
}
type nonrec delete_voice_message_spend_limit_override_request = unit
type nonrec delete_verified_destination_number_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the destination phone number was created, in UNIX epoch time format.

    *)
  2. destination_phone_number : phone_number;
    (*

    The verified destination phone number, in E.164 format.

    *)
  3. verified_destination_number_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the verified destination phone number.

    *)
  4. verified_destination_number_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the verified destination phone number.

    *)
}
type nonrec delete_verified_destination_number_request = {
  1. verified_destination_number_id : verified_destination_number_id_or_arn;
    (*

    The unique identifier for the verified destination phone number.

    *)
}
type nonrec delete_text_message_spend_limit_override_result = {
  1. monthly_limit : monthly_limit option;
    (*

    The current monthly limit, in US dollars.

    *)
}
type nonrec delete_text_message_spend_limit_override_request = unit
type nonrec delete_resource_policy_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the resource-based policy was created, in UNIX epoch time format.

    *)
  2. policy : resource_policy option;
    (*

    The JSON formatted resource-based policy that was deleted.

    *)
  3. resource_arn : amazon_resource_name option;
    (*

    The Amazon Resource Name (ARN) of the End User Messaging SMS resource that the resource-based policy was deleted from.

    *)
}
type nonrec delete_resource_policy_request = {
  1. resource_arn : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the End User Messaging SMS resource you're deleting the resource-based policy from.

    *)
}
type nonrec delete_registration_field_value_result = {
  1. registration_attachment_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the registration attachment.

    *)
  2. text_value : text_value option;
    (*

    The text data for a free form field.

    *)
  3. select_choices : select_choice_list option;
    (*

    An array of values for the form field.

    *)
  4. field_path : field_path;
    (*

    The path to the registration form field.

    *)
  5. version_number : registration_version_number;
    (*

    The version number of the registration.

    *)
  6. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  7. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}
type nonrec delete_registration_field_value_request = {
  1. field_path : field_path;
    (*

    The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.

    *)
  2. registration_id : registration_id_or_arn;
    (*

    The unique identifier for the registration.

    *)
}
type nonrec delete_registration_attachment_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the registration attachment was created, in UNIX epoch time format.

    *)
  2. attachment_upload_error_reason : attachment_upload_error_reason option;
    (*

    The error message if the upload failed.

    *)
  3. attachment_status : attachment_status;
    (*

    The status of the registration attachment.

    • UPLOAD_IN_PROGRESS The attachment is being uploaded.
    • UPLOAD_COMPLETE The attachment has been uploaded.
    • UPLOAD_FAILED The attachment failed to uploaded.
    • DELETED The attachment has been deleted..
    *)
  4. registration_attachment_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration attachment.

    *)
  5. registration_attachment_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration attachment.

    *)
}
type nonrec delete_registration_attachment_request = {
  1. registration_attachment_id : registration_attachment_id_or_arn;
    (*

    The unique identifier for the registration attachment.

    *)
}
type nonrec delete_registration_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the registration was created, in UNIX epoch time format.

    *)
  2. additional_attributes : string_map option;
    (*

    Metadata about a given registration which is specific to that registration type.

    *)
  3. latest_denied_version_number : registration_version_number option;
    (*

    The latest version number of the registration that was denied.

    *)
  4. approved_version_number : registration_version_number option;
    (*

    The version number of the registration that was approved.

    *)
  5. current_version_number : registration_version_number;
    (*

    The current version number of the registration.

    *)
  6. registration_status : registration_status;
    (*

    The status of the registration.

    • CLOSED: The phone number or sender ID has been deleted and you must also delete the registration for the number.
    • CREATED: Your registration is created but not submitted.
    • COMPLETE: Your registration has been approved and your origination identity has been created.
    • DELETED: The registration has been deleted.
    • PROVISIONING: Your registration has been approved and your origination identity is being created.
    • REQUIRES_AUTHENTICATION: You need to complete email authentication.
    • REQUIRES_UPDATES: You must fix your registration and resubmit it.
    • REVIEWING: Your registration has been accepted and is being reviewed.
    • SUBMITTED: Your registration has been submitted and is awaiting review.
    *)
  7. registration_type : registration_type;
    (*

    The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
  8. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  9. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}
type nonrec delete_registration_request = {
  1. registration_id : registration_id_or_arn;
    (*

    The unique identifier for the registration.

    *)
}
type nonrec delete_rcs_message_spend_limit_override_result = {
  1. monthly_limit : monthly_limit option;
    (*

    The current monthly limit to enforce on RCS message spending.

    *)
}
type nonrec delete_rcs_message_spend_limit_override_request = unit
type nonrec delete_rcs_agent_result = {
  1. two_way_rcs_events_enabled : rcs_event_type_list option;
    (*

    The list of RCS event types that were enabled for two-way messaging on the deleted agent.

    *)
  2. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  3. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  4. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  5. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    By default this is set to false. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  6. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList that was associated with the deleted RCS agent.

    *)
  7. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true deletion protection is enabled. By default this is set to false.

    *)
  8. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the RCS agent was created, in UNIX epoch time format.

    *)
  9. status : rcs_agent_status;
    (*

    The current status of the RCS agent.

    *)
  10. rcs_agent_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the deleted RCS agent.

    *)
  11. rcs_agent_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) of the deleted RCS agent.

    *)
}
type nonrec delete_rcs_agent_request = {
  1. rcs_agent_id : rcs_agent_id_or_arn;
    (*

    The unique identifier of the RCS agent to delete. You can use either the RcsAgentId or RcsAgentArn.

    *)
}
type nonrec delete_protect_configuration_rule_set_number_override_result = {
  1. expiration_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the resource-based policy was created, in UNIX epoch time format.

    *)
  2. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  3. action : protect_configuration_rule_override_action;
    (*

    The action associated with the rule.

    *)
  4. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the rule was created, in UNIX epoch time format.

    *)
  5. destination_phone_number : phone_number;
    (*

    The destination phone number in E.164 format.

    *)
  6. protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier for the protect configuration.

    *)
  7. protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the protect configuration.

    *)
}
type nonrec delete_protect_configuration_rule_set_number_override_request = {
  1. destination_phone_number : phone_number;
    (*

    The destination phone number in E.164 format.

    *)
  2. protect_configuration_id : protect_configuration_id_or_arn;
    (*

    The unique identifier for the protect configuration.

    *)
}
type nonrec delete_protect_configuration_result = {
  1. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    The status of deletion protection for the protect configuration. When set to true deletion protection is enabled. By default this is set to false.

    *)
  2. account_default : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    This is true if the protect configuration is set as your account default protect configuration.

    *)
  3. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the protect configuration was created, in UNIX epoch time format.

    *)
  4. protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier for the protect configuration.

    *)
  5. protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the protect configuration.

    *)
}
type nonrec delete_protect_configuration_request = {
  1. protect_configuration_id : protect_configuration_id_or_arn;
    (*

    The unique identifier for the protect configuration.

    *)
}
type nonrec delete_pool_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the pool was created, in UNIX epoch time format.

    *)
  2. shared_routes_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    Indicates whether shared routes are enabled for the pool.

    *)
  3. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList that was associated with the deleted pool.

    *)
  4. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  5. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  6. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the TwoWayChannel.

    *)
  7. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  8. message_type : message_type option;
    (*

    The message type that was associated with the deleted pool.

    *)
  9. status : pool_status option;
    (*

    The current status of the pool.

    • CREATING: The pool is currently being created and isn't yet available for use.
    • ACTIVE: The pool is active and available for use.
    • DELETING: The pool is being deleted.
    *)
  10. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PoolId of the pool that was deleted.

    *)
  11. pool_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the pool that was deleted.

    *)
}
type nonrec delete_pool_request = {
  1. pool_id : pool_id_or_arn;
    (*

    The PoolId or PoolArn of the pool to delete. You can use DescribePools to find the values for PoolId and PoolArn .

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec delete_opt_out_list_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the OptOutList was created, in UNIX epoch time format.

    *)
  2. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList that was removed.

    *)
  3. opt_out_list_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the OptOutList that was removed.

    *)
}
type nonrec delete_opt_out_list_request = {
  1. opt_out_list_name : opt_out_list_name_or_arn;
    (*

    The OptOutListName or OptOutListArn of the OptOutList to delete. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec delete_opted_out_number_result = {
  1. end_user_opted_out : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    This is true if it was the end user who requested their phone number be removed.

    *)
  2. opted_out_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time that the number was removed at, in UNIX epoch time format.

    *)
  3. opted_out_number : phone_number option;
    (*

    The phone number that was removed from the OptOutList.

    *)
  4. opt_out_list_name : opt_out_list_name option;
    (*

    The OptOutListName that the phone number was removed from.

    *)
  5. opt_out_list_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The OptOutListArn that the phone number was removed from.

    *)
}
type nonrec delete_opted_out_number_request = {
  1. opted_out_number : phone_number;
    (*

    The phone number, in E.164 format, to remove from the OptOutList.

    *)
  2. opt_out_list_name : opt_out_list_name_or_arn;
    (*

    The OptOutListName or OptOutListArn to remove the phone number from.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec delete_notify_message_spend_limit_override_result = {
  1. monthly_limit : monthly_limit option;
    (*

    The current monthly limit, in US dollars.

    *)
}
type nonrec delete_notify_message_spend_limit_override_request = unit
type nonrec delete_notify_configuration_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the notify configuration was created, in UNIX epoch time format.

    *)
  2. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true deletion protection is enabled. By default this is set to false.

    *)
  3. rejection_reason : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The reason the notify configuration was rejected, if applicable.

    *)
  4. status : notify_configuration_status;
    (*

    The current status of the notify configuration.

    *)
  5. tier_upgrade_status : tier_upgrade_status;
    (*

    The tier upgrade status of the notify configuration.

    *)
  6. tier : notify_configuration_tier;
    (*

    The tier of the notify configuration.

    *)
  7. enabled_channels : notify_enabled_channels_list;
    (*

    An array of channels enabled for the notify configuration. Supported values include SMS and VOICE.

    *)
  8. enabled_countries : iso_country_code_list option;
    (*

    An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.

    *)
  9. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The identifier of the pool associated with the notify configuration.

    *)
  10. default_template_id : notify_template_id option;
    (*

    The default template identifier associated with the notify configuration.

    *)
  11. use_case : notify_configuration_use_case;
    (*

    The use case for the notify configuration.

    *)
  12. display_name : notify_configuration_display_name;
    (*

    The display name associated with the notify configuration.

    *)
  13. notify_configuration_id : notify_configuration_id;
    (*

    The unique identifier for the notify configuration.

    *)
  14. notify_configuration_arn : notify_configuration_arn;
    (*

    The Amazon Resource Name (ARN) for the notify configuration.

    *)
}
type nonrec delete_notify_configuration_request = {
  1. notify_configuration_id : notify_configuration_id_or_arn;
    (*

    The identifier of the notify configuration to delete. The NotifyConfigurationId can be found using the DescribeNotifyConfigurations operation.

    *)
}
type nonrec delete_media_message_spend_limit_override_result = {
  1. monthly_limit : monthly_limit option;
    (*

    The current monthly limit, in US dollars.

    *)
}
type nonrec delete_media_message_spend_limit_override_request = unit
type nonrec delete_keyword_result = {
  1. keyword_action : keyword_action option;
    (*

    The action that was associated with the deleted keyword.

    *)
  2. keyword_message : keyword_message option;
    (*

    The message that was associated with the deleted keyword.

    *)
  3. keyword : keyword option;
    (*

    The keyword that was deleted.

    *)
  4. origination_identity : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberId or PoolId that the keyword was associated with.

    *)
  5. origination_identity_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberArn or PoolArn that the keyword was associated with.

    *)
}
type nonrec delete_keyword_request = {
  1. keyword : keyword;
    (*

    The keyword to delete.

    *)
  2. origination_identity : phone_or_pool_id_or_arn;
    (*

    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, PoolId or PoolArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn and DescribePools to find the values of PoolId and PoolArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec delete_event_destination_result = {
  1. event_destination : event_destination option;
    (*

    The event destination object that was deleted.

    *)
  2. configuration_set_name : configuration_set_name option;
    (*

    The name of the configuration set the event destination was deleted from.

    *)
  3. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the configuration set.

    *)
}
type nonrec delete_event_destination_request = {
  1. event_destination_name : event_destination_name;
    (*

    The name of the event destination to delete.

    *)
  2. configuration_set_name : configuration_set_name_or_arn;
    (*

    The name of the configuration set or the configuration set's Amazon Resource Name (ARN) to remove the event destination from. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

    *)
}
type nonrec delete_default_sender_id_result = {
  1. sender_id : sender_id option;
    (*

    The current sender ID for the configuration set.

    *)
  2. configuration_set_name : configuration_set_name option;
    (*

    The name of the configuration set.

    *)
  3. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the configuration set.

    *)
}
type nonrec delete_default_sender_id_request = {
  1. configuration_set_name : configuration_set_name_or_arn;
    (*

    The name of the configuration set or the configuration set Amazon Resource Name (ARN) to delete the default sender ID from. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

    *)
}
type nonrec delete_default_message_type_result = {
  1. message_type : message_type option;
    (*

    The current message type for the configuration set.

    *)
  2. configuration_set_name : configuration_set_name option;
    (*

    The name of the configuration set.

    *)
  3. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the configuration set.

    *)
}
type nonrec delete_default_message_type_request = {
  1. configuration_set_name : configuration_set_name_or_arn;
    (*

    The name of the configuration set or the configuration set Amazon Resource Name (ARN) to delete the default message type from. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

    *)
}
type nonrec delete_configuration_set_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time that the deleted configuration set was created in UNIX epoch time format.

    *)
  2. default_message_feedback_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    True if the configuration set has message feedback enabled. By default this is set to false.

    *)
  3. default_sender_id : sender_id option;
    (*

    The default Sender ID of the configuration set that was deleted.

    *)
  4. default_message_type : message_type option;
    (*

    The default message type of the configuration set that was deleted.

    *)
  5. event_destinations : event_destination_list option;
    (*

    An array of any EventDestination objects that were associated with the deleted configuration set.

    *)
  6. configuration_set_name : configuration_set_name option;
    (*

    The name of the deleted configuration set.

    *)
  7. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the deleted configuration set.

    *)
}
type nonrec delete_configuration_set_request = {
  1. configuration_set_name : configuration_set_name_or_arn;
    (*

    The name of the configuration set or the configuration set ARN that you want to delete. The ConfigurationSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

    *)
}
type nonrec delete_account_default_protect_configuration_result = {
  1. default_protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier of the account default protect configuration.

    *)
  2. default_protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the account default protect configuration.

    *)
}
type nonrec delete_account_default_protect_configuration_request = unit
type nonrec create_verified_destination_number_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the verified phone number was created, in UNIX epoch time format.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) to associate with the destination number.

    *)
  3. rcs_agent_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier of the RCS agent associated with the verified destination number.

    *)
  4. status : verification_status;
    (*

    The status of the verified destination phone number.

    • PENDING: The phone number hasn't been verified yet.
    • VERIFIED: The phone number is verified and can receive messages.
    *)
  5. destination_phone_number : phone_number;
    (*

    The verified destination phone number, in E.164 format.

    *)
  6. verified_destination_number_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the verified destination phone number.

    *)
  7. verified_destination_number_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the verified destination phone number.

    *)
}
type nonrec create_verified_destination_number_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) to associate with the destination number.

    *)
  3. rcs_agent_id : rcs_agent_id_or_arn option;
    (*

    The unique identifier of the RCS agent to associate with the verified destination number. You can use either the RcsAgentId or RcsAgentArn.

    *)
  4. destination_phone_number : phone_number;
    (*

    The verified destination phone number, in E.164 format.

    *)
}
type nonrec create_registration_version_result = {
  1. registration_version_status_history : registration_version_status_history;
    (*

    A RegistrationVersionStatusHistory object that contains timestamps for the registration.

    *)
  2. registration_version_status : registration_version_status;
    (*

    The status of the registration.

    • APPROVED: Your registration has been approved.
    • ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.
    • DENIED: You must fix your registration and resubmit it.
    • DISCARDED: You've abandon this version of their registration to start over with a new version.
    • DRAFT: The initial status of a registration version after it’s created.
    • REQUIRES_AUTHENTICATION: You need to complete email authentication.
    • REVIEWING: Your registration has been accepted and is being reviewed.
    • REVOKED: Your previously approved registration has been revoked.
    • SUBMITTED: Your registration has been submitted.
    *)
  3. version_number : registration_version_number;
    (*

    The new version number of the registration.

    *)
  4. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  5. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}
type nonrec create_registration_version_request = {
  1. registration_id : registration_id_or_arn;
    (*

    The unique identifier for the registration.

    *)
}
type nonrec create_registration_attachment_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the registration attachment was created, in UNIX epoch time format.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) to associate with the registration attachment.

    *)
  3. attachment_status : attachment_status;
    (*

    The status of the registration attachment.

    • UPLOAD_IN_PROGRESS The attachment is being uploaded.
    • UPLOAD_COMPLETE The attachment has been uploaded.
    • UPLOAD_FAILED The attachment failed to uploaded.
    • DELETED The attachment has been deleted..
    *)
  4. registration_attachment_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration attachment.

    *)
  5. registration_attachment_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration attachment.

    *)
}
type nonrec attachment_body = bytes
type nonrec attachment_url = string
type nonrec create_registration_attachment_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) to associate with the registration attachment.

    *)
  3. attachment_url : attachment_url option;
    (*

    Registration files have to be stored in an Amazon S3 bucket. The URI to use when sending is in the format s3://BucketName/FileName.

    *)
  4. attachment_body : attachment_body option;
    (*

    The registration file to upload. The maximum file size is 500KB and valid file extensions are PDF, JPEG and PNG.

    *)
}
type nonrec create_registration_association_result = {
  1. phone_number : phone_number option;
    (*

    The phone number associated with the registration in E.164 format.

    *)
  2. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  3. resource_type : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The registration type or origination identity type.

    *)
  4. resource_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.

    *)
  5. resource_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) of the origination identity that is associated with the registration.

    *)
  6. registration_type : registration_type;
    (*

    The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
  7. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  8. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}
type nonrec create_registration_association_request = {
  1. resource_id : resource_id_or_arn;
    (*

    The unique identifier for the origination identity. For example this could be a PhoneNumberId or SenderId.

    *)
  2. registration_id : registration_id_or_arn;
    (*

    The unique identifier for the registration.

    *)
}
type nonrec create_registration_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the registration was created, in UNIX epoch time format.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) to associate with the registration.

    *)
  3. additional_attributes : string_map option;
    (*

    Metadata about a given registration which is specific to that registration type.

    *)
  4. current_version_number : registration_version_number;
    (*

    The current version number of the registration.

    *)
  5. registration_status : registration_status;
    (*

    The status of the registration.

    • CLOSED: The phone number or sender ID has been deleted and you must also delete the registration for the number.
    • CREATED: Your registration is created but not submitted.
    • COMPLETE: Your registration has been approved and your origination identity has been created.
    • DELETED: The registration has been deleted.
    • PROVISIONING: Your registration has been approved and your origination identity is being created.
    • REQUIRES_AUTHENTICATION: You need to complete email authentication.
    • REQUIRES_UPDATES: You must fix your registration and resubmit it.
    • REVIEWING: Your registration has been accepted and is being reviewed.
    • SUBMITTED: Your registration has been submitted and is awaiting review.
    *)
  6. registration_type : registration_type;
    (*

    The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
  7. registration_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the registration.

    *)
  8. registration_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) for the registration.

    *)
}
type nonrec create_registration_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) to associate with the registration.

    *)
  3. registration_type : registration_type;
    (*

    The type of registration form to create. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

    *)
}
type nonrec create_rcs_agent_result = {
  1. tags : tag_list option;
    (*

    An array of tags (key and value pairs) associated with the RCS agent.

    *)
  2. two_way_rcs_events_enabled : rcs_event_type_list option;
    (*

    The list of RCS event types enabled for two-way messaging on the agent.

    *)
  3. two_way_media_s3_role : iam_role_arn option;
    (*

    The ARN of the IAM role used to write inbound RCS media files to the S3 bucket. The role must have s3:PutObject permission on the bucket and a trust policy allowing sms-voice.amazonaws.com to assume it.

    *)
  4. two_way_media_s3_key_prefix : two_way_media_s3_key_prefix option;
    (*

    The key prefix used for inbound RCS media objects in the S3 bucket.

    *)
  5. two_way_media_s3_bucket_name : two_way_media_s3_bucket_name option;
    (*

    The name of the S3 bucket where inbound RCS media files are stored.

    *)
  6. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  7. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  8. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  9. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    By default this is set to false. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  10. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the RCS agent was created, in UNIX epoch time format.

    *)
  11. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList associated with the RCS agent.

    *)
  12. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true deletion protection is enabled. By default this is set to false.

    *)
  13. status : rcs_agent_status;
    (*

    The current status of the RCS agent.

    *)
  14. rcs_agent_id : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The unique identifier for the RCS agent.

    *)
  15. rcs_agent_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) of the newly created RCS agent.

    *)
}
type nonrec create_rcs_agent_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) associated with the RCS agent.

    *)
  3. opt_out_list_name : opt_out_list_name_or_arn option;
    (*

    The OptOutList to associate with the RCS agent. Valid values are either OptOutListName or OptOutListArn.

    *)
  4. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true the RCS agent can't be deleted. You can change this value using the UpdateRcsAgent action.

    *)
}
type nonrec create_protect_configuration_result = {
  1. tags : tag_list option;
    (*

    An array of key and value pair tags that are associated with the resource.

    *)
  2. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true deletion protection is enabled. By default this is set to false.

    *)
  3. account_default : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    This is true if the protect configuration is set as your account default protect configuration.

    *)
  4. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the protect configuration was created, in UNIX epoch time format.

    *)
  5. protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier for the protect configuration.

    *)
  6. protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the protect configuration.

    *)
}
type nonrec create_protect_configuration_request = {
  1. tags : tag_list option;
    (*

    An array of key and value pair tags that are associated with the resource.

    *)
  2. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    When set to true deletion protection is enabled. By default this is set to false.

    *)
  3. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
}
type nonrec create_pool_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the pool was created, in UNIX epoch time format.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) associated with the pool.

    *)
  3. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    When set to true deletion protection is enabled. By default this is set to false.

    *)
  4. shared_routes_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in this pool are used to send messages.

    *)
  5. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the OptOutList associated with the pool.

    *)
  6. self_managed_opt_outs_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to false, and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.

    *)
  7. two_way_channel_role : iam_role_arn option;
    (*

    An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

    *)
  8. two_way_channel_arn : two_way_channel_arn option;
    (*

    The Amazon Resource Name (ARN) of the two way channel.

    *)
  9. two_way_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean option;
    (*

    By default this is set to false. When set to true you can receive incoming text messages from your end recipients.

    *)
  10. message_type : message_type option;
    (*

    The type of message for the pool to use.

    *)
  11. status : pool_status option;
    (*

    The current status of the pool.

    • CREATING: The pool is currently being created and isn't yet available for use.
    • ACTIVE: The pool is active and available for use.
    • DELETING: The pool is being deleted.
    *)
  12. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The unique identifier for the pool.

    *)
  13. pool_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) for the pool.

    *)
}
type nonrec create_pool_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) associated with the pool.

    *)
  3. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true the pool can't be deleted. You can change this value using the UpdatePool action.

    *)
  4. message_type : message_type;
    (*

    The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive. After the pool is created the MessageType can't be changed.

    *)
  5. iso_country_code : iso_country_code option;
    (*

    The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the new pool. This field is optional and is not required for origination identity types that are not country-specific, such as RCS agents.

    *)
  6. origination_identity : phone_or_sender_id_or_arn;
    (*

    The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn, and use DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.

    After the pool is created you can add more origination identities to the pool by using AssociateOriginationIdentity.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
}
type nonrec create_opt_out_list_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the pool was created, in UNIX epoch time format.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) associated with the new OptOutList.

    *)
  3. opt_out_list_name : opt_out_list_name option;
    (*

    The name of the new OptOutList.

    *)
  4. opt_out_list_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) for the OptOutList.

    *)
}
type nonrec create_opt_out_list_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) to associate with the new OptOutList.

    *)
  3. opt_out_list_name : opt_out_list_name;
    (*

    The name of the new OptOutList.

    *)
}
type nonrec create_notify_configuration_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp;
    (*

    The time when the notify configuration was created, in UNIX epoch time format.

    *)
  2. tags : tag_list option;
    (*

    An array of tags (key and value pairs) associated with the notify configuration.

    *)
  3. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.primitive_boolean;
    (*

    When set to true deletion protection is enabled. By default this is set to false.

    *)
  4. rejection_reason : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The reason the notify configuration was rejected, if applicable.

    *)
  5. status : notify_configuration_status;
    (*

    The current status of the notify configuration.

    *)
  6. tier_upgrade_status : tier_upgrade_status;
    (*

    The tier upgrade status of the notify configuration.

    *)
  7. tier : notify_configuration_tier;
    (*

    The tier of the notify configuration.

    *)
  8. enabled_channels : notify_enabled_channels_list;
    (*

    An array of channels enabled for the notify configuration. Supported values include SMS and VOICE.

    *)
  9. enabled_countries : iso_country_code_list option;
    (*

    An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.

    *)
  10. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The identifier of the pool associated with the notify configuration.

    *)
  11. default_template_id : notify_template_id option;
    (*

    The default template identifier associated with the notify configuration.

    *)
  12. use_case : notify_configuration_use_case;
    (*

    The use case for the notify configuration.

    *)
  13. display_name : notify_configuration_display_name;
    (*

    The display name associated with the notify configuration.

    *)
  14. notify_configuration_id : notify_configuration_id;
    (*

    The unique identifier for the notify configuration.

    *)
  15. notify_configuration_arn : notify_configuration_arn;
    (*

    The Amazon Resource Name (ARN) for the notify configuration.

    *)
}
type nonrec create_notify_configuration_request = {
  1. tags : tag_list option;
    (*

    An array of tags (key and value pairs) associated with the notify configuration.

    *)
  2. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  3. deletion_protection_enabled : Smaws_Lib.Smithy_api.Types.boolean_ option;
    (*

    By default this is set to false. When set to true the notify configuration can't be deleted. You can change this value using the UpdateNotifyConfiguration action.

    *)
  4. enabled_channels : notify_enabled_channels_list;
    (*

    An array of channels to enable for the notify configuration. Supported values include SMS and VOICE.

    *)
  5. enabled_countries : iso_country_code_list option;
    (*

    An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.

    *)
  6. pool_id : pool_id_or_arn option;
    (*

    The identifier of the pool to associate with the notify configuration.

    *)
  7. default_template_id : notify_template_id option;
    (*

    The default template identifier to associate with the notify configuration. If specified, this template is used when sending messages without an explicit template identifier.

    *)
  8. use_case : notify_configuration_use_case;
    (*

    The use case for the notify configuration.

    *)
  9. display_name : notify_configuration_display_name;
    (*

    The display name to associate with the notify configuration.

    *)
}
type nonrec create_event_destination_result = {
  1. event_destination : event_destination option;
    (*

    The details of the destination where events are logged.

    *)
  2. configuration_set_name : configuration_set_name option;
    (*

    The name of the configuration set.

    *)
  3. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The ARN of the configuration set.

    *)
}
type nonrec create_event_destination_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. sns_destination : sns_destination option;
    (*

    An object that contains information about an event destination for logging to Amazon SNS.

    *)
  3. kinesis_firehose_destination : kinesis_firehose_destination option;
    (*

    An object that contains information about an event destination for logging to Amazon Data Firehose.

    *)
  4. cloud_watch_logs_destination : cloud_watch_logs_destination option;
    (*

    An object that contains information about an event destination for logging to Amazon CloudWatch Logs.

    *)
  5. matching_event_types : event_type_list;
    (*

    An array of event types that determine which events to log. If "ALL" is used, then End User Messaging SMS logs every event type.

    The TEXT_SENT event type is not supported.

    *)
  6. event_destination_name : event_destination_name;
    (*

    The name that identifies the event destination.

    *)
  7. configuration_set_name : configuration_set_name_or_arn;
    (*

    Either the name of the configuration set or the configuration set ARN to apply event logging to. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.

    *)
}
type nonrec create_configuration_set_result = {
  1. created_timestamp : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    The time when the configuration set was created, in UNIX epoch time format.

    *)
  2. tags : tag_list option;
    (*

    An array of key and value pair tags that's associated with the configuration set.

    *)
  3. configuration_set_name : configuration_set_name option;
    (*

    The name of the new configuration set.

    *)
  4. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the newly created configuration set.

    *)
}
type nonrec create_configuration_set_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. tags : tag_list option;
    (*

    An array of key and value pair tags that's associated with the new configuration set.

    *)
  3. configuration_set_name : configuration_set_name;
    (*

    The name to use for the new configuration set.

    *)
}
type nonrec e164_phone_number_type = string
type nonrec dialing_country_code_type = string
type nonrec mcc_type = string
type nonrec mnc_type = string
type nonrec phone_number_type =
  1. | MOBILE
  2. | LANDLINE
  3. | OTHER
  4. | INVALID
type nonrec carrier_lookup_result = {
  1. phone_number_type : phone_number_type;
    (*

    Describes the type of phone number. Valid values are: MOBILE, LANDLINE, OTHER, and INVALID. Avoid sending SMS or voice messages to INVALID phone numbers, as these numbers are unlikely to belong to actual recipients.

    *)
  2. carrier : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.

    *)
  3. mn_c : mnc_type option;
    (*

    The phone number's mobile network code, for mobile phone number types.

    *)
  4. mc_c : mcc_type option;
    (*

    The phone number's mobile country code, for mobile phone number types

    *)
  5. country : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The name of the country or region for the phone number.

    *)
  6. iso_country_code : iso_country_code option;
    (*

    The two-character country or region code, in ISO 3166-1 alpha-2 format, for the phone number.

    *)
  7. dialing_country_code : dialing_country_code_type option;
    (*

    The country or region numeric dialing code for the phone number.

    *)
  8. e164_phone_number : e164_phone_number_type;
    (*

    The phone number in E164 format, sanitized from the original input by removing any formatting characters.

    *)
}
type nonrec carrier_lookup_input_phone_number_type = string
type nonrec carrier_lookup_request = {
  1. phone_number : carrier_lookup_input_phone_number_type;
    (*

    The phone number that you want to retrieve information about. You can provide the phone number in various formats including special characters such as parentheses, brackets, spaces, hyphens, periods, and commas. The service automatically converts the input to E164 format for processing.

    *)
}
type nonrec associate_protect_configuration_result = {
  1. protect_configuration_id : protect_configuration_id;
    (*

    The unique identifier for the protect configuration.

    *)
  2. protect_configuration_arn : protect_configuration_arn;
    (*

    The Amazon Resource Name (ARN) of the protect configuration.

    *)
  3. configuration_set_name : configuration_set_name;
    (*

    The name of the ConfigurationSet.

    *)
  4. configuration_set_arn : Smaws_Lib.Smithy_api.Types.string_;
    (*

    The Amazon Resource Name (ARN) of the configuration set.

    *)
}
type nonrec associate_protect_configuration_request = {
  1. configuration_set_name : configuration_set_name_or_arn;
    (*

    The name of the ConfigurationSet.

    *)
  2. protect_configuration_id : protect_configuration_id_or_arn;
    (*

    The unique identifier for the protect configuration.

    *)
}
type nonrec associate_origination_identity_result = {
  1. iso_country_code : iso_country_code option;
    (*

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

    *)
  2. origination_identity : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberId or SenderId of the origination identity.

    *)
  3. origination_identity_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PhoneNumberArn or SenderIdArn of the origination identity.

    *)
  4. pool_id : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The PoolId of the pool that is now associated with the origination identity.

    *)
  5. pool_arn : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    The Amazon Resource Name (ARN) of the pool that is now associated with the origination identity.

    *)
}
type nonrec associate_origination_identity_request = {
  1. client_token : client_token option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

    *)
  2. iso_country_code : iso_country_code option;
    (*

    The new two-character code, in ISO 3166-1 alpha-2 format, for the country or region of the origination identity. This field is optional and is not required for origination identity types that are not country-specific, such as RCS agents.

    *)
  3. origination_identity : phone_or_sender_id_or_arn;
    (*

    The origination identity to use, such as PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn. You can use DescribePhoneNumbers to find the values for PhoneNumberId and PhoneNumberArn, while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.

    If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

    *)
  4. pool_id : pool_id_or_arn;
    (*

    The pool to update with the new Identity. This value can be either the PoolId or PoolArn, and you can find these values using DescribePools.

    If you are using a shared End User Messaging SMS; resource then you must use the full Amazon Resource Name(ARN).

    *)
}