aws_sdk_iam/client/
get_context_keys_for_custom_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 [`GetContextKeysForCustomPolicy`](crate::operation::get_context_keys_for_custom_policy::builders::GetContextKeysForCustomPolicyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`policy_input_list(impl Into<String>)`](crate::operation::get_context_keys_for_custom_policy::builders::GetContextKeysForCustomPolicyFluentBuilder::policy_input_list) / [`set_policy_input_list(Option<Vec::<String>>)`](crate::operation::get_context_keys_for_custom_policy::builders::GetContextKeysForCustomPolicyFluentBuilder::set_policy_input_list):<br>required: **true**<br><p>A list of policies for which you want the list of context keys referenced in those policies. Each document is specified as a string containing the complete, valid JSON text of an IAM policy.</p> <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> used to validate this parameter is a string of characters consisting of the following:</p> <ul>  <li>   <p>Any printable ASCII character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p></li>  <li>   <p>The printable characters in the Basic Latin and Latin-1 Supplement character set (through <code>\u00FF</code>)</p></li>  <li>   <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and carriage return (<code>\u000D</code>)</p></li> </ul><br>
7    /// - On success, responds with [`GetContextKeysForCustomPolicyOutput`](crate::operation::get_context_keys_for_custom_policy::GetContextKeysForCustomPolicyOutput) with field(s):
8    ///   - [`context_key_names(Option<Vec::<String>>)`](crate::operation::get_context_keys_for_custom_policy::GetContextKeysForCustomPolicyOutput::context_key_names): <p>The list of context keys that are referenced in the input policies.</p>
9    /// - On failure, responds with [`SdkError<GetContextKeysForCustomPolicyError>`](crate::operation::get_context_keys_for_custom_policy::GetContextKeysForCustomPolicyError)
10    pub fn get_context_keys_for_custom_policy(
11        &self,
12    ) -> crate::operation::get_context_keys_for_custom_policy::builders::GetContextKeysForCustomPolicyFluentBuilder {
13        crate::operation::get_context_keys_for_custom_policy::builders::GetContextKeysForCustomPolicyFluentBuilder::new(self.handle.clone())
14    }
15}