Smaws_Client_FSx.DeleteDataRepositoryAssociationDeletes a data repository association on an Amazon FSx for Lustre file system. Deleting the data repository association unlinks the file system from the Amazon S3 bucket. When deleting a data repository association, you have the option of deleting the data in the file system that corresponds to the data repository association. Data repository associations are supported on all FSx for Lustre 2.12 and 2.15 file systems, excluding scratch_1 deployment type.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `DataRepositoryAssociationNotFound of
Types.data_repository_association_not_found
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `ServiceLimitExceeded of Types.service_limit_exceeded ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_data_repository_association_request ->
(Types.delete_data_repository_association_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `DataRepositoryAssociationNotFound of
Types.data_repository_association_not_found
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `ServiceLimitExceeded of Types.service_limit_exceeded ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_data_repository_association_request ->
(Types.delete_data_repository_association_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `DataRepositoryAssociationNotFound of
Types.data_repository_association_not_found
| `IncompatibleParameterError of Types.incompatible_parameter_error
| `InternalServerError of Types.internal_server_error
| `ServiceLimitExceeded of Types.service_limit_exceeded ]
* Smaws_Lib.Response.metadata)
Stdlib.result