/** * Licensed to jclouds, Inc. (jclouds) under one or more * contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. jclouds licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.jclouds.aws.ec2; import org.jclouds.aws.ec2.services.AWSAMIAsyncClient; import org.jclouds.aws.ec2.services.AWSInstanceAsyncClient; import org.jclouds.aws.ec2.services.AWSKeyPairAsyncClient; import org.jclouds.aws.ec2.services.AWSSecurityGroupAsyncClient; import org.jclouds.aws.ec2.services.MonitoringAsyncClient; import org.jclouds.aws.ec2.services.PlacementGroupAsyncClient; import org.jclouds.aws.ec2.services.SpotInstanceAsyncClient; import org.jclouds.ec2.EC2AsyncClient; import org.jclouds.rest.annotations.Delegate; /** * Provides asynchronous access to EC2 services. * * @author Adrian Cole * * @deprecated please use * {@code org.jclouds.ContextBuilder#buildApi(AWSEC2Client.class)} * as {@link AWSEC2AsyncClient} interface will be removed in jclouds 1.7. */ @Deprecated public interface AWSEC2AsyncClient extends EC2AsyncClient { /** * {@inheritDoc} */ @Delegate @Override AWSInstanceAsyncClient getInstanceServices(); /** * {@inheritDoc} */ @Delegate @Override AWSAMIAsyncClient getAMIServices(); /** * {@inheritDoc} */ @Delegate @Override AWSSecurityGroupAsyncClient getSecurityGroupServices(); /** * Provides asynchronous access to PlacementGroup services. */ @Delegate PlacementGroupAsyncClient getPlacementGroupServices(); /** * Provides asynchronous access to Monitoring services. */ @Delegate MonitoringAsyncClient getMonitoringServices(); /** * {@inheritDoc} */ @Delegate @Override AWSKeyPairAsyncClient getKeyPairServices(); /** * Provides asynchronous access to SpotInstance services. */ @Delegate SpotInstanceAsyncClient getSpotInstanceServices(); }