Skip to main content

PamAccessConnectorRotationConfigsApi

Trait PamAccessConnectorRotationConfigsApi 

Source
pub trait PamAccessConnectorRotationConfigsApi: Send + Sync {
    // Required methods
    fn delete<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<PamRotationConfigDetailResponseModel, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_all<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<PamRotationConfigResponseModelListResponseModel, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn pause<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn post<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        create_rotation_config_request_model: CreateRotationConfigRequestModel,
    ) -> Pin<Box<dyn Future<Output = Result<PamRotationConfigDetailResponseModel, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn put<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        id: Uuid,
        update_rotation_config_request_model: UpdateRotationConfigRequestModel,
    ) -> Pin<Box<dyn Future<Output = Result<PamRotationConfigDetailResponseModel, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn record_manual<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn resume<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn rotate<'a, 'life0, 'async_trait>(
        &'life0 self,
        org_id: Uuid,
        id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn delete<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /organizations/{orgId}/access-connectors/rotation/configs/{id}

Source

fn get<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<PamRotationConfigDetailResponseModel, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{orgId}/access-connectors/rotation/configs/{id}

Source

fn get_all<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<PamRotationConfigResponseModelListResponseModel, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{orgId}/access-connectors/rotation/configs

Source

fn pause<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/access-connectors/rotation/configs/{id}/pause

Source

fn post<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, create_rotation_config_request_model: CreateRotationConfigRequestModel, ) -> Pin<Box<dyn Future<Output = Result<PamRotationConfigDetailResponseModel, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/access-connectors/rotation/configs

Source

fn put<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, update_rotation_config_request_model: UpdateRotationConfigRequestModel, ) -> Pin<Box<dyn Future<Output = Result<PamRotationConfigDetailResponseModel, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{orgId}/access-connectors/rotation/configs/{id}

Source

fn record_manual<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/access-connectors/rotation/configs/{id}/record-manual Records that an operator rotated a manual-target config’s credential out of band, clearing its due obligation.

Source

fn resume<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/access-connectors/rotation/configs/{id}/resume

Source

fn rotate<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/access-connectors/rotation/configs/{id}/rotate Triggers an on-demand rotation now (spec TriggerRotationNow), subject to the per-config on-demand cooldown.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§