AWS.SQS.ISQSClient.ChangeMessageVisibility

Change the visibility timeout of a specified message in a queue to a new value.

function ChangeMessageVisibility(const ARequest: ISQSChangeMessageVisibilityRequest): ISQSChangeMessageVisibilityResponse; overload; function ChangeMessageVisibility(const AQueueUrl: string; const AReceiptHandle: string; const AVisibilityTimeout: Integer): ISQSChangeMessageVisibilityResponse; overload;
__fastcall ISQSChangeMessageVisibilityResponse ChangeMessageVisibility(const ISQSChangeMessageVisibilityRequest ARequest); __fastcall ISQSChangeMessageVisibilityResponse ChangeMessageVisibility(const AnsiString AQueueUrl, const AnsiString AReceiptHandle, const int AVisibilityTimeout);

File: AWS.SQS.pas 

Namespace: AWS.SQS 

Module: Appercept AWS SDK for Delphi 

Parameters
Description
const ARequest: ISQSChangeMessageVisibilityRequest
A ChangeMessageVisibility request object.
const AQueueUrl: string
Specify the queue URL.
const AReceiptHandle: string
Provide the message's receipt handle.
const AVisibilityTimeout: Integer
Specify a new visibility timeout in seconds. Valid range 0 to 43200 (12 hours).

Response containing ChangeMessageVisibility results.

Exceptions
Description
ESQSMessageNotInFlight
The specified message is not in flight.
The specified receipt handle is not valid.
Copyright © 2019-2021 Appercept Ltd. All rights reserved.