#[non_exhaustive]pub struct ModifyVpcEndpointConnectionNotificationInput { /* private fields */ }
Implementations§
source§impl ModifyVpcEndpointConnectionNotificationInput
impl ModifyVpcEndpointConnectionNotificationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyVpcEndpointConnectionNotification, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyVpcEndpointConnectionNotification, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyVpcEndpointConnectionNotification
>
Examples found in repository?
src/client.rs (line 69516)
69500 69501 69502 69503 69504 69505 69506 69507 69508 69509 69510 69511 69512 69513 69514 69515 69516 69517 69518 69519 69520 69521 69522 69523 69524 69525 69526 69527 69528 69529 69530 69531 69532 69533 69534 69535 69536 69537 69538 69539 69540 69541 69542 69543 69544 69545 69546
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyVpcEndpointConnectionNotification,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::ModifyVpcEndpointConnectionNotificationError,
>,
> {
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::ModifyVpcEndpointConnectionNotificationOutput,
aws_smithy_http::result::SdkError<
crate::error::ModifyVpcEndpointConnectionNotificationError,
>,
> {
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 ModifyVpcEndpointConnectionNotificationInput
.
source§impl ModifyVpcEndpointConnectionNotificationInput
impl ModifyVpcEndpointConnectionNotificationInput
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 connection_notification_id(&self) -> Option<&str>
pub fn connection_notification_id(&self) -> Option<&str>
The ID of the notification.
sourcepub fn connection_notification_arn(&self) -> Option<&str>
pub fn connection_notification_arn(&self) -> Option<&str>
The ARN for the SNS topic for the notification.
sourcepub fn connection_events(&self) -> Option<&[String]>
pub fn connection_events(&self) -> Option<&[String]>
One or more events for the endpoint. Valid values are Accept
, Connect
, Delete
, and Reject
.
Trait Implementations§
source§impl Clone for ModifyVpcEndpointConnectionNotificationInput
impl Clone for ModifyVpcEndpointConnectionNotificationInput
source§fn clone(&self) -> ModifyVpcEndpointConnectionNotificationInput
fn clone(&self) -> ModifyVpcEndpointConnectionNotificationInput
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 more