We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Get and view a list of customer agreements, along with their signed status and whether the customer is an NNIPartner, NNIPartnerV2, or a nonPartner.
Use a bare-bones client and the command you need to make an API call.
import { DirectConnectClient, DescribeCustomerMetadataCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import// const { DirectConnectClient, DescribeCustomerMetadataCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS importconst client = new DirectConnectClient(config);const input = {};const command = new DescribeCustomerMetadataCommand(input);const response = await client.send(command);// { // DescribeCustomerMetadataResponse// agreements: [ // AgreementList// { // CustomerAgreement// agreementName: "STRING_VALUE",// status: "STRING_VALUE",// },// ],// nniPartnerType: "v1" || "v2" || "nonPartner",// };
DescribeCustomerMetadataCommandInput
DescribeCustomerMetadataCommandOutput
input
response
config
DirectConnectClientException (client fault)
One or more parameters are not valid.
DirectConnectServerException (server fault)
A server-side error occurred.
DirectConnectServiceException
Base exception class for all service exceptions from DirectConnect service.
Readonly
Static
Get and view a list of customer agreements, along with their signed status and whether the customer is an NNIPartner, NNIPartnerV2, or a nonPartner.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DescribeCustomerMetadataCommandInput
Returns
DescribeCustomerMetadataCommandOutput
See
input
shape.response
shape.config
shape.Throws
DirectConnectClientException (client fault)
One or more parameters are not valid.
Throws
DirectConnectServerException (server fault)
A server-side error occurred.
Throws
DirectConnectServiceException
Base exception class for all service exceptions from DirectConnect service.