Struct aws_sdk_ses::input::GetIdentityPoliciesInput [−][src]
#[non_exhaustive]pub struct GetIdentityPoliciesInput {
pub identity: Option<String>,
pub policy_names: Option<Vec<String>>,
}
Expand description
Represents a request to return the requested sending authorization policies for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide.
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.identity: Option<String>
The identity for which the policies will be retrieved. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com
, example.com
, arn:aws:ses:us-east-1:123456789012:identity/example.com
.
To successfully call this API, you must own the identity.
policy_names: Option<Vec<String>>
A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do not know the names of the policies that are attached to the identity, you can use ListIdentityPolicies
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetIdentityPolicies, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetIdentityPolicies, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetIdentityPolicies
>
Creates a new builder-style object to manufacture GetIdentityPoliciesInput
The identity for which the policies will be retrieved. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com
, example.com
, arn:aws:ses:us-east-1:123456789012:identity/example.com
.
To successfully call this API, you must own the identity.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetIdentityPoliciesInput
impl Send for GetIdentityPoliciesInput
impl Sync for GetIdentityPoliciesInput
impl Unpin for GetIdentityPoliciesInput
impl UnwindSafe for GetIdentityPoliciesInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more