aws-sdk-opsworks 0.27.0

AWS SDK for AWS OpsWorks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateElasticIp`](crate::operation::associate_elastic_ip::builders::AssociateElasticIpFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`elastic_ip(impl Into<String>)`](crate::operation::associate_elastic_ip::builders::AssociateElasticIpFluentBuilder::elastic_ip) / [`set_elastic_ip(Option<String>)`](crate::operation::associate_elastic_ip::builders::AssociateElasticIpFluentBuilder::set_elastic_ip): <p>The Elastic IP address.</p>
    ///   - [`instance_id(impl Into<String>)`](crate::operation::associate_elastic_ip::builders::AssociateElasticIpFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::associate_elastic_ip::builders::AssociateElasticIpFluentBuilder::set_instance_id): <p>The instance ID.</p>
    /// - On success, responds with [`AssociateElasticIpOutput`](crate::operation::associate_elastic_ip::AssociateElasticIpOutput)
    /// - On failure, responds with [`SdkError<AssociateElasticIpError>`](crate::operation::associate_elastic_ip::AssociateElasticIpError)
    pub fn associate_elastic_ip(
        &self,
    ) -> crate::operation::associate_elastic_ip::builders::AssociateElasticIpFluentBuilder {
        crate::operation::associate_elastic_ip::builders::AssociateElasticIpFluentBuilder::new(
            self.handle.clone(),
        )
    }
}