SQSService overview
Added in v1.0.0
Table of contents
constructors
makeSQSService
Signature
export declare const makeSQSService: Effect.Effect<SQSService, never, SQSClientInstance>
Added in v1.0.0
layers
BaseSQSServiceLayer
Signature
export declare const BaseSQSServiceLayer: Layer.Layer<SQSService, never, SQSClientInstance>
Added in v1.0.0
DefaultSQSServiceLayer
Signature
export declare const DefaultSQSServiceLayer: Layer.Layer<SQSService, never, never>
Added in v1.0.0
SQSServiceLayer
Signature
export declare const SQSServiceLayer: Layer.Layer<SQSService, never, SQSClientInstanceConfig>
Added in v1.0.0
models
SQSService (interface)
Signature
export interface SQSService {
readonly _: unique symbol
/**
* @see {@link AddPermissionCommand}
*/
addPermission(
args: AddPermissionCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
AddPermissionCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| OverLimitError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link CancelMessageMoveTaskCommand}
*/
cancelMessageMoveTask(
args: CancelMessageMoveTaskCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
CancelMessageMoveTaskCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| RequestThrottledError
| ResourceNotFoundError
| UnsupportedOperationError
>
/**
* @see {@link ChangeMessageVisibilityCommand}
*/
changeMessageVisibility(
args: ChangeMessageVisibilityCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
ChangeMessageVisibilityCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| MessageNotInflightError
| QueueDoesNotExistError
| ReceiptHandleIsInvalidError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link ChangeMessageVisibilityBatchCommand}
*/
changeMessageVisibilityBatch(
args: ChangeMessageVisibilityBatchCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
ChangeMessageVisibilityBatchCommandOutput,
| SdkError
| BatchEntryIdsNotDistinctError
| EmptyBatchRequestError
| InvalidAddressError
| InvalidBatchEntryIdError
| InvalidSecurityError
| QueueDoesNotExistError
| RequestThrottledError
| TooManyEntriesInBatchRequestError
| UnsupportedOperationError
>
/**
* @see {@link CreateQueueCommand}
*/
createQueue(
args: CreateQueueCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
CreateQueueCommandOutput,
| SdkError
| InvalidAddressError
| InvalidAttributeNameError
| InvalidAttributeValueError
| InvalidSecurityError
| QueueDeletedRecentlyError
| QueueNameExistsError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link DeleteMessageCommand}
*/
deleteMessage(
args: DeleteMessageCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
DeleteMessageCommandOutput,
| SdkError
| InvalidAddressError
| InvalidIdFormatError
| InvalidSecurityError
| QueueDoesNotExistError
| ReceiptHandleIsInvalidError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link DeleteMessageBatchCommand}
*/
deleteMessageBatch(
args: DeleteMessageBatchCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
DeleteMessageBatchCommandOutput,
| SdkError
| BatchEntryIdsNotDistinctError
| EmptyBatchRequestError
| InvalidAddressError
| InvalidBatchEntryIdError
| InvalidSecurityError
| QueueDoesNotExistError
| RequestThrottledError
| TooManyEntriesInBatchRequestError
| UnsupportedOperationError
>
/**
* @see {@link DeleteQueueCommand}
*/
deleteQueue(
args: DeleteQueueCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
DeleteQueueCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link GetQueueAttributesCommand}
*/
getQueueAttributes(
args: GetQueueAttributesCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
GetQueueAttributesCommandOutput,
| SdkError
| InvalidAddressError
| InvalidAttributeNameError
| InvalidSecurityError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link GetQueueUrlCommand}
*/
getQueueUrl(
args: GetQueueUrlCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
GetQueueUrlCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link ListDeadLetterSourceQueuesCommand}
*/
listDeadLetterSourceQueues(
args: ListDeadLetterSourceQueuesCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
ListDeadLetterSourceQueuesCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link ListMessageMoveTasksCommand}
*/
listMessageMoveTasks(
args: ListMessageMoveTasksCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
ListMessageMoveTasksCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| RequestThrottledError
| ResourceNotFoundError
| UnsupportedOperationError
>
/**
* @see {@link ListQueuesCommand}
*/
listQueues(
args: ListQueuesCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
ListQueuesCommandOutput,
SdkError | InvalidAddressError | InvalidSecurityError | RequestThrottledError | UnsupportedOperationError
>
/**
* @see {@link ListQueueTagsCommand}
*/
listQueueTags(
args: ListQueueTagsCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
ListQueueTagsCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link PurgeQueueCommand}
*/
purgeQueue(
args: PurgeQueueCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
PurgeQueueCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| PurgeQueueInProgressError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link ReceiveMessageCommand}
*/
receiveMessage(
args: ReceiveMessageCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
ReceiveMessageCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| KmsAccessDeniedError
| KmsDisabledError
| KmsInvalidKeyUsageError
| KmsInvalidStateError
| KmsNotFoundError
| KmsOptInRequiredError
| KmsThrottledError
| OverLimitError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link RemovePermissionCommand}
*/
removePermission(
args: RemovePermissionCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
RemovePermissionCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link SendMessageCommand}
*/
sendMessage(
args: SendMessageCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
SendMessageCommandOutput,
| SdkError
| InvalidAddressError
| InvalidMessageContentsError
| InvalidSecurityError
| KmsAccessDeniedError
| KmsDisabledError
| KmsInvalidKeyUsageError
| KmsInvalidStateError
| KmsNotFoundError
| KmsOptInRequiredError
| KmsThrottledError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link SendMessageBatchCommand}
*/
sendMessageBatch(
args: SendMessageBatchCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
SendMessageBatchCommandOutput,
| SdkError
| BatchEntryIdsNotDistinctError
| BatchRequestTooLongError
| EmptyBatchRequestError
| InvalidAddressError
| InvalidBatchEntryIdError
| InvalidSecurityError
| KmsAccessDeniedError
| KmsDisabledError
| KmsInvalidKeyUsageError
| KmsInvalidStateError
| KmsNotFoundError
| KmsOptInRequiredError
| KmsThrottledError
| QueueDoesNotExistError
| RequestThrottledError
| TooManyEntriesInBatchRequestError
| UnsupportedOperationError
>
/**
* @see {@link SetQueueAttributesCommand}
*/
setQueueAttributes(
args: SetQueueAttributesCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
SetQueueAttributesCommandOutput,
| SdkError
| InvalidAddressError
| InvalidAttributeNameError
| InvalidAttributeValueError
| InvalidSecurityError
| OverLimitError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link StartMessageMoveTaskCommand}
*/
startMessageMoveTask(
args: StartMessageMoveTaskCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
StartMessageMoveTaskCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| RequestThrottledError
| ResourceNotFoundError
| UnsupportedOperationError
>
/**
* @see {@link TagQueueCommand}
*/
tagQueue(
args: TagQueueCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
TagQueueCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
/**
* @see {@link UntagQueueCommand}
*/
untagQueue(
args: UntagQueueCommandInput,
options?: __HttpHandlerOptions
): Effect.Effect<
UntagQueueCommandOutput,
| SdkError
| InvalidAddressError
| InvalidSecurityError
| QueueDoesNotExistError
| RequestThrottledError
| UnsupportedOperationError
>
}
Added in v1.0.0
tags
SQSService
Signature
export declare const SQSService: Context.Tag<SQSService, SQSService>
Added in v1.0.0