Struct aws_sdk_sqs::client::fluent_builders::GetQueueUrl
source · pub struct GetQueueUrl { /* 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 GetQueueUrl
impl GetQueueUrl
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetQueueUrl, AwsResponseRetryClassifier>, SdkError<GetQueueUrlError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetQueueUrl, AwsResponseRetryClassifier>, SdkError<GetQueueUrlError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<GetQueueUrlOutput, SdkError<GetQueueUrlError>>
pub async fn send(self) -> Result<GetQueueUrlOutput, SdkError<GetQueueUrlError>>
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 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 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.
Trait Implementations§
source§impl Clone for GetQueueUrl
impl Clone for GetQueueUrl
source§fn clone(&self) -> GetQueueUrl
fn clone(&self) -> GetQueueUrl
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more