Struct aws_sdk_sns::input::AddPermissionInput
source · #[non_exhaustive]pub struct AddPermissionInput { /* private fields */ }
Implementations§
source§impl AddPermissionInput
impl AddPermissionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddPermission, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddPermission, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<AddPermission
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AddPermissionInput
.
source§impl AddPermissionInput
impl AddPermissionInput
sourcepub fn topic_arn(&self) -> Option<&str>
pub fn topic_arn(&self) -> Option<&str>
The ARN of the topic whose access control policy you wish to modify.
sourcepub fn aws_account_id(&self) -> Option<&[String]>
pub fn aws_account_id(&self) -> Option<&[String]>
The Amazon Web Services account IDs of the users (principals) who will be given access to the specified actions. The users must have Amazon Web Services account, but do not need to be signed up for this service.
sourcepub fn action_name(&self) -> Option<&[String]>
pub fn action_name(&self) -> Option<&[String]>
The action you want to allow for the specified principal(s).
Valid values: Any Amazon SNS action name, for example Publish
.
Trait Implementations§
source§impl Clone for AddPermissionInput
impl Clone for AddPermissionInput
source§fn clone(&self) -> AddPermissionInput
fn clone(&self) -> AddPermissionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AddPermissionInput
impl Debug for AddPermissionInput
source§impl PartialEq<AddPermissionInput> for AddPermissionInput
impl PartialEq<AddPermissionInput> for AddPermissionInput
source§fn eq(&self, other: &AddPermissionInput) -> bool
fn eq(&self, other: &AddPermissionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.