Skip to main content Link Search Menu Expand Document (external link)

EventBridgeService overview

Added in v1.0.0


Table of contents


constructors

makeEventBridgeService

Signature

export declare const makeEventBridgeService: Effect.Effect<EventBridgeService, never, EventBridgeClientInstance>

Added in v1.0.0

layers

BaseEventBridgeServiceLayer

Signature

export declare const BaseEventBridgeServiceLayer: Layer.Layer<EventBridgeService, never, EventBridgeClientInstance>

Added in v1.0.0

DefaultEventBridgeServiceLayer

Signature

export declare const DefaultEventBridgeServiceLayer: Layer.Layer<EventBridgeService, never, never>

Added in v1.0.0

EventBridgeServiceLayer

Signature

export declare const EventBridgeServiceLayer: Layer.Layer<EventBridgeService, never, EventBridgeClientInstanceConfig>

Added in v1.0.0

models

EventBridgeService (interface)

Signature

export interface EventBridgeService {
  readonly _: unique symbol

  /**
   * @see {@link ActivateEventSourceCommand}
   */
  activateEventSource(
    args: ActivateEventSourceCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    ActivateEventSourceCommandOutput,
    | SdkError
    | ConcurrentModificationError
    | InternalError
    | InvalidStateError
    | OperationDisabledError
    | ResourceNotFoundError
  >

  /**
   * @see {@link CancelReplayCommand}
   */
  cancelReplay(
    args: CancelReplayCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    CancelReplayCommandOutput,
    SdkError | ConcurrentModificationError | IllegalStatusError | InternalError | ResourceNotFoundError
  >

  /**
   * @see {@link CreateApiDestinationCommand}
   */
  createApiDestination(
    args: CreateApiDestinationCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    CreateApiDestinationCommandOutput,
    SdkError | InternalError | LimitExceededError | ResourceAlreadyExistsError | ResourceNotFoundError
  >

  /**
   * @see {@link CreateArchiveCommand}
   */
  createArchive(
    args: CreateArchiveCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    CreateArchiveCommandOutput,
    | SdkError
    | ConcurrentModificationError
    | InternalError
    | InvalidEventPatternError
    | LimitExceededError
    | ResourceAlreadyExistsError
    | ResourceNotFoundError
  >

  /**
   * @see {@link CreateConnectionCommand}
   */
  createConnection(
    args: CreateConnectionCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    CreateConnectionCommandOutput,
    SdkError | InternalError | LimitExceededError | ResourceAlreadyExistsError
  >

  /**
   * @see {@link CreateEndpointCommand}
   */
  createEndpoint(
    args: CreateEndpointCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    CreateEndpointCommandOutput,
    SdkError | InternalError | LimitExceededError | ResourceAlreadyExistsError
  >

  /**
   * @see {@link CreateEventBusCommand}
   */
  createEventBus(
    args: CreateEventBusCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    CreateEventBusCommandOutput,
    | SdkError
    | ConcurrentModificationError
    | InternalError
    | InvalidStateError
    | LimitExceededError
    | OperationDisabledError
    | ResourceAlreadyExistsError
    | ResourceNotFoundError
  >

  /**
   * @see {@link CreatePartnerEventSourceCommand}
   */
  createPartnerEventSource(
    args: CreatePartnerEventSourceCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    CreatePartnerEventSourceCommandOutput,
    | SdkError
    | ConcurrentModificationError
    | InternalError
    | LimitExceededError
    | OperationDisabledError
    | ResourceAlreadyExistsError
  >

  /**
   * @see {@link DeactivateEventSourceCommand}
   */
  deactivateEventSource(
    args: DeactivateEventSourceCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DeactivateEventSourceCommandOutput,
    | SdkError
    | ConcurrentModificationError
    | InternalError
    | InvalidStateError
    | OperationDisabledError
    | ResourceNotFoundError
  >

  /**
   * @see {@link DeauthorizeConnectionCommand}
   */
  deauthorizeConnection(
    args: DeauthorizeConnectionCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DeauthorizeConnectionCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ResourceNotFoundError
  >

  /**
   * @see {@link DeleteApiDestinationCommand}
   */
  deleteApiDestination(
    args: DeleteApiDestinationCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DeleteApiDestinationCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ResourceNotFoundError
  >

  /**
   * @see {@link DeleteArchiveCommand}
   */
  deleteArchive(
    args: DeleteArchiveCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DeleteArchiveCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ResourceNotFoundError
  >

  /**
   * @see {@link DeleteConnectionCommand}
   */
  deleteConnection(
    args: DeleteConnectionCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DeleteConnectionCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ResourceNotFoundError
  >

  /**
   * @see {@link DeleteEndpointCommand}
   */
  deleteEndpoint(
    args: DeleteEndpointCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DeleteEndpointCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ResourceNotFoundError
  >

  /**
   * @see {@link DeleteEventBusCommand}
   */
  deleteEventBus(
    args: DeleteEventBusCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<DeleteEventBusCommandOutput, SdkError | ConcurrentModificationError | InternalError>

  /**
   * @see {@link DeletePartnerEventSourceCommand}
   */
  deletePartnerEventSource(
    args: DeletePartnerEventSourceCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DeletePartnerEventSourceCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | OperationDisabledError
  >

  /**
   * @see {@link DeleteRuleCommand}
   */
  deleteRule(
    args: DeleteRuleCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DeleteRuleCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ManagedRuleError | ResourceNotFoundError
  >

  /**
   * @see {@link DescribeApiDestinationCommand}
   */
  describeApiDestination(
    args: DescribeApiDestinationCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<DescribeApiDestinationCommandOutput, SdkError | InternalError | ResourceNotFoundError>

  /**
   * @see {@link DescribeArchiveCommand}
   */
  describeArchive(
    args: DescribeArchiveCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DescribeArchiveCommandOutput,
    SdkError | InternalError | ResourceAlreadyExistsError | ResourceNotFoundError
  >

  /**
   * @see {@link DescribeConnectionCommand}
   */
  describeConnection(
    args: DescribeConnectionCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<DescribeConnectionCommandOutput, SdkError | InternalError | ResourceNotFoundError>

  /**
   * @see {@link DescribeEndpointCommand}
   */
  describeEndpoint(
    args: DescribeEndpointCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<DescribeEndpointCommandOutput, SdkError | InternalError | ResourceNotFoundError>

  /**
   * @see {@link DescribeEventBusCommand}
   */
  describeEventBus(
    args: DescribeEventBusCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<DescribeEventBusCommandOutput, SdkError | InternalError | ResourceNotFoundError>

  /**
   * @see {@link DescribeEventSourceCommand}
   */
  describeEventSource(
    args: DescribeEventSourceCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DescribeEventSourceCommandOutput,
    SdkError | InternalError | OperationDisabledError | ResourceNotFoundError
  >

  /**
   * @see {@link DescribePartnerEventSourceCommand}
   */
  describePartnerEventSource(
    args: DescribePartnerEventSourceCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DescribePartnerEventSourceCommandOutput,
    SdkError | InternalError | OperationDisabledError | ResourceNotFoundError
  >

  /**
   * @see {@link DescribeReplayCommand}
   */
  describeReplay(
    args: DescribeReplayCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<DescribeReplayCommandOutput, SdkError | InternalError | ResourceNotFoundError>

  /**
   * @see {@link DescribeRuleCommand}
   */
  describeRule(
    args: DescribeRuleCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<DescribeRuleCommandOutput, SdkError | InternalError | ResourceNotFoundError>

  /**
   * @see {@link DisableRuleCommand}
   */
  disableRule(
    args: DisableRuleCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    DisableRuleCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ManagedRuleError | ResourceNotFoundError
  >

  /**
   * @see {@link EnableRuleCommand}
   */
  enableRule(
    args: EnableRuleCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    EnableRuleCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ManagedRuleError | ResourceNotFoundError
  >

  /**
   * @see {@link ListApiDestinationsCommand}
   */
  listApiDestinations(
    args: ListApiDestinationsCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListApiDestinationsCommandOutput, SdkError | InternalError>

  /**
   * @see {@link ListArchivesCommand}
   */
  listArchives(
    args: ListArchivesCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListArchivesCommandOutput, SdkError | InternalError | ResourceNotFoundError>

  /**
   * @see {@link ListConnectionsCommand}
   */
  listConnections(
    args: ListConnectionsCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListConnectionsCommandOutput, SdkError | InternalError>

  /**
   * @see {@link ListEndpointsCommand}
   */
  listEndpoints(
    args: ListEndpointsCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListEndpointsCommandOutput, SdkError | InternalError>

  /**
   * @see {@link ListEventBusesCommand}
   */
  listEventBuses(
    args: ListEventBusesCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListEventBusesCommandOutput, SdkError | InternalError>

  /**
   * @see {@link ListEventSourcesCommand}
   */
  listEventSources(
    args: ListEventSourcesCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListEventSourcesCommandOutput, SdkError | InternalError | OperationDisabledError>

  /**
   * @see {@link ListPartnerEventSourceAccountsCommand}
   */
  listPartnerEventSourceAccounts(
    args: ListPartnerEventSourceAccountsCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    ListPartnerEventSourceAccountsCommandOutput,
    SdkError | InternalError | OperationDisabledError | ResourceNotFoundError
  >

  /**
   * @see {@link ListPartnerEventSourcesCommand}
   */
  listPartnerEventSources(
    args: ListPartnerEventSourcesCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListPartnerEventSourcesCommandOutput, SdkError | InternalError | OperationDisabledError>

  /**
   * @see {@link ListReplaysCommand}
   */
  listReplays(
    args: ListReplaysCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListReplaysCommandOutput, SdkError | InternalError>

  /**
   * @see {@link ListRuleNamesByTargetCommand}
   */
  listRuleNamesByTarget(
    args: ListRuleNamesByTargetCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListRuleNamesByTargetCommandOutput, SdkError | InternalError | ResourceNotFoundError>

  /**
   * @see {@link ListRulesCommand}
   */
  listRules(
    args: ListRulesCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListRulesCommandOutput, SdkError | InternalError | ResourceNotFoundError>

  /**
   * @see {@link ListTagsForResourceCommand}
   */
  listTagsForResource(
    args: ListTagsForResourceCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListTagsForResourceCommandOutput, SdkError | InternalError | ResourceNotFoundError>

  /**
   * @see {@link ListTargetsByRuleCommand}
   */
  listTargetsByRule(
    args: ListTargetsByRuleCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<ListTargetsByRuleCommandOutput, SdkError | InternalError | ResourceNotFoundError>

  /**
   * @see {@link PutEventsCommand}
   */
  putEvents(
    args: PutEventsCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<PutEventsCommandOutput, SdkError | InternalError>

  /**
   * @see {@link PutPartnerEventsCommand}
   */
  putPartnerEvents(
    args: PutPartnerEventsCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<PutPartnerEventsCommandOutput, SdkError | InternalError | OperationDisabledError>

  /**
   * @see {@link PutPermissionCommand}
   */
  putPermission(
    args: PutPermissionCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    PutPermissionCommandOutput,
    | SdkError
    | ConcurrentModificationError
    | InternalError
    | OperationDisabledError
    | PolicyLengthExceededError
    | ResourceNotFoundError
  >

  /**
   * @see {@link PutRuleCommand}
   */
  putRule(
    args: PutRuleCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    PutRuleCommandOutput,
    | SdkError
    | ConcurrentModificationError
    | InternalError
    | InvalidEventPatternError
    | LimitExceededError
    | ManagedRuleError
    | ResourceNotFoundError
  >

  /**
   * @see {@link PutTargetsCommand}
   */
  putTargets(
    args: PutTargetsCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    PutTargetsCommandOutput,
    | SdkError
    | ConcurrentModificationError
    | InternalError
    | LimitExceededError
    | ManagedRuleError
    | ResourceNotFoundError
  >

  /**
   * @see {@link RemovePermissionCommand}
   */
  removePermission(
    args: RemovePermissionCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    RemovePermissionCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | OperationDisabledError | ResourceNotFoundError
  >

  /**
   * @see {@link RemoveTargetsCommand}
   */
  removeTargets(
    args: RemoveTargetsCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    RemoveTargetsCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ManagedRuleError | ResourceNotFoundError
  >

  /**
   * @see {@link StartReplayCommand}
   */
  startReplay(
    args: StartReplayCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    StartReplayCommandOutput,
    | SdkError
    | InternalError
    | InvalidEventPatternError
    | LimitExceededError
    | ResourceAlreadyExistsError
    | ResourceNotFoundError
  >

  /**
   * @see {@link TagResourceCommand}
   */
  tagResource(
    args: TagResourceCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    TagResourceCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ManagedRuleError | ResourceNotFoundError
  >

  /**
   * @see {@link TestEventPatternCommand}
   */
  testEventPattern(
    args: TestEventPatternCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<TestEventPatternCommandOutput, SdkError | InternalError | InvalidEventPatternError>

  /**
   * @see {@link UntagResourceCommand}
   */
  untagResource(
    args: UntagResourceCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    UntagResourceCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ManagedRuleError | ResourceNotFoundError
  >

  /**
   * @see {@link UpdateApiDestinationCommand}
   */
  updateApiDestination(
    args: UpdateApiDestinationCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    UpdateApiDestinationCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | LimitExceededError | ResourceNotFoundError
  >

  /**
   * @see {@link UpdateArchiveCommand}
   */
  updateArchive(
    args: UpdateArchiveCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    UpdateArchiveCommandOutput,
    | SdkError
    | ConcurrentModificationError
    | InternalError
    | InvalidEventPatternError
    | LimitExceededError
    | ResourceNotFoundError
  >

  /**
   * @see {@link UpdateConnectionCommand}
   */
  updateConnection(
    args: UpdateConnectionCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    UpdateConnectionCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | LimitExceededError | ResourceNotFoundError
  >

  /**
   * @see {@link UpdateEndpointCommand}
   */
  updateEndpoint(
    args: UpdateEndpointCommandInput,
    options?: __HttpHandlerOptions
  ): Effect.Effect<
    UpdateEndpointCommandOutput,
    SdkError | ConcurrentModificationError | InternalError | ResourceNotFoundError
  >
}

Added in v1.0.0

tags

EventBridgeService

Signature

export declare const EventBridgeService: Context.Tag<EventBridgeService, EventBridgeService>

Added in v1.0.0