Package ec2 provides the client and types for making API requests to Amazon Elastic Compute Cloud.
You can access the features of Amazon Elastic Compute Cloud (Amazon EC2) programmatically. For more information, see the Amazon EC2 Developer Guide (https://docs.aws.amazon.com/ec2/latest/devguide).
See https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15 for more information on this service.
See ec2 package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/ec2/
To contact Amazon Elastic Compute Cloud with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Elastic Compute Cloud client EC2 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/ec2/#New
The stub package, ec2iface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.