import { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, } from "@smithy/types"; import { CodestarNotificationsClient } from "./CodestarNotificationsClient"; import { CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput, } from "./commands/CreateNotificationRuleCommand"; import { DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput, } from "./commands/DeleteNotificationRuleCommand"; import { DeleteTargetCommandInput, DeleteTargetCommandOutput, } from "./commands/DeleteTargetCommand"; import { DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput, } from "./commands/DescribeNotificationRuleCommand"; import { ListEventTypesCommandInput, ListEventTypesCommandOutput, } from "./commands/ListEventTypesCommand"; import { ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput, } from "./commands/ListNotificationRulesCommand"; import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, } from "./commands/ListTagsForResourceCommand"; import { ListTargetsCommandInput, ListTargetsCommandOutput } from "./commands/ListTargetsCommand"; import { SubscribeCommandInput, SubscribeCommandOutput } from "./commands/SubscribeCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UnsubscribeCommandInput, UnsubscribeCommandOutput } from "./commands/UnsubscribeCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput, } from "./commands/UntagResourceCommand"; import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput, } from "./commands/UpdateNotificationRuleCommand"; export interface CodestarNotificationsRequestOptions extends __HttpHandlerOptions { metricsRecorder?: __MetricsRecorder; } export interface CodestarNotifications { createNotificationRule( args: CreateNotificationRuleCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; createNotificationRule( args: CreateNotificationRuleCommandInput, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void, ): void; createNotificationRule( args: CreateNotificationRuleCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: CreateNotificationRuleCommandOutput) => void, ): void; deleteNotificationRule( args: DeleteNotificationRuleCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; deleteNotificationRule( args: DeleteNotificationRuleCommandInput, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void, ): void; deleteNotificationRule( args: DeleteNotificationRuleCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: DeleteNotificationRuleCommandOutput) => void, ): void; deleteTarget( args: DeleteTargetCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; deleteTarget( args: DeleteTargetCommandInput, cb: (err: any, data?: DeleteTargetCommandOutput) => void, ): void; deleteTarget( args: DeleteTargetCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: DeleteTargetCommandOutput) => void, ): void; describeNotificationRule( args: DescribeNotificationRuleCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; describeNotificationRule( args: DescribeNotificationRuleCommandInput, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void, ): void; describeNotificationRule( args: DescribeNotificationRuleCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: DescribeNotificationRuleCommandOutput) => void, ): void; listEventTypes(): Promise; listEventTypes( args: ListEventTypesCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; listEventTypes( args: ListEventTypesCommandInput, cb: (err: any, data?: ListEventTypesCommandOutput) => void, ): void; listEventTypes( args: ListEventTypesCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: ListEventTypesCommandOutput) => void, ): void; listNotificationRules(): Promise; listNotificationRules( args: ListNotificationRulesCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; listNotificationRules( args: ListNotificationRulesCommandInput, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void, ): void; listNotificationRules( args: ListNotificationRulesCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void, ): void; listTagsForResource( args: ListTagsForResourceCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; listTagsForResource( args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void, ): void; listTagsForResource( args: ListTagsForResourceCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void, ): void; listTargets(): Promise; listTargets( args: ListTargetsCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; listTargets( args: ListTargetsCommandInput, cb: (err: any, data?: ListTargetsCommandOutput) => void, ): void; listTargets( args: ListTargetsCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: ListTargetsCommandOutput) => void, ): void; subscribe( args: SubscribeCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; subscribe( args: SubscribeCommandInput, cb: (err: any, data?: SubscribeCommandOutput) => void, ): void; subscribe( args: SubscribeCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: SubscribeCommandOutput) => void, ): void; tagResource( args: TagResourceCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; tagResource( args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void, ): void; tagResource( args: TagResourceCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void, ): void; unsubscribe( args: UnsubscribeCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; unsubscribe( args: UnsubscribeCommandInput, cb: (err: any, data?: UnsubscribeCommandOutput) => void, ): void; unsubscribe( args: UnsubscribeCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: UnsubscribeCommandOutput) => void, ): void; untagResource( args: UntagResourceCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; untagResource( args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void, ): void; untagResource( args: UntagResourceCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void, ): void; updateNotificationRule( args: UpdateNotificationRuleCommandInput, options?: CodestarNotificationsRequestOptions, ): Promise; updateNotificationRule( args: UpdateNotificationRuleCommandInput, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void, ): void; updateNotificationRule( args: UpdateNotificationRuleCommandInput, options: CodestarNotificationsRequestOptions, cb: (err: any, data?: UpdateNotificationRuleCommandOutput) => void, ): void; paginateListEventTypes( args?: ListEventTypesCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; paginateListNotificationRules( args?: ListNotificationRulesCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; paginateListTargets( args?: ListTargetsCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude >, ): Paginator; } export declare class CodestarNotifications extends CodestarNotificationsClient implements CodestarNotifications {}