Module Values.CreateUploadUrlResponseSource

Generates a pre-signed URL, request headers used to upload a code resource, and code artifact identifier for the uploaded resource. You can upload your code resource to the URL with the request headers using any HTTP client.

Sourcetype nonrec t = {
  1. s3Url : S3Url.t option;
    (*

    A pre-signed S3 URL. You can upload the code file you want to scan with the required requestHeaders using any HTTP client.

    *)
  2. requestHeaders : RequestHeaderMap.t option;
    (*

    A set of key-value pairs that contain the required headers when uploading your resource.

    *)
  3. codeArtifactId : Uuid.t option;
    (*

    The identifier for the uploaded code resource. Pass this to CreateScan to use the uploaded resources.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ThrottlingException of ThrottlingException.t
  4. | `ValidationException of ValidationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?s3Url:??? -> ?requestHeaders:??? -> ?codeArtifactId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of HeaderKey.t ] * [> `String of HeaderValue.t ]) list | `String of S3Url.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