Struct aws_sdk_iot1clickprojects::operation::delete_placement::builders::DeletePlacementFluentBuilder    
source · pub struct DeletePlacementFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeletePlacement.
Deletes a placement. To delete a placement, it must not have any devices associated with it.
When you delete a placement, all associated data becomes irretrievable.
Implementations§
source§impl DeletePlacementFluentBuilder
 
impl DeletePlacementFluentBuilder
sourcepub fn as_input(&self) -> &DeletePlacementInputBuilder
 
pub fn as_input(&self) -> &DeletePlacementInputBuilder
Access the DeletePlacement as a reference.
sourcepub async fn send(
    self
) -> Result<DeletePlacementOutput, SdkError<DeletePlacementError, HttpResponse>>
 
pub async fn send( self ) -> Result<DeletePlacementOutput, SdkError<DeletePlacementError, 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 async fn customize(
    self
) -> Result<CustomizableOperation<DeletePlacementOutput, DeletePlacementError>, SdkError<DeletePlacementError>>
 
pub async fn customize( self ) -> Result<CustomizableOperation<DeletePlacementOutput, DeletePlacementError>, SdkError<DeletePlacementError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn placement_name(self, input: impl Into<String>) -> Self
 
pub fn placement_name(self, input: impl Into<String>) -> Self
The name of the empty placement to delete.
sourcepub fn set_placement_name(self, input: Option<String>) -> Self
 
pub fn set_placement_name(self, input: Option<String>) -> Self
The name of the empty placement to delete.
sourcepub fn get_placement_name(&self) -> &Option<String>
 
pub fn get_placement_name(&self) -> &Option<String>
The name of the empty placement to delete.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
 
pub fn project_name(self, input: impl Into<String>) -> Self
The project containing the empty placement to delete.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
 
pub fn set_project_name(self, input: Option<String>) -> Self
The project containing the empty placement to delete.
sourcepub fn get_project_name(&self) -> &Option<String>
 
pub fn get_project_name(&self) -> &Option<String>
The project containing the empty placement to delete.
Trait Implementations§
source§impl Clone for DeletePlacementFluentBuilder
 
impl Clone for DeletePlacementFluentBuilder
source§fn clone(&self) -> DeletePlacementFluentBuilder
 
fn clone(&self) -> DeletePlacementFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read more