Struct aws_sdk_s3::input::SelectObjectContentInput [−][src]
#[non_exhaustive]pub struct SelectObjectContentInput {
pub bucket: Option<String>,
pub key: Option<String>,
pub sse_customer_algorithm: Option<String>,
pub sse_customer_key: Option<String>,
pub sse_customer_key_md5: Option<String>,
pub expression: Option<String>,
pub expression_type: Option<ExpressionType>,
pub request_progress: Option<RequestProgress>,
pub input_serialization: Option<InputSerialization>,
pub output_serialization: Option<OutputSerialization>,
pub scan_range: Option<ScanRange>,
pub expected_bucket_owner: Option<String>,
}
Expand description
Request to filter the contents of an Amazon S3 object based on a simple Structured Query Language (SQL) statement. In the request, along with the SQL expression, you must specify a data serialization format (JSON or CSV) of the object. Amazon S3 uses this to parse object data into records. It returns only records that match the specified SQL expression. You must also specify the data serialization format for the response. For more information, see S3Select API Documentation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bucket: Option<String>
The S3 bucket.
key: Option<String>
The object key.
sse_customer_algorithm: Option<String>
The SSE Algorithm used to encrypt the object. For more information, see Server-Side Encryption (Using Customer-Provided Encryption Keys.
sse_customer_key: Option<String>
The SSE Customer Key. For more information, see Server-Side Encryption (Using Customer-Provided Encryption Keys.
sse_customer_key_md5: Option<String>
The SSE Customer Key MD5. For more information, see Server-Side Encryption (Using Customer-Provided Encryption Keys.
expression: Option<String>
The expression that is used to query the object.
expression_type: Option<ExpressionType>
The type of the provided expression (for example, SQL).
request_progress: Option<RequestProgress>
Specifies if periodic request progress information should be enabled.
input_serialization: Option<InputSerialization>
Describes the format of the data in the object that is being queried.
output_serialization: Option<OutputSerialization>
Describes the format of the data that you want Amazon S3 to return in response.
scan_range: Option<ScanRange>
Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional, but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.
ScanRange
may be used in the following ways:
-
- process only the records starting between the bytes 50 and 100 (inclusive, counting from zero)50 100 -
- process only the records starting after the byte 5050 -
- process only the records within the last 50 bytes of the file.50
expected_bucket_owner: Option<String>
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied)
error.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SelectObjectContent, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SelectObjectContent, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SelectObjectContent
>
Creates a new builder-style object to manufacture SelectObjectContentInput
The SSE Algorithm used to encrypt the object. For more information, see Server-Side Encryption (Using Customer-Provided Encryption Keys.
The SSE Customer Key. For more information, see Server-Side Encryption (Using Customer-Provided Encryption Keys.
The SSE Customer Key MD5. For more information, see Server-Side Encryption (Using Customer-Provided Encryption Keys.
The expression that is used to query the object.
The type of the provided expression (for example, SQL).
Specifies if periodic request progress information should be enabled.
Describes the format of the data in the object that is being queried.
Describes the format of the data that you want Amazon S3 to return in response.
Specifies the byte range of the object to get the records from. A record is processed when its first byte is contained by the range. This parameter is optional, but when specified, it must not be empty. See RFC 2616, Section 14.35.1 about how to specify the start and end of the range.
ScanRange
may be used in the following ways:
-
- process only the records starting between the bytes 50 and 100 (inclusive, counting from zero)50 100 -
- process only the records starting after the byte 5050 -
- process only the records within the last 50 bytes of the file.50
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied)
error.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SelectObjectContentInput
impl Send for SelectObjectContentInput
impl Sync for SelectObjectContentInput
impl Unpin for SelectObjectContentInput
impl UnwindSafe for SelectObjectContentInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more