resolve method
Resolves the service trait definition for the given target
service shape.
Implementation
ResolvedServiceTrait resolve(ShapeId target) {
final arnNamespace = this.arnNamespace ?? target.shape.toLowerCase();
return ResolvedServiceTrait(
sdkId: sdkId,
cloudFormationName: cloudFormationName ?? target.shape,
arnNamespace: arnNamespace,
cloudTrailEventSource:
cloudTrailEventSource ?? '$arnNamespace.amazonaws.com',
endpointPrefix: endpointPrefix ?? arnNamespace,
);
}