Struct aws_sdk_clouddirectory::operation::delete_object::builders::DeleteObjectFluentBuilder
source · pub struct DeleteObjectFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteObject.
Deletes an object and its associated attributes. Only objects with no children and no parents can be deleted. The maximum number of attributes that can be deleted during an object deletion is 30. For more information, see Amazon Cloud Directory Limits.
Implementations§
source§impl DeleteObjectFluentBuilder
impl DeleteObjectFluentBuilder
sourcepub fn as_input(&self) -> &DeleteObjectInputBuilder
pub fn as_input(&self) -> &DeleteObjectInputBuilder
Access the DeleteObject as a reference.
sourcepub async fn send(
self
) -> Result<DeleteObjectOutput, SdkError<DeleteObjectError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteObjectOutput, SdkError<DeleteObjectError, HttpResponse>>
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, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteObjectOutput, DeleteObjectError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteObjectOutput, DeleteObjectError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn directory_arn(self, input: impl Into<String>) -> Self
pub fn directory_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.
sourcepub fn set_directory_arn(self, input: Option<String>) -> Self
pub fn set_directory_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.
sourcepub fn object_reference(self, input: ObjectReference) -> Self
pub fn object_reference(self, input: ObjectReference) -> Self
A reference that identifies the object.
sourcepub fn set_object_reference(self, input: Option<ObjectReference>) -> Self
pub fn set_object_reference(self, input: Option<ObjectReference>) -> Self
A reference that identifies the object.
sourcepub fn get_object_reference(&self) -> &Option<ObjectReference>
pub fn get_object_reference(&self) -> &Option<ObjectReference>
A reference that identifies the object.
Trait Implementations§
source§impl Clone for DeleteObjectFluentBuilder
impl Clone for DeleteObjectFluentBuilder
source§fn clone(&self) -> DeleteObjectFluentBuilder
fn clone(&self) -> DeleteObjectFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more