Module Values.AccountSource

Represents an AWS account that is associated with API Gateway.

Sourcetype nonrec t = {
  1. cloudwatchRoleArn : String_.t option;
    (*

    The ARN of an Amazon CloudWatch role for the current Account.

    *)
  2. throttleSettings : ThrottleSettings.t option;
    (*

    Specifies the API request limits configured for the current Account.

    *)
  3. features : ListOfString.t option;
    (*

    A list of features supported for the account. When usage plans are enabled, the features list will include an entry of "UsagePlans".

    *)
  4. apiKeyVersion : String_.t option;
    (*

    The version of the API keys used for the account.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `NotFoundException of NotFoundException.t
  3. | `TooManyRequestsException of TooManyRequestsException.t
  4. | `UnauthorizedException of UnauthorizedException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?cloudwatchRoleArn:??? -> ?throttleSettings:??? -> ?features:??? -> ?apiKeyVersion:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `NotFoundException of NotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `NotFoundException of NotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String_.t ] list | `String of String_.t | `Structure of (string * [> `Double of Double.t | `Integer of Integer.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t