Struct aws_sdk_appsync::model::GraphqlApi
source · [−]#[non_exhaustive]pub struct GraphqlApi {Show 13 fields
pub name: Option<String>,
pub api_id: Option<String>,
pub authentication_type: Option<AuthenticationType>,
pub log_config: Option<LogConfig>,
pub user_pool_config: Option<UserPoolConfig>,
pub open_id_connect_config: Option<OpenIdConnectConfig>,
pub arn: Option<String>,
pub uris: Option<HashMap<String, String>>,
pub tags: Option<HashMap<String, String>>,
pub additional_authentication_providers: Option<Vec<AdditionalAuthenticationProvider>>,
pub xray_enabled: bool,
pub waf_web_acl_arn: Option<String>,
pub lambda_authorizer_config: Option<LambdaAuthorizerConfig>,
}
Expand description
Describes a GraphQL API.
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.name: Option<String>
The API name.
api_id: Option<String>
The API ID.
authentication_type: Option<AuthenticationType>
The authentication type.
log_config: Option<LogConfig>
The Amazon CloudWatch Logs configuration.
user_pool_config: Option<UserPoolConfig>
The Amazon Cognito user pool configuration.
open_id_connect_config: Option<OpenIdConnectConfig>
The OpenID Connect configuration.
arn: Option<String>
The Amazon Resource Name (ARN).
uris: Option<HashMap<String, String>>
The URIs.
The tags.
additional_authentication_providers: Option<Vec<AdditionalAuthenticationProvider>>
A list of additional authentication providers for the GraphqlApi
API.
xray_enabled: bool
A flag indicating whether to use X-Ray tracing for this GraphqlApi
.
waf_web_acl_arn: Option<String>
The ARN of the WAF access control list (ACL) associated with this GraphqlApi
, if one exists.
Configuration for Lambda function authorization.
Implementations
sourceimpl GraphqlApi
impl GraphqlApi
sourcepub fn authentication_type(&self) -> Option<&AuthenticationType>
pub fn authentication_type(&self) -> Option<&AuthenticationType>
The authentication type.
sourcepub fn log_config(&self) -> Option<&LogConfig>
pub fn log_config(&self) -> Option<&LogConfig>
The Amazon CloudWatch Logs configuration.
sourcepub fn user_pool_config(&self) -> Option<&UserPoolConfig>
pub fn user_pool_config(&self) -> Option<&UserPoolConfig>
The Amazon Cognito user pool configuration.
sourcepub fn open_id_connect_config(&self) -> Option<&OpenIdConnectConfig>
pub fn open_id_connect_config(&self) -> Option<&OpenIdConnectConfig>
The OpenID Connect configuration.
The tags.
sourcepub fn additional_authentication_providers(
&self
) -> Option<&[AdditionalAuthenticationProvider]>
pub fn additional_authentication_providers(
&self
) -> Option<&[AdditionalAuthenticationProvider]>
A list of additional authentication providers for the GraphqlApi
API.
sourcepub fn xray_enabled(&self) -> bool
pub fn xray_enabled(&self) -> bool
A flag indicating whether to use X-Ray tracing for this GraphqlApi
.
sourcepub fn waf_web_acl_arn(&self) -> Option<&str>
pub fn waf_web_acl_arn(&self) -> Option<&str>
The ARN of the WAF access control list (ACL) associated with this GraphqlApi
, if one exists.
Configuration for Lambda function authorization.
sourceimpl GraphqlApi
impl GraphqlApi
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GraphqlApi
Trait Implementations
sourceimpl Clone for GraphqlApi
impl Clone for GraphqlApi
sourcefn clone(&self) -> GraphqlApi
fn clone(&self) -> GraphqlApi
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GraphqlApi
impl Debug for GraphqlApi
sourceimpl PartialEq<GraphqlApi> for GraphqlApi
impl PartialEq<GraphqlApi> for GraphqlApi
sourcefn eq(&self, other: &GraphqlApi) -> bool
fn eq(&self, other: &GraphqlApi) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GraphqlApi) -> bool
fn ne(&self, other: &GraphqlApi) -> bool
This method tests for !=
.
impl StructuralPartialEq for GraphqlApi
Auto Trait Implementations
impl RefUnwindSafe for GraphqlApi
impl Send for GraphqlApi
impl Sync for GraphqlApi
impl Unpin for GraphqlApi
impl UnwindSafe for GraphqlApi
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more