AWS SDK for .NET Documentation
SetWebsiteRedirectLocation Method (s3Object, websiteRedirectLocation, s3Client)
AmazonAmazon.S3.UtilAmazonS3UtilSetWebsiteRedirectLocation(S3Object, String, AmazonS3) Did this page help you?   Yes   No    Tell us about it...
Sets the redirect location for the S3 Object's when being accessed through the S3 website endpoint.
Declaration Syntax
C#
public static void SetWebsiteRedirectLocation(
	S3Object s3Object,
	string websiteRedirectLocation,
	AmazonS3 s3Client
)
Parameters
s3Object (S3Object)
The S3 Object
websiteRedirectLocation (String)
The redirect location
s3Client (AmazonS3)
The Amazon S3 Client to use for S3 specific operations.

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