Module Smaws_Client_Transfer.UpdateAgreement

Updates some of the parameters for an existing agreement. Provide the AgreementId and the ServerId for the agreement that you want to update, along with the new values for the parameters to update.

Specify either BaseDirectory or CustomDirectories, but not both. Specifying both causes the command to fail.

If you update an agreement from using base directory to custom directories, the base directory is no longer used. Similarly, if you change from custom directories to a base directory, the custom directories are no longer used.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServiceError of Types.internal_service_error | `InvalidRequestException of Types.invalid_request_exception | `ResourceExistsException of Types.resource_exists_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_agreement_request -> (Types.update_agreement_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceError of Types.internal_service_error | `InvalidRequestException of Types.invalid_request_exception | `ResourceExistsException of Types.resource_exists_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.update_agreement_request -> (Types.update_agreement_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceError of Types.internal_service_error | `InvalidRequestException of Types.invalid_request_exception | `ResourceExistsException of Types.resource_exists_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception ] * Smaws_Lib.Response.metadata) Stdlib.result