import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient"; import type { CreateDynamicThingGroupRequest, CreateDynamicThingGroupResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateDynamicThingGroupCommand}. */ export interface CreateDynamicThingGroupCommandInput extends CreateDynamicThingGroupRequest { } /** * @public * * The output of {@link CreateDynamicThingGroupCommand}. */ export interface CreateDynamicThingGroupCommandOutput extends CreateDynamicThingGroupResponse, __MetadataBearer { } declare const CreateDynamicThingGroupCommand_base: { new (input: CreateDynamicThingGroupCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateDynamicThingGroupCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Creates a dynamic thing group.

*

Requires permission to access the CreateDynamicThingGroup action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, CreateDynamicThingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, CreateDynamicThingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import * // import type { IoTClientConfig } from "@aws-sdk/client-iot"; * const config = {}; // type is IoTClientConfig * const client = new IoTClient(config); * const input = { // CreateDynamicThingGroupRequest * thingGroupName: "STRING_VALUE", // required * thingGroupProperties: { // ThingGroupProperties * thingGroupDescription: "STRING_VALUE", * attributePayload: { // AttributePayload * attributes: { // Attributes * "": "STRING_VALUE", * }, * merge: true || false, * }, * }, * indexName: "STRING_VALUE", * queryString: "STRING_VALUE", // required * queryVersion: "STRING_VALUE", * tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", * }, * ], * }; * const command = new CreateDynamicThingGroupCommand(input); * const response = await client.send(command); * // { // CreateDynamicThingGroupResponse * // thingGroupName: "STRING_VALUE", * // thingGroupArn: "STRING_VALUE", * // thingGroupId: "STRING_VALUE", * // indexName: "STRING_VALUE", * // queryString: "STRING_VALUE", * // queryVersion: "STRING_VALUE", * // }; * * ``` * * @param CreateDynamicThingGroupCommandInput - {@link CreateDynamicThingGroupCommandInput} * @returns {@link CreateDynamicThingGroupCommandOutput} * @see {@link CreateDynamicThingGroupCommandInput} for command's `input` shape. * @see {@link CreateDynamicThingGroupCommandOutput} for command's `response` shape. * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape. * * @throws {@link InternalFailureException} (server fault) *

An unexpected error has occurred.

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

The query is invalid.

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

The request is not valid.

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

A limit has been exceeded.

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

The resource already exists.

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

The specified resource does not exist.

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

The rate exceeds the limit.

* * @throws {@link IoTServiceException} *

Base exception class for all service exceptions from IoT service.

* * * @public */ export declare class CreateDynamicThingGroupCommand extends CreateDynamicThingGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateDynamicThingGroupRequest; output: CreateDynamicThingGroupResponse; }; sdk: { input: CreateDynamicThingGroupCommandInput; output: CreateDynamicThingGroupCommandOutput; }; }; }