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 { RegisterCertificateWithoutCARequest, RegisterCertificateWithoutCAResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link RegisterCertificateWithoutCACommand}. */ export interface RegisterCertificateWithoutCACommandInput extends RegisterCertificateWithoutCARequest { } /** * @public * * The output of {@link RegisterCertificateWithoutCACommand}. */ export interface RegisterCertificateWithoutCACommandOutput extends RegisterCertificateWithoutCAResponse, __MetadataBearer { } declare const RegisterCertificateWithoutCACommand_base: { new (input: RegisterCertificateWithoutCACommandInput): import("@smithy/core/client").CommandImpl; new (input: RegisterCertificateWithoutCACommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Register a certificate that does not have a certificate authority (CA). * For supported certificates, consult * Certificate signing algorithms supported by IoT. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, RegisterCertificateWithoutCACommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, RegisterCertificateWithoutCACommand } = 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 = { // RegisterCertificateWithoutCARequest * certificatePem: "STRING_VALUE", // required * status: "ACTIVE" || "INACTIVE" || "REVOKED" || "PENDING_TRANSFER" || "REGISTER_INACTIVE" || "PENDING_ACTIVATION", * }; * const command = new RegisterCertificateWithoutCACommand(input); * const response = await client.send(command); * // { // RegisterCertificateWithoutCAResponse * // certificateArn: "STRING_VALUE", * // certificateId: "STRING_VALUE", * // }; * * ``` * * @param RegisterCertificateWithoutCACommandInput - {@link RegisterCertificateWithoutCACommandInput} * @returns {@link RegisterCertificateWithoutCACommandOutput} * @see {@link RegisterCertificateWithoutCACommandInput} for command's `input` shape. * @see {@link RegisterCertificateWithoutCACommandOutput} for command's `response` shape. * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape. * * @throws {@link CertificateStateException} (client fault) *

The certificate operation is not allowed.

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

The certificate is invalid.

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

An unexpected error has occurred.

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

The request is not valid.

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

The resource already exists.

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

The service is temporarily unavailable.

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

The rate exceeds the limit.

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

You are not authorized to perform this operation.

* * @throws {@link IoTServiceException} *

Base exception class for all service exceptions from IoT service.

* * * @public */ export declare class RegisterCertificateWithoutCACommand extends RegisterCertificateWithoutCACommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RegisterCertificateWithoutCARequest; output: RegisterCertificateWithoutCAResponse; }; sdk: { input: RegisterCertificateWithoutCACommandInput; output: RegisterCertificateWithoutCACommandOutput; }; }; }