Struct aws_sdk_iot::input::UpdateBillingGroupInput
source · #[non_exhaustive]pub struct UpdateBillingGroupInput { /* private fields */ }
Implementations§
source§impl UpdateBillingGroupInput
impl UpdateBillingGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateBillingGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateBillingGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateBillingGroup
>
Examples found in repository?
src/client.rs (line 25261)
25247 25248 25249 25250 25251 25252 25253 25254 25255 25256 25257 25258 25259 25260 25261 25262 25263 25264 25265 25266 25267 25268 25269 25270 25271 25272 25273 25274 25275 25276 25277 25278 25279 25280 25281 25282 25283 25284 25285 25286 25287 25288 25289
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateBillingGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateBillingGroupError>,
> {
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::UpdateBillingGroupOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateBillingGroupError>,
> {
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 UpdateBillingGroupInput
.
source§impl UpdateBillingGroupInput
impl UpdateBillingGroupInput
sourcepub fn billing_group_name(&self) -> Option<&str>
pub fn billing_group_name(&self) -> Option<&str>
The name of the billing group.
sourcepub fn billing_group_properties(&self) -> Option<&BillingGroupProperties>
pub fn billing_group_properties(&self) -> Option<&BillingGroupProperties>
The properties of the billing group.
sourcepub fn expected_version(&self) -> Option<i64>
pub fn expected_version(&self) -> Option<i64>
The expected version of the billing group. If the version of the billing group does not match the expected version specified in the request, the UpdateBillingGroup
request is rejected with a VersionConflictException
.
Trait Implementations§
source§impl Clone for UpdateBillingGroupInput
impl Clone for UpdateBillingGroupInput
source§fn clone(&self) -> UpdateBillingGroupInput
fn clone(&self) -> UpdateBillingGroupInput
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 more