Struct aws_sdk_iot1clickdevices::operation::get_device_methods::builders::GetDeviceMethodsFluentBuilder
source · pub struct GetDeviceMethodsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetDeviceMethods.
Given a device ID, returns the invokable methods associated with the device.
Implementations§
source§impl GetDeviceMethodsFluentBuilder
impl GetDeviceMethodsFluentBuilder
sourcepub fn as_input(&self) -> &GetDeviceMethodsInputBuilder
pub fn as_input(&self) -> &GetDeviceMethodsInputBuilder
Access the GetDeviceMethods as a reference.
sourcepub async fn send(
self
) -> Result<GetDeviceMethodsOutput, SdkError<GetDeviceMethodsError, HttpResponse>>
pub async fn send( self ) -> Result<GetDeviceMethodsOutput, SdkError<GetDeviceMethodsError, 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<GetDeviceMethodsOutput, GetDeviceMethodsError>, SdkError<GetDeviceMethodsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetDeviceMethodsOutput, GetDeviceMethodsError>, SdkError<GetDeviceMethodsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn set_device_id(self, input: Option<String>) -> Self
pub fn set_device_id(self, input: Option<String>) -> Self
The unique identifier of the device.
sourcepub fn get_device_id(&self) -> &Option<String>
pub fn get_device_id(&self) -> &Option<String>
The unique identifier of the device.
Trait Implementations§
source§impl Clone for GetDeviceMethodsFluentBuilder
impl Clone for GetDeviceMethodsFluentBuilder
source§fn clone(&self) -> GetDeviceMethodsFluentBuilder
fn clone(&self) -> GetDeviceMethodsFluentBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for GetDeviceMethodsFluentBuilder
impl Send for GetDeviceMethodsFluentBuilder
impl Sync for GetDeviceMethodsFluentBuilder
impl Unpin for GetDeviceMethodsFluentBuilder
impl !UnwindSafe for GetDeviceMethodsFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more