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
pub 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
>
Creates a new builder-style object to manufacture CreateGraphqlApiInput
The Amazon CloudWatch Logs configuration.
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
The Amazon Cognito user pool configuration.
The OIDC configuration.
A TagMap
object.
pub 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.
A flag indicating whether to use X-Ray tracing for the GraphqlApi
.
Configuration for Lambda function authorization.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more