pub struct Ec2Client { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Ec2Api for Ec2Client
impl Ec2Api for Ec2Client
fn describe_vpcs<'life0, 'async_trait>(
&'life0 self,
request: DescribeVpcsRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeVpcsResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_vpc_attribute<'life0, 'async_trait>(
&'life0 self,
request: DescribeVpcAttributeRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeVpcAttributeResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_vpc<'life0, 'async_trait>(
&'life0 self,
request: CreateVpcRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateVpcResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_vpc<'life0, 'life1, 'async_trait>(
&'life0 self,
vpc_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn modify_vpc_attribute<'life0, 'async_trait>(
&'life0 self,
request: ModifyVpcAttributeRequest,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_subnets<'life0, 'async_trait>(
&'life0 self,
request: DescribeSubnetsRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeSubnetsResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_subnet<'life0, 'async_trait>(
&'life0 self,
request: CreateSubnetRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateSubnetResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_subnet<'life0, 'life1, 'async_trait>(
&'life0 self,
subnet_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_internet_gateway<'life0, 'async_trait>(
&'life0 self,
request: CreateInternetGatewayRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateInternetGatewayResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_internet_gateway<'life0, 'life1, 'async_trait>(
&'life0 self,
internet_gateway_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn attach_internet_gateway<'life0, 'async_trait>(
&'life0 self,
request: AttachInternetGatewayRequest,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn detach_internet_gateway<'life0, 'async_trait>(
&'life0 self,
request: DetachInternetGatewayRequest,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_internet_gateways<'life0, 'async_trait>(
&'life0 self,
request: DescribeInternetGatewaysRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeInternetGatewaysResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_nat_gateway<'life0, 'async_trait>(
&'life0 self,
request: CreateNatGatewayRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateNatGatewayResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_nat_gateway<'life0, 'life1, 'async_trait>(
&'life0 self,
nat_gateway_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<DeleteNatGatewayResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn describe_nat_gateways<'life0, 'async_trait>(
&'life0 self,
request: DescribeNatGatewaysRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeNatGatewaysResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn allocate_address<'life0, 'async_trait>(
&'life0 self,
request: AllocateAddressRequest,
) -> Pin<Box<dyn Future<Output = Result<AllocateAddressResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn release_address<'life0, 'life1, 'async_trait>(
&'life0 self,
allocation_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn describe_route_tables<'life0, 'async_trait>(
&'life0 self,
request: DescribeRouteTablesRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeRouteTablesResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_route_table<'life0, 'async_trait>(
&'life0 self,
request: CreateRouteTableRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateRouteTableResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_route_table<'life0, 'life1, 'async_trait>(
&'life0 self,
route_table_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_route<'life0, 'async_trait>(
&'life0 self,
request: CreateRouteRequest,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_route<'life0, 'async_trait>(
&'life0 self,
request: DeleteRouteRequest,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn associate_route_table<'life0, 'async_trait>(
&'life0 self,
request: AssociateRouteTableRequest,
) -> Pin<Box<dyn Future<Output = Result<AssociateRouteTableResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn disassociate_route_table<'life0, 'life1, 'async_trait>(
&'life0 self,
association_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn describe_security_groups<'life0, 'async_trait>(
&'life0 self,
request: DescribeSecurityGroupsRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeSecurityGroupsResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_network_interfaces<'life0, 'async_trait>(
&'life0 self,
request: DescribeNetworkInterfacesRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeNetworkInterfacesResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_security_group<'life0, 'async_trait>(
&'life0 self,
request: CreateSecurityGroupRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateSecurityGroupResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_security_group<'life0, 'life1, 'async_trait>(
&'life0 self,
group_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn revoke_security_group_ingress<'life0, 'async_trait>(
&'life0 self,
request: RevokeSecurityGroupIngressRequest,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn revoke_security_group_egress<'life0, 'async_trait>(
&'life0 self,
request: RevokeSecurityGroupEgressRequest,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_availability_zones<'life0, 'async_trait>(
&'life0 self,
request: DescribeAvailabilityZonesRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeAvailabilityZonesResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_images<'life0, 'async_trait>(
&'life0 self,
request: DescribeImagesRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeImagesResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn terminate_instances<'life0, 'async_trait>(
&'life0 self,
instance_ids: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<TerminateInstancesResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_instances<'life0, 'async_trait>(
&'life0 self,
request: DescribeInstancesRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeInstancesResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_volume<'life0, 'async_trait>(
&'life0 self,
request: CreateVolumeRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateVolumeResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn modify_volume<'life0, 'async_trait>(
&'life0 self,
request: ModifyVolumeRequest,
) -> Pin<Box<dyn Future<Output = Result<ModifyVolumeResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_volumes_modifications<'life0, 'async_trait>(
&'life0 self,
request: DescribeVolumesModificationsRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeVolumesModificationsResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_volume<'life0, 'life1, 'async_trait>(
&'life0 self,
volume_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn describe_volumes<'life0, 'async_trait>(
&'life0 self,
request: DescribeVolumesRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeVolumesResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn attach_volume<'life0, 'async_trait>(
&'life0 self,
request: AttachVolumeRequest,
) -> Pin<Box<dyn Future<Output = Result<AttachVolumeResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn detach_volume<'life0, 'async_trait>(
&'life0 self,
request: DetachVolumeRequest,
) -> Pin<Box<dyn Future<Output = Result<DetachVolumeResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_launch_template<'life0, 'async_trait>(
&'life0 self,
request: CreateLaunchTemplateRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateLaunchTemplateResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn create_launch_template_version<'life0, 'async_trait>(
&'life0 self,
request: CreateLaunchTemplateVersionRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateLaunchTemplateVersionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_launch_template_version<'life0, 'async_trait>(
&'life0 self,
request: CreateLaunchTemplateVersionRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateLaunchTemplateVersionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a new version of an existing launch template with updated launch template data.
ASGs using $Latest will automatically pick up the new version.
See: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html
fn delete_launch_template<'life0, 'async_trait>(
&'life0 self,
request: DeleteLaunchTemplateRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteLaunchTemplateResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_launch_templates<'life0, 'async_trait>(
&'life0 self,
request: DescribeLaunchTemplatesRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeLaunchTemplatesResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_console_output<'life0, 'async_trait>(
&'life0 self,
instance_id: String,
) -> Pin<Box<dyn Future<Output = Result<GetConsoleOutputResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_console_output<'life0, 'async_trait>(
&'life0 self,
instance_id: String,
) -> Pin<Box<dyn Future<Output = Result<GetConsoleOutputResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Gets the console output for an EC2 instance (base64-encoded).
See: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetConsoleOutput.html
Auto Trait Implementations§
impl !RefUnwindSafe for Ec2Client
impl !UnwindSafe for Ec2Client
impl Freeze for Ec2Client
impl Send for Ec2Client
impl Sync for Ec2Client
impl Unpin for Ec2Client
impl UnsafeUnpin for Ec2Client
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.