aws_sdk_route53globalresolver/client/
delete_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 [`DeleteAccessSource`](crate::operation::delete_access_source::builders::DeleteAccessSourceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`access_source_id(impl Into<String>)`](crate::operation::delete_access_source::builders::DeleteAccessSourceFluentBuilder::access_source_id) / [`set_access_source_id(Option<String>)`](crate::operation::delete_access_source::builders::DeleteAccessSourceFluentBuilder::set_access_source_id):<br>required: **true**<br><p>The unique identifier of the access source to delete.</p><br>
7    /// - On success, responds with [`DeleteAccessSourceOutput`](crate::operation::delete_access_source::DeleteAccessSourceOutput) with field(s):
8    ///   - [`arn(String)`](crate::operation::delete_access_source::DeleteAccessSourceOutput::arn): <p>The Amazon Resource Name (ARN) of the deleted access source.</p>
9    ///   - [`cidr(String)`](crate::operation::delete_access_source::DeleteAccessSourceOutput::cidr): <p>The IP address or CIDR range of the deleted access source.</p>
10    ///   - [`created_at(DateTime)`](crate::operation::delete_access_source::DeleteAccessSourceOutput::created_at): <p>The date and time when the access source was originally created.</p>
11    ///   - [`id(String)`](crate::operation::delete_access_source::DeleteAccessSourceOutput::id): <p>The unique identifier of the deleted access source.</p>
12    ///   - [`ip_address_type(IpAddressType)`](crate::operation::delete_access_source::DeleteAccessSourceOutput::ip_address_type): <p>The IP address type of the deleted access source (IPv4 or IPv6).</p>
13    ///   - [`name(Option<String>)`](crate::operation::delete_access_source::DeleteAccessSourceOutput::name): <p>The name of the deleted access source.</p>
14    ///   - [`dns_view_id(String)`](crate::operation::delete_access_source::DeleteAccessSourceOutput::dns_view_id): <p>The ID of the DNS view that was associated with the deleted access source.</p>
15    ///   - [`protocol(DnsProtocol)`](crate::operation::delete_access_source::DeleteAccessSourceOutput::protocol): <p>The DNS protocol that was permitted for the deleted access source.</p>
16    ///   - [`status(CrResourceStatus)`](crate::operation::delete_access_source::DeleteAccessSourceOutput::status): <p>The final status of the deleted access source.</p>
17    ///   - [`updated_at(DateTime)`](crate::operation::delete_access_source::DeleteAccessSourceOutput::updated_at): <p>The date and time when the access source was last updated before deletion.</p>
18    /// - On failure, responds with [`SdkError<DeleteAccessSourceError>`](crate::operation::delete_access_source::DeleteAccessSourceError)
19    pub fn delete_access_source(&self) -> crate::operation::delete_access_source::builders::DeleteAccessSourceFluentBuilder {
20        crate::operation::delete_access_source::builders::DeleteAccessSourceFluentBuilder::new(self.handle.clone())
21    }
22}