import { type WaiterResult } from "@smithy/core/client"; import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types"; import { type CreateClusterCommandInput, type CreateClusterCommandOutput } from "./commands/CreateClusterCommand"; import { type CreateStreamCommandInput, type CreateStreamCommandOutput } from "./commands/CreateStreamCommand"; import { type DeleteClusterCommandInput, type DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand"; import { type DeleteClusterPolicyCommandInput, type DeleteClusterPolicyCommandOutput } from "./commands/DeleteClusterPolicyCommand"; import { type DeleteStreamCommandInput, type DeleteStreamCommandOutput } from "./commands/DeleteStreamCommand"; import { type GetClusterCommandInput, type GetClusterCommandOutput } from "./commands/GetClusterCommand"; import { type GetClusterPolicyCommandInput, type GetClusterPolicyCommandOutput } from "./commands/GetClusterPolicyCommand"; import { type GetStreamCommandInput, type GetStreamCommandOutput } from "./commands/GetStreamCommand"; import { type GetVpcEndpointServiceNameCommandInput, type GetVpcEndpointServiceNameCommandOutput } from "./commands/GetVpcEndpointServiceNameCommand"; import { type ListClustersCommandInput, type ListClustersCommandOutput } from "./commands/ListClustersCommand"; import { type ListStreamsCommandInput, type ListStreamsCommandOutput } from "./commands/ListStreamsCommand"; import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import { type PutClusterPolicyCommandInput, type PutClusterPolicyCommandOutput } from "./commands/PutClusterPolicyCommand"; import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { type UpdateClusterCommandInput, type UpdateClusterCommandOutput } from "./commands/UpdateClusterCommand"; import { DSQLClient } from "./DSQLClient"; import type { ResourceNotFoundException } from "./models/errors"; export interface DSQL { /** * @see {@link CreateClusterCommand} */ createCluster(): Promise; createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise; createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void; createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void; /** * @see {@link CreateStreamCommand} */ createStream(args: CreateStreamCommandInput, options?: __HttpHandlerOptions): Promise; createStream(args: CreateStreamCommandInput, cb: (err: any, data?: CreateStreamCommandOutput) => void): void; createStream(args: CreateStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStreamCommandOutput) => void): void; /** * @see {@link DeleteClusterCommand} */ deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise; deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void; deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void; /** * @see {@link DeleteClusterPolicyCommand} */ deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, options?: __HttpHandlerOptions): Promise; deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void): void; deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterPolicyCommandOutput) => void): void; /** * @see {@link DeleteStreamCommand} */ deleteStream(args: DeleteStreamCommandInput, options?: __HttpHandlerOptions): Promise; deleteStream(args: DeleteStreamCommandInput, cb: (err: any, data?: DeleteStreamCommandOutput) => void): void; deleteStream(args: DeleteStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteStreamCommandOutput) => void): void; /** * @see {@link GetClusterCommand} */ getCluster(args: GetClusterCommandInput, options?: __HttpHandlerOptions): Promise; getCluster(args: GetClusterCommandInput, cb: (err: any, data?: GetClusterCommandOutput) => void): void; getCluster(args: GetClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterCommandOutput) => void): void; /** * @see {@link GetClusterPolicyCommand} */ getClusterPolicy(args: GetClusterPolicyCommandInput, options?: __HttpHandlerOptions): Promise; getClusterPolicy(args: GetClusterPolicyCommandInput, cb: (err: any, data?: GetClusterPolicyCommandOutput) => void): void; getClusterPolicy(args: GetClusterPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClusterPolicyCommandOutput) => void): void; /** * @see {@link GetStreamCommand} */ getStream(args: GetStreamCommandInput, options?: __HttpHandlerOptions): Promise; getStream(args: GetStreamCommandInput, cb: (err: any, data?: GetStreamCommandOutput) => void): void; getStream(args: GetStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStreamCommandOutput) => void): void; /** * @see {@link GetVpcEndpointServiceNameCommand} */ getVpcEndpointServiceName(args: GetVpcEndpointServiceNameCommandInput, options?: __HttpHandlerOptions): Promise; getVpcEndpointServiceName(args: GetVpcEndpointServiceNameCommandInput, cb: (err: any, data?: GetVpcEndpointServiceNameCommandOutput) => void): void; getVpcEndpointServiceName(args: GetVpcEndpointServiceNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVpcEndpointServiceNameCommandOutput) => void): void; /** * @see {@link ListClustersCommand} */ listClusters(): Promise; listClusters(args: ListClustersCommandInput, options?: __HttpHandlerOptions): Promise; listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void; listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void; /** * @see {@link ListStreamsCommand} */ listStreams(args: ListStreamsCommandInput, options?: __HttpHandlerOptions): Promise; listStreams(args: ListStreamsCommandInput, cb: (err: any, data?: ListStreamsCommandOutput) => void): void; listStreams(args: ListStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamsCommandOutput) => void): void; /** * @see {@link ListTagsForResourceCommand} */ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise; listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; /** * @see {@link PutClusterPolicyCommand} */ putClusterPolicy(args: PutClusterPolicyCommandInput, options?: __HttpHandlerOptions): Promise; putClusterPolicy(args: PutClusterPolicyCommandInput, cb: (err: any, data?: PutClusterPolicyCommandOutput) => void): void; putClusterPolicy(args: PutClusterPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutClusterPolicyCommandOutput) => void): void; /** * @see {@link TagResourceCommand} */ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; /** * @see {@link UntagResourceCommand} */ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; /** * @see {@link UpdateClusterCommand} */ updateCluster(args: UpdateClusterCommandInput, options?: __HttpHandlerOptions): Promise; updateCluster(args: UpdateClusterCommandInput, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void; updateCluster(args: UpdateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterCommandOutput) => void): void; /** * @see {@link ListClustersCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListClustersCommandOutput}. */ paginateListClusters(args?: ListClustersCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListStreamsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListStreamsCommandOutput}. */ paginateListStreams(args: ListStreamsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link GetClusterCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilClusterActive(args: GetClusterCommandInput, waiterConfig: number | Omit, "client">): Promise>; /** * @see {@link GetClusterCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilClusterNotExists(args: GetClusterCommandInput, waiterConfig: number | Omit, "client">): Promise>; /** * @see {@link GetStreamCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilStreamActive(args: GetStreamCommandInput, waiterConfig: number | Omit, "client">): Promise>; /** * @see {@link GetStreamCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilStreamNotExists(args: GetStreamCommandInput, waiterConfig: number | Omit, "client">): Promise>; } /** *

This is an interface reference for Amazon Aurora DSQL. It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Aurora DSQL.

Amazon Aurora DSQL is a serverless, distributed SQL database suitable for workloads of any size. is available in both single-Region and multi-Region configurations, so your clusters and databases are always available even if an Availability Zone or an Amazon Web Services Region are unavailable. lets you focus on using your data to acquire new insights for your business and customers.

* @public */ export declare class DSQL extends DSQLClient implements DSQL { }