Struct aws_sdk_s3::input::SelectObjectContentInput
source · [−]#[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:
-
50 100 -
50 -
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
sourceimpl SelectObjectContentInput
impl SelectObjectContentInput
sourcepub 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SelectObjectContentInput
sourceimpl SelectObjectContentInput
impl SelectObjectContentInput
sourcepub fn sse_customer_algorithm(&self) -> Option<&str>
pub fn sse_customer_algorithm(&self) -> Option<&str>
The SSE Algorithm used to encrypt the object. For more information, see Server-Side Encryption (Using Customer-Provided Encryption Keys.
sourcepub fn sse_customer_key(&self) -> Option<&str>
pub fn sse_customer_key(&self) -> Option<&str>
The SSE Customer Key. For more information, see Server-Side Encryption (Using Customer-Provided Encryption Keys.
sourcepub fn sse_customer_key_md5(&self) -> Option<&str>
pub fn sse_customer_key_md5(&self) -> Option<&str>
The SSE Customer Key MD5. For more information, see Server-Side Encryption (Using Customer-Provided Encryption Keys.
sourcepub fn expression(&self) -> Option<&str>
pub fn expression(&self) -> Option<&str>
The expression that is used to query the object.
sourcepub fn expression_type(&self) -> Option<&ExpressionType>
pub fn expression_type(&self) -> Option<&ExpressionType>
The type of the provided expression (for example, SQL).
sourcepub fn request_progress(&self) -> Option<&RequestProgress>
pub fn request_progress(&self) -> Option<&RequestProgress>
Specifies if periodic request progress information should be enabled.
sourcepub fn input_serialization(&self) -> Option<&InputSerialization>
pub fn input_serialization(&self) -> Option<&InputSerialization>
Describes the format of the data in the object that is being queried.
sourcepub fn output_serialization(&self) -> Option<&OutputSerialization>
pub fn output_serialization(&self) -> Option<&OutputSerialization>
Describes the format of the data that you want Amazon S3 to return in response.
sourcepub fn scan_range(&self) -> Option<&ScanRange>
pub fn scan_range(&self) -> 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:
-
50 100 -
50 -
50
sourcepub fn expected_bucket_owner(&self) -> Option<&str>
pub fn expected_bucket_owner(&self) -> Option<&str>
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
sourceimpl Clone for SelectObjectContentInput
impl Clone for SelectObjectContentInput
sourcefn clone(&self) -> SelectObjectContentInput
fn clone(&self) -> SelectObjectContentInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SelectObjectContentInput
impl Debug for SelectObjectContentInput
sourceimpl PartialEq<SelectObjectContentInput> for SelectObjectContentInput
impl PartialEq<SelectObjectContentInput> for SelectObjectContentInput
sourcefn eq(&self, other: &SelectObjectContentInput) -> bool
fn eq(&self, other: &SelectObjectContentInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SelectObjectContentInput) -> bool
fn ne(&self, other: &SelectObjectContentInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for SelectObjectContentInput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more