Struct aws_sdk_appmesh::input::UpdateGatewayRouteInput
source · #[non_exhaustive]pub struct UpdateGatewayRouteInput { /* private fields */ }
Implementations§
source§impl UpdateGatewayRouteInput
impl UpdateGatewayRouteInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateGatewayRoute, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateGatewayRoute, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateGatewayRoute
>
Examples found in repository?
4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateGatewayRoute,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateGatewayRouteError>,
> {
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::UpdateGatewayRouteOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateGatewayRouteError>,
> {
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 UpdateGatewayRouteInput
.
source§impl UpdateGatewayRouteInput
impl UpdateGatewayRouteInput
sourcepub fn gateway_route_name(&self) -> Option<&str>
pub fn gateway_route_name(&self) -> Option<&str>
The name of the gateway route to update.
sourcepub fn mesh_name(&self) -> Option<&str>
pub fn mesh_name(&self) -> Option<&str>
The name of the service mesh that the gateway route resides in.
sourcepub fn virtual_gateway_name(&self) -> Option<&str>
pub fn virtual_gateway_name(&self) -> Option<&str>
The name of the virtual gateway that the gateway route is associated with.
sourcepub fn spec(&self) -> Option<&GatewayRouteSpec>
pub fn spec(&self) -> Option<&GatewayRouteSpec>
The new gateway route specification to apply. This overwrites the existing data.
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. Up to 36 letters, numbers, hyphens, and underscores are allowed.
sourcepub fn mesh_owner(&self) -> Option<&str>
pub fn mesh_owner(&self) -> Option<&str>
The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
Trait Implementations§
source§impl Clone for UpdateGatewayRouteInput
impl Clone for UpdateGatewayRouteInput
source§fn clone(&self) -> UpdateGatewayRouteInput
fn clone(&self) -> UpdateGatewayRouteInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more