#[non_exhaustive]pub struct CreateVpcEndpointConnectionNotificationInput { /* private fields */ }
Implementations§
source§impl CreateVpcEndpointConnectionNotificationInput
impl CreateVpcEndpointConnectionNotificationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateVpcEndpointConnectionNotification, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateVpcEndpointConnectionNotification, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateVpcEndpointConnectionNotification
>
Examples found in repository?
24844 24845 24846 24847 24848 24849 24850 24851 24852 24853 24854 24855 24856 24857 24858 24859 24860 24861 24862 24863 24864 24865 24866 24867 24868 24869 24870 24871 24872 24873 24874 24875 24876 24877 24878 24879 24880 24881 24882 24883 24884 24885 24886 24887 24888 24889 24890
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateVpcEndpointConnectionNotification,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::CreateVpcEndpointConnectionNotificationError,
>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::CreateVpcEndpointConnectionNotificationOutput,
aws_smithy_http::result::SdkError<
crate::error::CreateVpcEndpointConnectionNotificationError,
>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateVpcEndpointConnectionNotificationInput
.
source§impl CreateVpcEndpointConnectionNotificationInput
impl CreateVpcEndpointConnectionNotificationInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn service_id(&self) -> Option<&str>
pub fn service_id(&self) -> Option<&str>
The ID of the endpoint service.
sourcepub fn vpc_endpoint_id(&self) -> Option<&str>
pub fn vpc_endpoint_id(&self) -> Option<&str>
The ID of the endpoint.
sourcepub fn connection_notification_arn(&self) -> Option<&str>
pub fn connection_notification_arn(&self) -> Option<&str>
The ARN of the SNS topic for the notifications.
sourcepub fn connection_events(&self) -> Option<&[String]>
pub fn connection_events(&self) -> Option<&[String]>
One or more endpoint events for which to receive notifications. Valid values are Accept
, Connect
, Delete
, and Reject
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
Trait Implementations§
source§impl Clone for CreateVpcEndpointConnectionNotificationInput
impl Clone for CreateVpcEndpointConnectionNotificationInput
source§fn clone(&self) -> CreateVpcEndpointConnectionNotificationInput
fn clone(&self) -> CreateVpcEndpointConnectionNotificationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more