aws-sdk-aiops 1.30.0

AWS SDK for AWS AI Ops
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetInvestigationGroupPolicy`](crate::operation::get_investigation_group_policy::builders::GetInvestigationGroupPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_investigation_group_policy::builders::GetInvestigationGroupPolicyFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_investigation_group_policy::builders::GetInvestigationGroupPolicyFluentBuilder::set_identifier):<br>required: **true**<br><p>Specify either the name or the ARN of the investigation group that you want to view the policy of.</p><br>
    /// - On success, responds with [`GetInvestigationGroupPolicyOutput`](crate::operation::get_investigation_group_policy::GetInvestigationGroupPolicyOutput) with field(s):
    ///   - [`investigation_group_arn(Option<String>)`](crate::operation::get_investigation_group_policy::GetInvestigationGroupPolicyOutput::investigation_group_arn): <p>The Amazon Resource Name (ARN) of the investigation group that you want to view the policy of.</p>
    ///   - [`policy(Option<String>)`](crate::operation::get_investigation_group_policy::GetInvestigationGroupPolicyOutput::policy): <p>The policy, in JSON format.</p>
    /// - On failure, responds with [`SdkError<GetInvestigationGroupPolicyError>`](crate::operation::get_investigation_group_policy::GetInvestigationGroupPolicyError)
    pub fn get_investigation_group_policy(
        &self,
    ) -> crate::operation::get_investigation_group_policy::builders::GetInvestigationGroupPolicyFluentBuilder {
        crate::operation::get_investigation_group_policy::builders::GetInvestigationGroupPolicyFluentBuilder::new(self.handle.clone())
    }
}