#[non_exhaustive]pub struct CreateNotificationSubscriptionInput {
pub organization_id: Option<String>,
pub endpoint: Option<String>,
pub protocol: Option<SubscriptionProtocolType>,
pub subscription_type: Option<SubscriptionType>,
}
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.organization_id: Option<String>
The ID of the organization.
endpoint: Option<String>
The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with https
.
protocol: Option<SubscriptionProtocolType>
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
subscription_type: Option<SubscriptionType>
The notification type.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateNotificationSubscription, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateNotificationSubscription, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateNotificationSubscription
>
Creates a new builder-style object to manufacture CreateNotificationSubscriptionInput
The ID of the organization.
The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with https
.
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
The notification type.
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 Send for CreateNotificationSubscriptionInput
impl Sync for CreateNotificationSubscriptionInput
impl Unpin for CreateNotificationSubscriptionInput
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