aws_sdk_aiops/client/get_investigation_group.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 [`GetInvestigationGroup`](crate::operation::get_investigation_group::builders::GetInvestigationGroupFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::get_investigation_group::builders::GetInvestigationGroupFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_investigation_group::builders::GetInvestigationGroupFluentBuilder::set_identifier):<br>required: **true**<br><p>Specify either the name or the ARN of the investigation group that you want to view.</p><br>
7    /// - On success, responds with [`GetInvestigationGroupOutput`](crate::operation::get_investigation_group::GetInvestigationGroupOutput) with field(s):
8    ///   - [`created_by(Option<String>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::created_by): <p>The name of the user who created the investigation group.</p>
9    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::created_at): <p>The date and time that the investigation group was created.</p>
10    ///   - [`last_modified_by(Option<String>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::last_modified_by): <p>The name of the user who created the investigation group.</p>
11    ///   - [`last_modified_at(Option<DateTime>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::last_modified_at): <p>The date and time that the investigation group was most recently modified.</p>
12    ///   - [`name(Option<String>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::name): <p>The name of the investigation group.</p>
13    ///   - [`arn(Option<String>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::arn): <p>The Amazon Resource Name (ARN) of the investigation group.</p>
14    ///   - [`role_arn(Option<String>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::role_arn): <p>The ARN of the IAM role that the investigation group uses for permissions to gather data.</p>
15    ///   - [`encryption_configuration(Option<EncryptionConfiguration>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::encryption_configuration): <p>Specifies the customer managed KMS key that the investigation group uses to encrypt data, if there is one. If not, the investigation group uses an Amazon Web Services key to encrypt the data.</p>
16    ///   - [`retention_in_days(Option<i64>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::retention_in_days): <p>Specifies how long that investigation data is kept.</p>
17    ///   - [`chatbot_notification_channel(Option<HashMap::<String, Vec::<String>>>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::chatbot_notification_channel): <p>This structure is a string array. The first string is the ARN of a Amazon SNS topic. The array of strings display the ARNs of Amazon Q in chat applications configurations that are associated with that topic. For more information about these configuration ARNs, see <a href="https://docs.aws.amazon.com/chatbot/latest/adminguide/getting-started.html">Getting started with Amazon Q in chat applications</a> and <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awschatbot.html#awschatbot-resources-for-iam-policies">Resource type defined by Amazon Web Services Chatbot</a>.</p>
18    ///   - [`tag_key_boundaries(Option<Vec::<String>>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::tag_key_boundaries): <p>Displays the custom tag keys for custom applications in your system that you have specified in the investigation group. Resource tags help Amazon Q narrow the search space when it is unable to discover definite relationships between resources.</p>
19    ///   - [`is_cloud_trail_event_history_enabled(Option<bool>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::is_cloud_trail_event_history_enabled): <p>Specifies whether CloudWatch investigationshas access to change events that are recorded by CloudTrail.</p>
20    ///   - [`cross_account_configurations(Option<Vec::<CrossAccountConfiguration>>)`](crate::operation::get_investigation_group::GetInvestigationGroupOutput::cross_account_configurations): <p>Lists the <code>AWSAccountId</code> of the accounts configured for cross-account access and the results of the last scan performed on each account.</p>
21    /// - On failure, responds with [`SdkError<GetInvestigationGroupError>`](crate::operation::get_investigation_group::GetInvestigationGroupError)
22    pub fn get_investigation_group(&self) -> crate::operation::get_investigation_group::builders::GetInvestigationGroupFluentBuilder {
23        crate::operation::get_investigation_group::builders::GetInvestigationGroupFluentBuilder::new(self.handle.clone())
24    }
25}