import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetOtaTaskConfigurationRequest, GetOtaTaskConfigurationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetOtaTaskConfigurationCommand}. */ export interface GetOtaTaskConfigurationCommandInput extends GetOtaTaskConfigurationRequest { } /** * @public * * The output of {@link GetOtaTaskConfigurationCommand}. */ export interface GetOtaTaskConfigurationCommandOutput extends GetOtaTaskConfigurationResponse, __MetadataBearer { } declare const GetOtaTaskConfigurationCommand_base: { new (input: GetOtaTaskConfigurationCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetOtaTaskConfigurationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Get a configuraiton for the over-the-air (OTA) task.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTManagedIntegrationsClient, GetOtaTaskConfigurationCommand } from "@aws-sdk/client-iot-managed-integrations"; // ES Modules import * // const { IoTManagedIntegrationsClient, GetOtaTaskConfigurationCommand } = require("@aws-sdk/client-iot-managed-integrations"); // CommonJS import * // import type { IoTManagedIntegrationsClientConfig } from "@aws-sdk/client-iot-managed-integrations"; * const config = {}; // type is IoTManagedIntegrationsClientConfig * const client = new IoTManagedIntegrationsClient(config); * const input = { // GetOtaTaskConfigurationRequest * Identifier: "STRING_VALUE", // required * }; * const command = new GetOtaTaskConfigurationCommand(input); * const response = await client.send(command); * // { // GetOtaTaskConfigurationResponse * // TaskConfigurationId: "STRING_VALUE", * // Name: "STRING_VALUE", * // PushConfig: { // PushConfig * // AbortConfig: { // OtaTaskAbortConfig * // AbortConfigCriteriaList: [ // AbortConfigCriteriaList * // { // AbortConfigCriteria * // Action: "CANCEL", * // FailureType: "FAILED" || "REJECTED" || "TIMED_OUT" || "ALL", * // MinNumberOfExecutedThings: Number("int"), * // ThresholdPercentage: Number("double"), * // }, * // ], * // }, * // RolloutConfig: { // OtaTaskExecutionRolloutConfig * // ExponentialRolloutRate: { // ExponentialRolloutRate * // BaseRatePerMinute: Number("int"), * // IncrementFactor: Number("double"), * // RateIncreaseCriteria: { // RolloutRateIncreaseCriteria * // numberOfNotifiedThings: Number("int"), * // numberOfSucceededThings: Number("int"), * // }, * // }, * // MaximumPerMinute: Number("int"), * // }, * // TimeoutConfig: { // OtaTaskTimeoutConfig * // InProgressTimeoutInMinutes: Number("long"), * // }, * // }, * // Description: "STRING_VALUE", * // CreatedAt: new Date("TIMESTAMP"), * // }; * * ``` * * @param GetOtaTaskConfigurationCommandInput - {@link GetOtaTaskConfigurationCommandInput} * @returns {@link GetOtaTaskConfigurationCommandOutput} * @see {@link GetOtaTaskConfigurationCommandInput} for command's `input` shape. * @see {@link GetOtaTaskConfigurationCommandOutput} for command's `response` shape. * @see {@link IoTManagedIntegrationsClientResolvedConfig | config} for IoTManagedIntegrationsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User is not authorized.

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

Internal error from the service that indicates an unexpected error or that the service is unavailable.

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

The specified resource does not exist.

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

The rate exceeds the limit.

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

A validation error occurred when performing the API request.

* * @throws {@link IoTManagedIntegrationsServiceException} *

Base exception class for all service exceptions from IoTManagedIntegrations service.

* * * @public */ export declare class GetOtaTaskConfigurationCommand extends GetOtaTaskConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetOtaTaskConfigurationRequest; output: GetOtaTaskConfigurationResponse; }; sdk: { input: GetOtaTaskConfigurationCommandInput; output: GetOtaTaskConfigurationCommandOutput; }; }; }