AWS SDK for .NET Documentation
WithGrants Method (grants)
AmazonAmazon.S3.ModelPutObjectRequestWithGrants(array<S3Grant>[]()[][]) Did this page help you?   Yes   No    Tell us about it...
Adds custom access control lists (ACLs) to the object. Please refer to S3Grant for information on S3 Grants.
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 PutObjectRequest WithGrants(
	params S3Grant[] grants
)
Parameters
grants (array<S3Grant>[]()[][])
One or more S3 Grants.
Return Value
The request with the Grants set.

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