Module Values.CreateComponentResponseSource

Creates a new component that can be used to build, validate, test, and assess your image. The component is based on a YAML document that you specify using exactly one of the following methods: Inline, using the data property in the request body. A URL that points to a YAML document file stored in Amazon S3, using the uri property in the request body.

Sourcetype nonrec t = {
  1. requestId : NonEmptyString.t option;
    (*

    The request ID that uniquely identifies this request.

    *)
  2. clientToken : ClientToken.t option;
    (*

    The client token that uniquely identifies the request.

    *)
  3. componentBuildVersionArn : ComponentBuildVersionArn.t option;
    (*

    The Amazon Resource Name (ARN) of the component that the request created.

    *)
  4. latestVersionReferences : LatestVersionReferences.t option;
    (*

    The resource ARNs with different wildcard variations of semantic versioning.

    *)
}
Sourcetype nonrec error = [
  1. | `CallRateLimitExceededException of CallRateLimitExceededException.t
  2. | `ClientException of ClientException.t
  3. | `DryRunOperationException of DryRunOperationException.t
  4. | `ForbiddenException of ForbiddenException.t
  5. | `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t
  6. | `InvalidParameterCombinationException of InvalidParameterCombinationException.t
  7. | `InvalidRequestException of InvalidRequestException.t
  8. | `InvalidVersionNumberException of InvalidVersionNumberException.t
  9. | `ResourceInUseException of ResourceInUseException.t
  10. | `ServiceException of ServiceException.t
  11. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  12. | `ServiceUnavailableException of ServiceUnavailableException.t
  13. | `Unknown_operation_error of string * string option
]
Sourceval make : ?requestId:??? -> ?clientToken:??? -> ?componentBuildVersionArn:??? -> ?latestVersionReferences:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `CallRateLimitExceededException of CallRateLimitExceededException.t | `ClientException of ClientException.t | `DryRunOperationException of DryRunOperationException.t | `ForbiddenException of ForbiddenException.t | `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t | `InvalidParameterCombinationException of InvalidParameterCombinationException.t | `InvalidRequestException of InvalidRequestException.t | `InvalidVersionNumberException of InvalidVersionNumberException.t | `ResourceInUseException of ResourceInUseException.t | `ServiceException of ServiceException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `CallRateLimitExceededException of CallRateLimitExceededException.t | `ClientException of ClientException.t | `DryRunOperationException of DryRunOperationException.t | `ForbiddenException of ForbiddenException.t | `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t | `InvalidParameterCombinationException of InvalidParameterCombinationException.t | `InvalidRequestException of InvalidRequestException.t | `InvalidVersionNumberException of InvalidVersionNumberException.t | `ResourceInUseException of ResourceInUseException.t | `ServiceException of ServiceException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.t | `Structure of (string * [> `String of ImageBuilderArn.t ]) list ]) 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