aws_sdk_aiops/client/get_investigation_group_policy.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 [`GetInvestigationGroupPolicy`](crate::operation::get_investigation_group_policy::builders::GetInvestigationGroupPolicyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetInvestigationGroupPolicyOutput`](crate::operation::get_investigation_group_policy::GetInvestigationGroupPolicyOutput) with field(s):
8 /// - [`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>
9 /// - [`policy(Option<String>)`](crate::operation::get_investigation_group_policy::GetInvestigationGroupPolicyOutput::policy): <p>The policy, in JSON format.</p>
10 /// - On failure, responds with [`SdkError<GetInvestigationGroupPolicyError>`](crate::operation::get_investigation_group_policy::GetInvestigationGroupPolicyError)
11 pub fn get_investigation_group_policy(
12 &self,
13 ) -> crate::operation::get_investigation_group_policy::builders::GetInvestigationGroupPolicyFluentBuilder {
14 crate::operation::get_investigation_group_policy::builders::GetInvestigationGroupPolicyFluentBuilder::new(self.handle.clone())
15 }
16}