codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/EndpointDiscoveryGenerator.java
private static boolean serviceSupportsCustomDiscoveryEndpoint(Model model, ServiceShape service) {
        Set<String> ServicesSupportingCustomDiscoveryEndpoint = SetUtils.of(
                "Timestream Query", "Timestream Write");

        String sdkId = service.expectTrait(ServiceTrait.class).getSdkId();
        for (String id : ServicesSupportingCustomDiscoveryEndpoint) {
            if (sdkId.equalsIgnoreCase(id)) return true;
        }
        return false;
    }
// Returns true if service supports providing custom endpoint used with the endpoint discovery api call
Returns true if service supports providing custom endpoint used with the endpoint discovery api call
Returns true if service supports providing custom endpoint used with the endpoint discovery api call
private static boolean serviceSupportsCustomDiscoveryEndpoint(Model model, ServiceShape service) {
        Set<String> ServicesSupportingCustomDiscoveryEndpoint = SetUtils.of(
                "Timestream Query", "Timestream Write");
        String sdkId = service.expectTrait(ServiceTrait.class).getSdkId();
        for (String id : ServicesSupportingCustomDiscoveryEndpoint) {
            if (sdkId.equalsIgnoreCase(id)) return true;
        }
        return false;
    }
private static boolean serviceSupportsCustomDiscoveryEndpoint ( Model model , ServiceShape service ) { Set < String > ServicesSupportingCustomDiscoveryEndpoint = SetUtils . of ( "Timestream Query" , "Timestream Write" ) ; String sdkId = service . expectTrait ( ServiceTrait . class ) . getSdkId ( ) ; for ( String id : ServicesSupportingCustomDiscoveryEndpoint ) { if ( sdkId . equalsIgnoreCase ( id ) ) return true ; } return false ; }
Returns true if service supports providing custom endpoint used with the endpoint discovery api call
Returns true if service supports providing custom endpoint used with the endpoint discovery api call