#[non_exhaustive]pub struct GetContextKeysForPrincipalPolicyInput {
pub policy_source_arn: Option<String>,
pub policy_input_list: Option<Vec<String>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.policy_source_arn: Option<String>
The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies that are attached to the user. The list also includes all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
policy_input_list: Option<Vec<String>>
An optional list of additional policies for which you want the list of context keys that are referenced.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
-
Any printable ASCII character ranging from the space character (
\u0020
) through the end of the ASCII character range -
The printable characters in the Basic Latin and Latin-1 Supplement character set (through
\u00FF
) -
The special characters tab (
\u0009
), line feed (\u000A
), and carriage return (\u000D
)
Implementations
sourceimpl GetContextKeysForPrincipalPolicyInput
impl GetContextKeysForPrincipalPolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetContextKeysForPrincipalPolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetContextKeysForPrincipalPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetContextKeysForPrincipalPolicy
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetContextKeysForPrincipalPolicyInput
sourceimpl GetContextKeysForPrincipalPolicyInput
impl GetContextKeysForPrincipalPolicyInput
sourcepub fn policy_source_arn(&self) -> Option<&str>
pub fn policy_source_arn(&self) -> Option<&str>
The ARN of a user, group, or role whose policies contain the context keys that you want listed. If you specify a user, the list includes context keys that are found in all policies that are attached to the user. The list also includes all groups that the user is a member of. If you pick a group or a role, then it includes only those context keys that are found in policies attached to that entity. Note that all parameters are shown in unencoded form here for clarity, but must be URL encoded to be included as a part of a real HTML request.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn policy_input_list(&self) -> Option<&[String]>
pub fn policy_input_list(&self) -> Option<&[String]>
An optional list of additional policies for which you want the list of context keys that are referenced.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
-
Any printable ASCII character ranging from the space character (
\u0020
) through the end of the ASCII character range -
The printable characters in the Basic Latin and Latin-1 Supplement character set (through
\u00FF
) -
The special characters tab (
\u0009
), line feed (\u000A
), and carriage return (\u000D
)
Trait Implementations
sourceimpl Clone for GetContextKeysForPrincipalPolicyInput
impl Clone for GetContextKeysForPrincipalPolicyInput
sourcefn clone(&self) -> GetContextKeysForPrincipalPolicyInput
fn clone(&self) -> GetContextKeysForPrincipalPolicyInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<GetContextKeysForPrincipalPolicyInput> for GetContextKeysForPrincipalPolicyInput
impl PartialEq<GetContextKeysForPrincipalPolicyInput> for GetContextKeysForPrincipalPolicyInput
sourcefn eq(&self, other: &GetContextKeysForPrincipalPolicyInput) -> bool
fn eq(&self, other: &GetContextKeysForPrincipalPolicyInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetContextKeysForPrincipalPolicyInput) -> bool
fn ne(&self, other: &GetContextKeysForPrincipalPolicyInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetContextKeysForPrincipalPolicyInput
Auto Trait Implementations
impl RefUnwindSafe for GetContextKeysForPrincipalPolicyInput
impl Send for GetContextKeysForPrincipalPolicyInput
impl Sync for GetContextKeysForPrincipalPolicyInput
impl Unpin for GetContextKeysForPrincipalPolicyInput
impl UnwindSafe for GetContextKeysForPrincipalPolicyInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more