aws_sdk_route53globalresolver/client/
update_access_source.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 [`UpdateAccessSource`](crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`access_source_id(impl Into<String>)`](crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder::access_source_id) / [`set_access_source_id(Option<String>)`](crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder::set_access_source_id):<br>required: **true**<br><p>The unique identifier of the access source to update.</p><br>
7    ///   - [`cidr(impl Into<String>)`](crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder::cidr) / [`set_cidr(Option<String>)`](crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder::set_cidr):<br>required: **false**<br><p>The CIDR block for the access source.</p><br>
8    ///   - [`ip_address_type(IpAddressType)`](crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder::ip_address_type) / [`set_ip_address_type(Option<IpAddressType>)`](crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder::set_ip_address_type):<br>required: **false**<br><p>The IP address type for the access source.</p><br>
9    ///   - [`name(impl Into<String>)`](crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder::set_name):<br>required: **false**<br><p>The name of the access source.</p><br>
10    ///   - [`protocol(DnsProtocol)`](crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder::protocol) / [`set_protocol(Option<DnsProtocol>)`](crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder::set_protocol):<br>required: **false**<br><p>The protocol for the access source.</p><br>
11    /// - On success, responds with [`UpdateAccessSourceOutput`](crate::operation::update_access_source::UpdateAccessSourceOutput) with field(s):
12    ///   - [`arn(String)`](crate::operation::update_access_source::UpdateAccessSourceOutput::arn): <p>The Amazon Resource Name (ARN) of the updated access source.</p>
13    ///   - [`cidr(String)`](crate::operation::update_access_source::UpdateAccessSourceOutput::cidr): <p>The CIDR block of the updated access source.</p>
14    ///   - [`created_at(DateTime)`](crate::operation::update_access_source::UpdateAccessSourceOutput::created_at): <p>The date and time when the access source was originally created.</p>
15    ///   - [`id(String)`](crate::operation::update_access_source::UpdateAccessSourceOutput::id): <p>The unique identifier of the updated access source.</p>
16    ///   - [`ip_address_type(IpAddressType)`](crate::operation::update_access_source::UpdateAccessSourceOutput::ip_address_type): <p>The IP address type of the updated access source.</p>
17    ///   - [`name(Option<String>)`](crate::operation::update_access_source::UpdateAccessSourceOutput::name): <p>The name of the updated access source.</p>
18    ///   - [`dns_view_id(String)`](crate::operation::update_access_source::UpdateAccessSourceOutput::dns_view_id): <p>The ID of the DNS view associated with the updated access source.</p>
19    ///   - [`protocol(DnsProtocol)`](crate::operation::update_access_source::UpdateAccessSourceOutput::protocol): <p>The protocol of the updated access source.</p>
20    ///   - [`status(CrResourceStatus)`](crate::operation::update_access_source::UpdateAccessSourceOutput::status): <p>The current status of the updated access source.</p>
21    ///   - [`updated_at(DateTime)`](crate::operation::update_access_source::UpdateAccessSourceOutput::updated_at): <p>The date and time when the access source was last updated.</p>
22    /// - On failure, responds with [`SdkError<UpdateAccessSourceError>`](crate::operation::update_access_source::UpdateAccessSourceError)
23    pub fn update_access_source(&self) -> crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder {
24        crate::operation::update_access_source::builders::UpdateAccessSourceFluentBuilder::new(self.handle.clone())
25    }
26}