Smaws_Client_FSx.CreateAndAttachS3AccessPointCreates an S3 access point and attaches it to an Amazon FSx volume. For FSx for OpenZFS file systems, the volume must be hosted on a high-availability file system, either Single-AZ or Multi-AZ. For more information, see Accessing your data using Amazon S3 access points. in the Amazon FSx for OpenZFS User Guide.
The requester requires the following permissions to perform these actions:
fsx:CreateAndAttachS3AccessPoints3:CreateAccessPoints3:GetAccessPoints3:PutAccessPointPolicys3:DeleteAccessPointThe following actions are related to CreateAndAttachS3AccessPoint:
DescribeS3AccessPointAttachmentsDetachAndDeleteS3AccessPointval error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessPointAlreadyOwnedByYou of Types.access_point_already_owned_by_you
| `BadRequest of Types.bad_request
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `InvalidAccessPoint of Types.invalid_access_point
| `InvalidRequest of Types.invalid_request
| `TooManyAccessPoints of Types.too_many_access_points
| `UnsupportedOperation of Types.unsupported_operation
| `VolumeNotFound of Types.volume_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_and_attach_s3_access_point_request ->
(Types.create_and_attach_s3_access_point_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessPointAlreadyOwnedByYou of Types.access_point_already_owned_by_you
| `BadRequest of Types.bad_request
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `InvalidAccessPoint of Types.invalid_access_point
| `InvalidRequest of Types.invalid_request
| `TooManyAccessPoints of Types.too_many_access_points
| `UnsupportedOperation of Types.unsupported_operation
| `VolumeNotFound of Types.volume_not_found ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_and_attach_s3_access_point_request ->
(Types.create_and_attach_s3_access_point_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessPointAlreadyOwnedByYou of Types.access_point_already_owned_by_you
| `BadRequest of Types.bad_request
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `InvalidAccessPoint of Types.invalid_access_point
| `InvalidRequest of Types.invalid_request
| `TooManyAccessPoints of Types.too_many_access_points
| `UnsupportedOperation of Types.unsupported_operation
| `VolumeNotFound of Types.volume_not_found ]
* Smaws_Lib.Response.metadata)
Stdlib.result