Module Values_1.CreatePackageVersionResponseSource

Creates a new version for an existing IoT software package. Requires permission to access the CreatePackageVersion and GetIndexingConfiguration actions.

Sourcetype nonrec t = {
  1. packageVersionArn : Values_0.PackageVersionArn.t option;
    (*

    The Amazon Resource Name (ARN) for the package.

    *)
  2. packageName : Values_0.PackageName.t option;
    (*

    The name of the associated software package.

    *)
  3. versionName : Values_0.VersionName.t option;
    (*

    The name of the new package version.

    *)
  4. description : Values_0.ResourceDescription.t option;
    (*

    The package version description.

    *)
  5. attributes : Values_0.ResourceAttributes.t option;
    (*

    Metadata that were added to the package version that can be used to define a package version’s configuration.

    *)
  6. status : Values_0.PackageVersionStatus.t option;
    (*

    The status of the package version. For more information, see Package version lifecycle.

    *)
  7. errorReason : Values_0.PackageVersionErrorReason.t option;
    (*

    Error reason for a package version failure during creation or update.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of Values_0.ConflictException.t
  2. | `InternalServerException of Values_0.InternalServerException.t
  3. | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.t
  4. | `ThrottlingException of Values_0.ThrottlingException.t
  5. | `ValidationException of Values_0.ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?packageVersionArn:??? -> ?packageName:??? -> ?versionName:??? -> ?description:??? -> ?attributes:??? -> ?status:??? -> ?errorReason:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of Values_0.ConflictException.t | `InternalServerException of Values_0.InternalServerException.t | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of Values_0.ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictException of Values_0.ConflictException.t | `InternalServerException of Values_0.InternalServerException.t | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of Values_0.ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of string ] * [> `String of string ]) list | `String of Values_0.PackageVersionArn.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