pub struct ContextualDataIntegrationsClient { /* private fields */ }
Expand description
Client for managing Contextual Data Integrations.
Implementations§
Source§impl ContextualDataIntegrationsClient
impl ContextualDataIntegrationsClient
Sourcepub fn new(region: CoralogixRegion, auth_context: AuthContext) -> Result<Self>
pub fn new(region: CoralogixRegion, auth_context: AuthContext) -> Result<Self>
Creates a new client for the Contextual Data Integrations API.
Sourcepub async fn list(
&self,
include_testing_integrations: bool,
) -> Result<GetContextualDataIntegrationsResponse>
pub async fn list( &self, include_testing_integrations: bool, ) -> Result<GetContextualDataIntegrationsResponse>
Get all contextual data integrations
§Arguments
include_testing_integrations
- Whether to include testing integrations.
Sourcepub async fn get_definition(
&self,
id: String,
include_testing_integrations: bool,
) -> Result<GetContextualDataIntegrationDefinitionResponse>
pub async fn get_definition( &self, id: String, include_testing_integrations: bool, ) -> Result<GetContextualDataIntegrationDefinitionResponse>
Get contextual data integration definition
§Arguments
id
- The id of the integration to get the definition for.include_testing_integrations
- Whether to include testing integrations.
Sourcepub async fn get_details(
&self,
id: String,
include_testing_revisions: bool,
) -> Result<GetContextualDataIntegrationDetailsResponse>
pub async fn get_details( &self, id: String, include_testing_revisions: bool, ) -> Result<GetContextualDataIntegrationDetailsResponse>
Get contextual data integration details
§Arguments
id
- The id of the integration to get the details for.include_testing_revisions
- Whether to include testing revisions.
Sourcepub async fn test(
&self,
integration_data: IntegrationMetadata,
integration_id: String,
) -> Result<TestContextualDataIntegrationResponse>
pub async fn test( &self, integration_data: IntegrationMetadata, integration_id: String, ) -> Result<TestContextualDataIntegrationResponse>
Test contextual data integration
Sourcepub async fn create(
&self,
metadata: IntegrationMetadata,
) -> Result<SaveContextualDataIntegrationResponse>
pub async fn create( &self, metadata: IntegrationMetadata, ) -> Result<SaveContextualDataIntegrationResponse>
Sourcepub async fn update(
&self,
integration_id: String,
metadata: IntegrationMetadata,
) -> Result<UpdateContextualDataIntegrationResponse>
pub async fn update( &self, integration_id: String, metadata: IntegrationMetadata, ) -> Result<UpdateContextualDataIntegrationResponse>
Update contextual data integration
§Arguments
integration_id
- The id of the integration to update.metadata
- The metadata of the integration to update.
Sourcepub async fn delete(
&self,
integration_id: String,
) -> Result<DeleteContextualDataIntegrationResponse>
pub async fn delete( &self, integration_id: String, ) -> Result<DeleteContextualDataIntegrationResponse>
Delete contextual data integration
Auto Trait Implementations§
impl Freeze for ContextualDataIntegrationsClient
impl !RefUnwindSafe for ContextualDataIntegrationsClient
impl Send for ContextualDataIntegrationsClient
impl Sync for ContextualDataIntegrationsClient
impl Unpin for ContextualDataIntegrationsClient
impl !UnwindSafe for ContextualDataIntegrationsClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request