Add getters for private items
This commit is contained in:
12
src/lib.rs
12
src/lib.rs
@@ -643,6 +643,10 @@ impl CloudfrontOrigin {
|
|||||||
pub const fn id(&self) -> &CloudfrontOriginId {
|
pub const fn id(&self) -> &CloudfrontOriginId {
|
||||||
&self.id
|
&self.id
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub const fn domain(&self) -> &CloudfrontOriginDomain {
|
||||||
|
&self.domain
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
string_newtype!(CloudfrontOriginId);
|
string_newtype!(CloudfrontOriginId);
|
||||||
@@ -846,6 +850,14 @@ impl Route53Zone {
|
|||||||
name,
|
name,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub const fn hosted_zone_id(&self) -> &HostedZoneId {
|
||||||
|
&self.hosted_zone_id
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn name(&self) -> &str {
|
||||||
|
&self.name
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<aws_sdk_route53::types::HostedZone> for Route53Zone {
|
impl From<aws_sdk_route53::types::HostedZone> for Route53Zone {
|
||||||
|
|||||||
Reference in New Issue
Block a user