Paws::S3::Condition
This class represents one of two things:
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 });
Use accessors for each attribute. If Att1 is expected to be an Paws::S3::Condition object:
$result = $service_obj->Method(...); $result->Att1->HttpErrorCodeReturnedEquals
This class has no description
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.
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.
This class forms part of Paws, describing an object used in Paws::S3
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
To install Paws::S3::Condition, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::S3::Condition
CPAN shell
perl -MCPAN -e shell install Paws::S3::Condition
For more information on module installation, please visit the detailed CPAN module installation guide.