Amazon-SQS-Client
view release on metacpan or search on metacpan
lib/Amazon/SQS/Model/ListDeadLetterSourceQueuesRequest.pm view on Meta::CPAN
# /__\ \ / \__ \
# (_)(_) \/\/ (___/
#
# Amazon SQS Perl Library
# API Version: 2009-02-01
# Generated: Thu Apr 09 01:13:11 PDT 2009
#
# This work has been modified from the original Copyright 2016 Robert C. Lauer
package Amazon::SQS::Model::ListDeadLetterSourceQueuesRequest;
use base qw (Amazon::SQS::Model);
=pod
=head1 NAME
Amazon::SQS::Model::ListDeadLetterSourceQueuesRequest
=head1 SYNOPSIS
my $request = new Amazon::SQS::Model::ListDeadLetterSourceQueuesRequest(
{
QueueNamePrefix => 'some-prefix'
}
);
=head1 DESCRIPTION
The ListQueues action returns a list of your queues. The maximum
number of queues that can be returned is 1000. If you specify a value
for the optional C<QueueNamePrefix> parameter, only queues with a name
beginning with the specified value are returned.
=head1 METHODS
=head2 new
new( options )
=over 5
=item QueueNamePrefix
String to use for filtering the list results. Only those queues whose
name begins with the specified string are returned.
=item Attribute
C<Amazon::SQS::Model::Attribute>
This is undocumented on AmazonE<039>s documentation page, however this
perl API apparently sends the attributes implying that you might be
able to list all queues that have a prefix of "some-prefix" AND have
some attribute.
Queue attributes are set when the queue is created and are listed below.
=over 5
=item * VisibilityTimeout
The length of time (in seconds) that a message
received from a queue will be invisible to other receiving components
when they ask to receive messages. For more information about
VisibilityTimeout, see Visibility Timeout in the Amazon SQS Developer
Guide.
=item * Policy
The formal description of the permissions for a resource. For more
information about Policy, see Basic Policy Structure in the Amazon SQS
Developer Guide.
=item * MaximumMessageSize
The limit of how many bytes a message can contain before Amazon SQS rejects it.
=item * MessageRetentionPeriod
The number of seconds Amazon SQS retains a message.
=item * DelaySeconds
The time in seconds that the delivery of all messages in the queue
will be delayed.
=back
=back
=cut
sub new {
my ($class, $data) = @_;
my $self = {};
$self->{_fields} = {
QueueUrl => { FieldValue => undef, FieldType => "string"}
};
bless ($self, $class);
if (defined $data) {
$self->_fromHashRef($data);
}
return $self;
}
sub getQueueUrl {
return shift->{_fields}->{QueueUrl}->{FieldValue};
}
sub setQueueUrl {
my ($self, $value) = @_;
$self->{_fields}->{QueueUrl}->{FieldValue} = $value;
return $self;
}
( run in 0.727 second using v1.01-cache-2.11-cpan-39bf76dae61 )