1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateGraphqlApi`](crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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: **false**<br><p>The new authentication type for the <code>GraphqlApi</code> object.</p><br>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`UpdateGraphqlApiOutput`](crate::operation::update_graphql_api::UpdateGraphqlApiOutput) with field(s):
    ///   - [`graphql_api(Option<GraphqlApi>)`](crate::operation::update_graphql_api::UpdateGraphqlApiOutput::graphql_api): <p>The updated <code>GraphqlApi</code> object.</p>
    /// - On failure, responds with [`SdkError<UpdateGraphqlApiError>`](crate::operation::update_graphql_api::UpdateGraphqlApiError)
    pub fn update_graphql_api(&self) -> crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder {
        crate::operation::update_graphql_api::builders::UpdateGraphqlApiFluentBuilder::new(self.handle.clone())
    }
}