Struct aws_sdk_appsync::client::fluent_builders::CreateGraphqlApi
source · pub struct CreateGraphqlApi { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateGraphqlApi
.
Creates a GraphqlApi
object.
Implementations§
source§impl CreateGraphqlApi
impl CreateGraphqlApi
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateGraphqlApi, AwsResponseRetryClassifier>, SdkError<CreateGraphqlApiError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateGraphqlApi, AwsResponseRetryClassifier>, SdkError<CreateGraphqlApiError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateGraphqlApiOutput, SdkError<CreateGraphqlApiError>>
pub async fn send(
self
) -> Result<CreateGraphqlApiOutput, SdkError<CreateGraphqlApiError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn log_config(self, input: LogConfig) -> Self
pub fn log_config(self, input: LogConfig) -> Self
The Amazon CloudWatch Logs configuration.
sourcepub fn set_log_config(self, input: Option<LogConfig>) -> Self
pub fn set_log_config(self, input: Option<LogConfig>) -> Self
The Amazon CloudWatch Logs configuration.
sourcepub fn authentication_type(self, input: AuthenticationType) -> Self
pub fn authentication_type(self, input: AuthenticationType) -> Self
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
sourcepub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
pub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
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, input: UserPoolConfig) -> Self
pub fn user_pool_config(self, input: UserPoolConfig) -> Self
The Amazon Cognito user pool configuration.
sourcepub fn set_user_pool_config(self, input: Option<UserPoolConfig>) -> Self
pub fn set_user_pool_config(self, input: Option<UserPoolConfig>) -> Self
The Amazon Cognito user pool configuration.
sourcepub fn open_id_connect_config(self, input: OpenIdConnectConfig) -> Self
pub fn open_id_connect_config(self, input: OpenIdConnectConfig) -> Self
The OIDC configuration.
sourcepub fn set_open_id_connect_config(
self,
input: Option<OpenIdConnectConfig>
) -> Self
pub fn set_open_id_connect_config(
self,
input: Option<OpenIdConnectConfig>
) -> Self
The OIDC configuration.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A TagMap
object.
A TagMap
object.
sourcepub fn additional_authentication_providers(
self,
input: AdditionalAuthenticationProvider
) -> Self
pub fn additional_authentication_providers(
self,
input: AdditionalAuthenticationProvider
) -> Self
Appends an item to additionalAuthenticationProviders
.
To override the contents of this collection use set_additional_authentication_providers
.
A list of additional authentication providers for the GraphqlApi
API.
sourcepub fn set_additional_authentication_providers(
self,
input: Option<Vec<AdditionalAuthenticationProvider>>
) -> Self
pub fn set_additional_authentication_providers(
self,
input: Option<Vec<AdditionalAuthenticationProvider>>
) -> Self
A list of additional authentication providers for the GraphqlApi
API.
sourcepub fn xray_enabled(self, input: bool) -> Self
pub fn xray_enabled(self, input: bool) -> Self
A flag indicating whether to use X-Ray tracing for the GraphqlApi
.
sourcepub fn set_xray_enabled(self, input: Option<bool>) -> Self
pub fn set_xray_enabled(self, input: Option<bool>) -> Self
A flag indicating whether to use X-Ray tracing for the GraphqlApi
.
Configuration for Lambda function authorization.
Configuration for Lambda function authorization.
Trait Implementations§
source§impl Clone for CreateGraphqlApi
impl Clone for CreateGraphqlApi
source§fn clone(&self) -> CreateGraphqlApi
fn clone(&self) -> CreateGraphqlApi
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more