postProvisioningS3WithHttpInfo method
Creates an S3-compatible bucket inside the already-running shared object store and answers with the endpoint that reaches it.
Creates an S3-compatible bucket inside the already-running shared object store and answers with the endpoint that reaches it.
Note: This method returns the HTTP Response.
Parameters:
- ProvisionRequest provisionRequest (required):
Implementation
Future<Response> postProvisioningS3WithHttpInfo(ProvisionRequest provisionRequest,) async {
// ignore: prefer_const_declarations
final path = r'/v1/provisioning/s3';
// ignore: prefer_final_locals
Object? postBody = provisionRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}