AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates or replaces the IAM resource policy for an S3 File System to control access permissions.
For .NET Core this operation is only available in asynchronous form. Please refer to PutFileSystemPolicyAsync.
Namespace: Amazon.S3Files
Assembly: AWSSDK.S3Files.dll
Version: 3.x.y.z
public virtual PutFileSystemPolicyResponse PutFileSystemPolicy( PutFileSystemPolicyRequest request )
Container for the necessary parameters to execute the PutFileSystemPolicy service method.
| Exception | Condition |
|---|---|
| InternalServerException | An internal server error occurred. Retry your request. |
| ResourceNotFoundException | The specified resource was not found. Verify that the resource exists and that you have permission to access it. |
| ThrottlingException | The request was throttled. Retry your request using exponential backoff. |
| ValidationException | The input parameters are not valid. Check the parameter values and try again. |
.NET Framework:
Supported in: 4.7.2 and newer