Module Values_1.GetAttachedFileResponseSource

Response from GetAttachedFile API.

Sourcetype nonrec t = {
  1. fileArn : Values_0.ARN.t option;
    (*

    The unique identifier of the attached file resource (ARN).

    *)
  2. fileId : Values_0.FileId.t option;
    (*

    The unique identifier of the attached file resource.

    *)
  3. creationTime : Values_0.ISO8601Datetime.t option;
    (*

    The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2024-05-03T02:41:28.172Z.

    *)
  4. fileStatus : Values_0.FileStatusType.t option;
    (*

    The current status of the attached file.

    *)
  5. fileName : Values_0.FileName.t option;
    (*

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

    *)
  6. fileSizeInBytes : Values_0.FileSizeInBytes.t option;
    (*

    The size of the attached file in bytes.

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

    The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

    *)
  8. fileUseCaseType : Values_0.FileUseCaseType.t option;
    (*

    The use case for the file.

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

    Represents the identity that created the file.

    *)
  10. downloadUrlMetadata : DownloadUrlMetadata.t option;
    (*

    URL and expiry to be used when downloading the attached file.

    *)
  11. 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"} }.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of Values_0.AccessDeniedException.t
  2. | `InternalServiceException of Values_0.InternalServiceException.t
  3. | `InvalidRequestException of Values_0.InvalidRequestException.t
  4. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  5. | `ThrottlingException of Values_0.ThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?fileArn:??? -> ?fileId:??? -> ?creationTime:??? -> ?fileStatus:??? -> ?fileName:??? -> ?fileSizeInBytes:??? -> ?associatedResourceArn:??? -> ?fileUseCaseType:??? -> ?createdBy:??? -> ?downloadUrlMetadata:??? -> ?tags:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of Values_0.FileSizeInBytes.t | `Map of ([> `String of string ] * [> `String of string ]) list | `String of Values_0.ARN.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