Module Values_2.StartAttachedFileUploadRequestSource

Provides a pre-signed Amazon S3 URL in response for uploading your content. You may only use this API to upload attachments to an Amazon Connect Case or Amazon Connect Email.

Sourcetype nonrec t = {
  1. clientToken : Values_0.ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

    *)
  2. instanceId : Values_0.InstanceId.t;
    (*

    The unique identifier of the Amazon Connect instance.

    *)
  3. fileName : Values_0.FileName.t;
    (*

    A case-sensitive name of the attached file being uploaded.

    *)
  4. fileSizeInBytes : Values_0.FileSizeInBytes.t;
    (*

    The size of the attached file in bytes.

    *)
  5. urlExpiryInSeconds : Values_1.URLExpiryInSeconds.t option;
    (*

    Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.

    *)
  6. fileUseCaseType : Values_0.FileUseCaseType.t;
    (*

    The use case for the file. Only ATTACHMENTS are supported.

    *)
  7. associatedResourceArn : Values_0.ARN.t;
    (*

    The resource to which the attached file is (being) uploaded to. The supported resources are Cases and Email. This value must be a valid ARN.

    *)
  8. createdBy : Values_0.CreatedByInfo.t option;
    (*

    Represents the identity that created the file.

    *)
  9. tags : Values_0.TagMap.t option;
    (*

    The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?urlExpiryInSeconds:??? -> ?createdBy:??? -> ?tags:??? -> instanceId:Values_0.InstanceId.t -> fileName:Values_0.FileName.t -> fileSizeInBytes:Values_0.FileSizeInBytes.t -> fileUseCaseType:Values_0.FileUseCaseType.t -> associatedResourceArn:Values_0.ARN.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Values_1.URLExpiryInSeconds.t | `Long of Values_0.FileSizeInBytes.t | `Map of ([> `String of string ] * [> `String of string ]) list | `String of Values_0.ClientToken.t | `Structure of (string * [> `String of string ]) 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