DefaultServiceMetadata (AWS SDK for Java

Posted by Valentine Belue on Monday, May 13, 2024
DefaultServiceMetadata (AWS SDK for Java - 2.25.21) All Implemented Interfaces: ServiceMetadata
  • Constructor Summary

    Constructors

  • Method Summary

    All MethodsInstance MethodsConcrete Methods

    Retrieve the AWS endpoint that should be used for this service associated with the provided ServiceEndpointKey.

    Retrieve the list of regions this service is currently available in.

    Retrieve the service-specific partition configuration of each partition in which this service is currently available.

    Retrieve the region that should be used for message signing when communicating with this service in the provided region and with the provided endpoint tags.

  • Constructor Details

    • DefaultServiceMetadata

      public DefaultServiceMetadata(String endpointPrefix)
  • Method Details

    • endpointFor

      Retrieve the AWS endpoint that should be used for this service associated with the provided ServiceEndpointKey. Specified by: endpointFor in interface ServiceMetadata Parameters: key - The service endpoint key with which an endpoint should be retrieved. Returns: The region-specific endpoint for this service.
    • signingRegion

      Retrieve the region that should be used for message signing when communicating with this service in the provided region and with the provided endpoint tags. For most services, this will match the provided region, but it may differ for unusual services or when using a region that does not correspond to a physical location, like Region.AWS_GLOBAL. Specified by: signingRegion in interface ServiceMetadata Parameters: key - The service endpoint key with which an endpoint should be retrieved. Returns: The region that should be used for signing messages when communicating with this service in the requested region.
    • regions

      Retrieve the list of regions this service is currently available in.

      Specified by: regions in interface ServiceMetadata Returns: The list of regions this service is currently available in.
    • servicePartitions

      Retrieve the service-specific partition configuration of each partition in which this service is currently available.

      Specified by: servicePartitions in interface ServiceMetadata Returns: The list of service-specific service metadata for each partition in which this service is available.

ncG1vNJzZmirlKB7ornAs6anmaeoe6S7zGihmq6RZK6xtY6lmK2do6l8tLvFra6aqpVkrq6t2ailaJmnqMClt46rnKChn6PAcJDEn5iupKSIsrPCyJychp2klrGiwMBnn62lnA%3D%3D