class Aws::S3::Types::RestoreRequest


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreRequest AWS API Documentation
@return [Types::OutputLocation]
Describes the location where the restore job’s output is stored.
@!attribute [rw] output_location
@return [Types::SelectParameters]
Describes the parameters for Select job types.
@!attribute [rw] select_parameters
@return [String]
The optional description for the job.
@!attribute [rw] description
@return [String]
Retrieval tier at which the restore will be processed.
@!attribute [rw] tier
@return [String]
Type of restore request.
@!attribute [rw] type
@return [Types::GlacierJobParameters]
with restores that specify ‘OutputLocation`.
S3 Glacier related parameters pertaining to this job. Do not use
@!attribute [rw] glacier_job_parameters
@return [Integer]
provided for select requests.
The Days element is required for regular restores, and must not be
specify `OutputLocation`.
Lifetime of the active copy in days. Do not use with restores that
@!attribute [rw] days
}
},
},
storage_class: “STANDARD”, # accepts STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
],
},
value: “MetadataValue”,
name: “MetadataKey”,
{
user_metadata: [
},
],
},
value: “Value”, # required
key: “ObjectKey”, # required
{
tag_set: [ # required
tagging: {
],
},
permission: “FULL_CONTROL”, # accepts FULL_CONTROL, WRITE, WRITE_ACP, READ, READ_ACP
},
uri: “URI”,
type: “CanonicalUser”, # required, accepts CanonicalUser, AmazonCustomerByEmail, Group
id: “ID”,
email_address: “EmailAddress”,
display_name: “DisplayName”,
grantee: {
{
access_control_list: [
canned_acl: “private”, # accepts private, public-read, public-read-write, authenticated-read, aws-exec-read, bucket-owner-read, bucket-owner-full-control
},
kms_context: “KMSContext”,
kms_key_id: “SSEKMSKeyId”,
encryption_type: “AES256”, # required, accepts AES256, aws:kms
encryption: {
prefix: “LocationPrefix”, # required
bucket_name: “BucketName”, # required
s3: {
output_location: {
},
},
},
record_delimiter: “RecordDelimiter”,
json: {
},
quote_character: “QuoteCharacter”,
field_delimiter: “FieldDelimiter”,
record_delimiter: “RecordDelimiter”,
quote_escape_character: “QuoteEscapeCharacter”,
quote_fields: “ALWAYS”, # accepts ALWAYS, ASNEEDED
csv: {
output_serialization: { # required
expression: “Expression”, # required
expression_type: “SQL”, # required, accepts SQL
},
},
parquet: {
},
type: “DOCUMENT”, # accepts DOCUMENT, LINES
json: {
compression_type: “NONE”, # accepts NONE, GZIP, BZIP2
},
allow_quoted_record_delimiter: false,
quote_character: “QuoteCharacter”,
field_delimiter: “FieldDelimiter”,
record_delimiter: “RecordDelimiter”,
quote_escape_character: “QuoteEscapeCharacter”,
comments: “Comments”,
file_header_info: “USE”, # accepts USE, IGNORE, NONE
csv: {
input_serialization: { # required
select_parameters: {
description: “Description”,
tier: “Standard”, # accepts Standard, Bulk, Expedited
type: “SELECT”, # accepts SELECT
},
tier: “Standard”, # required, accepts Standard, Bulk, Expedited
glacier_job_parameters: {
days: 1,
{
data as a hash:
@note When making an API call, you may pass RestoreRequest
Container for restore job parameters.