Struct aws_sdk_appsync::input::CreateGraphqlApiInput
source · [−]#[non_exhaustive]pub struct CreateGraphqlApiInput {
pub name: Option<String>,
pub log_config: Option<LogConfig>,
pub authentication_type: Option<AuthenticationType>,
pub user_pool_config: Option<UserPoolConfig>,
pub open_id_connect_config: Option<OpenIdConnectConfig>,
pub tags: Option<HashMap<String, String>>,
pub additional_authentication_providers: Option<Vec<AdditionalAuthenticationProvider>>,
pub xray_enabled: bool,
pub lambda_authorizer_config: Option<LambdaAuthorizerConfig>,
}
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>
A user-supplied name for the GraphqlApi
.
log_config: Option<LogConfig>
The Amazon CloudWatch Logs configuration.
authentication_type: Option<AuthenticationType>
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
user_pool_config: Option<UserPoolConfig>
The Amazon Cognito user pool configuration.
open_id_connect_config: Option<OpenIdConnectConfig>
The OIDC configuration.
A TagMap
object.
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 the GraphqlApi
.
Configuration for Lambda function authorization.
Implementations
sourceimpl CreateGraphqlApiInput
impl CreateGraphqlApiInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateGraphqlApi, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateGraphqlApi, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateGraphqlApi
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateGraphqlApiInput
sourceimpl CreateGraphqlApiInput
impl CreateGraphqlApiInput
sourcepub fn log_config(&self) -> Option<&LogConfig>
pub fn log_config(&self) -> Option<&LogConfig>
The Amazon CloudWatch Logs configuration.
sourcepub fn authentication_type(&self) -> Option<&AuthenticationType>
pub fn authentication_type(&self) -> Option<&AuthenticationType>
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
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 OIDC configuration.
A TagMap
object.
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 the GraphqlApi
.
Configuration for Lambda function authorization.
Trait Implementations
sourceimpl Clone for CreateGraphqlApiInput
impl Clone for CreateGraphqlApiInput
sourcefn clone(&self) -> CreateGraphqlApiInput
fn clone(&self) -> CreateGraphqlApiInput
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 CreateGraphqlApiInput
impl Debug for CreateGraphqlApiInput
sourceimpl PartialEq<CreateGraphqlApiInput> for CreateGraphqlApiInput
impl PartialEq<CreateGraphqlApiInput> for CreateGraphqlApiInput
sourcefn eq(&self, other: &CreateGraphqlApiInput) -> bool
fn eq(&self, other: &CreateGraphqlApiInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateGraphqlApiInput) -> bool
fn ne(&self, other: &CreateGraphqlApiInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateGraphqlApiInput
Auto Trait Implementations
impl RefUnwindSafe for CreateGraphqlApiInput
impl Send for CreateGraphqlApiInput
impl Sync for CreateGraphqlApiInput
impl Unpin for CreateGraphqlApiInput
impl UnwindSafe for CreateGraphqlApiInput
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