import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ElasticLoadBalancingV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticLoadBalancingV2Client"; import type { ModifyTrustStoreInput, ModifyTrustStoreOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ModifyTrustStoreCommand}. */ export interface ModifyTrustStoreCommandInput extends ModifyTrustStoreInput { } /** * @public * * The output of {@link ModifyTrustStoreCommand}. */ export interface ModifyTrustStoreCommandOutput extends ModifyTrustStoreOutput, __MetadataBearer { } declare const ModifyTrustStoreCommand_base: { new (input: ModifyTrustStoreCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ModifyTrustStoreCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Update the ca certificate bundle for the specified trust store.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticLoadBalancingV2Client, ModifyTrustStoreCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import * // const { ElasticLoadBalancingV2Client, ModifyTrustStoreCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import * // import type { ElasticLoadBalancingV2ClientConfig } from "@aws-sdk/client-elastic-load-balancing-v2"; * const config = {}; // type is ElasticLoadBalancingV2ClientConfig * const client = new ElasticLoadBalancingV2Client(config); * const input = { // ModifyTrustStoreInput * TrustStoreArn: "STRING_VALUE", // required * CaCertificatesBundleS3Bucket: "STRING_VALUE", // required * CaCertificatesBundleS3Key: "STRING_VALUE", // required * CaCertificatesBundleS3ObjectVersion: "STRING_VALUE", * }; * const command = new ModifyTrustStoreCommand(input); * const response = await client.send(command); * // { // ModifyTrustStoreOutput * // TrustStores: [ // TrustStores * // { // TrustStore * // Name: "STRING_VALUE", * // TrustStoreArn: "STRING_VALUE", * // Status: "ACTIVE" || "CREATING", * // NumberOfCaCertificates: Number("int"), * // TotalRevokedEntries: Number("long"), * // }, * // ], * // }; * * ``` * * @param ModifyTrustStoreCommandInput - {@link ModifyTrustStoreCommandInput} * @returns {@link ModifyTrustStoreCommandOutput} * @see {@link ModifyTrustStoreCommandInput} for command's `input` shape. * @see {@link ModifyTrustStoreCommandOutput} for command's `response` shape. * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for ElasticLoadBalancingV2Client's `config` shape. * * @throws {@link CaCertificatesBundleNotFoundException} (client fault) *

The specified ca certificate bundle does not exist.

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

The specified ca certificate bundle is in an invalid format, or corrupt.

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

The specified trust store does not exist.

* * @throws {@link ElasticLoadBalancingV2ServiceException} *

Base exception class for all service exceptions from ElasticLoadBalancingV2 service.

* * * @public */ export declare class ModifyTrustStoreCommand extends ModifyTrustStoreCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyTrustStoreInput; output: ModifyTrustStoreOutput; }; sdk: { input: ModifyTrustStoreCommandInput; output: ModifyTrustStoreCommandOutput; }; }; }