AWS SDK for .NET Documentation
WithRedirectAllRequestsTo Method (redirectAllRequestsTo)
AmazonAmazon.S3.ModelWebsiteConfigurationWithRedirectAllRequestsTo(RoutingRuleRedirect) Did this page help you?   Yes   No    Tell us about it...
The RedirectAllRequestsTo value, This is the container for redirect information where all requests will be redirect to. You can redirect requests to another host, to another page, or with another protocol. In the event of an error, you can can specify a different error code to return. .
Declaration Syntax
C#
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
public WebsiteConfiguration WithRedirectAllRequestsTo(
	RoutingRuleRedirect redirectAllRequestsTo
)
Parameters
redirectAllRequestsTo (RoutingRuleRedirect)
The container for redirect information
Return Value
the WebsiteConfiguration with the RedirectAllRequestsTo set

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)