pub struct GetQueueUrlFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetQueueUrl
.
Returns the URL of an existing Amazon SQS queue.
To access a queue that belongs to another AWS account, use the QueueOwnerAWSAccountId
parameter to specify the account ID of the queue's owner. The queue's owner must grant you permission to access the queue. For more information about shared queue access, see
or see Allow Developers to Write Messages to a Shared Queue in the Amazon SQS Developer Guide.AddPermission
Implementations§
source§impl GetQueueUrlFluentBuilder
impl GetQueueUrlFluentBuilder
sourcepub fn as_input(&self) -> &GetQueueUrlInputBuilder
pub fn as_input(&self) -> &GetQueueUrlInputBuilder
Access the GetQueueUrl as a reference.
sourcepub async fn send(
self
) -> Result<GetQueueUrlOutput, SdkError<GetQueueUrlError, HttpResponse>>
pub async fn send( self ) -> Result<GetQueueUrlOutput, SdkError<GetQueueUrlError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetQueueUrlOutput, GetQueueUrlError, Self>
pub fn customize( self ) -> CustomizableOperation<GetQueueUrlOutput, GetQueueUrlError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn queue_name(self, input: impl Into<String>) -> Self
pub fn queue_name(self, input: impl Into<String>) -> Self
The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (-
), and underscores (_
).
Queue URLs and names are case-sensitive.
sourcepub fn set_queue_name(self, input: Option<String>) -> Self
pub fn set_queue_name(self, input: Option<String>) -> Self
The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (-
), and underscores (_
).
Queue URLs and names are case-sensitive.
sourcepub fn get_queue_name(&self) -> &Option<String>
pub fn get_queue_name(&self) -> &Option<String>
The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (-
), and underscores (_
).
Queue URLs and names are case-sensitive.
sourcepub fn queue_owner_aws_account_id(self, input: impl Into<String>) -> Self
pub fn queue_owner_aws_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the account that created the queue.
sourcepub fn set_queue_owner_aws_account_id(self, input: Option<String>) -> Self
pub fn set_queue_owner_aws_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the account that created the queue.
sourcepub fn get_queue_owner_aws_account_id(&self) -> &Option<String>
pub fn get_queue_owner_aws_account_id(&self) -> &Option<String>
The Amazon Web Services account ID of the account that created the queue.
Trait Implementations§
source§impl Clone for GetQueueUrlFluentBuilder
impl Clone for GetQueueUrlFluentBuilder
source§fn clone(&self) -> GetQueueUrlFluentBuilder
fn clone(&self) -> GetQueueUrlFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more