DefaultServiceMetadata (AWS SDK for Java
Publish date: 2024-05-02
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 providedServiceEndpointKey
.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 providedServiceEndpointKey
. Specified by:endpointFor
in interfaceServiceMetadata
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, likeRegion.AWS_GLOBAL
. Specified by:signingRegion
in interfaceServiceMetadata
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 interfaceServiceMetadata
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 interfaceServiceMetadata
Returns: The list of service-specific service metadata for each partition in which this service is available.
ncG1vNJzZmirlKB7ornAs6anmaeoe6S7zGihmq6RZK6xtY6lmK2do6l8tLvFra6aqpVkrq6t2ailaJmnqMClt46rnKChn6PAcJDEn5iupKSIsrPCyJychp2klrGiwMBnn62lnA%3D%3D