aws_sdk_workspacesweb/client/
associate_ip_access_settings.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateIpAccessSettings`](crate::operation::associate_ip_access_settings::builders::AssociateIpAccessSettingsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`portal_arn(impl Into<String>)`](crate::operation::associate_ip_access_settings::builders::AssociateIpAccessSettingsFluentBuilder::portal_arn) / [`set_portal_arn(Option<String>)`](crate::operation::associate_ip_access_settings::builders::AssociateIpAccessSettingsFluentBuilder::set_portal_arn):<br>required: **true**<br><p>The ARN of the web portal.</p><br>
    ///   - [`ip_access_settings_arn(impl Into<String>)`](crate::operation::associate_ip_access_settings::builders::AssociateIpAccessSettingsFluentBuilder::ip_access_settings_arn) / [`set_ip_access_settings_arn(Option<String>)`](crate::operation::associate_ip_access_settings::builders::AssociateIpAccessSettingsFluentBuilder::set_ip_access_settings_arn):<br>required: **true**<br><p>The ARN of the IP access settings.</p><br>
    /// - On success, responds with [`AssociateIpAccessSettingsOutput`](crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsOutput) with field(s):
    ///   - [`portal_arn(String)`](crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsOutput::portal_arn): <p>The ARN of the web portal.</p>
    ///   - [`ip_access_settings_arn(String)`](crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsOutput::ip_access_settings_arn): <p>The ARN of the IP access settings resource.</p>
    /// - On failure, responds with [`SdkError<AssociateIpAccessSettingsError>`](crate::operation::associate_ip_access_settings::AssociateIpAccessSettingsError)
    pub fn associate_ip_access_settings(&self) -> crate::operation::associate_ip_access_settings::builders::AssociateIpAccessSettingsFluentBuilder {
        crate::operation::associate_ip_access_settings::builders::AssociateIpAccessSettingsFluentBuilder::new(self.handle.clone())
    }
}