#[non_exhaustive]pub struct ListHostedZonesByNameOutput {
pub hosted_zones: Vec<HostedZone>,
pub dns_name: Option<String>,
pub hosted_zone_id: Option<String>,
pub is_truncated: bool,
pub next_dns_name: Option<String>,
pub next_hosted_zone_id: Option<String>,
pub max_items: i32,
/* private fields */
}
Expand description
A complex type that contains the response information for the request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.hosted_zones: Vec<HostedZone>
A complex type that contains general information about the hosted zone.
dns_name: Option<String>
For the second and subsequent calls to ListHostedZonesByName
, DNSName
is the value that you specified for the dnsname
parameter in the request that produced the current response.
hosted_zone_id: Option<String>
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
is_truncated: bool
A flag that indicates whether there are more hosted zones to be listed. If the response was truncated, you can get the next group of maxitems
hosted zones by calling ListHostedZonesByName
again and specifying the values of NextDNSName
and NextHostedZoneId
elements in the dnsname
and hostedzoneid
parameters.
next_dns_name: Option<String>
If IsTruncated
is true, the value of NextDNSName
is the name of the first hosted zone in the next group of maxitems
hosted zones. Call ListHostedZonesByName
again and specify the value of NextDNSName
and NextHostedZoneId
in the dnsname
and hostedzoneid
parameters, respectively.
This element is present only if IsTruncated
is true
.
next_hosted_zone_id: Option<String>
If IsTruncated
is true
, the value of NextHostedZoneId
identifies the first hosted zone in the next group of maxitems
hosted zones. Call ListHostedZonesByName
again and specify the value of NextDNSName
and NextHostedZoneId
in the dnsname
and hostedzoneid
parameters, respectively.
This element is present only if IsTruncated
is true
.
max_items: i32
The value that you specified for the maxitems
parameter in the call to ListHostedZonesByName
that produced the current response.
Implementations§
source§impl ListHostedZonesByNameOutput
impl ListHostedZonesByNameOutput
sourcepub fn hosted_zones(&self) -> &[HostedZone]
pub fn hosted_zones(&self) -> &[HostedZone]
A complex type that contains general information about the hosted zone.
sourcepub fn dns_name(&self) -> Option<&str>
pub fn dns_name(&self) -> Option<&str>
For the second and subsequent calls to ListHostedZonesByName
, DNSName
is the value that you specified for the dnsname
parameter in the request that produced the current response.
sourcepub fn hosted_zone_id(&self) -> Option<&str>
pub fn hosted_zone_id(&self) -> Option<&str>
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
sourcepub fn is_truncated(&self) -> bool
pub fn is_truncated(&self) -> bool
A flag that indicates whether there are more hosted zones to be listed. If the response was truncated, you can get the next group of maxitems
hosted zones by calling ListHostedZonesByName
again and specifying the values of NextDNSName
and NextHostedZoneId
elements in the dnsname
and hostedzoneid
parameters.
sourcepub fn next_dns_name(&self) -> Option<&str>
pub fn next_dns_name(&self) -> Option<&str>
If IsTruncated
is true, the value of NextDNSName
is the name of the first hosted zone in the next group of maxitems
hosted zones. Call ListHostedZonesByName
again and specify the value of NextDNSName
and NextHostedZoneId
in the dnsname
and hostedzoneid
parameters, respectively.
This element is present only if IsTruncated
is true
.
sourcepub fn next_hosted_zone_id(&self) -> Option<&str>
pub fn next_hosted_zone_id(&self) -> Option<&str>
If IsTruncated
is true
, the value of NextHostedZoneId
identifies the first hosted zone in the next group of maxitems
hosted zones. Call ListHostedZonesByName
again and specify the value of NextDNSName
and NextHostedZoneId
in the dnsname
and hostedzoneid
parameters, respectively.
This element is present only if IsTruncated
is true
.
source§impl ListHostedZonesByNameOutput
impl ListHostedZonesByNameOutput
sourcepub fn builder() -> ListHostedZonesByNameOutputBuilder
pub fn builder() -> ListHostedZonesByNameOutputBuilder
Creates a new builder-style object to manufacture ListHostedZonesByNameOutput
.
Trait Implementations§
source§impl Clone for ListHostedZonesByNameOutput
impl Clone for ListHostedZonesByNameOutput
source§fn clone(&self) -> ListHostedZonesByNameOutput
fn clone(&self) -> ListHostedZonesByNameOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListHostedZonesByNameOutput
impl Debug for ListHostedZonesByNameOutput
source§impl PartialEq for ListHostedZonesByNameOutput
impl PartialEq for ListHostedZonesByNameOutput
source§fn eq(&self, other: &ListHostedZonesByNameOutput) -> bool
fn eq(&self, other: &ListHostedZonesByNameOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListHostedZonesByNameOutput
impl RequestId for ListHostedZonesByNameOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListHostedZonesByNameOutput
Auto Trait Implementations§
impl Freeze for ListHostedZonesByNameOutput
impl RefUnwindSafe for ListHostedZonesByNameOutput
impl Send for ListHostedZonesByNameOutput
impl Sync for ListHostedZonesByNameOutput
impl Unpin for ListHostedZonesByNameOutput
impl UnwindSafe for ListHostedZonesByNameOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more