import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient"; import type { StopEventDataStoreIngestionRequest, StopEventDataStoreIngestionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StopEventDataStoreIngestionCommand}. */ export interface StopEventDataStoreIngestionCommandInput extends StopEventDataStoreIngestionRequest { } /** * @public * * The output of {@link StopEventDataStoreIngestionCommand}. */ export interface StopEventDataStoreIngestionCommandOutput extends StopEventDataStoreIngestionResponse, __MetadataBearer { } declare const StopEventDataStoreIngestionCommand_base: { new (input: StopEventDataStoreIngestionCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: StopEventDataStoreIngestionCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Stops the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To stop ingestion, the event data store Status must be ENABLED * and the eventCategory must be Management, Data, NetworkActivity, or ConfigurationItem.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudTrailClient, StopEventDataStoreIngestionCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import * // const { CloudTrailClient, StopEventDataStoreIngestionCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import * // import type { CloudTrailClientConfig } from "@aws-sdk/client-cloudtrail"; * const config = {}; // type is CloudTrailClientConfig * const client = new CloudTrailClient(config); * const input = { // StopEventDataStoreIngestionRequest * EventDataStore: "STRING_VALUE", // required * }; * const command = new StopEventDataStoreIngestionCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param StopEventDataStoreIngestionCommandInput - {@link StopEventDataStoreIngestionCommandInput} * @returns {@link StopEventDataStoreIngestionCommandOutput} * @see {@link StopEventDataStoreIngestionCommandInput} for command's `input` shape. * @see {@link StopEventDataStoreIngestionCommandOutput} for command's `response` shape. * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

This exception is thrown when the specified resource is not ready for an operation. This * can occur when you try to run an operation on a resource before CloudTrail has time * to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the * operation again.

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

The specified event data store ARN is not valid or does not map to an event data store * in your account.

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

The specified event data store was not found.

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

This exception is thrown when the IAM identity that is used to create * the organization resource lacks one or more required permissions for creating an * organization resource in a required service.

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

This exception is thrown when event categories of specified event data stores are not * valid.

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

The event data store is not in a status that supports the operation.

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

The request includes a parameter that is not valid.

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

This exception is thrown when the management account does not have a service-linked * role.

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

This exception is thrown when the Amazon Web Services account making the request to * create or update an organization trail or event data store is not the management account * for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization or Organization event data stores.

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

This exception is thrown when the requested operation is not permitted.

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

This exception is thrown when the requested operation is not supported.

* * @throws {@link CloudTrailServiceException} *

Base exception class for all service exceptions from CloudTrail service.

* * * @public */ export declare class StopEventDataStoreIngestionCommand extends StopEventDataStoreIngestionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StopEventDataStoreIngestionRequest; output: {}; }; sdk: { input: StopEventDataStoreIngestionCommandInput; output: StopEventDataStoreIngestionCommandOutput; }; }; }