aws_sdk_appsync/client/update_graphql_api.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateGraphqlApi`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`api_id(impl Into<String>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_api_id):<br>required: **true**<br><p>The API ID.</p><br>
7 /// - [`name(impl Into<String>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_name):<br>required: **true**<br><p>The new name for the <code>GraphqlApi</code> object.</p><br>
8 /// - [`log_config(LogConfig)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::log_config) / [`set_log_config(Option<LogConfig>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_log_config):<br>required: **false**<br><p>The Amazon CloudWatch Logs configuration for the <code>GraphqlApi</code> object.</p><br>
9 /// - [`authentication_type(AuthenticationType)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::authentication_type) / [`set_authentication_type(Option<AuthenticationType>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_authentication_type):<br>required: **true**<br><p>The new authentication type for the <code>GraphqlApi</code> object.</p><br>
10 /// - [`user_pool_config(UserPoolConfig)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::user_pool_config) / [`set_user_pool_config(Option<UserPoolConfig>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_user_pool_config):<br>required: **false**<br><p>The new Amazon Cognito user pool configuration for the <code>~GraphqlApi</code> object.</p><br>
11 /// - [`open_id_connect_config(OpenIdConnectConfig)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::open_id_connect_config) / [`set_open_id_connect_config(Option<OpenIdConnectConfig>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_open_id_connect_config):<br>required: **false**<br><p>The OpenID Connect configuration for the <code>GraphqlApi</code> object.</p><br>
12 /// - [`additional_authentication_providers(AdditionalAuthenticationProvider)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::additional_authentication_providers) / [`set_additional_authentication_providers(Option<Vec::<AdditionalAuthenticationProvider>>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_additional_authentication_providers):<br>required: **false**<br><p>A list of additional authentication providers for the <code>GraphqlApi</code> API.</p><br>
13 /// - [`xray_enabled(bool)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::xray_enabled) / [`set_xray_enabled(Option<bool>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_xray_enabled):<br>required: **false**<br><p>A flag indicating whether to use X-Ray tracing for the <code>GraphqlApi</code>.</p><br>
14 /// - [`lambda_authorizer_config(LambdaAuthorizerConfig)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::lambda_authorizer_config) / [`set_lambda_authorizer_config(Option<LambdaAuthorizerConfig>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_lambda_authorizer_config):<br>required: **false**<br><p>Configuration for Lambda function authorization.</p><br>
15 /// - [`merged_api_execution_role_arn(impl Into<String>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::merged_api_execution_role_arn) / [`set_merged_api_execution_role_arn(Option<String>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_merged_api_execution_role_arn):<br>required: **false**<br><p>The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to prompt the <code>AUTO_MERGE</code> to update the merged API endpoint with the source API changes automatically.</p><br>
16 /// - [`owner_contact(impl Into<String>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::owner_contact) / [`set_owner_contact(Option<String>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_owner_contact):<br>required: **false**<br><p>The owner contact information for an API resource.</p> <p>This field accepts any string input with a length of 0 - 256 characters.</p><br>
17 /// - [`introspection_config(GraphQlApiIntrospectionConfig)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::introspection_config) / [`set_introspection_config(Option<GraphQlApiIntrospectionConfig>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_introspection_config):<br>required: **false**<br><p>Sets the value of the GraphQL API to enable (<code>ENABLED</code>) or disable (<code>DISABLED</code>) introspection. If no value is provided, the introspection configuration will be set to <code>ENABLED</code> by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled.</p> <p>For more information about introspection, see <a href="https://graphql.org/learn/introspection/">GraphQL introspection</a>.</p><br>
18 /// - [`query_depth_limit(i32)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::query_depth_limit) / [`set_query_depth_limit(Option<i32>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_query_depth_limit):<br>required: **false**<br><p>The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is <code>0</code> (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between <code>1</code> and <code>75</code> nested levels. This field will produce a limit error if the operation falls out of bounds.</p> <p>Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.</p><br>
19 /// - [`resolver_count_limit(i32)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::resolver_count_limit) / [`set_resolver_count_limit(Option<i32>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_resolver_count_limit):<br>required: **false**<br><p>The maximum number of resolvers that can be invoked in a single request. The default value is <code>0</code> (or unspecified), which will set the limit to <code>10000</code>. When specified, the limit value can be between <code>1</code> and <code>10000</code>. This field will produce a limit error if the operation falls out of bounds.</p><br>
20 /// - [`enhanced_metrics_config(EnhancedMetricsConfig)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::enhanced_metrics_config) / [`set_enhanced_metrics_config(Option<EnhancedMetricsConfig>)`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::set_enhanced_metrics_config):<br>required: **false**<br><p>The <code>enhancedMetricsConfig</code> object.</p><br>
21 /// - On success, responds with [`UpdateGraphqlApiOutput`](crate::operation::update_graphql_api::UpdateGraphqlApiOutput) with field(s):
22 /// - [`graphql_api(Option<GraphqlApi>)`](crate::operation::update_graphql_api::UpdateGraphqlApiOutput::graphql_api): <p>The updated <code>GraphqlApi</code> object.</p>
23 /// - On failure, responds with [`SdkError<UpdateGraphqlApiError>`](crate::operation::update_graphql_api::UpdateGraphqlApiError)
24 pub fn update_graphql_api(&self) -> crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder {
25 crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::new(self.handle.clone())
26 }
27}