aws_sdk_deadline/client/
delete_metered_product.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteMeteredProduct`](crate::operation::delete_metered_product::builders::DeleteMeteredProductFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`license_endpoint_id(impl Into<String>)`](crate::operation::delete_metered_product::builders::DeleteMeteredProductFluentBuilder::license_endpoint_id) / [`set_license_endpoint_id(Option<String>)`](crate::operation::delete_metered_product::builders::DeleteMeteredProductFluentBuilder::set_license_endpoint_id):<br>required: **true**<br><p>The ID of the license endpoint from which to remove the metered product.</p><br>
    ///   - [`product_id(impl Into<String>)`](crate::operation::delete_metered_product::builders::DeleteMeteredProductFluentBuilder::product_id) / [`set_product_id(Option<String>)`](crate::operation::delete_metered_product::builders::DeleteMeteredProductFluentBuilder::set_product_id):<br>required: **true**<br><p>The product ID to remove from the license endpoint.</p><br>
    /// - On success, responds with [`DeleteMeteredProductOutput`](crate::operation::delete_metered_product::DeleteMeteredProductOutput)
    /// - On failure, responds with [`SdkError<DeleteMeteredProductError>`](crate::operation::delete_metered_product::DeleteMeteredProductError)
    pub fn delete_metered_product(&self) -> crate::operation::delete_metered_product::builders::DeleteMeteredProductFluentBuilder {
        crate::operation::delete_metered_product::builders::DeleteMeteredProductFluentBuilder::new(self.handle.clone())
    }
}