Smaws_Client_FSx.DetachAndDeleteS3AccessPointDetaches an S3 access point from an Amazon FSx volume and deletes the S3 access point.
The requester requires the following permission to perform this action:
fsx:DetachAndDeleteS3AccessPoints3:DeleteAccessPointval error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `S3AccessPointAttachmentNotFound of
Types.s3_access_point_attachment_not_found
| `UnsupportedOperation of Types.unsupported_operation ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.detach_and_delete_s3_access_point_request ->
(Types.detach_and_delete_s3_access_point_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `S3AccessPointAttachmentNotFound of
Types.s3_access_point_attachment_not_found
| `UnsupportedOperation of Types.unsupported_operation ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.detach_and_delete_s3_access_point_request ->
(Types.detach_and_delete_s3_access_point_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `S3AccessPointAttachmentNotFound of
Types.s3_access_point_attachment_not_found
| `UnsupportedOperation of Types.unsupported_operation ]
* Smaws_Lib.Response.metadata)
Stdlib.result