import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdatePipelineRequest, UpdatePipelineResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdatePipelineCommand}. */ export interface UpdatePipelineCommandInput extends UpdatePipelineRequest { } /** * @public * * The output of {@link UpdatePipelineCommand}. */ export interface UpdatePipelineCommandOutput extends UpdatePipelineResponse, __MetadataBearer { } declare const UpdatePipelineCommand_base: { new (input: UpdatePipelineCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdatePipelineCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates an OpenSearch Ingestion pipeline. For more information, see Updating Amazon OpenSearch * Ingestion pipelines.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OSISClient, UpdatePipelineCommand } from "@aws-sdk/client-osis"; // ES Modules import * // const { OSISClient, UpdatePipelineCommand } = require("@aws-sdk/client-osis"); // CommonJS import * // import type { OSISClientConfig } from "@aws-sdk/client-osis"; * const config = {}; // type is OSISClientConfig * const client = new OSISClient(config); * const input = { // UpdatePipelineRequest * PipelineName: "STRING_VALUE", // required * MinUnits: Number("int"), * MaxUnits: Number("int"), * PipelineConfigurationBody: "STRING_VALUE", * LogPublishingOptions: { // LogPublishingOptions * IsLoggingEnabled: true || false, * CloudWatchLogDestination: { // CloudWatchLogDestination * LogGroup: "STRING_VALUE", // required * }, * }, * BufferOptions: { // BufferOptions * PersistentBufferEnabled: true || false, // required * }, * EncryptionAtRestOptions: { // EncryptionAtRestOptions * KmsKeyArn: "STRING_VALUE", // required * }, * PipelineRoleArn: "STRING_VALUE", * }; * const command = new UpdatePipelineCommand(input); * const response = await client.send(command); * // { // UpdatePipelineResponse * // Pipeline: { // Pipeline * // PipelineName: "STRING_VALUE", * // PipelineArn: "STRING_VALUE", * // MinUnits: Number("int"), * // MaxUnits: Number("int"), * // Status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "STARTING" || "START_FAILED" || "STOPPING" || "STOPPED", * // StatusReason: { // PipelineStatusReason * // Description: "STRING_VALUE", * // }, * // PipelineConfigurationBody: "STRING_VALUE", * // CreatedAt: new Date("TIMESTAMP"), * // LastUpdatedAt: new Date("TIMESTAMP"), * // IngestEndpointUrls: [ // IngestEndpointUrlsList * // "STRING_VALUE", * // ], * // LogPublishingOptions: { // LogPublishingOptions * // IsLoggingEnabled: true || false, * // CloudWatchLogDestination: { // CloudWatchLogDestination * // LogGroup: "STRING_VALUE", // required * // }, * // }, * // VpcEndpoints: [ // VpcEndpointsList * // { // VpcEndpoint * // VpcEndpointId: "STRING_VALUE", * // VpcId: "STRING_VALUE", * // VpcOptions: { // VpcOptions * // SubnetIds: [ // SubnetIds // required * // "STRING_VALUE", * // ], * // SecurityGroupIds: [ // SecurityGroupIds * // "STRING_VALUE", * // ], * // VpcAttachmentOptions: { // VpcAttachmentOptions * // AttachToVpc: true || false, // required * // CidrBlock: "STRING_VALUE", * // }, * // VpcEndpointManagement: "CUSTOMER" || "SERVICE", * // }, * // }, * // ], * // BufferOptions: { // BufferOptions * // PersistentBufferEnabled: true || false, // required * // }, * // EncryptionAtRestOptions: { // EncryptionAtRestOptions * // KmsKeyArn: "STRING_VALUE", // required * // }, * // VpcEndpointService: "STRING_VALUE", * // ServiceVpcEndpoints: [ // ServiceVpcEndpointsList * // { // ServiceVpcEndpoint * // ServiceName: "OPENSEARCH_SERVERLESS", * // VpcEndpointId: "STRING_VALUE", * // }, * // ], * // Destinations: [ // PipelineDestinationList * // { // PipelineDestination * // ServiceName: "STRING_VALUE", * // Endpoint: "STRING_VALUE", * // }, * // ], * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // PipelineRoleArn: "STRING_VALUE", * // }, * // }; * * ``` * * @param UpdatePipelineCommandInput - {@link UpdatePipelineCommandInput} * @returns {@link UpdatePipelineCommandOutput} * @see {@link UpdatePipelineCommandInput} for command's `input` shape. * @see {@link UpdatePipelineCommandOutput} for command's `response` shape. * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have permissions to access the resource.

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

The client attempted to remove a resource that is currently in use.

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

Exception is thrown when an operation has been disabled.

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

The request failed because of an unknown error, exception, or failure (the failure is * internal to the service).

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

You attempted to access or delete a resource that does not exist.

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

An exception for missing or invalid input fields.

* * @throws {@link OSISServiceException} *

Base exception class for all service exceptions from OSIS service.

* * * @public */ export declare class UpdatePipelineCommand extends UpdatePipelineCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdatePipelineRequest; output: UpdatePipelineResponse; }; sdk: { input: UpdatePipelineCommandInput; output: UpdatePipelineCommandOutput; }; }; }