import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeviceFarmClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeviceFarmClient"; import type { CreateNetworkProfileRequest, CreateNetworkProfileResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateNetworkProfileCommand}. */ export interface CreateNetworkProfileCommandInput extends CreateNetworkProfileRequest { } /** * @public * * The output of {@link CreateNetworkProfileCommand}. */ export interface CreateNetworkProfileCommandOutput extends CreateNetworkProfileResult, __MetadataBearer { } declare const CreateNetworkProfileCommand_base: { new (input: CreateNetworkProfileCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateNetworkProfileCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a network profile.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DeviceFarmClient, CreateNetworkProfileCommand } from "@aws-sdk/client-device-farm"; // ES Modules import * // const { DeviceFarmClient, CreateNetworkProfileCommand } = require("@aws-sdk/client-device-farm"); // CommonJS import * // import type { DeviceFarmClientConfig } from "@aws-sdk/client-device-farm"; * const config = {}; // type is DeviceFarmClientConfig * const client = new DeviceFarmClient(config); * const input = { // CreateNetworkProfileRequest * projectArn: "STRING_VALUE", // required * name: "STRING_VALUE", // required * description: "STRING_VALUE", * type: "CURATED" || "PRIVATE", * uplinkBandwidthBits: Number("long"), * downlinkBandwidthBits: Number("long"), * uplinkDelayMs: Number("long"), * downlinkDelayMs: Number("long"), * uplinkJitterMs: Number("long"), * downlinkJitterMs: Number("long"), * uplinkLossPercent: Number("int"), * downlinkLossPercent: Number("int"), * }; * const command = new CreateNetworkProfileCommand(input); * const response = await client.send(command); * // { // CreateNetworkProfileResult * // networkProfile: { // NetworkProfile * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // type: "CURATED" || "PRIVATE", * // uplinkBandwidthBits: Number("long"), * // downlinkBandwidthBits: Number("long"), * // uplinkDelayMs: Number("long"), * // downlinkDelayMs: Number("long"), * // uplinkJitterMs: Number("long"), * // downlinkJitterMs: Number("long"), * // uplinkLossPercent: Number("int"), * // downlinkLossPercent: Number("int"), * // }, * // }; * * ``` * * @param CreateNetworkProfileCommandInput - {@link CreateNetworkProfileCommandInput} * @returns {@link CreateNetworkProfileCommandOutput} * @see {@link CreateNetworkProfileCommandInput} for command's `input` shape. * @see {@link CreateNetworkProfileCommandOutput} for command's `response` shape. * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape. * * @throws {@link ArgumentException} (client fault) *

An invalid argument was specified.

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

A limit was exceeded.

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

The specified entity was not found.

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

There was a problem with the service account.

* * @throws {@link DeviceFarmServiceException} *

Base exception class for all service exceptions from DeviceFarm service.

* * * @public */ export declare class CreateNetworkProfileCommand extends CreateNetworkProfileCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateNetworkProfileRequest; output: CreateNetworkProfileResult; }; sdk: { input: CreateNetworkProfileCommandInput; output: CreateNetworkProfileCommandOutput; }; }; }