Skip to content

describe_interconnect_loa

describe_interconnect_loa(
    interconnect_id: InterconnectId,
    *,
    config_overrides: Optional[DirectConnectClientConfig] = None,
    provider_name: Optional[ProviderName] = None,
    loa_content_type: Optional[LoaContentType] = None,
) -> DescribeInterconnectLoaResponse

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 Amazon Web Services at the colocation facility. For more information, see Requesting Cross Connects at Direct Connect Locations in the Direct Connect User Guide.

Parameters:

  • interconnect_id (InterconnectId) –

    The ID of the interconnect.

  • provider_name (Optional[ProviderName], default: None ) –

    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.

  • loa_content_type (Optional[LoaContentType], default: None ) –

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

Raises:

Source code in docs_src/capo_direct_connect/_services/direct_connect.py
def describe_interconnect_loa(
    self,
    interconnect_id: "capo_direct_connect.types.interconnect_id.InterconnectId",
    *,
    config_overrides: Optional[DirectConnectClientConfig] = None,
    provider_name: Optional[
        "capo_direct_connect.types.provider_name.ProviderName"
    ] = None,
    loa_content_type: Optional[
        "capo_direct_connect.types.loa_content_type.LoaContentType"
    ] = None,
) -> "capo_direct_connect.types.describe_interconnect_loa_response.DescribeInterconnectLoaResponse":
    """<note> <p>Deprecated. Use <a>DescribeLoa</a> instead.</p> </note> <p>Gets the LOA-CFA for the specified interconnect.</p> <p>The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to Amazon Web Services at the colocation facility. For more information, see <a href="https://docs.aws.amazon.com/directconnect/latest/UserGuide/Colocation.html">Requesting Cross Connects at Direct Connect Locations</a> in the <i>Direct Connect User Guide</i>.</p>

    Args:
        interconnect_id: <p>The ID of the interconnect.</p>
        provider_name: <p>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.</p>
        loa_content_type: <p>The standard media type for the LOA-CFA document. The only supported value is application/pdf.</p>

    Raises:
        capo_direct_connect.errors.direct_connect_client_exception.DirectConnectClientException: <p>One or more parameters are not valid.</p>
        capo_direct_connect.errors.direct_connect_server_exception.DirectConnectServerException: <p>A server-side error occurred.</p>
        capo_direct_connect.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_direct_connect.types.describe_interconnect_loa_request.DescribeInterconnectLoaRequest]",
    ) -> OperationResponse[
        "capo_direct_connect.types.describe_interconnect_loa_response.DescribeInterconnectLoaResponse"
    ]:
        import capo_direct_connect._operations.overture_service.describe_interconnect_loa

        output, http_response = (
            capo_direct_connect._operations.overture_service.describe_interconnect_loa.describe_interconnect_loa(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DescribeInterconnectLoa")
    )
    input_: capo_direct_connect.types.describe_interconnect_loa_request.DescribeInterconnectLoaRequest = {
        "interconnect_id": interconnect_id
    }
    if provider_name is not None:
        input_["provider_name"] = provider_name
    if loa_content_type is not None:
        input_["loa_content_type"] = loa_content_type

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output