pub struct ConnectivityHandler {
pub vpc_peering: VpcPeeringHandler,
pub psc: PscHandler,
pub transit_gateway: TransitGatewayHandler,
}
Expand description
Unified connectivity handler - provides backward compatibility
Consider using the specific handlers directly:
VpcPeeringHandler
for VPC peering operationsPscHandler
for Private Service Connect operationsTransitGatewayHandler
for Transit Gateway operations
Fields§
§vpc_peering: VpcPeeringHandler
§psc: PscHandler
§transit_gateway: TransitGatewayHandler
Implementations§
Source§impl ConnectivityHandler
impl ConnectivityHandler
pub fn new(client: CloudClient) -> Self
pub async fn get_vpc_peering( &self, subscription_id: i32, ) -> Result<TaskStateUpdate>
pub async fn create_vpc_peering( &self, subscription_id: i32, request: &VpcPeeringCreateRequest, ) -> Result<TaskStateUpdate>
pub async fn delete_vpc_peering( &self, subscription_id: i32, peering_id: i32, ) -> Result<Value>
pub async fn update_vpc_peering( &self, subscription_id: i32, peering_id: i32, request: &VpcPeeringUpdateAwsRequest, ) -> Result<TaskStateUpdate>
pub async fn get_psc_service( &self, subscription_id: i32, ) -> Result<TaskStateUpdate>
pub async fn create_psc_service( &self, subscription_id: i32, ) -> Result<TaskStateUpdate>
pub async fn delete_psc_service(&self, subscription_id: i32) -> Result<Value>
pub async fn create_psc_endpoint( &self, subscription_id: i32, request: &PscEndpointUpdateRequest, ) -> Result<TaskStateUpdate>
pub async fn get_tgws(&self, subscription_id: i32) -> Result<TaskStateUpdate>
pub async fn create_tgw_attachment( &self, subscription_id: i32, tgw_id: &str, ) -> Result<TaskStateUpdate>
pub async fn delete_tgw_attachment( &self, subscription_id: i32, attachment_id: i32, ) -> Result<Value>
pub async fn update_tgw_cidrs( &self, subscription_id: i32, attachment_id: &str, request: &TgwUpdateCidrsRequest, ) -> Result<TaskStateUpdate>
pub async fn update_psc_service_endpoint( &self, subscription_id: i32, endpoint_id: i32, request: &PscEndpointUpdateRequest, ) -> Result<TaskStateUpdate>
pub async fn update_tgw_attachment_cidrs( &self, subscription_id: i32, attachment_id: &str, request: &TgwUpdateCidrsRequest, ) -> Result<TaskStateUpdate>
Auto Trait Implementations§
impl Freeze for ConnectivityHandler
impl !RefUnwindSafe for ConnectivityHandler
impl Send for ConnectivityHandler
impl Sync for ConnectivityHandler
impl Unpin for ConnectivityHandler
impl !UnwindSafe for ConnectivityHandler
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