code: func (ss *Schemas) ResourceTypeConfig(providerType string, resourceMode addrs.ResourceMode, resourceType string) (block *configschema.Block, schemaVersion uint64) {
  	ps := ss.ProviderSchema(providerType)
  	if ps == nil || ps.ResourceTypes == nil {
  		return nil, 0
  	}
  	return ps.SchemaForResourceType(resourceMode, resourceType)
  }
docs: // ResourceTypeConfig returns the schema for the configuration of a given
  // resource type belonging to a given provider type, or nil of no such
  // schema is available.
  //
  // In many cases the provider type is inferrable from the resource type name,
  // but this is not always true because users can override the provider for
  // a resource using the "provider" meta-argument. Therefore it's important to
  // always pass the correct provider name, even though it many cases it feels
  // redundant.