import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { PutAttachmentRoutingPolicyLabelRequest, PutAttachmentRoutingPolicyLabelResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link PutAttachmentRoutingPolicyLabelCommand}. */ export interface PutAttachmentRoutingPolicyLabelCommandInput extends PutAttachmentRoutingPolicyLabelRequest { } /** * @public * * The output of {@link PutAttachmentRoutingPolicyLabelCommand}. */ export interface PutAttachmentRoutingPolicyLabelCommandOutput extends PutAttachmentRoutingPolicyLabelResponse, __MetadataBearer { } declare const PutAttachmentRoutingPolicyLabelCommand_base: { new (input: PutAttachmentRoutingPolicyLabelCommandInput): import("@smithy/core/client").CommandImpl; new (input: PutAttachmentRoutingPolicyLabelCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Applies a routing policy label to an attachment for traffic routing decisions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { NetworkManagerClient, PutAttachmentRoutingPolicyLabelCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import * // const { NetworkManagerClient, PutAttachmentRoutingPolicyLabelCommand } = 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 = { // PutAttachmentRoutingPolicyLabelRequest * CoreNetworkId: "STRING_VALUE", // required * AttachmentId: "STRING_VALUE", // required * RoutingPolicyLabel: "STRING_VALUE", // required * ClientToken: "STRING_VALUE", * }; * const command = new PutAttachmentRoutingPolicyLabelCommand(input); * const response = await client.send(command); * // { // PutAttachmentRoutingPolicyLabelResponse * // CoreNetworkId: "STRING_VALUE", * // AttachmentId: "STRING_VALUE", * // RoutingPolicyLabel: "STRING_VALUE", * // }; * * ``` * * @param PutAttachmentRoutingPolicyLabelCommandInput - {@link PutAttachmentRoutingPolicyLabelCommandInput} * @returns {@link PutAttachmentRoutingPolicyLabelCommandOutput} * @see {@link PutAttachmentRoutingPolicyLabelCommandInput} for command's `input` shape. * @see {@link PutAttachmentRoutingPolicyLabelCommandOutput} 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 ConflictException} (client fault) *

There was a conflict processing the request. Updating or deleting the resource can * cause an inconsistent state.

* * @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 ServiceQuotaExceededException} (client fault) *

A service limit was exceeded.

* * @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 PutAttachmentRoutingPolicyLabelCommand extends PutAttachmentRoutingPolicyLabelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutAttachmentRoutingPolicyLabelRequest; output: PutAttachmentRoutingPolicyLabelResponse; }; sdk: { input: PutAttachmentRoutingPolicyLabelCommandInput; output: PutAttachmentRoutingPolicyLabelCommandOutput; }; }; }