#[non_exhaustive]pub struct CreateVpcLinkOutput {
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 CreateVpcLinkOutput
impl CreateVpcLinkOutput
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 CreateVpcLinkOutput
impl CreateVpcLinkOutput
sourcepub fn builder() -> CreateVpcLinkOutputBuilder
pub fn builder() -> CreateVpcLinkOutputBuilder
Creates a new builder-style object to manufacture CreateVpcLinkOutput.
Trait Implementations§
source§impl Clone for CreateVpcLinkOutput
impl Clone for CreateVpcLinkOutput
source§fn clone(&self) -> CreateVpcLinkOutput
fn clone(&self) -> CreateVpcLinkOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateVpcLinkOutput
impl Debug for CreateVpcLinkOutput
source§impl PartialEq for CreateVpcLinkOutput
impl PartialEq for CreateVpcLinkOutput
source§fn eq(&self, other: &CreateVpcLinkOutput) -> bool
fn eq(&self, other: &CreateVpcLinkOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateVpcLinkOutput
impl RequestId for CreateVpcLinkOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for CreateVpcLinkOutput
Auto Trait Implementations§
impl Freeze for CreateVpcLinkOutput
impl RefUnwindSafe for CreateVpcLinkOutput
impl Send for CreateVpcLinkOutput
impl Sync for CreateVpcLinkOutput
impl Unpin for CreateVpcLinkOutput
impl UnwindSafe for CreateVpcLinkOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more