pub struct IntegrationsServiceClient<C> { /* private fields */ }Trait Implementations§
Source§impl<C: Clone> Clone for IntegrationsServiceClient<C>
impl<C: Clone> Clone for IntegrationsServiceClient<C>
Source§fn clone(&self) -> IntegrationsServiceClient<C>
fn clone(&self) -> IntegrationsServiceClient<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C: Debug> Debug for IntegrationsServiceClient<C>
impl<C: Debug> Debug for IntegrationsServiceClient<C>
Source§impl<I: Iterator<Item = Result<Bytes, Error>>, __C> IntegrationsService<I> for IntegrationsServiceClient<__C>where
__C: Client<ResponseBody = I>,
impl<I: Iterator<Item = Result<Bytes, Error>>, __C> IntegrationsService<I> for IntegrationsServiceClient<__C>where
__C: Client<ResponseBody = I>,
Source§fn generate_slack_webhook_link(
&self,
auth_: &BearerToken,
workspace: Option<&WorkspaceRid>,
is_gov_slack: Option<bool>,
) -> Result<GenerateSlackWebhookResponse, Error>
fn generate_slack_webhook_link( &self, auth_: &BearerToken, workspace: Option<&WorkspaceRid>, is_gov_slack: Option<bool>, ) -> Result<GenerateSlackWebhookResponse, Error>
Generates link to request permissions for Slack bot to join workspaces and use a webhook.
Source§fn create_slack_webhook(
&self,
auth_: &BearerToken,
code: &str,
state: &str,
) -> Result<(), Error>
fn create_slack_webhook( &self, auth_: &BearerToken, code: &str, state: &str, ) -> Result<(), Error>
Creates a new Slack integration. Called internally after Slack authorization.
Source§fn create_integration(
&self,
auth_: &BearerToken,
create_integration_request: &CreateIntegrationRequest,
) -> Result<Integration, Error>
fn create_integration( &self, auth_: &BearerToken, create_integration_request: &CreateIntegrationRequest, ) -> Result<Integration, Error>
Creates a new integration.
Source§fn create_secure_webhook_integration(
&self,
auth_: &BearerToken,
request: &CreateSecureWebhookIntegrationRequest,
) -> Result<CreateSecureWebhookIntegrationResponse, Error>
fn create_secure_webhook_integration( &self, auth_: &BearerToken, request: &CreateSecureWebhookIntegrationRequest, ) -> Result<CreateSecureWebhookIntegrationResponse, Error>
Creates a new webhook integration with HMAC signing.
Returns the integration and the server-generated signing key.
The signing key is only returned once — store it securely.
Source§fn send_secure_webhook_message(
&self,
auth_: &BearerToken,
integration_rid: &IntegrationRid,
request: &SendSecureWebhookMessageRequest,
) -> Result<SendSecureWebhookMessageResponse, Error>
fn send_secure_webhook_message( &self, auth_: &BearerToken, integration_rid: &IntegrationRid, request: &SendSecureWebhookMessageRequest, ) -> Result<SendSecureWebhookMessageResponse, Error>
Sends a message to a secure webhook integration with HMAC-SHA256 signature.
Implements retry logic with exponential backoff based on merged delivery configuration.
Request configuration overrides take precedence over integration’s stored configuration.
Source§fn delete_integration(
&self,
auth_: &BearerToken,
integration_rid: &IntegrationRid,
) -> Result<(), Error>
fn delete_integration( &self, auth_: &BearerToken, integration_rid: &IntegrationRid, ) -> Result<(), Error>
Deletes an integration by archiving.
Source§fn update_integration_metadata(
&self,
auth_: &BearerToken,
integration_rid: &IntegrationRid,
request: &UpdateIntegrationRequest,
) -> Result<Integration, Error>
fn update_integration_metadata( &self, auth_: &BearerToken, integration_rid: &IntegrationRid, request: &UpdateIntegrationRequest, ) -> Result<Integration, Error>
Updates the metadata of an integration.
Source§fn update_integration_details(
&self,
auth_: &BearerToken,
integration_rid: &IntegrationRid,
request: &UpdateIntegrationDetailsRequest,
) -> Result<Integration, Error>
fn update_integration_details( &self, auth_: &BearerToken, integration_rid: &IntegrationRid, request: &UpdateIntegrationDetailsRequest, ) -> Result<Integration, Error>
Updates the integration details for an integration.
Intended to allow changing webhooks or rotating API keys.
Source§fn get_integration(
&self,
auth_: &BearerToken,
integration_rid: &IntegrationRid,
) -> Result<Integration, Error>
fn get_integration( &self, auth_: &BearerToken, integration_rid: &IntegrationRid, ) -> Result<Integration, Error>
Retrieves an integration with the specified integration RID.
Source§fn list_integrations(
&self,
auth_: &BearerToken,
workspaces: &BTreeSet<WorkspaceRid>,
) -> Result<Vec<Integration>, Error>
fn list_integrations( &self, auth_: &BearerToken, workspaces: &BTreeSet<WorkspaceRid>, ) -> Result<Vec<Integration>, Error>
Lists all integrations. Archived integrations are not included.
Source§fn send_message(
&self,
auth_: &BearerToken,
request: &SendMessageRequest,
) -> Result<(), Error>
fn send_message( &self, auth_: &BearerToken, request: &SendMessageRequest, ) -> Result<(), Error>
Sends a string message to the specified integration from a checklist execution.
Source§fn rotate_secure_webhook_integration_signing_key(
&self,
auth_: &BearerToken,
integration_rid: &IntegrationRid,
) -> Result<RotateWebhookSigningKeyResponse, Error>
fn rotate_secure_webhook_integration_signing_key( &self, auth_: &BearerToken, integration_rid: &IntegrationRid, ) -> Result<RotateWebhookSigningKeyResponse, Error>
Rotates the HMAC signing key for a webhook integration.
The old key is immediately invalidated and a new key is generated and returned.
This is the only way to retrieve the signing key after initial creation.
Source§impl<C> Service<C> for IntegrationsServiceClient<C>
impl<C> Service<C> for IntegrationsServiceClient<C>
Source§fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
Creates a new service wrapping an HTTP client.
Auto Trait Implementations§
impl<C> Freeze for IntegrationsServiceClient<C>where
C: Freeze,
impl<C> !RefUnwindSafe for IntegrationsServiceClient<C>
impl<C> Send for IntegrationsServiceClient<C>where
C: Send,
impl<C> Sync for IntegrationsServiceClient<C>where
C: Sync,
impl<C> Unpin for IntegrationsServiceClient<C>where
C: Unpin,
impl<C> UnsafeUnpin for IntegrationsServiceClient<C>where
C: UnsafeUnpin,
impl<C> !UnwindSafe for IntegrationsServiceClient<C>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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