Exemple #1
0
 /** {@inheritDoc} */
 @Override
 public Map<String, Object> getMetadata() {
   return ImmutableMap.<String, Object>of(
       "endpoint",
       URI.create(providerMetadata.getEndpoint()),
       "apiVersion",
       providerMetadata.getApiMetadata().getVersion(),
       "buildVersion",
       providerMetadata.getApiMetadata().getBuildVersion().or(""),
       "identity",
       getIdentity());
 }
Exemple #2
0
 @Inject
 AWSServiceAndRegion(ProviderMetadata provider) {
   this(provider.getEndpoint());
 }