@ThreadSafe public interface AwsAccountBean
Modifier and Type | Method and Description |
---|---|
String |
getAccountDetailsValidationError(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region,
String awsAccessID,
String awsSecretKey)
Checks whether a basic command can be run using the supplied credenials
|
String |
getAccountDetailsValidationError(String awsAccessID,
String awsSecretKey)
Deprecated.
|
Map<String,com.amazonaws.services.ec2.model.AvailabilityZone> |
getAvailabilityZones()
Returns a list of availability zones and their status.
|
com.atlassian.aws.AWSAccount |
getAwsAccount()
Returns an AWSAccount object that you can access certain services on
|
com.atlassian.aws.ec2.SpotPrices |
getCurrentSpotPrices()
This method gives access to the spot price list.
|
@NotNull com.atlassian.aws.AWSAccount getAwsAccount()
@NotNull Map<String,com.amazonaws.services.ec2.model.AvailabilityZone> getAvailabilityZones() throws com.atlassian.aws.AWSException
com.atlassian.aws.AWSException
@Nullable String getAccountDetailsValidationError(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region, String awsAccessID, String awsSecretKey) throws com.atlassian.aws.AWSException
awsAccessID
- awsSecretKey
- com.atlassian.aws.AWSException
- if a connection error occurred (not that the credentials were correct or incorrect)@Deprecated String getAccountDetailsValidationError(String awsAccessID, String awsSecretKey) throws com.atlassian.aws.AWSException
getAccountDetailsValidationError(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region, String, String)
insteadcom.atlassian.aws.AWSException
@NotNull com.atlassian.aws.ec2.SpotPrices getCurrentSpotPrices()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.