aws_sdk_braket/client/update_spending_limit.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateSpendingLimit`](crate::operation::update_spending_limit::builders::UpdateSpendingLimitFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`spending_limit_arn(impl Into<String>)`](crate::operation::update_spending_limit::builders::UpdateSpendingLimitFluentBuilder::spending_limit_arn) / [`set_spending_limit_arn(Option<String>)`](crate::operation::update_spending_limit::builders::UpdateSpendingLimitFluentBuilder::set_spending_limit_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the spending limit to update.</p><br>
7 /// - [`client_token(impl Into<String>)`](crate::operation::update_spending_limit::builders::UpdateSpendingLimitFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_spending_limit::builders::UpdateSpendingLimitFluentBuilder::set_client_token):<br>required: **true**<br><p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Braket ignores the request, but does not return an error.</p><br>
8 /// - [`spending_limit(impl Into<String>)`](crate::operation::update_spending_limit::builders::UpdateSpendingLimitFluentBuilder::spending_limit) / [`set_spending_limit(Option<String>)`](crate::operation::update_spending_limit::builders::UpdateSpendingLimitFluentBuilder::set_spending_limit):<br>required: **false**<br><p>The new maximum amount that can be spent on the specified device, in USD.</p><br>
9 /// - [`time_period(TimePeriod)`](crate::operation::update_spending_limit::builders::UpdateSpendingLimitFluentBuilder::time_period) / [`set_time_period(Option<TimePeriod>)`](crate::operation::update_spending_limit::builders::UpdateSpendingLimitFluentBuilder::set_time_period):<br>required: **false**<br><p>The new time period during which the spending limit is active, including start and end dates.</p><br>
10 /// - On success, responds with [`UpdateSpendingLimitOutput`](crate::operation::update_spending_limit::UpdateSpendingLimitOutput)
11 /// - On failure, responds with [`SdkError<UpdateSpendingLimitError>`](crate::operation::update_spending_limit::UpdateSpendingLimitError)
12 pub fn update_spending_limit(&self) -> crate::operation::update_spending_limit::builders::UpdateSpendingLimitFluentBuilder {
13 crate::operation::update_spending_limit::builders::UpdateSpendingLimitFluentBuilder::new(self.handle.clone())
14 }
15}