Module Values.UpdateKeyRequestSource

Updates the specified properties of a given API key resource.

Sourcetype nonrec t = {
  1. keyName : ResourceName.t;
    (*

    The name of the API key resource to update.

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

    Updates the description for the API key resource.

    *)
  3. expireTime : Timestamp.t option;
    (*

    Updates the timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

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

    Whether the API key should expire. Set to true to set the API key to have no expiration time.

    *)
  5. forceUpdate : Boolean.t option;
    (*

    The boolean flag to be included for updating ExpireTime or Restrictions details. Must be set to true to update an API key resource that has been used in the past 7 days. False if force update is not preferred Default value: False

    *)
  6. restrictions : ApiKeyRestrictions.t option;
    (*

    Updates the API key restrictions for the API key resource.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?expireTime:??? -> ?noExpiry:??? -> ?forceUpdate:??? -> ?restrictions:??? -> keyName:ResourceName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of ResourceName.t | `Structure of (string * [> `List of [> `String of ApiKeyAction.t | `Structure of (string * [> `String of AndroidPackageName.t ]) list ] list ]) list | `Timestamp of Timestamp.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