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

AccountService overview

Added in v1.0.0


Table of contents


constructors

makeAccountService

Signature

export declare const makeAccountService: Effect.Effect<any, unknown, unknown>

Added in v1.0.0

models

AccountService (class)

Signature

export declare class AccountService

Added in v1.0.0

AccountService$ (interface)

Signature

export interface AccountService$ {
  /**
   * @see {@link AcceptPrimaryEmailUpdateCommand}
   */
  acceptPrimaryEmailUpdate(
    args: AcceptPrimaryEmailUpdateCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    AcceptPrimaryEmailUpdateCommandOutput,
    | Cause.TimeoutError
    | SdkError
    | AccessDeniedError
    | ConflictError
    | InternalServerError
    | ResourceNotFoundError
    | TooManyRequestsError
    | ValidationError
  >

  /**
   * @see {@link DeleteAlternateContactCommand}
   */
  deleteAlternateContact(
    args: DeleteAlternateContactCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    DeleteAlternateContactCommandOutput,
    | Cause.TimeoutError
    | SdkError
    | AccessDeniedError
    | InternalServerError
    | ResourceNotFoundError
    | TooManyRequestsError
    | ValidationError
  >

  /**
   * @see {@link DisableRegionCommand}
   */
  disableRegion(
    args: DisableRegionCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    DisableRegionCommandOutput,
    | Cause.TimeoutError
    | SdkError
    | AccessDeniedError
    | ConflictError
    | InternalServerError
    | TooManyRequestsError
    | ValidationError
  >

  /**
   * @see {@link EnableRegionCommand}
   */
  enableRegion(
    args: EnableRegionCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    EnableRegionCommandOutput,
    | Cause.TimeoutError
    | SdkError
    | AccessDeniedError
    | ConflictError
    | InternalServerError
    | TooManyRequestsError
    | ValidationError
  >

  /**
   * @see {@link GetAccountInformationCommand}
   */
  getAccountInformation(
    args: GetAccountInformationCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    GetAccountInformationCommandOutput,
    Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
  >

  /**
   * @see {@link GetAlternateContactCommand}
   */
  getAlternateContact(
    args: GetAlternateContactCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    GetAlternateContactCommandOutput,
    | Cause.TimeoutError
    | SdkError
    | AccessDeniedError
    | InternalServerError
    | ResourceNotFoundError
    | TooManyRequestsError
    | ValidationError
  >

  /**
   * @see {@link GetContactInformationCommand}
   */
  getContactInformation(
    args: GetContactInformationCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    GetContactInformationCommandOutput,
    | Cause.TimeoutError
    | SdkError
    | AccessDeniedError
    | InternalServerError
    | ResourceNotFoundError
    | TooManyRequestsError
    | ValidationError
  >

  /**
   * @see {@link GetGovCloudAccountInformationCommand}
   */
  getGovCloudAccountInformation(
    args: GetGovCloudAccountInformationCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    GetGovCloudAccountInformationCommandOutput,
    | Cause.TimeoutError
    | SdkError
    | AccessDeniedError
    | InternalServerError
    | ResourceNotFoundError
    | ResourceUnavailableError
    | TooManyRequestsError
    | ValidationError
  >

  /**
   * @see {@link GetPrimaryEmailCommand}
   */
  getPrimaryEmail(
    args: GetPrimaryEmailCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    GetPrimaryEmailCommandOutput,
    | Cause.TimeoutError
    | SdkError
    | AccessDeniedError
    | InternalServerError
    | ResourceNotFoundError
    | TooManyRequestsError
    | ValidationError
  >

  /**
   * @see {@link GetPrimaryEmailUpdateStatusCommand}
   */
  getPrimaryEmailUpdateStatus(
    args: GetPrimaryEmailUpdateStatusCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    GetPrimaryEmailUpdateStatusCommandOutput,
    | Cause.TimeoutError
    | SdkError
    | AccessDeniedError
    | InternalServerError
    | ResourceNotFoundError
    | TooManyRequestsError
    | ValidationError
  >

  /**
   * @see {@link GetRegionOptStatusCommand}
   */
  getRegionOptStatus(
    args: GetRegionOptStatusCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    GetRegionOptStatusCommandOutput,
    Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
  >

  /**
   * @see {@link ListRegionsCommand}
   */
  listRegions(
    args: ListRegionsCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    ListRegionsCommandOutput,
    Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
  >

  listRegionsStream(
    args: ListRegionsCommandInput,
    options?: HttpHandlerOptions
  ): Stream.Stream<
    ListRegionsCommandOutput,
    Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
  >

  /**
   * @see {@link PutAccountNameCommand}
   */
  putAccountName(
    args: PutAccountNameCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    PutAccountNameCommandOutput,
    Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
  >

  /**
   * @see {@link PutAlternateContactCommand}
   */
  putAlternateContact(
    args: PutAlternateContactCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    PutAlternateContactCommandOutput,
    Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
  >

  /**
   * @see {@link PutContactInformationCommand}
   */
  putContactInformation(
    args: PutContactInformationCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    PutContactInformationCommandOutput,
    Cause.TimeoutError | SdkError | AccessDeniedError | InternalServerError | TooManyRequestsError | ValidationError
  >

  /**
   * @see {@link StartPrimaryEmailUpdateCommand}
   */
  startPrimaryEmailUpdate(
    args: StartPrimaryEmailUpdateCommandInput,
    options?: HttpHandlerOptions
  ): Effect.Effect<
    StartPrimaryEmailUpdateCommandOutput,
    | Cause.TimeoutError
    | SdkError
    | AccessDeniedError
    | ConflictError
    | InternalServerError
    | ResourceNotFoundError
    | TooManyRequestsError
    | ValidationError
  >
}

Added in v1.0.0

utils

AccountService (namespace)

Added in v1.0.0

Config (interface)

Signature

export interface Config extends Omit<AccountClientConfig, "logger"> {
  readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true
}

Added in v1.0.0

Type (type alias)

Signature

export type Type = AccountService$

Added in v1.0.0