Module: Peddler::Types::Uploads20201101
- Defined in:
- lib/peddler/types/uploads_2020_11_01/error.rb,
lib/peddler/types/uploads_2020_11_01/upload_destination.rb,
lib/peddler/types/uploads_2020_11_01/create_upload_destination_response.rb
Constant Summary collapse
- Error =
Error response returned when the request is unsuccessful.
Structure.new do # @return [String] An error code that identifies the type of error that occurred. attribute(:code, String) # @return [String] A message that describes the error condition in a human-readable form. attribute(:message, String) # @return [String] Additional details that can help the caller understand or fix the issue. attribute(:details, String) end
- UploadDestination =
Information about an upload destination.
Structure.new do # @return [String] The unique identifier for the upload destination. attribute(:upload_destination_id, String, from: "uploadDestinationId") # @return [String] The URL for the upload destination. attribute(:url, String) # @return [Hash] The headers to include in the upload request. attribute(:headers, Hash) end
- CreateUploadDestinationResponse =
The response schema for the createUploadDestination operation.
Structure.new do # @return [UploadDestination] attribute(:payload, UploadDestination) # @return [Array<Error>] attribute(:errors, [Error]) end