describeLocationAzureBlob method

Future<DescribeLocationAzureBlobResponse> describeLocationAzureBlob({
  1. required String locationArn,
})

Provides details about how an DataSync transfer location for Microsoft Azure Blob Storage is configured.

May throw InternalException. May throw InvalidRequestException.

Parameter locationArn : Specifies the Amazon Resource Name (ARN) of your Azure Blob Storage transfer location.

Implementation

Future<DescribeLocationAzureBlobResponse> describeLocationAzureBlob({
  required String locationArn,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'FmrsService.DescribeLocationAzureBlob'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'LocationArn': locationArn,
    },
  );

  return DescribeLocationAzureBlobResponse.fromJson(jsonResponse.body);
}