import { WaiterResult } from "@smithy/core/client"; import { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration, } from "@smithy/types"; import { CreateClusterCommandInput, CreateClusterCommandOutput, } from "./commands/CreateClusterCommand"; import { CreateStreamCommandInput, CreateStreamCommandOutput, } from "./commands/CreateStreamCommand"; import { DeleteClusterCommandInput, DeleteClusterCommandOutput, } from "./commands/DeleteClusterCommand"; import { DeleteClusterPolicyCommandInput, DeleteClusterPolicyCommandOutput, } from "./commands/DeleteClusterPolicyCommand"; import { DeleteStreamCommandInput, DeleteStreamCommandOutput, } from "./commands/DeleteStreamCommand"; import { GetClusterCommandInput, GetClusterCommandOutput } from "./commands/GetClusterCommand"; import { GetClusterPolicyCommandInput, GetClusterPolicyCommandOutput, } from "./commands/GetClusterPolicyCommand"; import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand"; import { GetVpcEndpointServiceNameCommandInput, GetVpcEndpointServiceNameCommandOutput, } from "./commands/GetVpcEndpointServiceNameCommand"; import { ListClustersCommandInput, ListClustersCommandOutput, } from "./commands/ListClustersCommand"; import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand"; import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, } from "./commands/ListTagsForResourceCommand"; import { PutClusterPolicyCommandInput, PutClusterPolicyCommandOutput, } from "./commands/PutClusterPolicyCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput, } from "./commands/UntagResourceCommand"; import { UpdateClusterCommandInput, UpdateClusterCommandOutput, } from "./commands/UpdateClusterCommand"; import { DSQLClient } from "./DSQLClient"; import { ResourceNotFoundException } from "./models/errors"; export interface DSQL { 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; paginateListClusters( args?: ListClustersCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; paginateListStreams( args: ListStreamsCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; waitUntilClusterActive( args: GetClusterCommandInput, waiterConfig: | number | Pick, Exclude, "client">>, ): Promise>; waitUntilClusterNotExists( args: GetClusterCommandInput, waiterConfig: | number | Pick, Exclude, "client">>, ): Promise>; waitUntilStreamActive( args: GetStreamCommandInput, waiterConfig: | number | Pick, Exclude, "client">>, ): Promise>; waitUntilStreamNotExists( args: GetStreamCommandInput, waiterConfig: | number | Pick, Exclude, "client">>, ): Promise>; } export declare class DSQL extends DSQLClient implements DSQL {}