Struct aws_sdk_securityhub::types::AwsSnsTopicDetails
source · #[non_exhaustive]pub struct AwsSnsTopicDetails {
pub kms_master_key_id: Option<String>,
pub subscription: Option<Vec<AwsSnsTopicSubscription>>,
pub topic_name: Option<String>,
pub owner: Option<String>,
pub sqs_success_feedback_role_arn: Option<String>,
pub sqs_failure_feedback_role_arn: Option<String>,
pub application_success_feedback_role_arn: Option<String>,
pub firehose_success_feedback_role_arn: Option<String>,
pub firehose_failure_feedback_role_arn: Option<String>,
pub http_success_feedback_role_arn: Option<String>,
pub http_failure_feedback_role_arn: Option<String>,
}
Expand description
Provides information about an Amazon SNS topic to which notifications can be published.
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.kms_master_key_id: Option<String>
The ID of an Amazon Web Services managed key for Amazon SNS or a customer managed key.
subscription: Option<Vec<AwsSnsTopicSubscription>>
Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.
topic_name: Option<String>
The name of the Amazon SNS topic.
owner: Option<String>
The subscription's owner.
sqs_success_feedback_role_arn: Option<String>
Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.
sqs_failure_feedback_role_arn: Option<String>
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.
application_success_feedback_role_arn: Option<String>
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to a platform application endpoint.
firehose_success_feedback_role_arn: Option<String>
Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.
firehose_failure_feedback_role_arn: Option<String>
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.
http_success_feedback_role_arn: Option<String>
Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.
http_failure_feedback_role_arn: Option<String>
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.
Implementations§
source§impl AwsSnsTopicDetails
impl AwsSnsTopicDetails
sourcepub fn kms_master_key_id(&self) -> Option<&str>
pub fn kms_master_key_id(&self) -> Option<&str>
The ID of an Amazon Web Services managed key for Amazon SNS or a customer managed key.
sourcepub fn subscription(&self) -> &[AwsSnsTopicSubscription]
pub fn subscription(&self) -> &[AwsSnsTopicSubscription]
Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subscription.is_none()
.
sourcepub fn topic_name(&self) -> Option<&str>
pub fn topic_name(&self) -> Option<&str>
The name of the Amazon SNS topic.
sourcepub fn sqs_success_feedback_role_arn(&self) -> Option<&str>
pub fn sqs_success_feedback_role_arn(&self) -> Option<&str>
Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.
sourcepub fn sqs_failure_feedback_role_arn(&self) -> Option<&str>
pub fn sqs_failure_feedback_role_arn(&self) -> Option<&str>
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon SQS endpoint.
sourcepub fn application_success_feedback_role_arn(&self) -> Option<&str>
pub fn application_success_feedback_role_arn(&self) -> Option<&str>
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to a platform application endpoint.
sourcepub fn firehose_success_feedback_role_arn(&self) -> Option<&str>
pub fn firehose_success_feedback_role_arn(&self) -> Option<&str>
Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.
sourcepub fn firehose_failure_feedback_role_arn(&self) -> Option<&str>
pub fn firehose_failure_feedback_role_arn(&self) -> Option<&str>
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an Amazon Kinesis Data Firehose endpoint.
sourcepub fn http_success_feedback_role_arn(&self) -> Option<&str>
pub fn http_success_feedback_role_arn(&self) -> Option<&str>
Indicates successful message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.
sourcepub fn http_failure_feedback_role_arn(&self) -> Option<&str>
pub fn http_failure_feedback_role_arn(&self) -> Option<&str>
Indicates failed message delivery status for an Amazon SNS topic that is subscribed to an HTTP endpoint.
source§impl AwsSnsTopicDetails
impl AwsSnsTopicDetails
sourcepub fn builder() -> AwsSnsTopicDetailsBuilder
pub fn builder() -> AwsSnsTopicDetailsBuilder
Creates a new builder-style object to manufacture AwsSnsTopicDetails
.
Trait Implementations§
source§impl Clone for AwsSnsTopicDetails
impl Clone for AwsSnsTopicDetails
source§fn clone(&self) -> AwsSnsTopicDetails
fn clone(&self) -> AwsSnsTopicDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsSnsTopicDetails
impl Debug for AwsSnsTopicDetails
source§impl PartialEq for AwsSnsTopicDetails
impl PartialEq for AwsSnsTopicDetails
source§fn eq(&self, other: &AwsSnsTopicDetails) -> bool
fn eq(&self, other: &AwsSnsTopicDetails) -> bool
self
and other
values to be equal, and is used
by ==
.