AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Tests if a profile has been registered in either the SDK store or the specified credential file.
public Boolean IsProfileKnown( String profileName, String profilesLocation )
The name of the profile to test
Optional; instructs the SDK to check for the profile in the shared credentials file at the specified location. If not set, the SDK will inspect its own credential store file first before attempting to locate a shared credential file using either the default location beneath the user's home profile folder or the location specified in the AWS_SHARED_CREDENTIALS_FILE environment variable.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5