1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PurchaseReservedNodesOffering`](crate::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`reserved_nodes_offering_id(impl ::std::convert::Into<String>)`](crate::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder::reserved_nodes_offering_id) / [`set_reserved_nodes_offering_id(Option<String>)`](crate::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder::set_reserved_nodes_offering_id): <p>The ID of the reserved node offering to purchase.</p>
    ///   - [`reservation_id(impl ::std::convert::Into<String>)`](crate::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder::reservation_id) / [`set_reservation_id(Option<String>)`](crate::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder::set_reservation_id): <p>A customer-specified identifier to track this reservation.</p>
    ///   - [`node_count(i32)`](crate::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder::node_count) / [`set_node_count(Option<i32>)`](crate::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder::set_node_count): <p>The number of node instances to reserve.</p>
    ///   - [`tags(Vec<Tag>)`](crate::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder::set_tags): <p>A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.</p>
    /// - On success, responds with [`PurchaseReservedNodesOfferingOutput`](crate::operation::purchase_reserved_nodes_offering::PurchaseReservedNodesOfferingOutput) with field(s):
    ///   - [`reserved_node(Option<ReservedNode>)`](crate::operation::purchase_reserved_nodes_offering::PurchaseReservedNodesOfferingOutput::reserved_node): <p>Represents the output of a <code>PurchaseReservedNodesOffering</code> operation.</p>
    /// - On failure, responds with [`SdkError<PurchaseReservedNodesOfferingError>`](crate::operation::purchase_reserved_nodes_offering::PurchaseReservedNodesOfferingError)
    pub fn purchase_reserved_nodes_offering(&self) -> crate::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder{
        crate::operation::purchase_reserved_nodes_offering::builders::PurchaseReservedNodesOfferingFluentBuilder::new(self.handle.clone())
    }
}