Module Values.CreateHostedConfigurationVersionRequestSource

Creates a new configuration in the AppConfig hosted configuration store. If you're creating a feature flag, we recommend you familiarize yourself with the JSON schema for feature flag data. For more information, see Type reference for AWS.AppConfig.FeatureFlags in the AppConfig User Guide.

Sourcetype nonrec t = {
  1. applicationId : Id.t;
    (*

    The application ID.

    *)
  2. configurationProfileId : Id.t;
    (*

    The configuration profile ID.

    *)
  3. description : Description.t option;
    (*

    A description of the configuration.

    *)
  4. content : Blob.t;
    (*

    The configuration data, as bytes. AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.

    *)
  5. contentType : StringWithLengthBetween1And255.t;
    (*

    A standard MIME type describing the format of the configuration content. For more information, see Content-Type.

    *)
  6. latestVersionNumber : Integer.t option;
    (*

    An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.

    *)
  7. versionLabel : VersionLabel.t option;
    (*

    An optional, user-defined label for the AppConfig hosted configuration version. This value must contain at least one non-numeric character. For example, "v2.2.0".

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?latestVersionNumber:??? -> ?versionLabel:??? -> applicationId:Id.t -> configurationProfileId:Id.t -> content:Blob.t -> contentType:StringWithLengthBetween1And255.t -> unit -> t
Sourceval of_header_and_body : ((string, Description.t) Awso.Import.List.Assoc.t * Blob.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of Blob.t | `Integer of Integer.t | `String of Id.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