#[non_exhaustive]pub struct UpdateVpcLinkOutput {
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub target_arns: Option<Vec<String>>,
pub status: Option<VpcLinkStatus>,
pub status_message: Option<String>,
pub tags: Option<HashMap<String, String>>,
/* private fields */
}
Expand description
An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).
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.id: Option<String>
The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
name: Option<String>
The name used to label and identify the VPC link.
description: Option<String>
The description of the VPC link.
target_arns: Option<Vec<String>>
The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same Amazon Web Services account of the API owner.
status: Option<VpcLinkStatus>
The status of the VPC link. The valid values are AVAILABLE
, PENDING
, DELETING
, or FAILED
. Deploying an API will wait if the status is PENDING
and will fail if the status is DELETING
.
status_message: Option<String>
A description about the VPC link status.
The collection of tags. Each tag element is associated with a given resource.
Implementations§
source§impl UpdateVpcLinkOutput
impl UpdateVpcLinkOutput
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the VPC link.
sourcepub fn target_arns(&self) -> &[String]
pub fn target_arns(&self) -> &[String]
The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same Amazon Web Services account of the API owner.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .target_arns.is_none()
.
sourcepub fn status(&self) -> Option<&VpcLinkStatus>
pub fn status(&self) -> Option<&VpcLinkStatus>
The status of the VPC link. The valid values are AVAILABLE
, PENDING
, DELETING
, or FAILED
. Deploying an API will wait if the status is PENDING
and will fail if the status is DELETING
.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
A description about the VPC link status.
The collection of tags. Each tag element is associated with a given resource.
source§impl UpdateVpcLinkOutput
impl UpdateVpcLinkOutput
sourcepub fn builder() -> UpdateVpcLinkOutputBuilder
pub fn builder() -> UpdateVpcLinkOutputBuilder
Creates a new builder-style object to manufacture UpdateVpcLinkOutput
.
Trait Implementations§
source§impl Clone for UpdateVpcLinkOutput
impl Clone for UpdateVpcLinkOutput
source§fn clone(&self) -> UpdateVpcLinkOutput
fn clone(&self) -> UpdateVpcLinkOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateVpcLinkOutput
impl Debug for UpdateVpcLinkOutput
source§impl PartialEq for UpdateVpcLinkOutput
impl PartialEq for UpdateVpcLinkOutput
source§fn eq(&self, other: &UpdateVpcLinkOutput) -> bool
fn eq(&self, other: &UpdateVpcLinkOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for UpdateVpcLinkOutput
impl RequestId for UpdateVpcLinkOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.