Module Values.HostedConfigurationVersionSource

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 option;
    (*

    The application ID.

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

    The configuration profile ID.

    *)
  3. versionNumber : Integer.t option;
    (*

    The configuration version.

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

    A description of the configuration.

    *)
  5. content : Blob.t option;
    (*

    The content of the configuration or the configuration data.

    *)
  6. contentType : StringWithLengthBetween1And255.t option;
    (*

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

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

    A user-defined label for an AppConfig hosted configuration version.

    *)
  8. kmsKeyArn : Arn.t option;
    (*

    The Amazon Resource Name of the Key Management Service key that was used to encrypt this specific version of the configuration data in the AppConfig hosted configuration store.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `PayloadTooLargeException of PayloadTooLargeException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?applicationId:??? -> ?configurationProfileId:??? -> ?versionNumber:??? -> ?description:??? -> ?content:??? -> ?contentType:??? -> ?versionLabel:??? -> ?kmsKeyArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `PayloadTooLargeException of PayloadTooLargeException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `PayloadTooLargeException of PayloadTooLargeException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ((string, Id.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