Struct aws_sdk_appsync::types::SourceApiAssociation
source · #[non_exhaustive]pub struct SourceApiAssociation {
pub association_id: Option<String>,
pub association_arn: Option<String>,
pub source_api_id: Option<String>,
pub source_api_arn: Option<String>,
pub merged_api_arn: Option<String>,
pub merged_api_id: Option<String>,
pub description: Option<String>,
pub source_api_association_config: Option<SourceApiAssociationConfig>,
pub source_api_association_status: Option<SourceApiAssociationStatus>,
pub source_api_association_status_detail: Option<String>,
pub last_successful_merge_date: Option<DateTime>,
}
Expand description
Describes the configuration of a source API. A source API is a GraphQL API that is linked to a merged API. There can be multiple source APIs attached to each merged API. When linked to a merged API, the source API's schema, data sources, and resolvers will be combined with other linked source API data to form a new, singular API.
Source APIs can originate from your account or from other accounts via Amazon Web Services Resource Access Manager. For more information about sharing resources from other accounts, see What is Amazon Web Services Resource Access Manager? in the Amazon Web Services Resource Access Manager guide.
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.association_id: Option<String>
The ID generated by the AppSync service for the source API association.
association_arn: Option<String>
The Amazon Resource Name (ARN) of the source API association.
source_api_id: Option<String>
The ID of the AppSync source API.
source_api_arn: Option<String>
The Amazon Resource Name (ARN) of the AppSync source API.
merged_api_arn: Option<String>
The Amazon Resource Name (ARN) of the AppSync Merged API.
merged_api_id: Option<String>
The ID of the AppSync Merged API.
description: Option<String>
The description field.
source_api_association_config: Option<SourceApiAssociationConfig>
The SourceApiAssociationConfig
object data.
source_api_association_status: Option<SourceApiAssociationStatus>
The state of the source API association.
source_api_association_status_detail: Option<String>
The detailed message related to the current state of the source API association.
last_successful_merge_date: Option<DateTime>
The datetime value of the last successful merge of the source API association. The result will be in UTC format and your local time zone.
Implementations§
source§impl SourceApiAssociation
impl SourceApiAssociation
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID generated by the AppSync service for the source API association.
sourcepub fn association_arn(&self) -> Option<&str>
pub fn association_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the source API association.
sourcepub fn source_api_id(&self) -> Option<&str>
pub fn source_api_id(&self) -> Option<&str>
The ID of the AppSync source API.
sourcepub fn source_api_arn(&self) -> Option<&str>
pub fn source_api_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the AppSync source API.
sourcepub fn merged_api_arn(&self) -> Option<&str>
pub fn merged_api_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the AppSync Merged API.
sourcepub fn merged_api_id(&self) -> Option<&str>
pub fn merged_api_id(&self) -> Option<&str>
The ID of the AppSync Merged API.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description field.
sourcepub fn source_api_association_config(
&self
) -> Option<&SourceApiAssociationConfig>
pub fn source_api_association_config( &self ) -> Option<&SourceApiAssociationConfig>
The SourceApiAssociationConfig
object data.
sourcepub fn source_api_association_status(
&self
) -> Option<&SourceApiAssociationStatus>
pub fn source_api_association_status( &self ) -> Option<&SourceApiAssociationStatus>
The state of the source API association.
sourcepub fn source_api_association_status_detail(&self) -> Option<&str>
pub fn source_api_association_status_detail(&self) -> Option<&str>
The detailed message related to the current state of the source API association.
sourcepub fn last_successful_merge_date(&self) -> Option<&DateTime>
pub fn last_successful_merge_date(&self) -> Option<&DateTime>
The datetime value of the last successful merge of the source API association. The result will be in UTC format and your local time zone.
source§impl SourceApiAssociation
impl SourceApiAssociation
sourcepub fn builder() -> SourceApiAssociationBuilder
pub fn builder() -> SourceApiAssociationBuilder
Creates a new builder-style object to manufacture SourceApiAssociation
.
Trait Implementations§
source§impl Clone for SourceApiAssociation
impl Clone for SourceApiAssociation
source§fn clone(&self) -> SourceApiAssociation
fn clone(&self) -> SourceApiAssociation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceApiAssociation
impl Debug for SourceApiAssociation
source§impl PartialEq for SourceApiAssociation
impl PartialEq for SourceApiAssociation
source§fn eq(&self, other: &SourceApiAssociation) -> bool
fn eq(&self, other: &SourceApiAssociation) -> bool
self
and other
values to be equal, and is used
by ==
.