pub struct ConfigClient<'a> { /* private fields */ }Expand description
Client for the AWS Config API
Implementations§
Source§impl<'a> ConfigClient<'a>
impl<'a> ConfigClient<'a>
Sourcepub async fn select_resource_config(
&self,
body: &SelectResourceConfigRequest,
) -> Result<SelectResourceConfigResponse>
pub async fn select_resource_config( &self, body: &SelectResourceConfigRequest, ) -> Result<SelectResourceConfigResponse>
Accepts a SQL SELECT command and returns matching resource configurations.
Sourcepub async fn describe_configuration_recorders(
&self,
recorder_names: &[&str],
) -> Result<DescribeConfigurationRecordersResponse>
pub async fn describe_configuration_recorders( &self, recorder_names: &[&str], ) -> Result<DescribeConfigurationRecordersResponse>
Return all configuration recorders in the current account/region.
Optionally filter by recorder name(s). Passing an empty slice returns
all recorders (typically just one named "default").
CIS 4.3: at least one active configuration recorder must exist in each
region. Call describe_configuration_recorder_status to confirm it is
actively recording.
Sourcepub async fn list_configuration_recorders(
&self,
) -> Result<Vec<ConfigurationRecorder>>
pub async fn list_configuration_recorders( &self, ) -> Result<Vec<ConfigurationRecorder>>
Return all configuration recorders as a flat Vec.
Sourcepub async fn describe_configuration_recorder_status(
&self,
recorder_names: &[&str],
) -> Result<DescribeConfigurationRecorderStatusResponse>
pub async fn describe_configuration_recorder_status( &self, recorder_names: &[&str], ) -> Result<DescribeConfigurationRecorderStatusResponse>
Return the recording status for all (or named) configuration recorders.
CIS 4.3: verify recording == true and last_status is not Failure
to confirm Config is actively recording in the region.
Sourcepub async fn list_configuration_recorder_statuses(
&self,
) -> Result<Vec<ConfigurationRecorderStatus>>
pub async fn list_configuration_recorder_statuses( &self, ) -> Result<Vec<ConfigurationRecorderStatus>>
Return the recording status for all recorders as a flat Vec.
Auto Trait Implementations§
impl<'a> Freeze for ConfigClient<'a>
impl<'a> !RefUnwindSafe for ConfigClient<'a>
impl<'a> Send for ConfigClient<'a>
impl<'a> Sync for ConfigClient<'a>
impl<'a> Unpin for ConfigClient<'a>
impl<'a> UnsafeUnpin for ConfigClient<'a>
impl<'a> !UnwindSafe for ConfigClient<'a>
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