GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::S3::Condition(3) User Contributed Perl Documentation Paws::S3::Condition(3)

Paws::S3::Condition

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

A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the "/docs" folder, redirect to the "/documents" folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.

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.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints (https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints).

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>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.