#[non_exhaustive]pub struct NotifyObjectCompleteInput {
pub metadata_blob: ByteStream,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.metadata_blob: ByteStream
Optional metadata associated with an Object. Maximum length is 4MB.
Implementations§
source§impl NotifyObjectCompleteInput
impl NotifyObjectCompleteInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<NotifyObjectComplete, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<NotifyObjectComplete, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<NotifyObjectComplete
>
Examples found in repository?
src/client.rs (line 802)
788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::NotifyObjectComplete,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::NotifyObjectCompleteError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::NotifyObjectCompleteOutput,
aws_smithy_http::result::SdkError<crate::error::NotifyObjectCompleteError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NotifyObjectCompleteInput
.
source§impl NotifyObjectCompleteInput
impl NotifyObjectCompleteInput
sourcepub fn backup_job_id(&self) -> Option<&str>
pub fn backup_job_id(&self) -> Option<&str>
Backup job Id for the in-progress backup
sourcepub fn object_checksum(&self) -> Option<&str>
pub fn object_checksum(&self) -> Option<&str>
Object checksum
sourcepub fn object_checksum_algorithm(&self) -> Option<&SummaryChecksumAlgorithm>
pub fn object_checksum_algorithm(&self) -> Option<&SummaryChecksumAlgorithm>
Checksum algorithm
sourcepub fn metadata_string(&self) -> Option<&str>
pub fn metadata_string(&self) -> Option<&str>
Optional metadata associated with an Object. Maximum string length is 256 bytes.
sourcepub fn metadata_blob(&self) -> &ByteStream
pub fn metadata_blob(&self) -> &ByteStream
Optional metadata associated with an Object. Maximum length is 4MB.
sourcepub fn metadata_blob_length(&self) -> i64
pub fn metadata_blob_length(&self) -> i64
The size of MetadataBlob.
sourcepub fn metadata_blob_checksum(&self) -> Option<&str>
pub fn metadata_blob_checksum(&self) -> Option<&str>
Checksum of MetadataBlob.
sourcepub fn metadata_blob_checksum_algorithm(&self) -> Option<&DataChecksumAlgorithm>
pub fn metadata_blob_checksum_algorithm(&self) -> Option<&DataChecksumAlgorithm>
Checksum algorithm.