Module Values.CreateApiKeyRequestSource

Request to create an ApiKey resource.

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

    The name of the ApiKey.

    *)
  2. description : String_.t option;
    (*

    The description of the ApiKey.

    *)
  3. enabled : Boolean.t option;
    (*

    Specifies whether the ApiKey can be used by callers.

    *)
  4. generateDistinctId : Boolean.t option;
    (*

    Specifies whether (true) or not (false) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.

    *)
  5. value : String_.t option;
    (*

    Specifies a value of the API key.

    *)
  6. stageKeys : ListOfStageKeys.t option;
    (*

    DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.

    *)
  7. customerId : String_.t option;
    (*

    An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.

    *)
  8. tags : MapOfStringToString.t option;
    (*

    The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

    *)
}
Sourceval make : ?name:??? -> ?description:??? -> ?enabled:??? -> ?generateDistinctId:??? -> ?value:??? -> ?stageKeys:??? -> ?customerId:??? -> ?tags:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of String_.t ]) 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