aws/services/sqs

Generated from com.amazonaws.sqs#AmazonSQS (awsJson1_0). DO NOT EDIT. Re-generate via the codegen subproject.

Types

pub type AddPermissionError {
  AddPermissionErrorInvalidAddress(value: InvalidAddress)
  AddPermissionErrorInvalidSecurity(value: InvalidSecurity)
  AddPermissionErrorOverLimit(value: OverLimit)
  AddPermissionErrorQueueDoesNotExist(value: QueueDoesNotExist)
  AddPermissionErrorRequestThrottled(value: RequestThrottled)
  AddPermissionErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  AddPermissionErrorTransport(reason: String)
  AddPermissionErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • AddPermissionErrorInvalidAddress(value: InvalidAddress)
  • AddPermissionErrorInvalidSecurity(value: InvalidSecurity)
  • AddPermissionErrorOverLimit(value: OverLimit)
  • AddPermissionErrorQueueDoesNotExist(value: QueueDoesNotExist)
  • AddPermissionErrorRequestThrottled(value: RequestThrottled)
  • AddPermissionErrorUnsupportedOperation(
      value: UnsupportedOperation,
    )
  • AddPermissionErrorTransport(reason: String)
  • AddPermissionErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type AddPermissionOutput {
  AddPermissionOutput
}

Constructors

  • AddPermissionOutput
pub type AddPermissionRequest {
  AddPermissionRequest(
    aws_account_ids: option.Option(List(String)),
    actions: option.Option(List(String)),
    label: option.Option(String),
    queue_url: option.Option(String),
  )
}

Constructors

pub type BatchEntryIdsNotDistinct {
  BatchEntryIdsNotDistinct(message: option.Option(String))
}

Constructors

pub type BatchRequestTooLong {
  BatchRequestTooLong(message: option.Option(String))
}

Constructors

pub type BatchResultErrorEntry {
  BatchResultErrorEntry(
    code: option.Option(String),
    id: option.Option(String),
    message: option.Option(String),
    sender_fault: option.Option(Bool),
  )
}

Constructors

pub type CancelMessageMoveTaskError {
  CancelMessageMoveTaskErrorInvalidAddress(value: InvalidAddress)
  CancelMessageMoveTaskErrorInvalidSecurity(
    value: InvalidSecurity,
  )
  CancelMessageMoveTaskErrorRequestThrottled(
    value: RequestThrottled,
  )
  CancelMessageMoveTaskErrorResourceNotFoundException(
    value: ResourceNotFoundException,
  )
  CancelMessageMoveTaskErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  CancelMessageMoveTaskErrorTransport(reason: String)
  CancelMessageMoveTaskErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • CancelMessageMoveTaskErrorInvalidAddress(value: InvalidAddress)
  • CancelMessageMoveTaskErrorInvalidSecurity(value: InvalidSecurity)
  • CancelMessageMoveTaskErrorRequestThrottled(
      value: RequestThrottled,
    )
  • CancelMessageMoveTaskErrorResourceNotFoundException(
      value: ResourceNotFoundException,
    )
  • CancelMessageMoveTaskErrorUnsupportedOperation(
      value: UnsupportedOperation,
    )
  • CancelMessageMoveTaskErrorTransport(reason: String)
  • CancelMessageMoveTaskErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type CancelMessageMoveTaskRequest {
  CancelMessageMoveTaskRequest(
    task_handle: option.Option(String),
  )
}

Constructors

  • CancelMessageMoveTaskRequest(task_handle: option.Option(String))
pub type CancelMessageMoveTaskResult {
  CancelMessageMoveTaskResult(
    approximate_number_of_messages_moved: option.Option(Int),
  )
}

Constructors

  • CancelMessageMoveTaskResult(
      approximate_number_of_messages_moved: option.Option(Int),
    )
pub type ChangeMessageVisibilityBatchError {
  ChangeMessageVisibilityBatchErrorBatchEntryIdsNotDistinct(
    value: BatchEntryIdsNotDistinct,
  )
  ChangeMessageVisibilityBatchErrorEmptyBatchRequest(
    value: EmptyBatchRequest,
  )
  ChangeMessageVisibilityBatchErrorInvalidAddress(
    value: InvalidAddress,
  )
  ChangeMessageVisibilityBatchErrorInvalidBatchEntryId(
    value: InvalidBatchEntryId,
  )
  ChangeMessageVisibilityBatchErrorInvalidSecurity(
    value: InvalidSecurity,
  )
  ChangeMessageVisibilityBatchErrorQueueDoesNotExist(
    value: QueueDoesNotExist,
  )
  ChangeMessageVisibilityBatchErrorRequestThrottled(
    value: RequestThrottled,
  )
  ChangeMessageVisibilityBatchErrorTooManyEntriesInBatchRequest(
    value: TooManyEntriesInBatchRequest,
  )
  ChangeMessageVisibilityBatchErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  ChangeMessageVisibilityBatchErrorTransport(reason: String)
  ChangeMessageVisibilityBatchErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • ChangeMessageVisibilityBatchErrorBatchEntryIdsNotDistinct(
      value: BatchEntryIdsNotDistinct,
    )
  • ChangeMessageVisibilityBatchErrorEmptyBatchRequest(
      value: EmptyBatchRequest,
    )
  • ChangeMessageVisibilityBatchErrorInvalidAddress(
      value: InvalidAddress,
    )
  • ChangeMessageVisibilityBatchErrorInvalidBatchEntryId(
      value: InvalidBatchEntryId,
    )
  • ChangeMessageVisibilityBatchErrorInvalidSecurity(
      value: InvalidSecurity,
    )
  • ChangeMessageVisibilityBatchErrorQueueDoesNotExist(
      value: QueueDoesNotExist,
    )
  • ChangeMessageVisibilityBatchErrorRequestThrottled(
      value: RequestThrottled,
    )
  • ChangeMessageVisibilityBatchErrorTooManyEntriesInBatchRequest(
      value: TooManyEntriesInBatchRequest,
    )
  • ChangeMessageVisibilityBatchErrorUnsupportedOperation(
      value: UnsupportedOperation,
    )
  • ChangeMessageVisibilityBatchErrorTransport(reason: String)
  • ChangeMessageVisibilityBatchErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type ChangeMessageVisibilityBatchRequest {
  ChangeMessageVisibilityBatchRequest(
    entries: option.Option(
      List(ChangeMessageVisibilityBatchRequestEntry),
    ),
    queue_url: option.Option(String),
  )
}

Constructors

pub type ChangeMessageVisibilityBatchRequestEntry {
  ChangeMessageVisibilityBatchRequestEntry(
    id: option.Option(String),
    receipt_handle: option.Option(String),
    visibility_timeout: option.Option(Int),
  )
}

Constructors

pub type ChangeMessageVisibilityBatchResult {
  ChangeMessageVisibilityBatchResult(
    failed: option.Option(List(BatchResultErrorEntry)),
    successful: option.Option(
      List(ChangeMessageVisibilityBatchResultEntry),
    ),
  )
}

Constructors

pub type ChangeMessageVisibilityBatchResultEntry {
  ChangeMessageVisibilityBatchResultEntry(
    id: option.Option(String),
  )
}

Constructors

  • ChangeMessageVisibilityBatchResultEntry(
      id: option.Option(String),
    )
pub type ChangeMessageVisibilityError {
  ChangeMessageVisibilityErrorInvalidAddress(
    value: InvalidAddress,
  )
  ChangeMessageVisibilityErrorInvalidSecurity(
    value: InvalidSecurity,
  )
  ChangeMessageVisibilityErrorMessageNotInflight(
    value: MessageNotInflight,
  )
  ChangeMessageVisibilityErrorQueueDoesNotExist(
    value: QueueDoesNotExist,
  )
  ChangeMessageVisibilityErrorReceiptHandleIsInvalid(
    value: ReceiptHandleIsInvalid,
  )
  ChangeMessageVisibilityErrorRequestThrottled(
    value: RequestThrottled,
  )
  ChangeMessageVisibilityErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  ChangeMessageVisibilityErrorTransport(reason: String)
  ChangeMessageVisibilityErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • ChangeMessageVisibilityErrorInvalidAddress(value: InvalidAddress)
  • ChangeMessageVisibilityErrorInvalidSecurity(
      value: InvalidSecurity,
    )
  • ChangeMessageVisibilityErrorMessageNotInflight(
      value: MessageNotInflight,
    )
  • ChangeMessageVisibilityErrorQueueDoesNotExist(
      value: QueueDoesNotExist,
    )
  • ChangeMessageVisibilityErrorReceiptHandleIsInvalid(
      value: ReceiptHandleIsInvalid,
    )
  • ChangeMessageVisibilityErrorRequestThrottled(
      value: RequestThrottled,
    )
  • ChangeMessageVisibilityErrorUnsupportedOperation(
      value: UnsupportedOperation,
    )
  • ChangeMessageVisibilityErrorTransport(reason: String)
  • ChangeMessageVisibilityErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type ChangeMessageVisibilityOutput {
  ChangeMessageVisibilityOutput
}

Constructors

  • ChangeMessageVisibilityOutput
pub type ChangeMessageVisibilityRequest {
  ChangeMessageVisibilityRequest(
    queue_url: option.Option(String),
    receipt_handle: option.Option(String),
    visibility_timeout: option.Option(Int),
  )
}

Constructors

pub opaque type Client
pub type CreateQueueError {
  CreateQueueErrorInvalidAddress(value: InvalidAddress)
  CreateQueueErrorInvalidAttributeName(
    value: InvalidAttributeName,
  )
  CreateQueueErrorInvalidAttributeValue(
    value: InvalidAttributeValue,
  )
  CreateQueueErrorInvalidSecurity(value: InvalidSecurity)
  CreateQueueErrorQueueDeletedRecently(
    value: QueueDeletedRecently,
  )
  CreateQueueErrorQueueNameExists(value: QueueNameExists)
  CreateQueueErrorRequestThrottled(value: RequestThrottled)
  CreateQueueErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  CreateQueueErrorTransport(reason: String)
  CreateQueueErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

pub type CreateQueueRequest {
  CreateQueueRequest(
    attributes: option.Option(dict.Dict(String, String)),
    queue_name: option.Option(String),
    tags: option.Option(dict.Dict(String, String)),
  )
}

Constructors

pub type CreateQueueResult {
  CreateQueueResult(queue_url: option.Option(String))
}

Constructors

pub type DeleteMessageBatchError {
  DeleteMessageBatchErrorBatchEntryIdsNotDistinct(
    value: BatchEntryIdsNotDistinct,
  )
  DeleteMessageBatchErrorEmptyBatchRequest(
    value: EmptyBatchRequest,
  )
  DeleteMessageBatchErrorInvalidAddress(value: InvalidAddress)
  DeleteMessageBatchErrorInvalidBatchEntryId(
    value: InvalidBatchEntryId,
  )
  DeleteMessageBatchErrorInvalidSecurity(value: InvalidSecurity)
  DeleteMessageBatchErrorQueueDoesNotExist(
    value: QueueDoesNotExist,
  )
  DeleteMessageBatchErrorRequestThrottled(
    value: RequestThrottled,
  )
  DeleteMessageBatchErrorTooManyEntriesInBatchRequest(
    value: TooManyEntriesInBatchRequest,
  )
  DeleteMessageBatchErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  DeleteMessageBatchErrorTransport(reason: String)
  DeleteMessageBatchErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

pub type DeleteMessageBatchRequest {
  DeleteMessageBatchRequest(
    entries: option.Option(List(DeleteMessageBatchRequestEntry)),
    queue_url: option.Option(String),
  )
}

Constructors

pub type DeleteMessageBatchRequestEntry {
  DeleteMessageBatchRequestEntry(
    id: option.Option(String),
    receipt_handle: option.Option(String),
  )
}

Constructors

pub type DeleteMessageBatchResult {
  DeleteMessageBatchResult(
    failed: option.Option(List(BatchResultErrorEntry)),
    successful: option.Option(List(DeleteMessageBatchResultEntry)),
  )
}

Constructors

pub type DeleteMessageBatchResultEntry {
  DeleteMessageBatchResultEntry(id: option.Option(String))
}

Constructors

pub type DeleteMessageError {
  DeleteMessageErrorInvalidAddress(value: InvalidAddress)
  DeleteMessageErrorInvalidIdFormat(value: InvalidIdFormat)
  DeleteMessageErrorInvalidSecurity(value: InvalidSecurity)
  DeleteMessageErrorQueueDoesNotExist(value: QueueDoesNotExist)
  DeleteMessageErrorReceiptHandleIsInvalid(
    value: ReceiptHandleIsInvalid,
  )
  DeleteMessageErrorRequestThrottled(value: RequestThrottled)
  DeleteMessageErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  DeleteMessageErrorTransport(reason: String)
  DeleteMessageErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

pub type DeleteMessageOutput {
  DeleteMessageOutput
}

Constructors

  • DeleteMessageOutput
pub type DeleteMessageRequest {
  DeleteMessageRequest(
    queue_url: option.Option(String),
    receipt_handle: option.Option(String),
  )
}

Constructors

pub type DeleteQueueError {
  DeleteQueueErrorInvalidAddress(value: InvalidAddress)
  DeleteQueueErrorInvalidSecurity(value: InvalidSecurity)
  DeleteQueueErrorQueueDoesNotExist(value: QueueDoesNotExist)
  DeleteQueueErrorRequestThrottled(value: RequestThrottled)
  DeleteQueueErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  DeleteQueueErrorTransport(reason: String)
  DeleteQueueErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • DeleteQueueErrorInvalidAddress(value: InvalidAddress)
  • DeleteQueueErrorInvalidSecurity(value: InvalidSecurity)
  • DeleteQueueErrorQueueDoesNotExist(value: QueueDoesNotExist)
  • DeleteQueueErrorRequestThrottled(value: RequestThrottled)
  • DeleteQueueErrorUnsupportedOperation(value: UnsupportedOperation)
  • DeleteQueueErrorTransport(reason: String)
  • DeleteQueueErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type DeleteQueueOutput {
  DeleteQueueOutput
}

Constructors

  • DeleteQueueOutput
pub type DeleteQueueRequest {
  DeleteQueueRequest(queue_url: option.Option(String))
}

Constructors

pub type EmptyBatchRequest {
  EmptyBatchRequest(message: option.Option(String))
}

Constructors

pub type GetQueueAttributesError {
  GetQueueAttributesErrorInvalidAddress(value: InvalidAddress)
  GetQueueAttributesErrorInvalidAttributeName(
    value: InvalidAttributeName,
  )
  GetQueueAttributesErrorInvalidSecurity(value: InvalidSecurity)
  GetQueueAttributesErrorQueueDoesNotExist(
    value: QueueDoesNotExist,
  )
  GetQueueAttributesErrorRequestThrottled(
    value: RequestThrottled,
  )
  GetQueueAttributesErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  GetQueueAttributesErrorTransport(reason: String)
  GetQueueAttributesErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • GetQueueAttributesErrorInvalidAddress(value: InvalidAddress)
  • GetQueueAttributesErrorInvalidAttributeName(
      value: InvalidAttributeName,
    )
  • GetQueueAttributesErrorInvalidSecurity(value: InvalidSecurity)
  • GetQueueAttributesErrorQueueDoesNotExist(
      value: QueueDoesNotExist,
    )
  • GetQueueAttributesErrorRequestThrottled(value: RequestThrottled)
  • GetQueueAttributesErrorUnsupportedOperation(
      value: UnsupportedOperation,
    )
  • GetQueueAttributesErrorTransport(reason: String)
  • GetQueueAttributesErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type GetQueueAttributesRequest {
  GetQueueAttributesRequest(
    attribute_names: option.Option(List(QueueAttributeName)),
    queue_url: option.Option(String),
  )
}

Constructors

pub type GetQueueAttributesResult {
  GetQueueAttributesResult(
    attributes: option.Option(dict.Dict(String, String)),
  )
}

Constructors

pub type GetQueueUrlError {
  GetQueueUrlErrorInvalidAddress(value: InvalidAddress)
  GetQueueUrlErrorInvalidSecurity(value: InvalidSecurity)
  GetQueueUrlErrorQueueDoesNotExist(value: QueueDoesNotExist)
  GetQueueUrlErrorRequestThrottled(value: RequestThrottled)
  GetQueueUrlErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  GetQueueUrlErrorTransport(reason: String)
  GetQueueUrlErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • GetQueueUrlErrorInvalidAddress(value: InvalidAddress)
  • GetQueueUrlErrorInvalidSecurity(value: InvalidSecurity)
  • GetQueueUrlErrorQueueDoesNotExist(value: QueueDoesNotExist)
  • GetQueueUrlErrorRequestThrottled(value: RequestThrottled)
  • GetQueueUrlErrorUnsupportedOperation(value: UnsupportedOperation)
  • GetQueueUrlErrorTransport(reason: String)
  • GetQueueUrlErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type GetQueueUrlRequest {
  GetQueueUrlRequest(
    queue_name: option.Option(String),
    queue_owner_aws_account_id: option.Option(String),
  )
}

Constructors

pub type GetQueueUrlResult {
  GetQueueUrlResult(queue_url: option.Option(String))
}

Constructors

pub type InvalidAddress {
  InvalidAddress(message: option.Option(String))
}

Constructors

pub type InvalidAttributeName {
  InvalidAttributeName(message: option.Option(String))
}

Constructors

pub type InvalidAttributeValue {
  InvalidAttributeValue(message: option.Option(String))
}

Constructors

pub type InvalidBatchEntryId {
  InvalidBatchEntryId(message: option.Option(String))
}

Constructors

pub type InvalidIdFormat {
  InvalidIdFormat
}

Constructors

  • InvalidIdFormat
pub type InvalidMessageContents {
  InvalidMessageContents(message: option.Option(String))
}

Constructors

pub type InvalidSecurity {
  InvalidSecurity(message: option.Option(String))
}

Constructors

pub type KmsAccessDenied {
  KmsAccessDenied(message: option.Option(String))
}

Constructors

pub type KmsDisabled {
  KmsDisabled(message: option.Option(String))
}

Constructors

pub type KmsInvalidKeyUsage {
  KmsInvalidKeyUsage(message: option.Option(String))
}

Constructors

pub type KmsInvalidState {
  KmsInvalidState(message: option.Option(String))
}

Constructors

pub type KmsNotFound {
  KmsNotFound(message: option.Option(String))
}

Constructors

pub type KmsOptInRequired {
  KmsOptInRequired(message: option.Option(String))
}

Constructors

pub type KmsThrottled {
  KmsThrottled(message: option.Option(String))
}

Constructors

pub type ListDeadLetterSourceQueuesError {
  ListDeadLetterSourceQueuesErrorInvalidAddress(
    value: InvalidAddress,
  )
  ListDeadLetterSourceQueuesErrorInvalidSecurity(
    value: InvalidSecurity,
  )
  ListDeadLetterSourceQueuesErrorQueueDoesNotExist(
    value: QueueDoesNotExist,
  )
  ListDeadLetterSourceQueuesErrorRequestThrottled(
    value: RequestThrottled,
  )
  ListDeadLetterSourceQueuesErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  ListDeadLetterSourceQueuesErrorTransport(reason: String)
  ListDeadLetterSourceQueuesErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • ListDeadLetterSourceQueuesErrorInvalidAddress(
      value: InvalidAddress,
    )
  • ListDeadLetterSourceQueuesErrorInvalidSecurity(
      value: InvalidSecurity,
    )
  • ListDeadLetterSourceQueuesErrorQueueDoesNotExist(
      value: QueueDoesNotExist,
    )
  • ListDeadLetterSourceQueuesErrorRequestThrottled(
      value: RequestThrottled,
    )
  • ListDeadLetterSourceQueuesErrorUnsupportedOperation(
      value: UnsupportedOperation,
    )
  • ListDeadLetterSourceQueuesErrorTransport(reason: String)
  • ListDeadLetterSourceQueuesErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type ListDeadLetterSourceQueuesRequest {
  ListDeadLetterSourceQueuesRequest(
    max_results: option.Option(Int),
    next_token: option.Option(String),
    queue_url: option.Option(String),
  )
}

Constructors

pub type ListDeadLetterSourceQueuesResult {
  ListDeadLetterSourceQueuesResult(
    next_token: option.Option(String),
    queue_urls: option.Option(List(String)),
  )
}

Constructors

pub type ListMessageMoveTasksError {
  ListMessageMoveTasksErrorInvalidAddress(value: InvalidAddress)
  ListMessageMoveTasksErrorInvalidSecurity(
    value: InvalidSecurity,
  )
  ListMessageMoveTasksErrorRequestThrottled(
    value: RequestThrottled,
  )
  ListMessageMoveTasksErrorResourceNotFoundException(
    value: ResourceNotFoundException,
  )
  ListMessageMoveTasksErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  ListMessageMoveTasksErrorTransport(reason: String)
  ListMessageMoveTasksErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • ListMessageMoveTasksErrorInvalidAddress(value: InvalidAddress)
  • ListMessageMoveTasksErrorInvalidSecurity(value: InvalidSecurity)
  • ListMessageMoveTasksErrorRequestThrottled(
      value: RequestThrottled,
    )
  • ListMessageMoveTasksErrorResourceNotFoundException(
      value: ResourceNotFoundException,
    )
  • ListMessageMoveTasksErrorUnsupportedOperation(
      value: UnsupportedOperation,
    )
  • ListMessageMoveTasksErrorTransport(reason: String)
  • ListMessageMoveTasksErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type ListMessageMoveTasksRequest {
  ListMessageMoveTasksRequest(
    max_results: option.Option(Int),
    source_arn: option.Option(String),
  )
}

Constructors

pub type ListMessageMoveTasksResult {
  ListMessageMoveTasksResult(
    results: option.Option(List(ListMessageMoveTasksResultEntry)),
  )
}

Constructors

pub type ListMessageMoveTasksResultEntry {
  ListMessageMoveTasksResultEntry(
    approximate_number_of_messages_moved: option.Option(Int),
    approximate_number_of_messages_to_move: option.Option(Int),
    destination_arn: option.Option(String),
    failure_reason: option.Option(String),
    max_number_of_messages_per_second: option.Option(Int),
    source_arn: option.Option(String),
    started_timestamp: option.Option(Int),
    status: option.Option(String),
    task_handle: option.Option(String),
  )
}

Constructors

pub type ListQueueTagsError {
  ListQueueTagsErrorInvalidAddress(value: InvalidAddress)
  ListQueueTagsErrorInvalidSecurity(value: InvalidSecurity)
  ListQueueTagsErrorQueueDoesNotExist(value: QueueDoesNotExist)
  ListQueueTagsErrorRequestThrottled(value: RequestThrottled)
  ListQueueTagsErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  ListQueueTagsErrorTransport(reason: String)
  ListQueueTagsErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • ListQueueTagsErrorInvalidAddress(value: InvalidAddress)
  • ListQueueTagsErrorInvalidSecurity(value: InvalidSecurity)
  • ListQueueTagsErrorQueueDoesNotExist(value: QueueDoesNotExist)
  • ListQueueTagsErrorRequestThrottled(value: RequestThrottled)
  • ListQueueTagsErrorUnsupportedOperation(
      value: UnsupportedOperation,
    )
  • ListQueueTagsErrorTransport(reason: String)
  • ListQueueTagsErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type ListQueueTagsRequest {
  ListQueueTagsRequest(queue_url: option.Option(String))
}

Constructors

pub type ListQueueTagsResult {
  ListQueueTagsResult(
    tags: option.Option(dict.Dict(String, String)),
  )
}

Constructors

pub type ListQueuesError {
  ListQueuesErrorInvalidAddress(value: InvalidAddress)
  ListQueuesErrorInvalidSecurity(value: InvalidSecurity)
  ListQueuesErrorRequestThrottled(value: RequestThrottled)
  ListQueuesErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  ListQueuesErrorTransport(reason: String)
  ListQueuesErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • ListQueuesErrorInvalidAddress(value: InvalidAddress)
  • ListQueuesErrorInvalidSecurity(value: InvalidSecurity)
  • ListQueuesErrorRequestThrottled(value: RequestThrottled)
  • ListQueuesErrorUnsupportedOperation(value: UnsupportedOperation)
  • ListQueuesErrorTransport(reason: String)
  • ListQueuesErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type ListQueuesRequest {
  ListQueuesRequest(
    max_results: option.Option(Int),
    next_token: option.Option(String),
    queue_name_prefix: option.Option(String),
  )
}

Constructors

pub type ListQueuesResult {
  ListQueuesResult(
    next_token: option.Option(String),
    queue_urls: option.Option(List(String)),
  )
}

Constructors

pub type Message {
  Message(
    attributes: option.Option(dict.Dict(String, String)),
    body: option.Option(String),
    md5_of_body: option.Option(String),
    md5_of_message_attributes: option.Option(String),
    message_attributes: option.Option(
      dict.Dict(String, MessageAttributeValue),
    ),
    message_id: option.Option(String),
    receipt_handle: option.Option(String),
  )
}

Constructors

pub type MessageAttributeValue {
  MessageAttributeValue(
    binary_list_values: option.Option(List(BitArray)),
    binary_value: option.Option(BitArray),
    data_type: option.Option(String),
    string_list_values: option.Option(List(String)),
    string_value: option.Option(String),
  )
}

Constructors

pub type MessageNotInflight {
  MessageNotInflight
}

Constructors

  • MessageNotInflight
pub type MessageSystemAttributeName {
  MessageSystemAttributeNameAwstraceheader
  MessageSystemAttributeNameAll
  MessageSystemAttributeNameApproximatefirstreceivetimestamp
  MessageSystemAttributeNameApproximatereceivecount
  MessageSystemAttributeNameDeadletterqueuesourcearn
  MessageSystemAttributeNameMessagededuplicationid
  MessageSystemAttributeNameMessagegroupid
  MessageSystemAttributeNameSenderid
  MessageSystemAttributeNameSenttimestamp
  MessageSystemAttributeNameSequencenumber
}

Constructors

  • MessageSystemAttributeNameAwstraceheader
  • MessageSystemAttributeNameAll
  • MessageSystemAttributeNameApproximatefirstreceivetimestamp
  • MessageSystemAttributeNameApproximatereceivecount
  • MessageSystemAttributeNameDeadletterqueuesourcearn
  • MessageSystemAttributeNameMessagededuplicationid
  • MessageSystemAttributeNameMessagegroupid
  • MessageSystemAttributeNameSenderid
  • MessageSystemAttributeNameSenttimestamp
  • MessageSystemAttributeNameSequencenumber
pub type MessageSystemAttributeNameForSends {
  MessageSystemAttributeNameForSendsAwstraceheader
}

Constructors

  • MessageSystemAttributeNameForSendsAwstraceheader
pub type MessageSystemAttributeValue {
  MessageSystemAttributeValue(
    binary_list_values: option.Option(List(BitArray)),
    binary_value: option.Option(BitArray),
    data_type: option.Option(String),
    string_list_values: option.Option(List(String)),
    string_value: option.Option(String),
  )
}

Constructors

pub type OverLimit {
  OverLimit(message: option.Option(String))
}

Constructors

pub type PurgeQueueError {
  PurgeQueueErrorInvalidAddress(value: InvalidAddress)
  PurgeQueueErrorInvalidSecurity(value: InvalidSecurity)
  PurgeQueueErrorPurgeQueueInProgress(
    value: PurgeQueueInProgress,
  )
  PurgeQueueErrorQueueDoesNotExist(value: QueueDoesNotExist)
  PurgeQueueErrorRequestThrottled(value: RequestThrottled)
  PurgeQueueErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  PurgeQueueErrorTransport(reason: String)
  PurgeQueueErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

pub type PurgeQueueInProgress {
  PurgeQueueInProgress(message: option.Option(String))
}

Constructors

pub type PurgeQueueOutput {
  PurgeQueueOutput
}

Constructors

  • PurgeQueueOutput
pub type PurgeQueueRequest {
  PurgeQueueRequest(queue_url: option.Option(String))
}

Constructors

pub type QueueAttributeName {
  QueueAttributeNameAll
  QueueAttributeNameApproximatenumberofmessages
  QueueAttributeNameApproximatenumberofmessagesdelayed
  QueueAttributeNameApproximatenumberofmessagesnotvisible
  QueueAttributeNameContentbaseddeduplication
  QueueAttributeNameCreatedtimestamp
  QueueAttributeNameDeduplicationscope
  QueueAttributeNameDelayseconds
  QueueAttributeNameFifoqueue
  QueueAttributeNameFifothroughputlimit
  QueueAttributeNameKmsdatakeyreuseperiodseconds
  QueueAttributeNameKmsmasterkeyid
  QueueAttributeNameLastmodifiedtimestamp
  QueueAttributeNameMaximummessagesize
  QueueAttributeNameMessageretentionperiod
  QueueAttributeNamePolicy
  QueueAttributeNameQueuearn
  QueueAttributeNameReceivemessagewaittimeseconds
  QueueAttributeNameRedriveallowpolicy
  QueueAttributeNameRedrivepolicy
  QueueAttributeNameSqsmanagedsseenabled
  QueueAttributeNameVisibilitytimeout
}

Constructors

  • QueueAttributeNameAll
  • QueueAttributeNameApproximatenumberofmessages
  • QueueAttributeNameApproximatenumberofmessagesdelayed
  • QueueAttributeNameApproximatenumberofmessagesnotvisible
  • QueueAttributeNameContentbaseddeduplication
  • QueueAttributeNameCreatedtimestamp
  • QueueAttributeNameDeduplicationscope
  • QueueAttributeNameDelayseconds
  • QueueAttributeNameFifoqueue
  • QueueAttributeNameFifothroughputlimit
  • QueueAttributeNameKmsdatakeyreuseperiodseconds
  • QueueAttributeNameKmsmasterkeyid
  • QueueAttributeNameLastmodifiedtimestamp
  • QueueAttributeNameMaximummessagesize
  • QueueAttributeNameMessageretentionperiod
  • QueueAttributeNamePolicy
  • QueueAttributeNameQueuearn
  • QueueAttributeNameReceivemessagewaittimeseconds
  • QueueAttributeNameRedriveallowpolicy
  • QueueAttributeNameRedrivepolicy
  • QueueAttributeNameSqsmanagedsseenabled
  • QueueAttributeNameVisibilitytimeout
pub type QueueDeletedRecently {
  QueueDeletedRecently(message: option.Option(String))
}

Constructors

pub type QueueDoesNotExist {
  QueueDoesNotExist(message: option.Option(String))
}

Constructors

pub type QueueNameExists {
  QueueNameExists(message: option.Option(String))
}

Constructors

pub type ReceiptHandleIsInvalid {
  ReceiptHandleIsInvalid(message: option.Option(String))
}

Constructors

pub type ReceiveMessageError {
  ReceiveMessageErrorInvalidAddress(value: InvalidAddress)
  ReceiveMessageErrorInvalidSecurity(value: InvalidSecurity)
  ReceiveMessageErrorKmsAccessDenied(value: KmsAccessDenied)
  ReceiveMessageErrorKmsDisabled(value: KmsDisabled)
  ReceiveMessageErrorKmsInvalidKeyUsage(
    value: KmsInvalidKeyUsage,
  )
  ReceiveMessageErrorKmsInvalidState(value: KmsInvalidState)
  ReceiveMessageErrorKmsNotFound(value: KmsNotFound)
  ReceiveMessageErrorKmsOptInRequired(value: KmsOptInRequired)
  ReceiveMessageErrorKmsThrottled(value: KmsThrottled)
  ReceiveMessageErrorOverLimit(value: OverLimit)
  ReceiveMessageErrorQueueDoesNotExist(value: QueueDoesNotExist)
  ReceiveMessageErrorRequestThrottled(value: RequestThrottled)
  ReceiveMessageErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  ReceiveMessageErrorTransport(reason: String)
  ReceiveMessageErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

pub type ReceiveMessageRequest {
  ReceiveMessageRequest(
    attribute_names: option.Option(List(QueueAttributeName)),
    max_number_of_messages: option.Option(Int),
    message_attribute_names: option.Option(List(String)),
    message_system_attribute_names: option.Option(
      List(MessageSystemAttributeName),
    ),
    queue_url: option.Option(String),
    receive_request_attempt_id: option.Option(String),
    visibility_timeout: option.Option(Int),
    wait_time_seconds: option.Option(Int),
  )
}

Constructors

pub type ReceiveMessageResult {
  ReceiveMessageResult(messages: option.Option(List(Message)))
}

Constructors

pub type RemovePermissionError {
  RemovePermissionErrorInvalidAddress(value: InvalidAddress)
  RemovePermissionErrorInvalidSecurity(value: InvalidSecurity)
  RemovePermissionErrorQueueDoesNotExist(
    value: QueueDoesNotExist,
  )
  RemovePermissionErrorRequestThrottled(value: RequestThrottled)
  RemovePermissionErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  RemovePermissionErrorTransport(reason: String)
  RemovePermissionErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • RemovePermissionErrorInvalidAddress(value: InvalidAddress)
  • RemovePermissionErrorInvalidSecurity(value: InvalidSecurity)
  • RemovePermissionErrorQueueDoesNotExist(value: QueueDoesNotExist)
  • RemovePermissionErrorRequestThrottled(value: RequestThrottled)
  • RemovePermissionErrorUnsupportedOperation(
      value: UnsupportedOperation,
    )
  • RemovePermissionErrorTransport(reason: String)
  • RemovePermissionErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type RemovePermissionOutput {
  RemovePermissionOutput
}

Constructors

  • RemovePermissionOutput
pub type RemovePermissionRequest {
  RemovePermissionRequest(
    label: option.Option(String),
    queue_url: option.Option(String),
  )
}

Constructors

pub type RequestThrottled {
  RequestThrottled(message: option.Option(String))
}

Constructors

pub type ResourceNotFoundException {
  ResourceNotFoundException(message: option.Option(String))
}

Constructors

pub type SendMessageBatchError {
  SendMessageBatchErrorBatchEntryIdsNotDistinct(
    value: BatchEntryIdsNotDistinct,
  )
  SendMessageBatchErrorBatchRequestTooLong(
    value: BatchRequestTooLong,
  )
  SendMessageBatchErrorEmptyBatchRequest(
    value: EmptyBatchRequest,
  )
  SendMessageBatchErrorInvalidAddress(value: InvalidAddress)
  SendMessageBatchErrorInvalidBatchEntryId(
    value: InvalidBatchEntryId,
  )
  SendMessageBatchErrorInvalidSecurity(value: InvalidSecurity)
  SendMessageBatchErrorKmsAccessDenied(value: KmsAccessDenied)
  SendMessageBatchErrorKmsDisabled(value: KmsDisabled)
  SendMessageBatchErrorKmsInvalidKeyUsage(
    value: KmsInvalidKeyUsage,
  )
  SendMessageBatchErrorKmsInvalidState(value: KmsInvalidState)
  SendMessageBatchErrorKmsNotFound(value: KmsNotFound)
  SendMessageBatchErrorKmsOptInRequired(value: KmsOptInRequired)
  SendMessageBatchErrorKmsThrottled(value: KmsThrottled)
  SendMessageBatchErrorQueueDoesNotExist(
    value: QueueDoesNotExist,
  )
  SendMessageBatchErrorRequestThrottled(value: RequestThrottled)
  SendMessageBatchErrorTooManyEntriesInBatchRequest(
    value: TooManyEntriesInBatchRequest,
  )
  SendMessageBatchErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  SendMessageBatchErrorTransport(reason: String)
  SendMessageBatchErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

pub type SendMessageBatchRequest {
  SendMessageBatchRequest(
    entries: option.Option(List(SendMessageBatchRequestEntry)),
    queue_url: option.Option(String),
  )
}

Constructors

pub type SendMessageBatchRequestEntry {
  SendMessageBatchRequestEntry(
    delay_seconds: option.Option(Int),
    id: option.Option(String),
    message_attributes: option.Option(
      dict.Dict(String, MessageAttributeValue),
    ),
    message_body: option.Option(String),
    message_deduplication_id: option.Option(String),
    message_group_id: option.Option(String),
    message_system_attributes: option.Option(
      dict.Dict(String, MessageSystemAttributeValue),
    ),
  )
}

Constructors

pub type SendMessageBatchResult {
  SendMessageBatchResult(
    failed: option.Option(List(BatchResultErrorEntry)),
    successful: option.Option(List(SendMessageBatchResultEntry)),
  )
}

Constructors

pub type SendMessageBatchResultEntry {
  SendMessageBatchResultEntry(
    id: option.Option(String),
    md5_of_message_attributes: option.Option(String),
    md5_of_message_body: option.Option(String),
    md5_of_message_system_attributes: option.Option(String),
    message_id: option.Option(String),
    sequence_number: option.Option(String),
  )
}

Constructors

pub type SendMessageError {
  SendMessageErrorInvalidAddress(value: InvalidAddress)
  SendMessageErrorInvalidMessageContents(
    value: InvalidMessageContents,
  )
  SendMessageErrorInvalidSecurity(value: InvalidSecurity)
  SendMessageErrorKmsAccessDenied(value: KmsAccessDenied)
  SendMessageErrorKmsDisabled(value: KmsDisabled)
  SendMessageErrorKmsInvalidKeyUsage(value: KmsInvalidKeyUsage)
  SendMessageErrorKmsInvalidState(value: KmsInvalidState)
  SendMessageErrorKmsNotFound(value: KmsNotFound)
  SendMessageErrorKmsOptInRequired(value: KmsOptInRequired)
  SendMessageErrorKmsThrottled(value: KmsThrottled)
  SendMessageErrorQueueDoesNotExist(value: QueueDoesNotExist)
  SendMessageErrorRequestThrottled(value: RequestThrottled)
  SendMessageErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  SendMessageErrorTransport(reason: String)
  SendMessageErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

pub type SendMessageRequest {
  SendMessageRequest(
    delay_seconds: option.Option(Int),
    message_attributes: option.Option(
      dict.Dict(String, MessageAttributeValue),
    ),
    message_body: option.Option(String),
    message_deduplication_id: option.Option(String),
    message_group_id: option.Option(String),
    message_system_attributes: option.Option(
      dict.Dict(String, MessageSystemAttributeValue),
    ),
    queue_url: option.Option(String),
  )
}

Constructors

pub type SendMessageResult {
  SendMessageResult(
    md5_of_message_attributes: option.Option(String),
    md5_of_message_body: option.Option(String),
    md5_of_message_system_attributes: option.Option(String),
    message_id: option.Option(String),
    sequence_number: option.Option(String),
  )
}

Constructors

pub type SetQueueAttributesError {
  SetQueueAttributesErrorInvalidAddress(value: InvalidAddress)
  SetQueueAttributesErrorInvalidAttributeName(
    value: InvalidAttributeName,
  )
  SetQueueAttributesErrorInvalidAttributeValue(
    value: InvalidAttributeValue,
  )
  SetQueueAttributesErrorInvalidSecurity(value: InvalidSecurity)
  SetQueueAttributesErrorOverLimit(value: OverLimit)
  SetQueueAttributesErrorQueueDoesNotExist(
    value: QueueDoesNotExist,
  )
  SetQueueAttributesErrorRequestThrottled(
    value: RequestThrottled,
  )
  SetQueueAttributesErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  SetQueueAttributesErrorTransport(reason: String)
  SetQueueAttributesErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • SetQueueAttributesErrorInvalidAddress(value: InvalidAddress)
  • SetQueueAttributesErrorInvalidAttributeName(
      value: InvalidAttributeName,
    )
  • SetQueueAttributesErrorInvalidAttributeValue(
      value: InvalidAttributeValue,
    )
  • SetQueueAttributesErrorInvalidSecurity(value: InvalidSecurity)
  • SetQueueAttributesErrorOverLimit(value: OverLimit)
  • SetQueueAttributesErrorQueueDoesNotExist(
      value: QueueDoesNotExist,
    )
  • SetQueueAttributesErrorRequestThrottled(value: RequestThrottled)
  • SetQueueAttributesErrorUnsupportedOperation(
      value: UnsupportedOperation,
    )
  • SetQueueAttributesErrorTransport(reason: String)
  • SetQueueAttributesErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type SetQueueAttributesOutput {
  SetQueueAttributesOutput
}

Constructors

  • SetQueueAttributesOutput
pub type SetQueueAttributesRequest {
  SetQueueAttributesRequest(
    attributes: option.Option(dict.Dict(String, String)),
    queue_url: option.Option(String),
  )
}

Constructors

pub type StartMessageMoveTaskError {
  StartMessageMoveTaskErrorInvalidAddress(value: InvalidAddress)
  StartMessageMoveTaskErrorInvalidSecurity(
    value: InvalidSecurity,
  )
  StartMessageMoveTaskErrorRequestThrottled(
    value: RequestThrottled,
  )
  StartMessageMoveTaskErrorResourceNotFoundException(
    value: ResourceNotFoundException,
  )
  StartMessageMoveTaskErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  StartMessageMoveTaskErrorTransport(reason: String)
  StartMessageMoveTaskErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

  • StartMessageMoveTaskErrorInvalidAddress(value: InvalidAddress)
  • StartMessageMoveTaskErrorInvalidSecurity(value: InvalidSecurity)
  • StartMessageMoveTaskErrorRequestThrottled(
      value: RequestThrottled,
    )
  • StartMessageMoveTaskErrorResourceNotFoundException(
      value: ResourceNotFoundException,
    )
  • StartMessageMoveTaskErrorUnsupportedOperation(
      value: UnsupportedOperation,
    )
  • StartMessageMoveTaskErrorTransport(reason: String)
  • StartMessageMoveTaskErrorUnknown(
      error_type: String,
      status: Int,
      body: String,
    )
pub type StartMessageMoveTaskRequest {
  StartMessageMoveTaskRequest(
    destination_arn: option.Option(String),
    max_number_of_messages_per_second: option.Option(Int),
    source_arn: option.Option(String),
  )
}

Constructors

pub type StartMessageMoveTaskResult {
  StartMessageMoveTaskResult(task_handle: option.Option(String))
}

Constructors

pub type TagQueueError {
  TagQueueErrorInvalidAddress(value: InvalidAddress)
  TagQueueErrorInvalidSecurity(value: InvalidSecurity)
  TagQueueErrorQueueDoesNotExist(value: QueueDoesNotExist)
  TagQueueErrorRequestThrottled(value: RequestThrottled)
  TagQueueErrorUnsupportedOperation(value: UnsupportedOperation)
  TagQueueErrorTransport(reason: String)
  TagQueueErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

pub type TagQueueOutput {
  TagQueueOutput
}

Constructors

  • TagQueueOutput
pub type TagQueueRequest {
  TagQueueRequest(
    queue_url: option.Option(String),
    tags: option.Option(dict.Dict(String, String)),
  )
}

Constructors

pub type TooManyEntriesInBatchRequest {
  TooManyEntriesInBatchRequest(message: option.Option(String))
}

Constructors

pub type UnsupportedOperation {
  UnsupportedOperation(message: option.Option(String))
}

Constructors

pub type UntagQueueError {
  UntagQueueErrorInvalidAddress(value: InvalidAddress)
  UntagQueueErrorInvalidSecurity(value: InvalidSecurity)
  UntagQueueErrorQueueDoesNotExist(value: QueueDoesNotExist)
  UntagQueueErrorRequestThrottled(value: RequestThrottled)
  UntagQueueErrorUnsupportedOperation(
    value: UnsupportedOperation,
  )
  UntagQueueErrorTransport(reason: String)
  UntagQueueErrorUnknown(
    error_type: String,
    status: Int,
    body: String,
  )
}

Constructors

pub type UntagQueueOutput {
  UntagQueueOutput
}

Constructors

  • UntagQueueOutput
pub type UntagQueueRequest {
  UntagQueueRequest(
    queue_url: option.Option(String),
    tag_keys: option.Option(List(String)),
  )
}

Constructors

Values

pub fn add_permission(
  client: Client,
  input: AddPermissionRequest,
) -> Result(AddPermissionOutput, AddPermissionError)

Invoke AddPermission. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed AddPermissionError variants; transport, decode, and credentials failures all collapse into the generic AddPermissionErrorTransport variant.

pub fn build_add_permission_request(
  input: AddPermissionRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_cancel_message_move_task_request(
  input: CancelMessageMoveTaskRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_change_message_visibility_batch_request(
  input: ChangeMessageVisibilityBatchRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_change_message_visibility_request(
  input: ChangeMessageVisibilityRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_create_queue_request(
  input: CreateQueueRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_delete_message_batch_request(
  input: DeleteMessageBatchRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_delete_message_request(
  input: DeleteMessageRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_delete_queue_request(
  input: DeleteQueueRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_get_queue_attributes_request(
  input: GetQueueAttributesRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_get_queue_url_request(
  input: GetQueueUrlRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_list_dead_letter_source_queues_request(
  input: ListDeadLetterSourceQueuesRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_list_message_move_tasks_request(
  input: ListMessageMoveTasksRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_list_queue_tags_request(
  input: ListQueueTagsRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_list_queues_request(
  input: ListQueuesRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_purge_queue_request(
  input: PurgeQueueRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_receive_message_request(
  input: ReceiveMessageRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_remove_permission_request(
  input: RemovePermissionRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_send_message_batch_request(
  input: SendMessageBatchRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_send_message_request(
  input: SendMessageRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_set_queue_attributes_request(
  input: SetQueueAttributesRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_start_message_move_task_request(
  input: StartMessageMoveTaskRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_tag_queue_request(
  input: TagQueueRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn build_untag_queue_request(
  input: UntagQueueRequest,
) -> #(String, String, dict.Dict(String, String), BitArray)
pub fn cancel_message_move_task(
  client: Client,
  input: CancelMessageMoveTaskRequest,
) -> Result(
  CancelMessageMoveTaskResult,
  CancelMessageMoveTaskError,
)

Invoke CancelMessageMoveTask. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed CancelMessageMoveTaskError variants; transport, decode, and credentials failures all collapse into the generic CancelMessageMoveTaskErrorTransport variant.

pub fn change_message_visibility(
  client: Client,
  input: ChangeMessageVisibilityRequest,
) -> Result(
  ChangeMessageVisibilityOutput,
  ChangeMessageVisibilityError,
)

Invoke ChangeMessageVisibility. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed ChangeMessageVisibilityError variants; transport, decode, and credentials failures all collapse into the generic ChangeMessageVisibilityErrorTransport variant.

pub fn change_message_visibility_batch(
  client: Client,
  input: ChangeMessageVisibilityBatchRequest,
) -> Result(
  ChangeMessageVisibilityBatchResult,
  ChangeMessageVisibilityBatchError,
)

Invoke ChangeMessageVisibilityBatch. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed ChangeMessageVisibilityBatchError variants; transport, decode, and credentials failures all collapse into the generic ChangeMessageVisibilityBatchErrorTransport variant.

pub fn config(client: Client) -> runtime.ClientConfig

Read the underlying runtime.ClientConfig out of an existing Client. Use this when you want to dispatch a request through runtime.invoke / runtime.invoke_streaming directly — e.g. to build a service-specific streaming wrapper around a @streaming output operation that the per-op codegen hasn’t surfaced yet. The returned config is a value (Gleam records are immutable); callers cannot mutate the Client through it.

pub fn create_queue(
  client: Client,
  input: CreateQueueRequest,
) -> Result(CreateQueueResult, CreateQueueError)

Invoke CreateQueue. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed CreateQueueError variants; transport, decode, and credentials failures all collapse into the generic CreateQueueErrorTransport variant.

pub fn decode_add_permission_output(
  body: String,
) -> Result(AddPermissionOutput, String)
pub fn decode_add_permission_output_struct() -> decode.Decoder(
  AddPermissionOutput,
)
pub fn decode_add_permission_request_struct() -> decode.Decoder(
  AddPermissionRequest,
)
pub fn decode_batch_entry_ids_not_distinct_struct() -> decode.Decoder(
  BatchEntryIdsNotDistinct,
)
pub fn decode_batch_request_too_long_struct() -> decode.Decoder(
  BatchRequestTooLong,
)
pub fn decode_batch_result_error_entry_struct() -> decode.Decoder(
  BatchResultErrorEntry,
)
pub fn decode_cancel_message_move_task_output(
  body: String,
) -> Result(CancelMessageMoveTaskResult, String)
pub fn decode_cancel_message_move_task_request_struct() -> decode.Decoder(
  CancelMessageMoveTaskRequest,
)
pub fn decode_cancel_message_move_task_result_struct() -> decode.Decoder(
  CancelMessageMoveTaskResult,
)
pub fn decode_change_message_visibility_batch_output(
  body: String,
) -> Result(ChangeMessageVisibilityBatchResult, String)
pub fn decode_change_message_visibility_output(
  body: String,
) -> Result(ChangeMessageVisibilityOutput, String)
pub fn decode_change_message_visibility_output_struct() -> decode.Decoder(
  ChangeMessageVisibilityOutput,
)
pub fn decode_create_queue_output(
  body: String,
) -> Result(CreateQueueResult, String)
pub fn decode_create_queue_request_struct() -> decode.Decoder(
  CreateQueueRequest,
)
pub fn decode_create_queue_result_struct() -> decode.Decoder(
  CreateQueueResult,
)
pub fn decode_delete_message_batch_output(
  body: String,
) -> Result(DeleteMessageBatchResult, String)
pub fn decode_delete_message_batch_request_entry_struct() -> decode.Decoder(
  DeleteMessageBatchRequestEntry,
)
pub fn decode_delete_message_batch_request_struct() -> decode.Decoder(
  DeleteMessageBatchRequest,
)
pub fn decode_delete_message_batch_result_entry_struct() -> decode.Decoder(
  DeleteMessageBatchResultEntry,
)
pub fn decode_delete_message_batch_result_struct() -> decode.Decoder(
  DeleteMessageBatchResult,
)
pub fn decode_delete_message_output(
  body: String,
) -> Result(DeleteMessageOutput, String)
pub fn decode_delete_message_output_struct() -> decode.Decoder(
  DeleteMessageOutput,
)
pub fn decode_delete_message_request_struct() -> decode.Decoder(
  DeleteMessageRequest,
)
pub fn decode_delete_queue_output(
  body: String,
) -> Result(DeleteQueueOutput, String)
pub fn decode_delete_queue_output_struct() -> decode.Decoder(
  DeleteQueueOutput,
)
pub fn decode_delete_queue_request_struct() -> decode.Decoder(
  DeleteQueueRequest,
)
pub fn decode_empty_batch_request_struct() -> decode.Decoder(
  EmptyBatchRequest,
)
pub fn decode_get_queue_attributes_output(
  body: String,
) -> Result(GetQueueAttributesResult, String)
pub fn decode_get_queue_attributes_request_struct() -> decode.Decoder(
  GetQueueAttributesRequest,
)
pub fn decode_get_queue_attributes_result_struct() -> decode.Decoder(
  GetQueueAttributesResult,
)
pub fn decode_get_queue_url_output(
  body: String,
) -> Result(GetQueueUrlResult, String)
pub fn decode_get_queue_url_request_struct() -> decode.Decoder(
  GetQueueUrlRequest,
)
pub fn decode_get_queue_url_result_struct() -> decode.Decoder(
  GetQueueUrlResult,
)
pub fn decode_invalid_address_struct() -> decode.Decoder(
  InvalidAddress,
)
pub fn decode_invalid_attribute_name_struct() -> decode.Decoder(
  InvalidAttributeName,
)
pub fn decode_invalid_attribute_value_struct() -> decode.Decoder(
  InvalidAttributeValue,
)
pub fn decode_invalid_batch_entry_id_struct() -> decode.Decoder(
  InvalidBatchEntryId,
)
pub fn decode_invalid_id_format_struct() -> decode.Decoder(
  InvalidIdFormat,
)
pub fn decode_invalid_message_contents_struct() -> decode.Decoder(
  InvalidMessageContents,
)
pub fn decode_invalid_security_struct() -> decode.Decoder(
  InvalidSecurity,
)
pub fn decode_kms_access_denied_struct() -> decode.Decoder(
  KmsAccessDenied,
)
pub fn decode_kms_disabled_struct() -> decode.Decoder(KmsDisabled)
pub fn decode_kms_invalid_key_usage_struct() -> decode.Decoder(
  KmsInvalidKeyUsage,
)
pub fn decode_kms_invalid_state_struct() -> decode.Decoder(
  KmsInvalidState,
)
pub fn decode_kms_not_found_struct() -> decode.Decoder(
  KmsNotFound,
)
pub fn decode_kms_opt_in_required_struct() -> decode.Decoder(
  KmsOptInRequired,
)
pub fn decode_kms_throttled_struct() -> decode.Decoder(
  KmsThrottled,
)
pub fn decode_list_dead_letter_source_queues_output(
  body: String,
) -> Result(ListDeadLetterSourceQueuesResult, String)
pub fn decode_list_message_move_tasks_output(
  body: String,
) -> Result(ListMessageMoveTasksResult, String)
pub fn decode_list_message_move_tasks_request_struct() -> decode.Decoder(
  ListMessageMoveTasksRequest,
)
pub fn decode_list_message_move_tasks_result_entry_struct() -> decode.Decoder(
  ListMessageMoveTasksResultEntry,
)
pub fn decode_list_message_move_tasks_result_struct() -> decode.Decoder(
  ListMessageMoveTasksResult,
)
pub fn decode_list_queue_tags_output(
  body: String,
) -> Result(ListQueueTagsResult, String)
pub fn decode_list_queue_tags_request_struct() -> decode.Decoder(
  ListQueueTagsRequest,
)
pub fn decode_list_queue_tags_result_struct() -> decode.Decoder(
  ListQueueTagsResult,
)
pub fn decode_list_queues_output(
  body: String,
) -> Result(ListQueuesResult, String)
pub fn decode_list_queues_request_struct() -> decode.Decoder(
  ListQueuesRequest,
)
pub fn decode_list_queues_result_struct() -> decode.Decoder(
  ListQueuesResult,
)
pub fn decode_message_attribute_value_struct() -> decode.Decoder(
  MessageAttributeValue,
)
pub fn decode_message_not_inflight_struct() -> decode.Decoder(
  MessageNotInflight,
)
pub fn decode_message_struct() -> decode.Decoder(Message)
pub fn decode_message_system_attribute_name_enum() -> decode.Decoder(
  MessageSystemAttributeName,
)
pub fn decode_message_system_attribute_value_struct() -> decode.Decoder(
  MessageSystemAttributeValue,
)
pub fn decode_over_limit_struct() -> decode.Decoder(OverLimit)
pub fn decode_purge_queue_in_progress_struct() -> decode.Decoder(
  PurgeQueueInProgress,
)
pub fn decode_purge_queue_output(
  body: String,
) -> Result(PurgeQueueOutput, String)
pub fn decode_purge_queue_output_struct() -> decode.Decoder(
  PurgeQueueOutput,
)
pub fn decode_purge_queue_request_struct() -> decode.Decoder(
  PurgeQueueRequest,
)
pub fn decode_queue_attribute_name_enum() -> decode.Decoder(
  QueueAttributeName,
)
pub fn decode_queue_deleted_recently_struct() -> decode.Decoder(
  QueueDeletedRecently,
)
pub fn decode_queue_does_not_exist_struct() -> decode.Decoder(
  QueueDoesNotExist,
)
pub fn decode_queue_name_exists_struct() -> decode.Decoder(
  QueueNameExists,
)
pub fn decode_receipt_handle_is_invalid_struct() -> decode.Decoder(
  ReceiptHandleIsInvalid,
)
pub fn decode_receive_message_output(
  body: String,
) -> Result(ReceiveMessageResult, String)
pub fn decode_receive_message_request_struct() -> decode.Decoder(
  ReceiveMessageRequest,
)
pub fn decode_receive_message_result_struct() -> decode.Decoder(
  ReceiveMessageResult,
)
pub fn decode_remove_permission_output(
  body: String,
) -> Result(RemovePermissionOutput, String)
pub fn decode_remove_permission_output_struct() -> decode.Decoder(
  RemovePermissionOutput,
)
pub fn decode_remove_permission_request_struct() -> decode.Decoder(
  RemovePermissionRequest,
)
pub fn decode_request_throttled_struct() -> decode.Decoder(
  RequestThrottled,
)
pub fn decode_resource_not_found_exception_struct() -> decode.Decoder(
  ResourceNotFoundException,
)
pub fn decode_send_message_batch_output(
  body: String,
) -> Result(SendMessageBatchResult, String)
pub fn decode_send_message_batch_request_entry_struct() -> decode.Decoder(
  SendMessageBatchRequestEntry,
)
pub fn decode_send_message_batch_request_struct() -> decode.Decoder(
  SendMessageBatchRequest,
)
pub fn decode_send_message_batch_result_entry_struct() -> decode.Decoder(
  SendMessageBatchResultEntry,
)
pub fn decode_send_message_batch_result_struct() -> decode.Decoder(
  SendMessageBatchResult,
)
pub fn decode_send_message_output(
  body: String,
) -> Result(SendMessageResult, String)
pub fn decode_send_message_request_struct() -> decode.Decoder(
  SendMessageRequest,
)
pub fn decode_send_message_result_struct() -> decode.Decoder(
  SendMessageResult,
)
pub fn decode_set_queue_attributes_output(
  body: String,
) -> Result(SetQueueAttributesOutput, String)
pub fn decode_set_queue_attributes_output_struct() -> decode.Decoder(
  SetQueueAttributesOutput,
)
pub fn decode_set_queue_attributes_request_struct() -> decode.Decoder(
  SetQueueAttributesRequest,
)
pub fn decode_start_message_move_task_output(
  body: String,
) -> Result(StartMessageMoveTaskResult, String)
pub fn decode_start_message_move_task_request_struct() -> decode.Decoder(
  StartMessageMoveTaskRequest,
)
pub fn decode_start_message_move_task_result_struct() -> decode.Decoder(
  StartMessageMoveTaskResult,
)
pub fn decode_tag_queue_output(
  body: String,
) -> Result(TagQueueOutput, String)
pub fn decode_tag_queue_output_struct() -> decode.Decoder(
  TagQueueOutput,
)
pub fn decode_tag_queue_request_struct() -> decode.Decoder(
  TagQueueRequest,
)
pub fn decode_too_many_entries_in_batch_request_struct() -> decode.Decoder(
  TooManyEntriesInBatchRequest,
)
pub fn decode_unsupported_operation_struct() -> decode.Decoder(
  UnsupportedOperation,
)
pub fn decode_untag_queue_output(
  body: String,
) -> Result(UntagQueueOutput, String)
pub fn decode_untag_queue_output_struct() -> decode.Decoder(
  UntagQueueOutput,
)
pub fn decode_untag_queue_request_struct() -> decode.Decoder(
  UntagQueueRequest,
)
pub fn delete_message(
  client: Client,
  input: DeleteMessageRequest,
) -> Result(DeleteMessageOutput, DeleteMessageError)

Invoke DeleteMessage. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed DeleteMessageError variants; transport, decode, and credentials failures all collapse into the generic DeleteMessageErrorTransport variant.

pub fn delete_message_batch(
  client: Client,
  input: DeleteMessageBatchRequest,
) -> Result(DeleteMessageBatchResult, DeleteMessageBatchError)

Invoke DeleteMessageBatch. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed DeleteMessageBatchError variants; transport, decode, and credentials failures all collapse into the generic DeleteMessageBatchErrorTransport variant.

pub fn delete_queue(
  client: Client,
  input: DeleteQueueRequest,
) -> Result(DeleteQueueOutput, DeleteQueueError)

Invoke DeleteQueue. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed DeleteQueueError variants; transport, decode, and credentials failures all collapse into the generic DeleteQueueErrorTransport variant.

pub fn encode_add_permission_input(
  input: AddPermissionRequest,
) -> String
pub fn encode_add_permission_request_struct(
  input: AddPermissionRequest,
) -> json.Json
pub fn encode_add_permission_request_struct_top(
  input: AddPermissionRequest,
) -> json.Json
pub fn encode_batch_entry_ids_not_distinct_struct(
  input: BatchEntryIdsNotDistinct,
) -> json.Json
pub fn encode_batch_entry_ids_not_distinct_struct_top(
  input: BatchEntryIdsNotDistinct,
) -> json.Json
pub fn encode_batch_request_too_long_struct(
  input: BatchRequestTooLong,
) -> json.Json
pub fn encode_batch_request_too_long_struct_top(
  input: BatchRequestTooLong,
) -> json.Json
pub fn encode_batch_result_error_entry_struct(
  input: BatchResultErrorEntry,
) -> json.Json
pub fn encode_batch_result_error_entry_struct_top(
  input: BatchResultErrorEntry,
) -> json.Json
pub fn encode_cancel_message_move_task_input(
  input: CancelMessageMoveTaskRequest,
) -> String
pub fn encode_cancel_message_move_task_request_struct(
  input: CancelMessageMoveTaskRequest,
) -> json.Json
pub fn encode_cancel_message_move_task_request_struct_top(
  input: CancelMessageMoveTaskRequest,
) -> json.Json
pub fn encode_cancel_message_move_task_result_struct(
  input: CancelMessageMoveTaskResult,
) -> json.Json
pub fn encode_cancel_message_move_task_result_struct_top(
  input: CancelMessageMoveTaskResult,
) -> json.Json
pub fn encode_change_message_visibility_batch_input(
  input: ChangeMessageVisibilityBatchRequest,
) -> String
pub fn encode_change_message_visibility_batch_request_entry_struct(
  input: ChangeMessageVisibilityBatchRequestEntry,
) -> json.Json
pub fn encode_change_message_visibility_batch_request_entry_struct_top(
  input: ChangeMessageVisibilityBatchRequestEntry,
) -> json.Json
pub fn encode_change_message_visibility_batch_request_struct(
  input: ChangeMessageVisibilityBatchRequest,
) -> json.Json
pub fn encode_change_message_visibility_batch_request_struct_top(
  input: ChangeMessageVisibilityBatchRequest,
) -> json.Json
pub fn encode_change_message_visibility_batch_result_entry_struct(
  input: ChangeMessageVisibilityBatchResultEntry,
) -> json.Json
pub fn encode_change_message_visibility_batch_result_entry_struct_top(
  input: ChangeMessageVisibilityBatchResultEntry,
) -> json.Json
pub fn encode_change_message_visibility_batch_result_struct(
  input: ChangeMessageVisibilityBatchResult,
) -> json.Json
pub fn encode_change_message_visibility_batch_result_struct_top(
  input: ChangeMessageVisibilityBatchResult,
) -> json.Json
pub fn encode_change_message_visibility_input(
  input: ChangeMessageVisibilityRequest,
) -> String
pub fn encode_change_message_visibility_request_struct(
  input: ChangeMessageVisibilityRequest,
) -> json.Json
pub fn encode_change_message_visibility_request_struct_top(
  input: ChangeMessageVisibilityRequest,
) -> json.Json
pub fn encode_create_queue_input(
  input: CreateQueueRequest,
) -> String
pub fn encode_create_queue_request_struct(
  input: CreateQueueRequest,
) -> json.Json
pub fn encode_create_queue_request_struct_top(
  input: CreateQueueRequest,
) -> json.Json
pub fn encode_create_queue_result_struct(
  input: CreateQueueResult,
) -> json.Json
pub fn encode_create_queue_result_struct_top(
  input: CreateQueueResult,
) -> json.Json
pub fn encode_delete_message_batch_input(
  input: DeleteMessageBatchRequest,
) -> String
pub fn encode_delete_message_batch_request_entry_struct(
  input: DeleteMessageBatchRequestEntry,
) -> json.Json
pub fn encode_delete_message_batch_request_entry_struct_top(
  input: DeleteMessageBatchRequestEntry,
) -> json.Json
pub fn encode_delete_message_batch_request_struct(
  input: DeleteMessageBatchRequest,
) -> json.Json
pub fn encode_delete_message_batch_request_struct_top(
  input: DeleteMessageBatchRequest,
) -> json.Json
pub fn encode_delete_message_batch_result_entry_struct(
  input: DeleteMessageBatchResultEntry,
) -> json.Json
pub fn encode_delete_message_batch_result_entry_struct_top(
  input: DeleteMessageBatchResultEntry,
) -> json.Json
pub fn encode_delete_message_batch_result_struct(
  input: DeleteMessageBatchResult,
) -> json.Json
pub fn encode_delete_message_batch_result_struct_top(
  input: DeleteMessageBatchResult,
) -> json.Json
pub fn encode_delete_message_input(
  input: DeleteMessageRequest,
) -> String
pub fn encode_delete_message_request_struct(
  input: DeleteMessageRequest,
) -> json.Json
pub fn encode_delete_message_request_struct_top(
  input: DeleteMessageRequest,
) -> json.Json
pub fn encode_delete_queue_input(
  input: DeleteQueueRequest,
) -> String
pub fn encode_delete_queue_request_struct(
  input: DeleteQueueRequest,
) -> json.Json
pub fn encode_delete_queue_request_struct_top(
  input: DeleteQueueRequest,
) -> json.Json
pub fn encode_empty_batch_request_struct(
  input: EmptyBatchRequest,
) -> json.Json
pub fn encode_empty_batch_request_struct_top(
  input: EmptyBatchRequest,
) -> json.Json
pub fn encode_get_queue_attributes_input(
  input: GetQueueAttributesRequest,
) -> String
pub fn encode_get_queue_attributes_request_struct(
  input: GetQueueAttributesRequest,
) -> json.Json
pub fn encode_get_queue_attributes_request_struct_top(
  input: GetQueueAttributesRequest,
) -> json.Json
pub fn encode_get_queue_attributes_result_struct(
  input: GetQueueAttributesResult,
) -> json.Json
pub fn encode_get_queue_attributes_result_struct_top(
  input: GetQueueAttributesResult,
) -> json.Json
pub fn encode_get_queue_url_input(
  input: GetQueueUrlRequest,
) -> String
pub fn encode_get_queue_url_request_struct(
  input: GetQueueUrlRequest,
) -> json.Json
pub fn encode_get_queue_url_request_struct_top(
  input: GetQueueUrlRequest,
) -> json.Json
pub fn encode_get_queue_url_result_struct(
  input: GetQueueUrlResult,
) -> json.Json
pub fn encode_get_queue_url_result_struct_top(
  input: GetQueueUrlResult,
) -> json.Json
pub fn encode_invalid_address_struct(
  input: InvalidAddress,
) -> json.Json
pub fn encode_invalid_address_struct_top(
  input: InvalidAddress,
) -> json.Json
pub fn encode_invalid_attribute_name_struct(
  input: InvalidAttributeName,
) -> json.Json
pub fn encode_invalid_attribute_name_struct_top(
  input: InvalidAttributeName,
) -> json.Json
pub fn encode_invalid_attribute_value_struct(
  input: InvalidAttributeValue,
) -> json.Json
pub fn encode_invalid_attribute_value_struct_top(
  input: InvalidAttributeValue,
) -> json.Json
pub fn encode_invalid_batch_entry_id_struct(
  input: InvalidBatchEntryId,
) -> json.Json
pub fn encode_invalid_batch_entry_id_struct_top(
  input: InvalidBatchEntryId,
) -> json.Json
pub fn encode_invalid_id_format_struct(
  v: InvalidIdFormat,
) -> json.Json
pub fn encode_invalid_id_format_struct_top(
  v: InvalidIdFormat,
) -> json.Json
pub fn encode_invalid_message_contents_struct(
  input: InvalidMessageContents,
) -> json.Json
pub fn encode_invalid_message_contents_struct_top(
  input: InvalidMessageContents,
) -> json.Json
pub fn encode_invalid_security_struct(
  input: InvalidSecurity,
) -> json.Json
pub fn encode_invalid_security_struct_top(
  input: InvalidSecurity,
) -> json.Json
pub fn encode_kms_access_denied_struct(
  input: KmsAccessDenied,
) -> json.Json
pub fn encode_kms_access_denied_struct_top(
  input: KmsAccessDenied,
) -> json.Json
pub fn encode_kms_disabled_struct(
  input: KmsDisabled,
) -> json.Json
pub fn encode_kms_disabled_struct_top(
  input: KmsDisabled,
) -> json.Json
pub fn encode_kms_invalid_key_usage_struct(
  input: KmsInvalidKeyUsage,
) -> json.Json
pub fn encode_kms_invalid_key_usage_struct_top(
  input: KmsInvalidKeyUsage,
) -> json.Json
pub fn encode_kms_invalid_state_struct(
  input: KmsInvalidState,
) -> json.Json
pub fn encode_kms_invalid_state_struct_top(
  input: KmsInvalidState,
) -> json.Json
pub fn encode_kms_not_found_struct(
  input: KmsNotFound,
) -> json.Json
pub fn encode_kms_not_found_struct_top(
  input: KmsNotFound,
) -> json.Json
pub fn encode_kms_opt_in_required_struct(
  input: KmsOptInRequired,
) -> json.Json
pub fn encode_kms_opt_in_required_struct_top(
  input: KmsOptInRequired,
) -> json.Json
pub fn encode_kms_throttled_struct(
  input: KmsThrottled,
) -> json.Json
pub fn encode_kms_throttled_struct_top(
  input: KmsThrottled,
) -> json.Json
pub fn encode_list_dead_letter_source_queues_input(
  input: ListDeadLetterSourceQueuesRequest,
) -> String
pub fn encode_list_dead_letter_source_queues_request_struct(
  input: ListDeadLetterSourceQueuesRequest,
) -> json.Json
pub fn encode_list_dead_letter_source_queues_request_struct_top(
  input: ListDeadLetterSourceQueuesRequest,
) -> json.Json
pub fn encode_list_dead_letter_source_queues_result_struct(
  input: ListDeadLetterSourceQueuesResult,
) -> json.Json
pub fn encode_list_dead_letter_source_queues_result_struct_top(
  input: ListDeadLetterSourceQueuesResult,
) -> json.Json
pub fn encode_list_message_move_tasks_input(
  input: ListMessageMoveTasksRequest,
) -> String
pub fn encode_list_message_move_tasks_request_struct(
  input: ListMessageMoveTasksRequest,
) -> json.Json
pub fn encode_list_message_move_tasks_request_struct_top(
  input: ListMessageMoveTasksRequest,
) -> json.Json
pub fn encode_list_message_move_tasks_result_entry_struct(
  input: ListMessageMoveTasksResultEntry,
) -> json.Json
pub fn encode_list_message_move_tasks_result_entry_struct_top(
  input: ListMessageMoveTasksResultEntry,
) -> json.Json
pub fn encode_list_message_move_tasks_result_struct(
  input: ListMessageMoveTasksResult,
) -> json.Json
pub fn encode_list_message_move_tasks_result_struct_top(
  input: ListMessageMoveTasksResult,
) -> json.Json
pub fn encode_list_queue_tags_input(
  input: ListQueueTagsRequest,
) -> String
pub fn encode_list_queue_tags_request_struct(
  input: ListQueueTagsRequest,
) -> json.Json
pub fn encode_list_queue_tags_request_struct_top(
  input: ListQueueTagsRequest,
) -> json.Json
pub fn encode_list_queue_tags_result_struct(
  input: ListQueueTagsResult,
) -> json.Json
pub fn encode_list_queue_tags_result_struct_top(
  input: ListQueueTagsResult,
) -> json.Json
pub fn encode_list_queues_input(
  input: ListQueuesRequest,
) -> String
pub fn encode_list_queues_request_struct(
  input: ListQueuesRequest,
) -> json.Json
pub fn encode_list_queues_request_struct_top(
  input: ListQueuesRequest,
) -> json.Json
pub fn encode_list_queues_result_struct(
  input: ListQueuesResult,
) -> json.Json
pub fn encode_list_queues_result_struct_top(
  input: ListQueuesResult,
) -> json.Json
pub fn encode_message_attribute_value_struct(
  input: MessageAttributeValue,
) -> json.Json
pub fn encode_message_attribute_value_struct_top(
  input: MessageAttributeValue,
) -> json.Json
pub fn encode_message_not_inflight_struct(
  v: MessageNotInflight,
) -> json.Json
pub fn encode_message_not_inflight_struct_top(
  v: MessageNotInflight,
) -> json.Json
pub fn encode_message_struct(input: Message) -> json.Json
pub fn encode_message_struct_top(input: Message) -> json.Json
pub fn encode_message_system_attribute_name_enum(
  v: MessageSystemAttributeName,
) -> json.Json
pub fn encode_message_system_attribute_name_for_sends_enum(
  v: MessageSystemAttributeNameForSends,
) -> json.Json
pub fn encode_message_system_attribute_value_struct(
  input: MessageSystemAttributeValue,
) -> json.Json
pub fn encode_message_system_attribute_value_struct_top(
  input: MessageSystemAttributeValue,
) -> json.Json
pub fn encode_over_limit_struct(input: OverLimit) -> json.Json
pub fn encode_over_limit_struct_top(
  input: OverLimit,
) -> json.Json
pub fn encode_purge_queue_in_progress_struct(
  input: PurgeQueueInProgress,
) -> json.Json
pub fn encode_purge_queue_in_progress_struct_top(
  input: PurgeQueueInProgress,
) -> json.Json
pub fn encode_purge_queue_input(
  input: PurgeQueueRequest,
) -> String
pub fn encode_purge_queue_request_struct(
  input: PurgeQueueRequest,
) -> json.Json
pub fn encode_purge_queue_request_struct_top(
  input: PurgeQueueRequest,
) -> json.Json
pub fn encode_queue_attribute_name_enum(
  v: QueueAttributeName,
) -> json.Json
pub fn encode_queue_deleted_recently_struct(
  input: QueueDeletedRecently,
) -> json.Json
pub fn encode_queue_deleted_recently_struct_top(
  input: QueueDeletedRecently,
) -> json.Json
pub fn encode_queue_does_not_exist_struct(
  input: QueueDoesNotExist,
) -> json.Json
pub fn encode_queue_does_not_exist_struct_top(
  input: QueueDoesNotExist,
) -> json.Json
pub fn encode_queue_name_exists_struct(
  input: QueueNameExists,
) -> json.Json
pub fn encode_queue_name_exists_struct_top(
  input: QueueNameExists,
) -> json.Json
pub fn encode_receipt_handle_is_invalid_struct(
  input: ReceiptHandleIsInvalid,
) -> json.Json
pub fn encode_receipt_handle_is_invalid_struct_top(
  input: ReceiptHandleIsInvalid,
) -> json.Json
pub fn encode_receive_message_input(
  input: ReceiveMessageRequest,
) -> String
pub fn encode_receive_message_request_struct(
  input: ReceiveMessageRequest,
) -> json.Json
pub fn encode_receive_message_request_struct_top(
  input: ReceiveMessageRequest,
) -> json.Json
pub fn encode_receive_message_result_struct(
  input: ReceiveMessageResult,
) -> json.Json
pub fn encode_receive_message_result_struct_top(
  input: ReceiveMessageResult,
) -> json.Json
pub fn encode_remove_permission_input(
  input: RemovePermissionRequest,
) -> String
pub fn encode_remove_permission_request_struct(
  input: RemovePermissionRequest,
) -> json.Json
pub fn encode_remove_permission_request_struct_top(
  input: RemovePermissionRequest,
) -> json.Json
pub fn encode_request_throttled_struct(
  input: RequestThrottled,
) -> json.Json
pub fn encode_request_throttled_struct_top(
  input: RequestThrottled,
) -> json.Json
pub fn encode_resource_not_found_exception_struct(
  input: ResourceNotFoundException,
) -> json.Json
pub fn encode_resource_not_found_exception_struct_top(
  input: ResourceNotFoundException,
) -> json.Json
pub fn encode_send_message_batch_input(
  input: SendMessageBatchRequest,
) -> String
pub fn encode_send_message_batch_request_entry_struct(
  input: SendMessageBatchRequestEntry,
) -> json.Json
pub fn encode_send_message_batch_request_entry_struct_top(
  input: SendMessageBatchRequestEntry,
) -> json.Json
pub fn encode_send_message_batch_request_struct(
  input: SendMessageBatchRequest,
) -> json.Json
pub fn encode_send_message_batch_request_struct_top(
  input: SendMessageBatchRequest,
) -> json.Json
pub fn encode_send_message_batch_result_entry_struct(
  input: SendMessageBatchResultEntry,
) -> json.Json
pub fn encode_send_message_batch_result_entry_struct_top(
  input: SendMessageBatchResultEntry,
) -> json.Json
pub fn encode_send_message_batch_result_struct(
  input: SendMessageBatchResult,
) -> json.Json
pub fn encode_send_message_batch_result_struct_top(
  input: SendMessageBatchResult,
) -> json.Json
pub fn encode_send_message_input(
  input: SendMessageRequest,
) -> String
pub fn encode_send_message_request_struct(
  input: SendMessageRequest,
) -> json.Json
pub fn encode_send_message_request_struct_top(
  input: SendMessageRequest,
) -> json.Json
pub fn encode_send_message_result_struct(
  input: SendMessageResult,
) -> json.Json
pub fn encode_send_message_result_struct_top(
  input: SendMessageResult,
) -> json.Json
pub fn encode_set_queue_attributes_input(
  input: SetQueueAttributesRequest,
) -> String
pub fn encode_set_queue_attributes_request_struct(
  input: SetQueueAttributesRequest,
) -> json.Json
pub fn encode_set_queue_attributes_request_struct_top(
  input: SetQueueAttributesRequest,
) -> json.Json
pub fn encode_start_message_move_task_input(
  input: StartMessageMoveTaskRequest,
) -> String
pub fn encode_start_message_move_task_request_struct(
  input: StartMessageMoveTaskRequest,
) -> json.Json
pub fn encode_start_message_move_task_request_struct_top(
  input: StartMessageMoveTaskRequest,
) -> json.Json
pub fn encode_start_message_move_task_result_struct(
  input: StartMessageMoveTaskResult,
) -> json.Json
pub fn encode_start_message_move_task_result_struct_top(
  input: StartMessageMoveTaskResult,
) -> json.Json
pub fn encode_tag_queue_input(input: TagQueueRequest) -> String
pub fn encode_tag_queue_request_struct(
  input: TagQueueRequest,
) -> json.Json
pub fn encode_tag_queue_request_struct_top(
  input: TagQueueRequest,
) -> json.Json
pub fn encode_too_many_entries_in_batch_request_struct(
  input: TooManyEntriesInBatchRequest,
) -> json.Json
pub fn encode_too_many_entries_in_batch_request_struct_top(
  input: TooManyEntriesInBatchRequest,
) -> json.Json
pub fn encode_unsupported_operation_struct(
  input: UnsupportedOperation,
) -> json.Json
pub fn encode_unsupported_operation_struct_top(
  input: UnsupportedOperation,
) -> json.Json
pub fn encode_untag_queue_input(
  input: UntagQueueRequest,
) -> String
pub fn encode_untag_queue_request_struct(
  input: UntagQueueRequest,
) -> json.Json
pub fn encode_untag_queue_request_struct_top(
  input: UntagQueueRequest,
) -> json.Json
pub fn get_queue_attributes(
  client: Client,
  input: GetQueueAttributesRequest,
) -> Result(GetQueueAttributesResult, GetQueueAttributesError)

Invoke GetQueueAttributes. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed GetQueueAttributesError variants; transport, decode, and credentials failures all collapse into the generic GetQueueAttributesErrorTransport variant.

pub fn get_queue_url(
  client: Client,
  input: GetQueueUrlRequest,
) -> Result(GetQueueUrlResult, GetQueueUrlError)

Invoke GetQueueUrl. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed GetQueueUrlError variants; transport, decode, and credentials failures all collapse into the generic GetQueueUrlErrorTransport variant.

pub fn list_dead_letter_source_queues(
  client: Client,
  input: ListDeadLetterSourceQueuesRequest,
) -> Result(
  ListDeadLetterSourceQueuesResult,
  ListDeadLetterSourceQueuesError,
)

Invoke ListDeadLetterSourceQueues. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed ListDeadLetterSourceQueuesError variants; transport, decode, and credentials failures all collapse into the generic ListDeadLetterSourceQueuesErrorTransport variant.

pub fn list_message_move_tasks(
  client: Client,
  input: ListMessageMoveTasksRequest,
) -> Result(ListMessageMoveTasksResult, ListMessageMoveTasksError)

Invoke ListMessageMoveTasks. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed ListMessageMoveTasksError variants; transport, decode, and credentials failures all collapse into the generic ListMessageMoveTasksErrorTransport variant.

pub fn list_queue_tags(
  client: Client,
  input: ListQueueTagsRequest,
) -> Result(ListQueueTagsResult, ListQueueTagsError)

Invoke ListQueueTags. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed ListQueueTagsError variants; transport, decode, and credentials failures all collapse into the generic ListQueueTagsErrorTransport variant.

pub fn list_queues(
  client: Client,
  input: ListQueuesRequest,
) -> Result(ListQueuesResult, ListQueuesError)

Invoke ListQueues. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed ListQueuesError variants; transport, decode, and credentials failures all collapse into the generic ListQueuesErrorTransport variant.

pub fn new(region region: String) -> Client

Build a Client for an AWS region. Credentials resolve through the default chain (env → web-identity → SSO → profile → process → ECS → IMDS); use with_credentials_provider to override.

pub fn new_with_auto_region() -> Result(
  Client,
  region.ResolveError,
)

Build a Client by resolving the region from the standard AWS sources (AWS_REGION, AWS_DEFAULT_REGION, ~/.aws/config). Returns Error(_) when no source supplies a region — typical in Lambda/ECS/EC2 where exactly one of these is always set.

pub fn paginate_list_dead_letter_source_queues(
  client: Client,
  input: ListDeadLetterSourceQueuesRequest,
  acc: acc,
  reducer: fn(acc, List(String)) -> acc,
) -> Result(acc, ListDeadLetterSourceQueuesError)
pub fn paginate_list_queues(
  client: Client,
  input: ListQueuesRequest,
  acc: acc,
  reducer: fn(acc, List(String)) -> acc,
) -> Result(acc, ListQueuesError)
pub fn parse_add_permission_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(AddPermissionOutput, String)
pub fn parse_batch_entry_ids_not_distinct_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_batch_request_too_long_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_cancel_message_move_task_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(CancelMessageMoveTaskResult, String)
pub fn parse_change_message_visibility_batch_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(ChangeMessageVisibilityBatchResult, String)
pub fn parse_change_message_visibility_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(ChangeMessageVisibilityOutput, String)
pub fn parse_create_queue_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(CreateQueueResult, String)
pub fn parse_delete_message_batch_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(DeleteMessageBatchResult, String)
pub fn parse_delete_message_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(DeleteMessageOutput, String)
pub fn parse_delete_queue_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(DeleteQueueOutput, String)
pub fn parse_empty_batch_request_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_get_queue_attributes_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(GetQueueAttributesResult, String)
pub fn parse_get_queue_url_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(GetQueueUrlResult, String)
pub fn parse_invalid_address_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_invalid_attribute_name_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_invalid_attribute_value_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_invalid_batch_entry_id_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_invalid_id_format_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_invalid_message_contents_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_invalid_security_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_kms_access_denied_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_kms_disabled_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_kms_invalid_key_usage_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_kms_invalid_state_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_kms_not_found_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_kms_opt_in_required_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_kms_throttled_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_list_dead_letter_source_queues_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(ListDeadLetterSourceQueuesResult, String)
pub fn parse_list_message_move_tasks_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(ListMessageMoveTasksResult, String)
pub fn parse_list_queue_tags_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(ListQueueTagsResult, String)
pub fn parse_list_queues_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(ListQueuesResult, String)
pub fn parse_message_not_inflight_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_over_limit_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_purge_queue_in_progress_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_purge_queue_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(PurgeQueueOutput, String)
pub fn parse_queue_deleted_recently_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_queue_does_not_exist_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_queue_name_exists_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_receipt_handle_is_invalid_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_receive_message_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(ReceiveMessageResult, String)
pub fn parse_remove_permission_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(RemovePermissionOutput, String)
pub fn parse_request_throttled_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_resource_not_found_exception_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_send_message_batch_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(SendMessageBatchResult, String)
pub fn parse_send_message_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(SendMessageResult, String)
pub fn parse_set_queue_attributes_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(SetQueueAttributesOutput, String)
pub fn parse_start_message_move_task_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(StartMessageMoveTaskResult, String)
pub fn parse_tag_queue_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(TagQueueOutput, String)
pub fn parse_too_many_entries_in_batch_request_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_unsupported_operation_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(Nil, String)
pub fn parse_untag_queue_response(
  code: Int,
  headers: dict.Dict(String, String),
  body: BitArray,
) -> Result(UntagQueueOutput, String)
pub fn purge_queue(
  client: Client,
  input: PurgeQueueRequest,
) -> Result(PurgeQueueOutput, PurgeQueueError)

Invoke PurgeQueue. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed PurgeQueueError variants; transport, decode, and credentials failures all collapse into the generic PurgeQueueErrorTransport variant.

pub fn receive_message(
  client: Client,
  input: ReceiveMessageRequest,
) -> Result(ReceiveMessageResult, ReceiveMessageError)

Invoke ReceiveMessage. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed ReceiveMessageError variants; transport, decode, and credentials failures all collapse into the generic ReceiveMessageErrorTransport variant.

pub fn remove_permission(
  client: Client,
  input: RemovePermissionRequest,
) -> Result(RemovePermissionOutput, RemovePermissionError)

Invoke RemovePermission. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed RemovePermissionError variants; transport, decode, and credentials failures all collapse into the generic RemovePermissionErrorTransport variant.

pub fn send_message(
  client: Client,
  input: SendMessageRequest,
) -> Result(SendMessageResult, SendMessageError)

Invoke SendMessage. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed SendMessageError variants; transport, decode, and credentials failures all collapse into the generic SendMessageErrorTransport variant.

pub fn send_message_batch(
  client: Client,
  input: SendMessageBatchRequest,
) -> Result(SendMessageBatchResult, SendMessageBatchError)

Invoke SendMessageBatch. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed SendMessageBatchError variants; transport, decode, and credentials failures all collapse into the generic SendMessageBatchErrorTransport variant.

pub fn set_queue_attributes(
  client: Client,
  input: SetQueueAttributesRequest,
) -> Result(SetQueueAttributesOutput, SetQueueAttributesError)

Invoke SetQueueAttributes. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed SetQueueAttributesError variants; transport, decode, and credentials failures all collapse into the generic SetQueueAttributesErrorTransport variant.

pub fn shutdown(client: Client) -> Nil

Release the per-Client credentials cache actor. Call this when a Client value is no longer needed — long-running processes that build many Clients (tests, scripts, multi-tenant servers) will otherwise accumulate one BEAM process per new call. Fire-and- forget; safe to call multiple times. For tests or graceful shutdown that must observe the actor’s exit, use shutdown_sync.

pub fn shutdown_sync(
  client: Client,
  timeout_ms timeout_ms: Int,
) -> Result(Nil, Nil)

Like shutdown but blocks until the credentials cache actor has actually exited (or timeout_ms elapses). Ok(Nil) indicates a clean exit; Error(Nil) indicates the timeout fired and the actor was still alive when the caller gave up.

pub fn start_message_move_task(
  client: Client,
  input: StartMessageMoveTaskRequest,
) -> Result(StartMessageMoveTaskResult, StartMessageMoveTaskError)

Invoke StartMessageMoveTask. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed StartMessageMoveTaskError variants; transport, decode, and credentials failures all collapse into the generic StartMessageMoveTaskErrorTransport variant.

pub fn tag_queue(
  client: Client,
  input: TagQueueRequest,
) -> Result(TagQueueOutput, TagQueueError)

Invoke TagQueue. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed TagQueueError variants; transport, decode, and credentials failures all collapse into the generic TagQueueErrorTransport variant.

pub fn untag_queue(
  client: Client,
  input: UntagQueueRequest,
) -> Result(UntagQueueOutput, UntagQueueError)

Invoke UntagQueue. Signs the request with SigV4 and dispatches via the configured HTTP transport. Service errors come back as typed UntagQueueError variants; transport, decode, and credentials failures all collapse into the generic UntagQueueErrorTransport variant.

pub fn with_credentials_provider(
  client: Client,
  provider: credentials.Provider,
) -> Client

Override the credentials provider — use for non-default profiles, in-process static credentials, or a custom chain. The supplied provider is wrapped in a fresh per-Client credentials cache so callers don’t lose refresh/coalesce behaviour by overriding the default chain. The previously running cache actor is stopped — call this on a Client value you intend to keep, not on one that’s about to be discarded.

pub fn with_endpoint_url(client: Client, url: String) -> Client

Override the endpoint URL (LocalStack, FIPS endpoints, custom DNS).

pub fn with_http2(client: Client) -> Client

Switch the streaming sender to the HTTP/2 variant. httpc adds {http_version, "HTTP/2"} to its option list; servers that don’t speak HTTP/2 negotiate down to HTTP/1.1 via ALPN, so calls keep working even when the peer doesn’t support it. Buffered requests (with_http_send) are unaffected — HTTP/2 is for high-throughput streaming endpoints (S3 multipart, Bedrock streaming, Transcribe).

pub fn with_http_send(
  client: Client,
  send: fn(request.Request(BitArray)) -> Result(
    response.Response(BitArray),
    http_send.HttpError,
  ),
) -> Client

Swap the HTTP transport — useful for canned-response test doubles.

pub fn with_max_attempts(client: Client, n: Int) -> Client

Override the retry attempt budget on the underlying ClientConfig. The common case for retry tuning — pass 1 to disable retries entirely (single attempt per request), 5 for long-running batch workloads. Preserves the other retry knobs (delays, sleep, rng, rate-limiter); use runtime.with_retry_strategy for full control.

pub fn with_sigv4a_path_normalization(
  client: Client,
  normalize: Bool,
) -> Client

Override SigV4a’s normalize_path (RFC 3986 dot-segment removal). No-op when with_sigv4a_region_set has not been called yet — the knob lives on the per-Client SigV4a state, not on the underlying transport. S3 callers need False so object keys with . / .. survive the canonical-request step.

pub fn with_sigv4a_region_set(
  client: Client,
  region_set: List(String),
) -> Client

Opt the Client into SigV4a (asymmetric ECDSA P-256) signing for every request. region_set becomes the X-Amz-Region-Set header — single-region callers pass ["us-east-1"], multi-region callers pass the full list. Required for S3 Multi-Region Access Points and any other endpoint that demands AWS4-ECDSA-P256-SHA256 signatures.

pub fn with_streaming_http_send(
  client: Client,
  send: fn(request.Request(BitArray)) -> Result(
    response.Response(streaming.StreamingBody),
    http_send.HttpError,
  ),
) -> Client

Swap the streaming HTTP transport. Same role as with_http_send but targets the @streaming output path (runtime.invoke_streaming). Use for canned-response test doubles on streaming ops, or to plug in a custom chunked transport (proxy, gRPC tunnel, instrumented sender) without disturbing the buffered path.

pub fn with_use_dual_stack(client: Client, value: Bool) -> Client

When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error. Wire form: runtime.with_endpoint_param(config, "UseDualStack", ...).

pub fn with_use_fips(client: Client, value: Bool) -> Client

When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error. Wire form: runtime.with_endpoint_param(config, "UseFIPS", ...).

Search Document