describeInterconnectLoa method

  1. @Deprecated('Deprecated')
Future<DescribeInterconnectLoaResponse> describeInterconnectLoa({
  1. required String interconnectId,
  2. LoaContentType? loaContentType,
  3. String? providerName,
})

Deprecated. Use DescribeLoa instead.

Gets the LOA-CFA for the specified interconnect.

The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations in the AWS Direct Connect User Guide.

May throw DirectConnectServerException. May throw DirectConnectClientException.

Parameter interconnectId : The ID of the interconnect.

Parameter loaContentType : The standard media type for the LOA-CFA document. The only supported value is application/pdf.

Parameter providerName : The name of the service provider who establishes connectivity on your behalf. If you supply this parameter, the LOA-CFA lists the provider name alongside your company name as the requester of the cross connect.

Implementation

@Deprecated('Deprecated')
Future<DescribeInterconnectLoaResponse> describeInterconnectLoa({
  required String interconnectId,
  LoaContentType? loaContentType,
  String? providerName,
}) async {
  ArgumentError.checkNotNull(interconnectId, 'interconnectId');
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'OvertureService.DescribeInterconnectLoa'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'interconnectId': interconnectId,
      if (loaContentType != null) 'loaContentType': loaContentType.toValue(),
      if (providerName != null) 'providerName': providerName,
    },
  );

  return DescribeInterconnectLoaResponse.fromJson(jsonResponse.body);
}