aws_sdk_appflow/client/reset_connector_metadata_cache.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 [`ResetConnectorMetadataCache`](crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`connector_profile_name(impl Into<String>)`](crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder::connector_profile_name) / [`set_connector_profile_name(Option<String>)`](crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder::set_connector_profile_name):<br>required: **false**<br><p>The name of the connector profile that you want to reset cached metadata for.</p> <p>You can omit this parameter if you're resetting the cache for any of the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other connector, you must include this parameter in your request.</p><br>
7 /// - [`connector_type(ConnectorType)`](crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder::connector_type) / [`set_connector_type(Option<ConnectorType>)`](crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder::set_connector_type):<br>required: **false**<br><p>The type of connector to reset cached metadata for.</p> <p>You must include this parameter in your request if you're resetting the cache for any of the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other connector, you can omit this parameter from your request.</p><br>
8 /// - [`connector_entity_name(impl Into<String>)`](crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder::connector_entity_name) / [`set_connector_entity_name(Option<String>)`](crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder::set_connector_entity_name):<br>required: **false**<br><p>Use this parameter if you want to reset cached metadata about the details for an individual entity.</p> <p>If you don't include this parameter in your request, Amazon AppFlow only resets cached metadata about entity names, not entity details.</p><br>
9 /// - [`entities_path(impl Into<String>)`](crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder::entities_path) / [`set_entities_path(Option<String>)`](crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder::set_entities_path):<br>required: **false**<br><p>Use this parameter only if you’re resetting the cached metadata about a nested entity. Only some connectors support nested entities. A nested entity is one that has another entity as a parent. To use this parameter, specify the name of the parent entity.</p> <p>To look up the parent-child relationship of entities, you can send a ListConnectorEntities request that omits the entitiesPath parameter. Amazon AppFlow will return a list of top-level entities. For each one, it indicates whether the entity has nested entities. Then, in a subsequent ListConnectorEntities request, you can specify a parent entity name for the entitiesPath parameter. Amazon AppFlow will return a list of the child entities for that parent.</p><br>
10 /// - [`api_version(impl Into<String>)`](crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder::api_version) / [`set_api_version(Option<String>)`](crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder::set_api_version):<br>required: **false**<br><p>The API version that you specified in the connector profile that you’re resetting cached metadata for. You must use this parameter only if the connector supports multiple API versions or if the connector type is CustomConnector.</p> <p>To look up how many versions a connector supports, use the DescribeConnectors action. In the response, find the value that Amazon AppFlow returns for the connectorVersion parameter.</p> <p>To look up the connector type, use the DescribeConnectorProfiles action. In the response, find the value that Amazon AppFlow returns for the connectorType parameter.</p> <p>To look up the API version that you specified in a connector profile, use the DescribeConnectorProfiles action.</p><br>
11 /// - On success, responds with [`ResetConnectorMetadataCacheOutput`](crate::operation::reset_connector_metadata_cache::ResetConnectorMetadataCacheOutput)
12 /// - On failure, responds with [`SdkError<ResetConnectorMetadataCacheError>`](crate::operation::reset_connector_metadata_cache::ResetConnectorMetadataCacheError)
13 pub fn reset_connector_metadata_cache(
14 &self,
15 ) -> crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder {
16 crate::operation::reset_connector_metadata_cache::builders::ResetConnectorMetadataCacheFluentBuilder::new(self.handle.clone())
17 }
18}