#[non_exhaustive]pub struct AWSAccountResponseAttributes {
pub account_tags: Option<Option<Vec<String>>>,
pub auth_config: Option<AWSAuthConfig>,
pub aws_account_id: String,
pub aws_partition: Option<AWSAccountPartition>,
pub aws_regions: Option<AWSRegions>,
pub created_at: Option<DateTime<Utc>>,
pub logs_config: Option<AWSLogsConfig>,
pub metrics_config: Option<AWSMetricsConfig>,
pub modified_at: Option<DateTime<Utc>>,
pub resources_config: Option<AWSResourcesConfig>,
pub traces_config: Option<AWSTracesConfig>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
AWS Account response attributes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.Tags to apply to all hosts and metrics reporting for this account. Defaults to []
.
auth_config: Option<AWSAuthConfig>
AWS Authentication config.
aws_account_id: String
AWS Account ID.
aws_partition: Option<AWSAccountPartition>
AWS partition your AWS account is scoped to. Defaults to aws
.
See Partitions in the AWS documentation for more information.
aws_regions: Option<AWSRegions>
AWS Regions to collect data from. Defaults to include_all
.
created_at: Option<DateTime<Utc>>
Timestamp of when the account integration was created.
logs_config: Option<AWSLogsConfig>
AWS Logs Collection config.
metrics_config: Option<AWSMetricsConfig>
AWS Metrics Collection config.
modified_at: Option<DateTime<Utc>>
Timestamp of when the account integration was updated.
resources_config: Option<AWSResourcesConfig>
AWS Resources Collection config.
traces_config: Option<AWSTracesConfig>
AWS Traces Collection config.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl AWSAccountResponseAttributes
impl AWSAccountResponseAttributes
pub fn new(aws_account_id: String) -> AWSAccountResponseAttributes
pub fn auth_config(self, value: AWSAuthConfig) -> Self
pub fn aws_partition(self, value: AWSAccountPartition) -> Self
pub fn aws_regions(self, value: AWSRegions) -> Self
pub fn created_at(self, value: DateTime<Utc>) -> Self
pub fn logs_config(self, value: AWSLogsConfig) -> Self
pub fn metrics_config(self, value: AWSMetricsConfig) -> Self
pub fn modified_at(self, value: DateTime<Utc>) -> Self
pub fn resources_config(self, value: AWSResourcesConfig) -> Self
pub fn traces_config(self, value: AWSTracesConfig) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for AWSAccountResponseAttributes
impl Clone for AWSAccountResponseAttributes
Source§fn clone(&self) -> AWSAccountResponseAttributes
fn clone(&self) -> AWSAccountResponseAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AWSAccountResponseAttributes
impl Debug for AWSAccountResponseAttributes
Source§impl<'de> Deserialize<'de> for AWSAccountResponseAttributes
impl<'de> Deserialize<'de> for AWSAccountResponseAttributes
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AWSAccountResponseAttributes
impl PartialEq for AWSAccountResponseAttributes
Source§fn eq(&self, other: &AWSAccountResponseAttributes) -> bool
fn eq(&self, other: &AWSAccountResponseAttributes) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AWSAccountResponseAttributes
Auto Trait Implementations§
impl Freeze for AWSAccountResponseAttributes
impl RefUnwindSafe for AWSAccountResponseAttributes
impl Send for AWSAccountResponseAttributes
impl Sync for AWSAccountResponseAttributes
impl Unpin for AWSAccountResponseAttributes
impl UnwindSafe for AWSAccountResponseAttributes
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
Mutably borrows from an owned value. Read more