docs: @Override
      public AWSCredentials getCredentials() {
          if (SDKGlobalConfiguration.isEc2MetadataDisabled()) {
              throw new AmazonClientException("AWS_EC2_METADATA_DISABLED is set to true, not loading credentials from EC2 Instance "
                                           + "Metadata service");
          }
          AWSCredentials creds = credentialsFetcher.getCredentials();
          shouldRefresh = true;
          return creds;
      }