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