AWS SDK for .NET Documentation
SetWebsiteRedirectLocation Method (bucketName, key, websiteRedirectLocation, s3Client)
AmazonAmazon.S3.UtilAmazonS3UtilSetWebsiteRedirectLocation(String, String, 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(
	string bucketName,
	string key,
	string websiteRedirectLocation,
	AmazonS3 s3Client
)
Parameters
bucketName (String)
The name of the bucket in which the key is stored
key (String)
The key of 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)