import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetLinkAssociationsRequest, GetLinkAssociationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetLinkAssociationsCommand}. */ export interface GetLinkAssociationsCommandInput extends GetLinkAssociationsRequest { } /** * @public * * The output of {@link GetLinkAssociationsCommand}. */ export interface GetLinkAssociationsCommandOutput extends GetLinkAssociationsResponse, __MetadataBearer { } declare const GetLinkAssociationsCommand_base: { new (input: GetLinkAssociationsCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetLinkAssociationsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets the link associations for a device or a link. Either the device ID or the link ID * must be specified.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { NetworkManagerClient, GetLinkAssociationsCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import * // const { NetworkManagerClient, GetLinkAssociationsCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import * // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager"; * const config = {}; // type is NetworkManagerClientConfig * const client = new NetworkManagerClient(config); * const input = { // GetLinkAssociationsRequest * GlobalNetworkId: "STRING_VALUE", // required * DeviceId: "STRING_VALUE", * LinkId: "STRING_VALUE", * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new GetLinkAssociationsCommand(input); * const response = await client.send(command); * // { // GetLinkAssociationsResponse * // LinkAssociations: [ // LinkAssociationList * // { // LinkAssociation * // GlobalNetworkId: "STRING_VALUE", * // DeviceId: "STRING_VALUE", * // LinkId: "STRING_VALUE", * // LinkAssociationState: "PENDING" || "AVAILABLE" || "DELETING" || "DELETED", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetLinkAssociationsCommandInput - {@link GetLinkAssociationsCommandInput} * @returns {@link GetLinkAssociationsCommandOutput} * @see {@link GetLinkAssociationsCommandInput} for command's `input` shape. * @see {@link GetLinkAssociationsCommandOutput} for command's `response` shape. * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal error.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified resource could not be found.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints.

* * @throws {@link NetworkManagerServiceException} *

Base exception class for all service exceptions from NetworkManager service.

* * * @public */ export declare class GetLinkAssociationsCommand extends GetLinkAssociationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetLinkAssociationsRequest; output: GetLinkAssociationsResponse; }; sdk: { input: GetLinkAssociationsCommandInput; output: GetLinkAssociationsCommandOutput; }; }; }