private/model: removes customization for application-autoscaling endpoint prefix
SDK has a customization for correcting incorrectly modeled endpoint prefix for Application Auto-Scaling service. The service has corrected the endpoint prefix in Release v1.25.42. This PR removes the no longer needed customization.
@@ -386,25 +386,14 @@ func (a *API) removeUnusedShapes() {
}
}
-// Represents the service package name to EndpointsID mapping
-var custEndpointsKey = map[string]string{
- "applicationautoscaling": "application-autoscaling",
-}
-
-// Sents the EndpointsID field of Metadata with the value of the
-// EndpointPrefix if EndpointsID is not set. Also adds
-// customizations for services if EndpointPrefix is not a valid key.
+// Sets the EndpointsID field of Metadata with the value of the
+// EndpointPrefix if EndpointsID is not set.
func (a *API) setMetadataEndpointsKey() {
if len(a.Metadata.EndpointsID) != 0 {
return
}
-
- if v, ok := custEndpointsKey[a.PackageName()]; ok {
- a.Metadata.EndpointsID = v
- } else {
a.Metadata.EndpointsID = a.Metadata.EndpointPrefix
}
-}
func (a *API) findEndpointDiscoveryOp() {
for _, op := range a.Operations {
@@ -414,6 +403,7 @@ func (a *API) findEndpointDiscoveryOp() {
}
}
}
+
func (a *API) injectUnboundedOutputStreaming() {
for _, op := range a.Operations {
if op.AuthType != V4UnsignedBodyAuthType {
