Struct aws_sdk_iot::client::fluent_builders::AddThingToBillingGroup
source · pub struct AddThingToBillingGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to AddThingToBillingGroup
.
Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
Implementations§
source§impl AddThingToBillingGroup
impl AddThingToBillingGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AddThingToBillingGroup, AwsResponseRetryClassifier>, SdkError<AddThingToBillingGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AddThingToBillingGroup, AwsResponseRetryClassifier>, SdkError<AddThingToBillingGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AddThingToBillingGroupOutput, SdkError<AddThingToBillingGroupError>>
pub async fn send(
self
) -> Result<AddThingToBillingGroupOutput, SdkError<AddThingToBillingGroupError>>
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 billing_group_name(self, input: impl Into<String>) -> Self
pub fn billing_group_name(self, input: impl Into<String>) -> Self
The name of the billing group.
This call is asynchronous. It might take several seconds for the detachment to propagate.
sourcepub fn set_billing_group_name(self, input: Option<String>) -> Self
pub fn set_billing_group_name(self, input: Option<String>) -> Self
The name of the billing group.
This call is asynchronous. It might take several seconds for the detachment to propagate.
sourcepub fn billing_group_arn(self, input: impl Into<String>) -> Self
pub fn billing_group_arn(self, input: impl Into<String>) -> Self
The ARN of the billing group.
sourcepub fn set_billing_group_arn(self, input: Option<String>) -> Self
pub fn set_billing_group_arn(self, input: Option<String>) -> Self
The ARN of the billing group.
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The name of the thing to be added to the billing group.
sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The name of the thing to be added to the billing group.
sourcepub fn thing_arn(self, input: impl Into<String>) -> Self
pub fn thing_arn(self, input: impl Into<String>) -> Self
The ARN of the thing to be added to the billing group.
sourcepub fn set_thing_arn(self, input: Option<String>) -> Self
pub fn set_thing_arn(self, input: Option<String>) -> Self
The ARN of the thing to be added to the billing group.
Trait Implementations§
source§impl Clone for AddThingToBillingGroup
impl Clone for AddThingToBillingGroup
source§fn clone(&self) -> AddThingToBillingGroup
fn clone(&self) -> AddThingToBillingGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more