aws_sdk_appflow/client/
update_connector_profile.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 [`UpdateConnectorProfile`](crate::operation::update_connector_profile::builders::UpdateConnectorProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`connector_profile_name(impl Into<String>)`](crate::operation::update_connector_profile::builders::UpdateConnectorProfileFluentBuilder::connector_profile_name) / [`set_connector_profile_name(Option<String>)`](crate::operation::update_connector_profile::builders::UpdateConnectorProfileFluentBuilder::set_connector_profile_name):<br>required: **true**<br><p>The name of the connector profile and is unique for each <code>ConnectorProfile</code> in the Amazon Web Services account.</p><br>
7    ///   - [`connection_mode(ConnectionMode)`](crate::operation::update_connector_profile::builders::UpdateConnectorProfileFluentBuilder::connection_mode) / [`set_connection_mode(Option<ConnectionMode>)`](crate::operation::update_connector_profile::builders::UpdateConnectorProfileFluentBuilder::set_connection_mode):<br>required: **true**<br><p>Indicates the connection mode and if it is public or private.</p><br>
8    ///   - [`connector_profile_config(ConnectorProfileConfig)`](crate::operation::update_connector_profile::builders::UpdateConnectorProfileFluentBuilder::connector_profile_config) / [`set_connector_profile_config(Option<ConnectorProfileConfig>)`](crate::operation::update_connector_profile::builders::UpdateConnectorProfileFluentBuilder::set_connector_profile_config):<br>required: **true**<br><p>Defines the connector-specific profile configuration and credentials.</p><br>
9    ///   - [`client_token(impl Into<String>)`](crate::operation::update_connector_profile::builders::UpdateConnectorProfileFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_connector_profile::builders::UpdateConnectorProfileFluentBuilder::set_client_token):<br>required: **false**<br><p>The <code>clientToken</code> parameter is an idempotency token. It ensures that your <code>UpdateConnectorProfile</code> request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same <code>clientToken</code> parameter value.</p> <p>If you omit a <code>clientToken</code> value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.</p> <p>If you specify input parameters that differ from your first request, an error occurs. If you use a different value for <code>clientToken</code>, Amazon AppFlow considers it a new call to <code>UpdateConnectorProfile</code>. The token is active for 8 hours.</p><br>
10    /// - On success, responds with [`UpdateConnectorProfileOutput`](crate::operation::update_connector_profile::UpdateConnectorProfileOutput) with field(s):
11    ///   - [`connector_profile_arn(Option<String>)`](crate::operation::update_connector_profile::UpdateConnectorProfileOutput::connector_profile_arn): <p>The Amazon Resource Name (ARN) of the connector profile.</p>
12    /// - On failure, responds with [`SdkError<UpdateConnectorProfileError>`](crate::operation::update_connector_profile::UpdateConnectorProfileError)
13    pub fn update_connector_profile(&self) -> crate::operation::update_connector_profile::builders::UpdateConnectorProfileFluentBuilder {
14        crate::operation::update_connector_profile::builders::UpdateConnectorProfileFluentBuilder::new(self.handle.clone())
15    }
16}