R/backupstorage_interfaces.R

Defines functions start_object_output start_object_input put_object_output put_object_input put_chunk_output put_chunk_input notify_object_complete_output notify_object_complete_input list_objects_output list_objects_input list_chunks_output list_chunks_input get_object_metadata_output get_object_metadata_input get_chunk_output get_chunk_input delete_object_output delete_object_input

# This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common populate
#' @include backupstorage_service.R
NULL

.backupstorage$delete_object_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(BackupJobId = structure(logical(0), tags = list(location = "uri", locationName = "jobId", type = "string")), ObjectName = structure(logical(0), tags = list(location = "uri", locationName = "objectName", type = "string"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.backupstorage$delete_object_output <- function(...) {
  list()
}

.backupstorage$get_chunk_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(StorageJobId = structure(logical(0), tags = list(location = "uri", locationName = "jobId", type = "string")), ChunkToken = structure(logical(0), tags = list(location = "uri", locationName = "chunkToken", type = "string"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.backupstorage$get_chunk_output <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(Data = structure(logical(0), tags = list(type = "blob", streaming = TRUE)), Length = structure(logical(0), tags = list(location = "header", locationName = "x-amz-data-length", type = "long")), Checksum = structure(logical(0), tags = list(location = "header", locationName = "x-amz-checksum", type = "string")), ChecksumAlgorithm = structure(logical(0), tags = list(location = "header", locationName = "x-amz-checksum-algorithm", type = "string"))), tags = list(type = "structure", payload = "Data"))
  return(populate(args, shape))
}

.backupstorage$get_object_metadata_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(StorageJobId = structure(logical(0), tags = list(location = "uri", locationName = "jobId", type = "string")), ObjectToken = structure(logical(0), tags = list(location = "uri", locationName = "objectToken", type = "string"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.backupstorage$get_object_metadata_output <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(MetadataString = structure(logical(0), tags = list(location = "header", locationName = "x-amz-metadata-string", type = "string")), MetadataBlob = structure(logical(0), tags = list(type = "blob", streaming = TRUE)), MetadataBlobLength = structure(logical(0), tags = list(location = "header", locationName = "x-amz-data-length", type = "long")), MetadataBlobChecksum = structure(logical(0), tags = list(location = "header", locationName = "x-amz-checksum", type = "string")), MetadataBlobChecksumAlgorithm = structure(logical(0), tags = list(location = "header", locationName = "x-amz-checksum-algorithm", type = "string"))), tags = list(type = "structure", payload = "MetadataBlob"))
  return(populate(args, shape))
}

.backupstorage$list_chunks_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(StorageJobId = structure(logical(0), tags = list(location = "uri", locationName = "jobId", type = "string")), ObjectToken = structure(logical(0), tags = list(location = "uri", locationName = "objectToken", type = "string")), MaxResults = structure(logical(0), tags = list(location = "querystring", locationName = "max-results", type = "integer")), NextToken = structure(logical(0), tags = list(location = "querystring", locationName = "next-token", type = "string"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.backupstorage$list_chunks_output <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(ChunkList = structure(list(structure(list(Index = structure(logical(0), tags = list(type = "long")), Length = structure(logical(0), tags = list(type = "long")), Checksum = structure(logical(0), tags = list(type = "string")), ChecksumAlgorithm = structure(logical(0), tags = list(type = "string")), ChunkToken = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure"))), tags = list(type = "list")), NextToken = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.backupstorage$list_objects_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(StorageJobId = structure(logical(0), tags = list(location = "uri", locationName = "jobId", type = "string")), StartingObjectName = structure(logical(0), tags = list(location = "querystring", locationName = "starting-object-name", type = "string")), StartingObjectPrefix = structure(logical(0), tags = list(location = "querystring", locationName = "starting-object-prefix", type = "string")), MaxResults = structure(logical(0), tags = list(location = "querystring", locationName = "max-results", type = "integer")), NextToken = structure(logical(0), tags = list(location = "querystring", locationName = "next-token", type = "string")), CreatedBefore = structure(logical(0), tags = list(location = "querystring", locationName = "created-before", type = "timestamp")), CreatedAfter = structure(logical(0), tags = list(location = "querystring", locationName = "created-after", type = "timestamp"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.backupstorage$list_objects_output <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(ObjectList = structure(list(structure(list(Name = structure(logical(0), tags = list(type = "string")), ChunksCount = structure(logical(0), tags = list(type = "long")), MetadataString = structure(logical(0), tags = list(type = "string")), ObjectChecksum = structure(logical(0), tags = list(type = "string")), ObjectChecksumAlgorithm = structure(logical(0), tags = list(type = "string")), ObjectToken = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure"))), tags = list(type = "list")), NextToken = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.backupstorage$notify_object_complete_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(BackupJobId = structure(logical(0), tags = list(location = "uri", locationName = "jobId", type = "string")), UploadId = structure(logical(0), tags = list(location = "uri", locationName = "uploadId", type = "string")), ObjectChecksum = structure(logical(0), tags = list(location = "querystring", locationName = "checksum", type = "string")), ObjectChecksumAlgorithm = structure(logical(0), tags = list(location = "querystring", locationName = "checksum-algorithm", type = "string")), MetadataString = structure(logical(0), tags = list(location = "querystring", locationName = "metadata-string", type = "string")), MetadataBlob = structure(logical(0), tags = list(type = "blob", streaming = TRUE)), MetadataBlobLength = structure(logical(0), tags = list(location = "querystring", locationName = "metadata-blob-length", type = "long")), MetadataBlobChecksum = structure(logical(0), tags = list(location = "querystring", locationName = "metadata-checksum", type = "string")), MetadataBlobChecksumAlgorithm = structure(logical(0), tags = list(location = "querystring", locationName = "metadata-checksum-algorithm", type = "string"))), tags = list(type = "structure", payload = "MetadataBlob"))
  return(populate(args, shape))
}

.backupstorage$notify_object_complete_output <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(ObjectChecksum = structure(logical(0), tags = list(type = "string")), ObjectChecksumAlgorithm = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.backupstorage$put_chunk_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(BackupJobId = structure(logical(0), tags = list(location = "uri", locationName = "jobId", type = "string")), UploadId = structure(logical(0), tags = list(location = "uri", locationName = "uploadId", type = "string")), ChunkIndex = structure(logical(0), tags = list(location = "uri", locationName = "chunkIndex", type = "long")), Data = structure(logical(0), tags = list(type = "blob", streaming = TRUE)), Length = structure(logical(0), tags = list(location = "querystring", locationName = "length", type = "long")), Checksum = structure(logical(0), tags = list(location = "querystring", locationName = "checksum", type = "string")), ChecksumAlgorithm = structure(logical(0), tags = list(location = "querystring", locationName = "checksum-algorithm", type = "string"))), tags = list(type = "structure", payload = "Data"))
  return(populate(args, shape))
}

.backupstorage$put_chunk_output <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(ChunkChecksum = structure(logical(0), tags = list(type = "string")), ChunkChecksumAlgorithm = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.backupstorage$put_object_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(BackupJobId = structure(logical(0), tags = list(location = "uri", locationName = "jobId", type = "string")), ObjectName = structure(logical(0), tags = list(location = "uri", locationName = "objectName", type = "string")), MetadataString = structure(logical(0), tags = list(location = "querystring", locationName = "metadata-string", type = "string")), InlineChunk = structure(logical(0), tags = list(type = "blob", streaming = TRUE)), InlineChunkLength = structure(logical(0), tags = list(location = "querystring", locationName = "length", type = "long")), InlineChunkChecksum = structure(logical(0), tags = list(location = "querystring", locationName = "checksum", type = "string")), InlineChunkChecksumAlgorithm = structure(logical(0), tags = list(location = "querystring", locationName = "checksum-algorithm", type = "string")), ObjectChecksum = structure(logical(0), tags = list(location = "querystring", locationName = "object-checksum", type = "string")), ObjectChecksumAlgorithm = structure(logical(0), tags = list(location = "querystring", locationName = "object-checksum-algorithm", type = "string")), ThrowOnDuplicate = structure(logical(0), tags = list(location = "querystring", locationName = "throwOnDuplicate", type = "boolean"))), tags = list(type = "structure", payload = "InlineChunk"))
  return(populate(args, shape))
}

.backupstorage$put_object_output <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(InlineChunkChecksum = structure(logical(0), tags = list(type = "string")), InlineChunkChecksumAlgorithm = structure(logical(0), tags = list(type = "string")), ObjectChecksum = structure(logical(0), tags = list(type = "string")), ObjectChecksumAlgorithm = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.backupstorage$start_object_input <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(BackupJobId = structure(logical(0), tags = list(location = "uri", locationName = "jobId", type = "string")), ObjectName = structure(logical(0), tags = list(location = "uri", locationName = "objectName", type = "string")), ThrowOnDuplicate = structure(logical(0), tags = list(type = "boolean"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

.backupstorage$start_object_output <- function(...) {
  args <- c(as.list(environment()), list(...))
  shape <- structure(list(UploadId = structure(logical(0), tags = list(type = "string"))), tags = list(type = "structure"))
  return(populate(args, shape))
}

Try the paws.storage package in your browser

Any scripts or data that you put into this service are public.

paws.storage documentation built on Sept. 12, 2023, 1:23 a.m.