#[non_exhaustive]pub struct AwsAppSyncGraphQlApiDetails {
pub api_id: Option<String>,
pub id: Option<String>,
pub open_id_connect_config: Option<AwsAppSyncGraphQlApiOpenIdConnectConfigDetails>,
pub name: Option<String>,
pub lambda_authorizer_config: Option<AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails>,
pub xray_enabled: Option<bool>,
pub arn: Option<String>,
pub user_pool_config: Option<AwsAppSyncGraphQlApiUserPoolConfigDetails>,
pub authentication_type: Option<String>,
pub log_config: Option<AwsAppSyncGraphQlApiLogConfigDetails>,
pub additional_authentication_providers: Option<Vec<AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails>>,
pub waf_web_acl_arn: Option<String>,
}
Expand description
Provides details about an AppSync Graph QL API, which lets you query multiple databases, microservices, and APIs from a single GraphQL endpoint.
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.api_id: Option<String>
The unique identifier for the API.
id: Option<String>
The unique identifier for the API.
open_id_connect_config: Option<AwsAppSyncGraphQlApiOpenIdConnectConfigDetails>
Specifies the authorization configuration for using an OpenID Connect compliant service with an AppSync GraphQL API endpoint.
name: Option<String>
The API name.
Specifies the configuration for Lambda function authorization.
xray_enabled: Option<bool>
Indicates whether to use X-Ray tracing for the GraphQL API.
arn: Option<String>
The Amazon Resource Name (ARN) of the API.
user_pool_config: Option<AwsAppSyncGraphQlApiUserPoolConfigDetails>
The Amazon Cognito user pools configuration.
authentication_type: Option<String>
The type of security configuration for your GraphQL API: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
log_config: Option<AwsAppSyncGraphQlApiLogConfigDetails>
The Amazon CloudWatch Logs configuration.
additional_authentication_providers: Option<Vec<AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails>>
A list of additional authentication providers for the GraphQL API.
waf_web_acl_arn: Option<String>
The Amazon Resource Name (ARN) of the WAF web access control list (web ACL) associated with this GraphQL API, if one exists.
Implementations§
source§impl AwsAppSyncGraphQlApiDetails
impl AwsAppSyncGraphQlApiDetails
sourcepub fn open_id_connect_config(
&self
) -> Option<&AwsAppSyncGraphQlApiOpenIdConnectConfigDetails>
pub fn open_id_connect_config( &self ) -> Option<&AwsAppSyncGraphQlApiOpenIdConnectConfigDetails>
Specifies the authorization configuration for using an OpenID Connect compliant service with an AppSync GraphQL API endpoint.
Specifies the configuration for Lambda function authorization.
sourcepub fn xray_enabled(&self) -> Option<bool>
pub fn xray_enabled(&self) -> Option<bool>
Indicates whether to use X-Ray tracing for the GraphQL API.
sourcepub fn user_pool_config(
&self
) -> Option<&AwsAppSyncGraphQlApiUserPoolConfigDetails>
pub fn user_pool_config( &self ) -> Option<&AwsAppSyncGraphQlApiUserPoolConfigDetails>
The Amazon Cognito user pools configuration.
sourcepub fn authentication_type(&self) -> Option<&str>
pub fn authentication_type(&self) -> Option<&str>
The type of security configuration for your GraphQL API: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
sourcepub fn log_config(&self) -> Option<&AwsAppSyncGraphQlApiLogConfigDetails>
pub fn log_config(&self) -> Option<&AwsAppSyncGraphQlApiLogConfigDetails>
The Amazon CloudWatch Logs configuration.
sourcepub fn additional_authentication_providers(
&self
) -> &[AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails]
pub fn additional_authentication_providers( &self ) -> &[AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails]
A list of additional authentication providers for the GraphQL API.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .additional_authentication_providers.is_none()
.
sourcepub fn waf_web_acl_arn(&self) -> Option<&str>
pub fn waf_web_acl_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the WAF web access control list (web ACL) associated with this GraphQL API, if one exists.
source§impl AwsAppSyncGraphQlApiDetails
impl AwsAppSyncGraphQlApiDetails
sourcepub fn builder() -> AwsAppSyncGraphQlApiDetailsBuilder
pub fn builder() -> AwsAppSyncGraphQlApiDetailsBuilder
Creates a new builder-style object to manufacture AwsAppSyncGraphQlApiDetails
.
Trait Implementations§
source§impl Clone for AwsAppSyncGraphQlApiDetails
impl Clone for AwsAppSyncGraphQlApiDetails
source§fn clone(&self) -> AwsAppSyncGraphQlApiDetails
fn clone(&self) -> AwsAppSyncGraphQlApiDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsAppSyncGraphQlApiDetails
impl Debug for AwsAppSyncGraphQlApiDetails
source§impl PartialEq for AwsAppSyncGraphQlApiDetails
impl PartialEq for AwsAppSyncGraphQlApiDetails
source§fn eq(&self, other: &AwsAppSyncGraphQlApiDetails) -> bool
fn eq(&self, other: &AwsAppSyncGraphQlApiDetails) -> bool
self
and other
values to be equal, and is used
by ==
.