The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::S3::Condition

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::S3::Condition object:

  $service_obj->Method(Att1 => { HttpErrorCodeReturnedEquals => $value, ..., KeyPrefixEquals => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::S3::Condition object:

  $result = $service_obj->Method(...);
  $result->Att1->HttpErrorCodeReturnedEquals

DESCRIPTION

This class has no description

ATTRIBUTES

HttpErrorCodeReturnedEquals => Str

  The HTTP error code when the redirect is applied. In the event of an
error, if the error code equals this value, then the specified redirect
is applied. Required when parent element Condition is specified and
sibling KeyPrefixEquals is not specified. If both are specified, then
both must be true for the redirect to be applied.

KeyPrefixEquals => Str

  The object key name prefix when the redirect is applied. For example,
to redirect requests for ExamplePage.html, the key prefix will be
ExamplePage.html. To redirect request for all pages with the prefix
docs/, the key prefix will be /docs, which identifies all objects in
the docs/ folder. Required when the parent element Condition is
specified and sibling HttpErrorCodeReturnedEquals is not specified. If
both conditions are specified, both must be true for the redirect to be
applied.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::S3

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues